Precautions On Sending Data - Panasonic FP7 User Manual

Cpu unit. com port communication
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

General-Purpose Communication

7.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
X8
DF
Clear to send
general purpose
R100
communication 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 command. Select "SS"
for operation unit.
7-8
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Y8
Sending general-
purpose
communication flag
SSET
NEG.SS
UNITSEL
GPSEND . SS
DT101
S
R101
R100
"ABCDE"
DT100
S1
S2
DT100
DT100
S1
D
U0
U1
S1
S2
DT100
DT0
n
D
R101
GPSEND execution conditions
Clear to send flag: ON
Sending 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)
Confirm sending completion
Reset GPSEND execution
conditions

Advertisement

Table of Contents
loading

Table of Contents