Gprecv (General-Purpose Communication Receiving Instruction) - Panasonic AF7CPS Series User Manual

Table of Contents

Advertisement

General-Purpose Communication

6.3.5 GPRECV (General-Purpose Communication Receiving Instruction)

 Instruction format
Setting
Settings
items
i
Specify the operation unit.
D1
Specify the initial address of the data area to save the received data.
D2
Specify the final address of the data area to save the received data.
(Note 1): Device that can be specified for D1 are: WX, WY, WR, WL, DT, LD.
(Note 2): Device that can be specified for D2 are: WX, WY, WR, WL, DT, LD.
KEY POINTS
Specify the port targeted for communication, using UNITSEL instruction
immediately before GPRECV instruction.
When the general-purpose communication reception done flag is ON for the
targeted COM port, execute GPRECV.
When multiplex reception is carried out, the reception done flag (X0)
remains ON after the received data are copied based on GPRECV
instruction. Therefore, the received data cannot be copied by when the
"reception done" signal rises.
6-12
Setting range
US / SS
(Note 1)
(Note 2)

Advertisement

Table of Contents
loading

Table of Contents