
97
Sending Commands from a PLC
Section 7-2
CMND(049)
The CMND(049) instruction sends n bytes of command data, starting from the
beginning word S at the local node, to the node at node number N. The data
in m number of words, starting from the beginning word S at the remote node
(node number M) is received at the words starting from the beginning word D
at the local node.
Note
The message services function does not guarantee that a message will reach
the destination node. A message may be lost during transmission due to fac-
tors such as noise. In order to prevent this from occurring when using mes-
sage services, it is common to set up retry processing at the node from which
instructions are sent. With the SEND(090), RECV(098), and CMND(490)
instructions, retry processing is executed automatically by specifying the num-
ber of retries, so specify a number other than 0.
S: Beginning command storage word
D: Beginning response storage word
C: First word of control data (below)
Local node
Destination node number N
Number of bytes of command data (n)
0002 to 07C6 (Hex): 2 to 1,014 bytes
Number of bytes of response data (m)
00 (Hex): Local network
01 to 7F (Hex): 1 to 127
Destination Unit address
00 (Hex):
CPU Unit
10 to 1F: (Hex): Unit #0 to #15
E1 (Hex):
Inner Board
FE (Hex):
Unit connected to network
Destination node number N
00 to 7E (Hex);
0 to 254
The same data can be broadcast to all nodes on the network by
setting the destination node number to FF (Hex).
The range of node addresses is different for networks other than Ethernet.
Number of retries
0 to F (Hex): 0 to 15 retries
Communications port number: 0 to 7, F
Response
0: Required.
1: Not required.
Response monitor time
0000 (Hex): 2 s
0001 to FFFF (Hex): 0.1 to 6,553.5 s (in units of 1 s)
0002 to 07C6 (Hex): 2 to 1,014 bytes
Destination network number
Com-
mand
data: n
bytes
Response
data: m bytes
Command
Response
Interpretation
Execution
…
…
…
Summary of Contents for CJ1W-FLN22
Page 2: ......
Page 3: ...CS1W FLN22 100Base TX CJ1W FLN22 100Base TX FL net Units Operation Manual Revised October 2010...
Page 4: ...iv...
Page 6: ...vi...
Page 10: ......
Page 14: ...xiv...
Page 18: ...xviii...
Page 26: ...xxvi Unit Versions of CS CJ series FL net Units 7...
Page 40: ...Precautions Section 1 6 14...
Page 50: ......
Page 88: ...Allocated Words in the DM Area Section 4 4 62...
Page 158: ...Command Response Reference Section 7 5 132...
Page 170: ......
Page 192: ...Inspections Section 10 6 166...
Page 218: ...192 System Configuration Appendix A...
Page 224: ...198 System Configuration Example Appendix B...
Page 270: ...244 FL net Unit Support Software Ver 1 6 Appendix F...
Page 276: ...250 International System of Units Appendix G...