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

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

Advertisement

The data type of OutOrder is enumerated type _eBYTE_ORDER. The meaning of the enumerators are
as follows:
Enumerator
_LOW_HIGH
Lower byte first, upper byte last
_HIGH_LOW
Upper byte first, lower byte last
Always attach the element numbers to the input parameter that is passed to In[], e.g., array[3].
The following example is for when Size is UINT#2, Initial is WORD#16#FFFF and OutOrder is
_LOW_HIGH.
LD
UINT#2
WORD#16#FFFF
_LOW_HIGH
In[0]=abc[4]
Size = UINT#2
In[1]=abc[5]
Precautions for Correct Use
• If the value of Size is 0, the value of Out is WORD#16#0.
• An error occurs in the following cases. ENO will be FALSE, and Out will not change.
• The value of OutOrder is outside of the valid range.
• The value of Size exceeds the array area of In[].

NY-series Instructions Reference Manual (W560)

Meaning
AryCRC16
EN
ENO
In
abc[4]
Size
Initial
OutOrder
CRC-16 value
16#30
16#31
ST
def:=AryCRC16(abc[4], UINT#2,
def
Out = def
16#D464
2 Instruction Descriptions
WORD#16#FFFF,
_LOW_HIGH);
2
2-545

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents