Precautions On Sending Data - Panasonic AF7CPS Series User Manual

Table of Contents

Advertisement

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
X8
DF
General-purpose
communication
R100
Clear to send flag
R100
DF
R100
DF
R100
Y8
DF /
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.
Y8
General-purpose
communication
Sending active flag
SSET
NEG.SS
UNITSEL
GPSEND . SS
DT101
R101
"ABCDE"
DT100
S1
S2
DT100
DT100
S1
D
U0
U1
S1
S2
DT100
DT0
S
n
D
6.2 Sending Operation
R100
GPSEND execution conditions
Clear to send flag: ON
Sending active flag: OFF
Data conversion
S1: Sent Data
S2: Save Sent Data
DT100: No. of Sent Characters
DT101 onward: Sent Data
Because no end code is added,
use a negative value for
specifying the No. of sent bytes.
Settings for communication port
S1: Slot 0 (U0)
S2: COM1 (U1)
SEND processing
S: Header of Sent Data (DT101)
n: No. of Sent Characters (DT100)
D: Execution Result Code (DT0)
R101
Confirm sending completion
Reset GPSEND execution
conditions
6-7

Advertisement

Table of Contents
loading

Table of Contents