Benefit Of Using Data Types - Omron NX1P Programming Manual

Machine automation controller
Table of Contents

Advertisement

1-3-3

Benefit of Using Data Types

When special instructions are used for a traditional PLC such as CJ2, different instructions
must be used for different types of data.
With the NX1P, operands of special instructions are specified with variables. As the
variables contain data types, there is no need to use different instructions for different data
types.
Even when the data length is changed from 16 bits to 32 bits, all you have to do is change
the data type. You don't need to change the program or allocate memory.
● CJ2 or traditional PLC
● NX1P
The concepts of "programming with variables" and "data types" based on the international
standard IEC 61131-3 are rapidly spreading.
24
Different special instructions for
different types or lengths of data.
MOV, MOVL, MOVF, etc.
MOVE instruction only.
Specify the appropriate data types for
move source In and move destination
Out when the type or length of data is
changed.
Move 16-bit value
Move 32-bit value
Move floating-point value
⇒ INT
⇒ DINT
⇒ REAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents