Panasonic FP7 Series User Manual page 149

Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

R0
X80
R100
R100
DF
( (
) )
R100
Y80
DF /
( (
) )
● For the GPSEND instruction, it is necessary to turn ON the execution condition until the end of
data sending, and turn OFF the execution condition at a scan in which the end of data sending
is confirmed.
Time chart (in the case of CPU with built-in ET-LAN)
● Data are sent in ascending order from low bytes of [S+1] in the table specified by the
GPTRNS / pGPSEND / GPSEND instruction.
● During sending, the general-purpose communication sending flags that correspond to the
connection (Y80 to Y8F) are turned ON. They turn OFF when sending is completed.
● The sending result (0: normal completion; 1: abnormal completion) is stored in the general-
purpose communication sent flags (Y70 to Y7F).
General-purpose
communication clear to
send flag (X80 - X8F)
General-purpose
communication sending
flag (Y80 - Y8F)
Execute GPSEND
Sent flag (Y70 - Y7F)
Sending data
WUME-FP7COM-07
R101
Y80
SSET
UNITSEL
DT101
GPSEND.US
S
Check that the
flag is ON
Check that the
flag is OFF
R100
"ABCDE"
DT100
S1
S2
U100
U1
S1
S2
DT100
DT0
n
D
R101
9.3 Sending Operation
GPSEND execution conditions
X80: Clear to send flag:ON
Y80: Send active flag:OFF
Data conversion
S1: Sent data
S2: Sent data storage
DT100: Number of sent characters
DT101 and after: Sent data
Communication port settings
S1: CPU LAN port (U100)
S2: Connection 1 (U1)
Transmission processing
S: Header for sent data (DT101)
n: Number of sent characters(DT100)
D: Execution result code (DT0)
Transmission completion check
GPSEND execution conditions reset
GPSEND instruction executable
conditions
Clear to send flag (X80 - X8F): ON
Sending flag (Y80 - Y8F): OFF
Sending flag (Y80 - Y8F):
While sending: ON
When sending done and instruction
executed: OFF
Sent flag (Y70 - Y7F):
Normal completion: OFF
Abnormal completion: ON
9-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp7cpu

Table of Contents