Receive Data Area - Panasonic FP-XH Series User Manual

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

Advertisement

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.
● Note that the reception done flag (R913A) changes even while a scan is in progress.
(e.g., if the reception done flag is used multiple times as an input condition, there is a possibility
of different statuses existing within the same scan.)
As a protective measure, replace it with an internal relay at the beginning of the program.

7.2.2 Receive Data Area

Receive data is stored in the receive buffer (data register DT) specified in the system register.
The number of receive data bytes is stored in the starting word.
Structure of receive data
Example: When 8-byte data "ABCDEFGH" is received
Specify 200 for the receive buffer starting number, and 5 for the receive buffer capacity.
DT200
K8
H42(B)
H41(A)
DT201
H44(D)
H43(C)
DT202
DT203
H46(F)
H45(E)
DT204
H48(H)
H47(G)
Receive buffer at the time of reception complete
Receive buffer setting
Specify the receive buffer area (data register DT) for general-purpose communication using the
following system register.
Port
Receive buffer starting
number in general-
purpose communication
Receive buffer capacity
in general-purpose
communication
WUME-FPXHCOMG-02
COM0
9132 (903E)
9133 (903F)
For each data stored, the received
number of bytes is stored.
Data is transmitted in order from
the low order byte.
Binary data can be transmitted.
COM0
System register
No.420
No.
Default
4096
System register
No.421
No.
7.2 Receiving Data from External Devices
COM1
913A (9038)
9142 (9048)
913B (9039)
9143 (9049)
COM1
No.416
0
No.417
COM2
COM3
914A
914B
COM2
COM3
No.418
No.422
2048
6144
No.419
No.423
7-5

Advertisement

Table of Contents
loading

Table of Contents