EasyManua.ls Logo

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

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
ModelNX1P
Power Supply24 VDC
Programming SoftwareSysmac Studio
Built-in EtherNet/IP portYes
Built-in EtherCAT portYes
Built-in USB portYes
SD memory card slotYes
USB Port1
Communication PortsEtherNet/IP, EtherCAT, USB
Ethernet Ports1
Operating Temperature0 to 55 °C
Weight500 g
TypeProgrammable Logic Controller (PLC)

Summary

Introduction

Terms and Conditions Agreement

Warranty, Limitations of Liability

Details Omron's warranty terms, limitations, and buyer remedies for products.

Limitation on Liability; Etc

Outlines limitations on Omron's liability for damages and indirect losses.

Application Considerations

Errors and Omissions

Programming the NX1P

Programming with Variables

Explains the concept of using user-defined variables for NX1P programming, contrasting with address-based methods.

Programming Software

Introduces Sysmac Studio as an integrated environment for configuring, programming, and maintaining controllers.

Before You Begin

Installing the Sysmac Studio

Provides step-by-step instructions and system requirements for installing Sysmac Studio.

Ladder Programming

Programming with the Sysmac Studio

Guides on creating a basic ladder program using Sysmac Studio with pushbuttons and lamps.

Assigning Variables to Terminals

Explains how to assign variable names to physical terminals for I/O mapping.

Example of a Ladder Program Using a Timer Instruction

Demonstrates using a self-holding rung and a timer instruction in a ladder program.

Creating Programs to Handle Data

Motion FB Programming

Motion FB Programming

Introduces PLCopen®-defined function blocks for motion control in NX1P.

Adding a Servo Drive and Setting the Parameters

Details registering a servo drive and configuring its axis parameters for motion control.

Creating a Program

Demonstrates creating a program using motion FBs to control single-axis movement.

ST Programming

Related product manuals