Panasonic FPS Series User Manual page 213

Table of Contents

Advertisement

Communication
GVL
POU Header and LD Body
ST Body
Data can be received when the "reception done" flag is FALSE. The "reception done" flag is
evaluated by the system variable sys_bIsComPort1ReceptionDone. When the reception of the
data is complete (the end code has been received), the "reception done" flag turns to TRUE,
and subsequently, receiving data is prohibited. To prepare the system to receive the next data
without immediately sending further data, the receive buffer is reset by executing F159_MTRN
with n_Number = 0.
NOTE
The status of the "reception done" flag may change while a scan is being
carried out. For example, if the flag is used more than once as an input
condition, different statuses may exist within one scan. To ensure proper
execution of the program, the status of the special internal relay should be
copied to a variable at the beginning of the program.
The start code "STX" resets the receive buffer. Resetting the receive buffer
sets the number of bytes received in offset 0 to 0 and moves the write
196
FPΣ User's Manual

Advertisement

Table of Contents
loading

Table of Contents