General-Purpose Communication
9-8
9.3.4 Precautions on Sending Data
Procedures when the end code is not added in the sending process
When you do not wish to add the terminator (end code) in the sending process, use a
negative value for specifying the No. of sent bytes.
R0
(
)
DF
SSET
DT100
“ABCDE”
R100
R100
R100
NEG.SS
DT100
DT100
GPSEND
.
SS
DT101
DT0
DT100
X8
Y8
GPSEND execution conditions
Clear to send flag: ON
Sending active flag: OFF
Because no end code is added,
use a negative value for
specifying the No. of sent bytes.
SEND processing
S: Header of Sent Data (DT101)
n: No. of Sent Characters (DT100)
D: Execution Result Code (DT0)
General-purpose
communication
Clear to send flag
General-purpose
communication
Sending active flag
R100
Data conversion
S1: Sent Data
S2: Save Sent Data
DT100: No. of Sent Characters
DT101 onward: Sent Data
R101
(
)
DF
(
)
DF
Y8
R101
(
)
DF /
Confirm sending completion
Reset GPSEND execution
conditions
R100
UNITSEL
U1
U0
Settings for communication port
S1: Slot 0 (U0)
S2: COM1 (U1)
S1
S2
S1
S2
S
n
D
S1
D
KEY POINTS
When you do not wish to add the terminator (end code), use a negative
value for specifying the No. of sent data in GPSEND instruction. Select "SS"
for operation unit.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание AFP7CCM1
Страница 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 ...