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

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

Advertisement

To attach start and end codes to the send data, set them in the SendCfg input variable.
The data type of the SendCfg input variable is structure _sSERIAL_CFG. The specifications are as fol-
lows:
Name
SendCfg
StartTrig
StartCode
EndTrig
EndCode
RcvSizeCfg
The data type of StartTrig is enumerated type _eSERIAL_START.
The meanings of the enumerators of enumerated type _eSERIAL_START are as follows:
Enumerator
_SERIAL_START_NONE
_SERIAL_START_STARTCODE1
_SERIAL_START_STARTCODE2
The data type of EndTrig is enumerated type _eSERIAL_END.
The meanings of the enumerators of enumerated type _sSERIAL_END are as follows:
Enumerator
_SERIAL_END_NONE
_SERIAL_END_ENDCODE1
_SERIAL_END_ENDCODE2
_SERIAL_END_TERMINATION_CHAR
_SERIAL_END_RCV_SIZE
Refer to Operation of Start Code and End Code on page 2-1173 for details on the operation of start
code and end code.

NY-series Instructions Reference Manual (W560)

Descrip-
Meaning
Data type
tion
Conditions
Conditions
_sSERI-
attached to
attached to
AL_CFG
send data
send data
_eSERI-
Start code
Start code
AL_STAR
existence
existence
T
Start code
Start code
BYTE[2]
End code
End code
_eSERI-
existence
existence
AL_END
End code
End code
BYTE[2]
Not used in
Receive
this instruc-
UINT
size
tion.
Valid range
---
_SERIAL_START_NONE
_SERIAL_START_START-
CODE1
_SERIAL_START_START-
CODE2
Depends on data type.
_SERIAL_END_NONE
_SERIAL_END_ENDCODE1
_SERIAL_END_ENDCODE2
_SERIAL_END_TERMINA-
TION_CHAR
_SERIAL_END_RCV_SIZE
Depends on data type.
0 to 4096
Meaning
None
1-byte code
2-byte code
Meaning
None
1-byte code
2-byte code
Termination condition
Receive size
2 Instruction Descriptions
Unit
Default
---
---
_SERI-
---
AL_START_-
NONE
---
[2(16#0)]
_SERI-
---
AL_END_-
NONE
---
[2(16#0)]
Bytes
0
2-1159
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents