
Sending Commands from a PLC
Section 7-2
94
7-2
Sending Commands from a PLC
FINS commands can be sent from the user’s ladder-diagram program in the
CPU Unit by using the SEND(090), RECV(098), and CMND(490) instructions.
SEND(090): Writes I/O data from the local node to another node.
RECV(098): Reads I/O data from another node to the local node.
CMND(490): Sends FINS commands for controlling operations such as send-
ing and receiving I/O memory data to and from other nodes, reading informa-
tion regarding other nodes, and so on.
7-2-1
Communications Specifications
The following table shows the specifications for PLC communications using
the SEND(090), RECV(098), and CMND(490) instructions.
Note
1.
The maximum data length is limited to 512 bytes for data exchange be-
tween the PLC and SYSMAC LINK Systems or the PLC and SYSMAC
BUS/2 Remote I/O Systems.
2.
When broadcasting, do not request a response.
3.
Broadcasting cannot be used with the SEND(090)/RECV(098) instruc-
tions.
4.
If multiple communications ports are used to execute multiple communica-
tions instructions (SEND(090), RECV(098), and CMND(490)), an error re-
sponse will be received by the FL-net Unit (error code 0x2605: Servicing
in progress). Execute communications instructions for FL-net one at a time
from a single communications port.
PLC Communications
Data Areas
The following table shows the I/O data areas involved when SEND(090) and
RECV(098) are used.
Item
Specifications
Destination
1:1:
SEND(090), RECV(098), CMND(490) instructions
1:N:
SEND(090), CMND(490) instructions (broadcasting)
Data length
Addressed to an FL-net node (Ver. 2.00) on the same layer
SEND(090):
512 words (1,024 bytes) max.
RECV(098):
512 words (1,024 bytes) max.
CMND(490):
1,014 bytes max. (after the FINS command code), including broadcasting
(after FINS command code)
Addressed to an FL-net node (Ver. 2.00) on another layer (2nd or 3rd layer)
SEND(090):
503 words (1,006 bytes) max.
RECV(098):
505 words (1,010 bytes) max.
CMND(490):
1,014 bytes max. (after the FINS command code), including broadcasting
Data contents
The following data is sent and received with the execution of each instruction.
SEND(090):
Sends request for remote node to receive data, and receives response data.
RECV(098):
Sends request for remote node to send data, and receives response data.
CMND(490):
Sends any FINS command and receives response data.
Communications
port number
Ports 0 to 7 (Eight transmissions can occur simultaneously.)
The CPU Unit has eight communications ports. Use one communications port to execute commu-
nications instructions for the FL-net Unit.
Response monitor-
ing time
0000:
2 s (default)
0001 to FFFF: 0.1 to 6,553.5 s in 0.1-s increments (specified by user)
Number of retries
0 to 15 retries
Area
Range
CIO Area
CIO 0000 to CIO 6143
Work Area
W000 to W511
Holding Area
H000 to H511
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...