General-Purpose Communication
6.2.3 GPSEND (General-Purpose Communication Sending Instruction)
Instruction format
Items
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 sent bytes.
1 to 4094, -1 to -4096
(Note 1) (Note 3)
D
Specify the device area in the source node to save the execution
result (one word).
(Note 4)
(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): Device that can be specified for S are: WX, WY, WR, WL, DT, LD.
(Note 3) If a negative value is specified, the end code is not automatically added to the sent data. (Where SCU is
targeted)
(Note 4): Device 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.
KEY POINTS
Specify the port targeted for communication, using UNITSEL instruction
immediately before GPSEND instruction.
Maintain the ON conditions for GPSEND instruction until sending is
completed and the general-purpose communication sending active flag (Y8)
turns OFF.
Confirm that the "General-purpose communication Clear to send flag" for
the targeted COM port has turned ON, and execute GPSEND instruction.
When GPSEND instruction is executed for a communication port in the
sending process, the sending active flag and the sending result are updated.
GPSEND instruction cannot be used in an interrupt program.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание AFP7CPS Series
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 15: ...2 Installation and Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 19: ...3 I O Number Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 42: ...Setting Communication Conditions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 51: ...6 General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 66: ...General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 67: ...7 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 78: ...Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...