EasyManua.ls Logo

Panasonic FP-E - Page 587

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 − 323
Example:
Reception of the eight characters A, B, C, D, E, F, G, and H (8
bytes of data) from an external device
The reception buffer is DT200 to DT204 in this example.
System register settings are as follows:
− System register 417: K200
− System register 418: K5
DT200
Each time data is received,
the number of bytes received
is stored.
DT201
DT202
DT204
H42
(B)
H41
(A)
H44
(D)
H43
(C)
H48
(H)
H47
(G)
The reception data is
stored in order from the
lower byte.
DT203
H46
(F)
H45
(E)
K8
Reception buffer when
reception is completed
Program
When reception of data from an external device has been completed, the reception completed flag (R9038)
goes on and further reception of data is not allowed.
To receive more data, an F144 (TRNS) instruction must be executed to turn off the reception completed flag
(R9038) and clear the byte number to zero.
R0
F144 TRNS, DT100, K 0
To repeat reception only, set to K0.
R9038 will also go off when the number of transmission bytes is
set and transmission is carried out.
FP0/FP−e
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com