
B-75074EN/04 USER CUSTOMIZE 2.ADDING SCREENS
- 411 -
- Explanation
When ComDefRead is executed, settings are loaded into a
two-dimensional array. In the second dimension of the
two-dimensional array, the values of the elements with these property
numbers have the meanings indicated below. (The first dimension of
the array represents machines.)
pComDefFEC4Address
C4 server address, represented by a
character string in the "192.162.0.1" format
pComDefFEC4Enable
Number for indicating whether a C4 server is
to be used: 1 for used and 0 for not used
pComDefFEC4Timeout
C4 server time-out period, represented by a
number from 1 to 9999. The unit is 10 ms.
pComDefFEEnable
Number for indicating whether
communication settings are enabled or
disabled: 1 for enabled and 0 for disabled
pComDefFEFwLibTimeout
Time-out period for the FOCAS2/Ethernet
communication function, represented by a
number from 1 to 9999. The unit is the
second.
pComDefFEIPAddress
IP address of an NC, represented by a
character string in the "192.162.0.1" format
pComDefFETCPPort
TCP port number of an NC, represented by a
number from 5001 to 65535
pComDefFEUDPPort
UDP port number of an NC, represented by a
number from 5001 to 65535
pComDefItemCount
Returns the number of communication setting items.
- Syntax
object.pComDefItemCount
- Explanation
When executing the method ComDefRead, allocate areas as many as
this value for the elements of the second dimension of the array.
pComDefProtocol
This property returns the communication protocol.
- Syntax
object.pComDefProtocol
- Explanation
This property returns an integer starting with 0. The ordinal element
number of the communication protocol in an array read with the method
ComDefRead is indicated. As the element indicated by this property in
the array, " " (blank character string: no communication protocol is set),
object.pProtocolFE (FOCAS2/Ethernet),
object.pProtocolDNC2(DNC2), or object.pProtocolRP
(Reader/Puncher) is set.