Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
StartTrig
_SERIAL_START_STARTCODE1
_SERIAL_START_STARTCODE2
*1 If the number of characters detected as the end of data in the Communications Interface Unit is set to 0 (Do not
detect the end), reception will continue until the data of the storage size specified in the Size input variable is
received.
Precautions for Correct Use
Precautions for Correct Use
If _SERIAL_END_TERMINATION_CHAR is selected when an Option Board is specified, an
error will occur.
Operation When Receive Data Storage Is Insufficient
If the receive data storage specified in the Size input variable is smaller than the received data, opera-
tion is performed according to the combination of start and end codes, as shown below.
StartTrig
_SERIAL_START_NONE
_SERIAL_START_STARTCODE1
_SERIAL_START_STARTCODE2
*1 An error occurs if an Option Board is specified.
2-1174
EndTrig
_SERIAL_END_NONE
_SERIAL_END_ENDCODE1
_SERIAL_END_ENDCODE2
_SERIAL_END_TERMINA-
TION_CHAR
_SERIAL_END_RCV_SIZE
EndTrig
_SERIAL_END_NONE
_SERIAL_END_ENDCODE1
_SERIAL_END_ENDCODE2
_SERIAL_END_TERMINA-
TION_CHAR
_SERIAL_END_RCV_SIZE
_SERIAL_END_NONE
_SERIAL_END_ENDCODE1
_SERIAL_END_ENDCODE2
_SERIAL_END_TERMINA-
TION_CHAR
_SERIAL_END_RCV_SIZE
Operation
The following range of data is received
from the receive buffer: from the start
code to the end of data.
The following range of data is received
from the receive buffer: from the start
code to the end code.
Example: ETX
The following range of data is received
from the receive buffer: from the start
code to the data detected as the end.
The following range of data is received
from the receive buffer: from the start
code to the receive size specified in Rcv-
Size.
Processing is performed only after the
specified amount of data is accumulated
in the buffer.
Operation
Normal end
Error end, but data is received.
Example: ETX
Error end, but data is received.
• Error end for an input value check
error
• Data cannot be received.
Error end, but data is received.
Error end, but data is received.
Example: ETX
Error end, but data is received.
• Error end for an input value check
error
• Data cannot be received.

NY-series Instructions Reference Manual (W560)

*1
*1
*1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents