Panasonic FP-XH Series User Manual page 75

Hide thumbs Also See for FP-XH Series:
Table of Contents

Advertisement

● When F159 (MTRN) is executed, the number of receive bytes is cleared, and the address
(write pointer) in the receive buffer is reset to the starting address.
● If there are two headers, data following the second header is overwritten and the data is
stored in the receive buffer.
● The reception done flag R913A is turned OFF by the F159 (MTRN) instruction. Therefore, if
F159 (MTRN) is executed at the same time as the reception of the terminator, the reception
done flag will not be detected.
When sending data: The reception done flag, the transmission done flag, and the
F159 (MTRN) instruction are related as follows:
Send data
Transmission
done flag
R913B
Execute F159
(MTRN) instruction
Send
buffer
Number of unsent bytes
● Header (STX) and terminator (ETX) are automatically added to send data that is transmitted
to an external device.
● When F159 (MTRN) is executed, the transmission done flag R913B turns OFF.
● Duplex transmission is disabled while F159 (MTRN) is being executed. The transmission
done flag R913B must be observed.
Special relays
General-purpose
communication reception
done flag
General-purpose
communication transmission
done flag
(Note 1)
The Nos. in brackets indicate devices that are compatible with existing FP-X / FPsigma.
WUME-FPXHCOMG-02
7.3 Flag Operations in Transmission / Reception
a
STX
b
ETX
Send
Duplex transmission is
disabled while MTRN is
being executed
a
a
a
a
b
b
b
b
<2>
<1>
<0>
<0>
COM0
9132 (903E)
9133 (903F)
STX
c
Send
c
c
d
d
e
e
<3>
<2>
COM1
913A (9038)
9142 (9048)
913B (9039)
9143 (9049)
d
e
ETX
ON
OFF
ON
OFF
c
c
c
d
d
d
e
e
e
<1>
<0>
<0>
COM2
COM3
914A
914B
7-9

Advertisement

Table of Contents
loading

Table of Contents