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

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

Advertisement

WORD data
WORD#16#F123
In
The following table shows the valid ranges for In and Out according to their data types.
Data type
of In
WORD
BYTE
DWORD
LWORD
BYTE
WORD
DWORD
LWORD
BYTE
DWORD
WORD
LWORD
BYTE
LWORD
WORD
DWORD
Additional Information
To convert data with any data type to a bit string, use a TO_** (Bit String Conversion Group) instruction
(page 2-308).
Precautions for Correct Use
• Always use the correct instruction name for the data types of In and Out.
• If the data size of Out is larger than the data size of In, the upper digits of Out will contain 0.
• If the data size of Out is smaller than the data size of In, the upper digits are truncated when the data
is output to Out.

NY-series Instructions Reference Manual (W560)

Out=abc
Data type
Valid range for In and Out
of Out
16#00 to 16#FF
16#00 to 16#FF
16#0000 to 16#FFFF
16#00 to 16#FF
16#0000 to 16#FFFF
16#0000_0000 to 16#FFFF_FFFF
16#00 to 16#FF
16#0000 to 16#FFFF
16#0000_0000 to 16#FFFF_FFFF
DWORD data
16#0000F123
2 Instruction Descriptions
2
2-273

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents