Panasonic FP7 Series Command Reference Manual page 800

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

15.2 GPTRNS / pGPSEND /GPSEND (General-Purpose Communication
Send Instruction)
● The case of SCU shows the case that it is used in the following combination.
• COM.0 port equipped in the CPU unit
• Communication cassettes attached to the CPU unit (COM.1 to COM.2 ports)
• Communication cassettes attached to the serial communication unit (COM.1 to COM.4
ports)
● The case of ET-LAN shows the case that it is used in the following combination.
• LAN port equipped in the CPU unit (Applicable models: CPU unit CPS4RE* and CPS3RE*
only)
● As the communication cassette (Ethernet type) has an Ethernet-serial conversion function, the
internal interface operates with similar programs as the case of SCU. The setting method and
programming method are different from those for the CPU with built-in ET-LAN.
Comparison of GPTRNS / pGPSEND / GPSEND instructions
Instruction
Characteristics
The data send confirmation process is performed on the completion of scan.
Adv
GPTRNS
anta
pGPSEND
ge
(Note 1)
Disa
dvan
tage
The data send confirmation process is performed in the operation processing for the GPSEND
instruction.
Adv
anta
GPSEND
ge
Disa
dvan
tage
(Note 1)
As the result of executing an operation, the conditions under which an error is set for operand [D] will
vary.
Condition in which errors occur
General-purpose communication clear to send flag is OFF.
16 or more SEND, RECV, GPTRNS, pGPSEND, and pPMSET
instructions are used simultaneously.
Communication error
(Note 2)
Even when the same port is specified and the GPTRNS instruction is executed during the execution of
the general-purpose communication transmission, an error does not occur and the result is not
updated.
(Note 3)
The data sending confirmation process indicates if the sending flag is cleared, if the send results flag
is set, and if the processing results are stored in [D].
Creation of send data table [S]
● Data to be sent is stored from the low byte of a given area specified by [S].
15-6
Data is sent only once by turning on execution conditions at the time of data send.
Up to 16 send operations can be performed simultaneously to different COM ports and
connections. (The total of simultaneous usage of SEND, RECV, GPTRNS, pGPSEND,
and pPMSET instructions)
(Note 2)
Data can be sent to different COM ports and connections simultaneously without limit.
It is necessary to turn ON the execution condition of the GPSEND instruction until the end
of data sending, and turn OFF the execution condition at a scan in which the end of data
transmission is confirmed.
(Note 2)
pGPSEN
GPTRNS
D
(Note 2)
WUME-FP7CPUPGR-12
GPSEND
-

Advertisement

Table of Contents
loading

Table of Contents