EasyManuals Logo

Omron NX701-1620 User Manual

Omron NX701-1620
306 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 #57 background imageLoading...
Page #57 background image
3 Programming the DB Connection Function
3-5
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
3
3-2-2 Specifications of Structure Data Type for DB Access
3-2 Creating a Structure Data Type
Data type category
Data type in DB
Data type in NJ/NX-series Controllers
INTERVAL DAY TO SECOND
None
Binary
RAW
None
LONG RAW
None
BLOB
None
Others
BFILE
None
ROWID
None
UROWID
None
XMLTYPE
None
*1 A NULL character is attached to the end of each text string. Therefore, you need to set the value
that is one byte bigger than the number of bytes of the DB’s data type for the number of bytes to be
used in STRING data.
You need to set an appropriate value for the number of bytes used in the STRING data according
to the data type and character code in the DB. In NJ/NX Series, text strings are handled as UTF-8.
One byte is used for each single-byte alphanumeric character and multiple bytes are used for each
multi-byte character. Three bytes are used for each Japanese character as a guide.
*2 The NUMBER(p[ ,s]) is expressed in the short form where the number of digits after the decimal
point (s) is omitted. When the short form is used, the number of digits after the decimal point (s) is
0. If the number of digits after the decimal point (s) is not omitted and 1 or greater numerical value
is set, only the integer portion of the value is applicable.
*3 Digit overflow may occur even in the above data types due to the difference in the valid range.
Example: When the data type in DB is NUMBER(3) and the data type in NJ/NX-series Controllers
is USINT:
NUMBER(3)’s range: 0 to 999
USINT’s range: 0 to 255
*4 Integer in units of nanoseconds.
ï‚– SQL Server
Data type category
Data type in DB
Data type in NJ/NX-series Controllers
Numbers
*1
bigint LINT
UDINT
TIME
*2
bit
BOOL
decimal(1)
decimal(3)
decimal(5)
decimal(10)
decimal(19)
decimal(20)
decimal(3)
decimal(5)
decimal(10)
*3
BOOL
SINT
INT
DINT
LINT
ULINT
USINT
UINT
UDINT
decimal(19)
TIME
int DINT
UINT
money
LREAL
*4
numeric(1)
numeric(3)
numeric(5)
numeric(10)
numeric(19)
*3
BOOL
SINT
INT
DINT
LINT

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NX701-1620 and is the answer not in the manual?

Omron NX701-1620 Specifications

General IconGeneral
BrandOmron
ModelNX701-1620
CategoryController
LanguageEnglish

Related product manuals