General-Purpose Communication
9-6
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,
Y9, YA, YB) turns OFF.
9.3.2 Contents of Sent Data
Strings data sent by the GPSEND instruction are converted into ASCII text and saved in a
given data register.
Sent data table
Once the sent data are converted into strings data using the SSET instruction, the No. of
characters is saved in the header area. The sent data are saved starting with lower bytes of
the subsequent address.
Strings of the No. of bytes specified by GPSEND instruction
are sent, in ascending order from lower bytes.
DT100
H42(B)
H41(A)
H44(D)
H43(C)
-----
H45(E)
-----
-----
DT101
DT102
DT103
DT104
After executing SSET instruction, the No. of characters is set.
U5
KEY POINTS
The start code and the end code specified in the configuration menu are
automatically added to the sent data. Do not include the start code or the
end code into sent data.
The maximum volume of data that can be sent is 4,096 bytes. If the start
code is set to valid, the maximum size is 4,096 bytes including the start
code and the end code.
It is also possible to send binary data.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание AFP7CPS4E
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 10: ...Table of Contents viii Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 21: ...2 Names and Functions of Parts Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 24: ...Names and Functions of Parts 2 4 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 25: ...3 Wiring the COM Port Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 45: ...3 I O Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 52: ...I O Allocation 4 8 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 57: ...6 PLC Link Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 97: ...9 General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 114: ...General Purpose Communication 9 18 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 115: ...4 Troubleshooting Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 124: ...Troubleshooting 10 10 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 125: ...11 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...