EasyManuals Logo
Home>Omron>Controller>NX1P

Omron NX1P User Manual

Omron NX1P
106 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #23 background imageLoading...
Page #23 background image
23
1-3-2 Data Types
For example, you define a variable called L1 (meaning the 1st lamp). It is clear that L1
contains ON/OFF data because L1 is a lamp.
However, if you define a variable called Data1, Data1 may contain a decimal number,
decimal point number, or text string.
The data type defines the type of data that is expressed by a variable.
A variable is a container for data with a name and data type.
Variable = (Name) + (Data type)
Examples of Data Types
The table below lists the data types used for the NX1P. The BOOL data type is used for
ON/OFF data, the INT data type for decimal integers, and the STRING data type for text
strings.
Although both the INT and DINT data types represent decimal integers, they have different
ranges of values.
The WORD data type for bit strings, the DATE_AND_TIME data type for date and time, and
other data types can also be used.
Classification
Used for
Data type
Range of values
Notation
Boolean
ON/OFF status
of inputs and
outputs
BOOL
0 to 1
1 or 0
TRUE or FALSE
Decimal
number
(integer)
Numeric
operation
Signed
INT
-32768 to +32767
+30000, -20000
DINT
-2147483648 to
+2147483647
+12345678, -20000000
Unsigned
UINT
0 to 65535
60000
UDINT
0 to 4294967295
20000000
Floating-point
number
Real number
REAL
Single-precision
floating-point values
0.15625
LREAL
Double-precision
floating-point values
1.0000000000000002
Text string
Text string
displayed on
HMI
STRING
Text strings (UTF-8)
Approx. 2,000 bytes
‘OMRON’
‘Failure rate’
Programming
using the name
Defines the range and type (e.g., integer,
real number, and text string) of data

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX1P and is the answer not in the manual?

Omron NX1P Specifications

General IconGeneral
BrandOmron
ModelNX1P
CategoryController
LanguageEnglish

Related product manuals