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

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

Advertisement

2 Instruction Descriptions
The following example is for when Size is UINT#3.
LD
abc
def[1]
UINT#3
In=abc
1234
Precautions for Correct Use
• Use the same data type for In and AryOut[]. If they are different, a building error will occur.
• If In and AryOut[] are STRING data, their sizes must be the same.
• If the value of Size is 0, the value of Out will be TRUE and AryOut[] will not change.
• Return value Out is not used when the instruction is used in ST.
• An error occurs in the following case. ENO will be FALSE, and AryOut[] will not change.
• The value of Size exceeds the array area of AryOut[].
2-366
SetBlock
EN
ENO
In
AryOut
def[1]
Size
AryOut[0]=def[1]
1234
AryOut[1]=def[2]
1234
AryOut[2]=def[3]
1234
ST
SetBlock(abc, def[1], UINT#3);
Size=UINT#3

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents