953
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Network Instructions
3
CMND2
C: First Control Word I: First communications information word
Note 1 Refer to the operation manual for the specific network for the maximum data lengths for the command data and
response data. For any FINS command passing through multiple networks, the maximum data lengths for the com-
mand data and response data are determined by the network with the smallest maximum data lengths. If more bytes
are received than the specified number of bytes, only the specified number of bytes will be stored. If fewer bytes are
received, they will be stored and the remaining words in the reception area will not be changed.
2 The unit addresses are as follows:
• CPU Bus Unit: 10 hex + unit number
• Special I/O Unit (except for C200H Special I/O Units): 20 hex + unit number
• Inner Board: E1 hex (CS Series only)
• Computer: 01 hex
• Unit connected to network: FE hex (Eliminates the need to specify the unit number of the remote Unit.)
C
0
15
Bytes of command data (See note 1.)
0002 to maximum data length (hex)
The maximum data length for command
addressed to the local CPU Unit is 1,990 bytes (07C6 hex).
For commands sent via networks, the maximum data
length depends on the network, for example,
2 to 1,990 decimal (0002 to 07C6 hex) for
Controller Link.
C+1
0
15
Bytes of response data (See note 1.)
0000 to maximum data length (hex)
The maximum data length for responses received
from the local CPU Unit is 1,990 bytes (07C6 hex).
For responses received via networks, the maximum
data length depends on the network, for example,
0 to 1,990 decimal (0000 to 07C6 hex) for
Controller Link.
C+2
Destination network address
#00 to #7F
8
11 12 15
0 7
Serial port number (physical port)
#0: Do not use.
#1: Port 1
#2: Port 2
#3: Reserved.
#4: Reserved.
Always #0.
C+3
Destination unit address (See note 2.)
00 to FE hex
Destination node number (See note 3.)
00 to maximum node number (hex)
(Depends on network, for example
00 to 20 hex (0 to 32 decimal) for Controller Link.)
FF hex: Broadcast
8
15
0 7
C+5
0
15
Response monitoring time
1 to 65535 decimal (0001 to FFFF hex)
0.1 to 6,553.5 s
0000 hex: 2 s (default)
0000
C+4
8
111215
0347
Always 0.
Communications port number
0 to 7 hex (F hex: automatic port allocation)
Number of retries
0 to F hex (0 to 15 decimal)
Response setting
0: Response requested
8: No response requested
I
01
15
System work
area
Clear D and I words before executing the instruction.
Execution Completed Flag
0: Not completed.
1: Execution completed
Error Flag
0: No error
1: Error
I+1
Communications completion code: 0000 to FFFF hex
15
0