
6.2
Sending Operation
6-7
6.2.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.
Summary of Contents for AF7CPS Series
Page 1: ......
Page 7: ...1 Communication Functions of CPU Unit ...
Page 14: ...Communication Functions of CPU Unit 1 8 ...
Page 15: ...2 Installation and Wiring ...
Page 19: ...3 I O Number Allocation ...
Page 23: ...4 Setting Communication Conditions ...
Page 42: ...Setting Communication Conditions 4 20 ...
Page 43: ...5 MEWTOCOL Master Slave Communication ...
Page 51: ...6 General Purpose Communication ...
Page 66: ...General Purpose Communication 6 16 ...
Page 67: ...7 Specifications ...
Page 78: ...Specifications 7 12 ...
Page 79: ...Record of changes Manual No Date Record of Changes WUME FP7CCET 01 DEC 2013 First Edition ...
Page 80: ......
Page 81: ......
Page 82: ......