
9.3 Sending Operation
9-5
Timing chart
Data in the table [S] specified by GPSEND instruction are sent, in ascending order from
lower bytes.
During the sending process, the "General-purpose communication Sending active flag" (Y8,
Y9, YA, YB) turns ON. The flag is turned OFF when sending is completed. (The flag does
not turn off right after the execution of the instruction. It turns off at the beginning of the
second scan.)
The sending result (0: normal completion, 1: abnormal completion) is saved in the general-
purpose communication sending result flag (Y0, Y1, Y2, Y3).
Confirm OFF
Conditions to enable execution of
GPSEND instruction
Clear to send flag (X8, X9, XA, XB): ON
Sending active flag (Y8, Y9, YA, YB): OFF
Sending done result flag (Y0, Y1, Y2, Y3):
Normal completion: OFF
Abnormal completion: ON
Execute GPSEND
General-purpose
communication Sending
active flag (Y8, Y9, YA, YB)
Sending done result
flag (Y0, Y1, Y2, Y3)
Sending data
General purpose
communication Clear to
send flag (X8, X9, XA, XB)
Confirm ON
Sending active flag (Y8, Y9, YA, YB):
Sending data: ON, Sending done: OFF
I/O allocation (CPU Unit)
COM port no.
1
2
0
Name
Explanation
X8 X9 XA
General-purpose
communication Clear to
send flag
Turns ON when the unit is set to the general-purpose
communication mode.
Y8 Y9 YA
General-purpose
communication
Sending active flag
Turns ON during sending data based on general-purpose
communication GPSEND.
Turns OFF when the sending process is completed.
Y0 Y1 Y2
Sending done result
flag
Reports completion result of sending data in general-purpose
communication or master communication. (Normal
completion: 0, Abnormal completion: 1)
I/O allocation (For Serial Communication Unit)
COM port no.
1
2
3
4
Name
Explanation
X8 X9 XA XB
General-purpose
communication
Clear to send flag
Turns ON when the unit is set to the general-purpose
communication mode.
Y8 Y9 YA YB
General-purpose
communication
Sending active flag
Turns ON during sending data based on general-purpose
communication GPSEND.
Turns OFF when the sending process is completed.
Y0 Y1 Y2 Y3
Sending done result
flag
Reports completion result of sending data in genera-purpose
communication or master communication.
(Normal completion: 0, Abnormal completion: 1)
(Note 1) Each contact is used for reading the operation status. Do not write over it with a user program.
(Note 2) When the sending time is shorter than the scan time, the "General-purpose communication Sending active
flag" (Y8, Y9, YA) turns OFF when the GPSEND instruction is executed in the subsequent scan following data
sending completion. In all cases, it is turned ON for at least one scan time.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for AFP7CCM1
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 45: ...3 I O Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 57: ...6 PLC Link Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...