Panasonic FP7 Series User Manual page 143

Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

Instruction
Characteristics
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].
● The figure below shows the case where the string "ABCDE" is converted with the SSET
instruction.
Once the SSET instruction is executed, the number of characters is set in the starting word. Then, the
(1)
characters that are converted are stored in the following area.
DT101 is set for operand [S] of the GPTRNS / pGPSEND / GPSEND instruction, and when the
(2)
instruction is executed the data is sent in ascending order from the low byte.
WUME-FP7COM-07
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.
9.3 Sending Operation
pGPSEN
GPTRNS
D
(Note 2)
GPSEND
-
9-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp7cpu

Table of Contents