7.2 Sending Operation
7.2.3 GPSEND (General-Purpose Communication Sending Command)
Command format
Setting
item
Settings
Setting range
i
Specify the operation unit.
US / SS (Note 1)
S
Specify the header of the source node data area.
(Note 2)
n
Specify the No. of bytes of sent data.
1 - 16384
(Note 1) (Note 4)
D
Specify the device area in the source node to save the processing result
code (one word).
(Note 3)
(Note 1) When a K constant (integer with a symbol) is specified for the No. of sent bytes [n], select SS for operation
unit [i]. When a U constant (integer without a symbol) or an H constant (hexadecimal integer), select US for
operation unit [i].
(Note 2) Devices that can be specified for S are: WX, WY, WR, WL, DT, LD.
(Note 3) Devices that can be specified for D are: WX, WY, WR, WL, DT, LD.
Once the sending process is completed, the sent bytes are saved. When an error occurs, "FFFFH" is saved.
(Note 4) This indicates a case where the sending port is a LAN port. When a dedicated header is attached, the size is
up to 16,372 bytes.
KEY POINTS
•
Specify the connection targeted for communication, using UNITSEL
command immediately before GPSEND command.
•
Maintain the ON conditions for GPSEND command until sending is
completed and the sending general-purpose communication flag (Y80 - Y8F)
turns OFF.
•
When GPSEND command is executed for connection in progress, the
sending flag and the sending result are updated.
•
Confirm that the "clear to send general-purpose communication flag" (X80 -
X8F) for the targeted connection has turned ON, and execute GPSEND
command.
•
GPSEND command cannot be used in an interrupt program.
7-7
Содержание FP7 CPU Unit
Страница 8: ...Table of Contents vi ...
Страница 9: ...1 Communication Functions of CPU Unit ...
Страница 19: ...2 Installation and Wiring ...
Страница 23: ...3 Configuration ...
Страница 35: ...4 Setting and Operation of User Connection ...
Страница 41: ...5 MEWTOCOL Master Slave Communication ...
Страница 50: ...MEWTOCOL Master Slave Communication 5 10 ...
Страница 51: ...6 MODBUS TCP Master Slave Communication ...
Страница 63: ...7 General Purpose Communication ...
Страница 74: ...General Purpose Communication 7 12 ...
Страница 75: ...8 Specifications ...
Страница 89: ...Record of changes Manual No Date Record of Changes WUME FP7LAN 01 Mar 2013 First Edition ...
Страница 90: ......
Страница 91: ......