Nj-Series Instructions Reference Manual (W502 - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
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.
• In does not end in a NULL character.
• The number of bytes in In is 0 (i.e., the NULL character only).
• The number of bytes for Out is outside of the valid range.

NJ-series Instructions Reference Manual (W502)

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-511

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents