Panasonic FP-E Programming Manual page 689

Fp series
Table of Contents

Advertisement

FPΣ/FP−X/FP0R
Programming and operation during reception
Data sent from an external device connected to the RS232C port is stored in the data registers that have been
set as the reception buffer.
Data registers are used for the reception buffer. Specify the data registers in system registers 416 to 419.
The number of bytes of data received is stored in the starting address of the reception buffer. The initial value
is "0".
Received data is stored in the received data storage area in order from the lower−order byte.
Reception buffer
Using a "reception buffer" data register
Word
(address) 0
1
2
2
4
n
2n
Example:
Receiving eight bytes of data, A, B, C, D, E, F, G, H, from an
external device through the COM1 port
DT200 to DT204 are used as the reception buffer.
System register settings are as follows:
− System register 416: K200
− System register 417: K5
DT200
DT201
DT202
DT203
DT204
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
The number of
bytes received is
stored in this area.
1
3
Reception buffer storage area
(The circled numbers indicate the
order of storage.)
2n−1
K8
H42
H41
(B)
(A)
H44
H43
(D)
(C)
H46
H45
(F)
(E)
H48
H47
(H)
(G)
Reception buffer when
reception is completed
High−level Instructions
The received number of
bytes is stored as data is
stored.
Received data is stored in
order from the lower−order
byte.
3 − 425

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents