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

2 Instruction Descriptions
Data type
Data type
of In
USINT
UINT
UDINT
LINT
ULINT
SINT
INT
DINT
Additional Information
To convert data with any data type to integer data, use a TO_** (Integer Conversion Group) instruction
(page 2-277).
Precautions for Correct Use
• Always use the correct instruction name for the data types of In and Out.
• If In is a signed integer and the data size of Out is larger than the data size of In, sign extension is
performed.
• If In is an unsigned integer and 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 in Out.
2-234
Valid range for In and Out
of Out
0 to 255
0 to 65535
0 to 4294967295
0 to 9223372036854775807
−128 to 127
−32768 to 32767
−2147483648 to 2147483647

NJ-series Instructions Reference Manual (W502)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents