Справочник Пользователя для Omron CS1W-ETN11

Скачать
Страница из 317
83
Sending Commands From a PC
Section 5-3
5-3
Sending Commands From a PC
FINS commands can be sent from the user’s ladder-diagram program in the
PC 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): Issues 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.
5-3-1
Communications Specifications
The following table shows the specifications for PC 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 PC and SYSMAC LINK Systems or the PC and SYSMAC BUS/
2 Remote I/O Systems.
2.
When broadcasting, do not require a response.
PC Communications Data 
Areas
The following table shows the I/O data areas involved when SEND(090) and
RECV(098) are used.
Note
1.
Data cannot be written to words A000 to A447 in the Auxiliary Area.
2.
A maximum of 13 banks in the EM Area can be used. For details regarding
the EM Area, refer to the operation manual for the PC that is used.
Item
Specifications
Destination
1:1
SEND(090), RECV(098), CMND(490) instructions
1:N
SEND(090), CMND(490) instructions (broadcasting)
Data length
SEND(090):
990 words (1,980 bytes) max.; broadcasting: 727 words (1,454 bytes)
RECV(098):
990 words (1,980 bytes) max.
CMND(490):
1,990 bytes max.; broadcasting: 1,462 bytes (after FINS command code)
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 num-
ber
Ports 0 to 7 (Eight transmissions can occur simultaneously.)
Response monitor 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
Auxiliary Area
A000 to A959 (See note 1.)
Timer Area
TIM0000 to 4095
Counter Area
CNT0000 to 4095
DM Area
D00000 to D32767
EM Area
E00000 to E32767 (See note 2.)