EasyManua.ls Logo

Panasonic FP-E - Page 690

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 426
Table of related flags and system registers
Item For COM1 For COM2 For Tool
Transmission mode flag R9032 R9042 R9040
Reception done flag R9038 R9048 R903E
Transmission done flag R9039 R9049 R903F
Beginning of reception
buffer
Specified in 416 Specified in 418 Specified in 420
Reception buffer capacity Specified in 417 Specified in 419 Specified in 421
Program
The reception done flag (R9038/9048) turns on when data reception from the external device is completed.
Reception of any further data is prohibited.
To receive subsequent data, you must execute an F159(MTRN) instruction to turn off the reception done flag
(R9038/R9048) and clear the byte number to “0”.
R0
F159 MTRN, DT100, K 0, K 1
To repeatedly perform only reception, specify K0.
R9038/R9048 also turn off when transmission is performed with a
byte number specification.
Operation
When the reception done flag (R9038/R9048) is off, operation takes place as follows when data is sent from
an external device.
(R9038/R9048 are off during the first scan after RUN. “0” is set in the starting area of the reception buffer
specified in the system registers.)
1) Incoming data is stored in order from the lower−order byte of the 2nd−word area of the reception
buffer.
Start and end codes are not stored.
AB
…
TUV(
C
R
)
Beginning of reception
Received data
R9038
R9048
Execution condition
(trigger) R0
Reception
is possible
…
Reception is
possible
Reception
is not
possible
Reopening
on
off
on
off
Execution of
F159(MTRN)
instruction
2) When the end code is received, the reception done flag (R9038/9048) turns on. Reception of any
further data is prohibited.
3) When an F159(MTRN) instruction is executed, the reception done flag (R9038/9048) turns off, the
number of received bytes is cleared, and subsequent data is stored in order from the lower−order
byte.
FPΣ/FP−X/FP0R
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com