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:
Enumerators
_LOW_HIGH
_HIGH_LOW
Always attach the element number to in-out parameter that is passed to In[], e.g., array[3].
The following example is for when Size is UINT#2, Initial is WORD#16#0000, and OutOrder is
_LOW_HIGH.
LD
abc[4]
UINT#2
WORD#16#0000
_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#00.
• 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
Lower byte first, upper byte last
Upper byte first, lower byte last
AryCRCCCITT
EN
ENO
In
Size
Initial
OutOrder
16#52
16#5244
16#44
ST
def:=AryCRCCCITT(abc[4], UINT#2,
def
CRC-CCITT value
Out = def
2 Instruction Descriptions
WORD#16#0000,
_LOW_HIGH);
16#9D60
2
2-543

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents