Panasonic FP-E Programming Manual page 597

Fp series
Table of Contents

Advertisement

FP2/FP2SH/FP10SH
Program and operation during reception
Data sent from the external device connected to the COM port will be stored in the data register areas set as
the reception buffer.
Reception buffer
Word
(address) 0
1
2
2
4
n
2n
Each time data is received, the amount of data received (number of bytes) is stored as a count in the leading
address of the reception buffer. The initial value is zero.
The data received is stored in order in the reception data storage area beginning from the lower byte of the
second word of the area.
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
DT201
DT202
DT203
DT204
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Area used for
number of bytes
received
1
3
Area used for storing received data
(the circled numbers indicate the
storing order)
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
Each time data is received,
the number of bytes received
is stored.
The reception data is
stored in order from the
lower byte.
3 − 333

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents