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 following example is for when In is '01', Initial is WORD#16#FFFF and OutOrder is _LOW_HIGH.
LD
'01'
WORD#16#FFFF
_LOW_HIGH
In
'01'
Character codes
30
Precautions for Correct Use
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 number of bytes in In is 0 (i.e., the NULL character only).

NY-series Instructions Reference Manual (W560)

StringCRC16
EN
ENO
abc
In
Initial
OutOrder
CRC-16 value
Out = abc
31
2 Instruction Descriptions
ST
abc:=StringCRC16('01', WORD#16#FFF
_LOW_HIGH);
'D464'
2
2-539

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents