413
Network Instructions
Section 5-29
Control Words
The six control words C to C+5 specify the number of bytes of command data
and response data, the destination, and other settings shown in the following
table.
Note
1.
The allowed range is 01 to 20 hexadecimal (1 to 32) for a Controller Link,
but the maximum node number will differ for other networks.
2.
Set the destination node number to FF to broadcast the command to all
nodes in the network.
Executing CMND(––) just starts the transmission of the FINS command via
the Communications Unit. To check whether the transmission was actually
completed, verify that the Network Instruction Enabled Flag (AR 0209) has
gone from OFF to ON and the Network Instruction Error Flag (AR 0208) is
OFF. The command transmission processing is completed when END(01) is
executed.
If a response is required but not received within the response monitoring time,
the command will be issued again until a response is received or the specified
number of retries (up to 15) is reached. Be sure to indicate that no response is
required when issuing command does not generate a response.
When the destination node number is set to FF, the same command will be
broadcast to all nodes on the specified network. When broadcast transmis-
Word
Bits 00 to 07
Bits 08 to 15
C
Bytes of command data: 0000 to 07C6 hexadecimal (0 to 1,990 bytes)
C+1
Bytes of response data: 0000 to 07C6 hexadecimal (0 to 1,990 bytes)
C+2
Destination network address
00: Local network
01 to 7F: Network 1 to 127
Always 00.
C+3
Destination unit address
00: CPU Unit
01: Computer (user program)
10 to 1F: Units 0 to 15
E1: Inner Board
FE: Unit connected to network
Destination node number
01 to 20: 1 to 32 (See note 1.)
FF: Broadcast (See note 2.)
C+4
No. of retries: 00 to 0F (0 to 15)
Response setting
00: Response requested.
80: No response requested.
C+5
Response monitoring time
0000: 2 s at 2 Mbps, 4 s at 1 Mbps, or 8 s at 500 Kbps
0001 to FFFF: 0.1 to 6,553.5 seconds (0.1 s units)
Local node
Command
data
(n bytes)
Destination node
Response
data
(m bytes)
Command
Response
Interpret
Execute