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 #63 background imageLoading...
Page #63 background image
3 Programming the DB Connection Function
3-11
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
character varying(n), varchar(n)
STRING
*3
Text
STRING
*3
Others
bit [ (n) ]
None
bit varying [ (n) ]
None
Box
None
Bytea
None
Cidr
None
Circle
None
Inet
None
interval [ fields ] [ (p) ]
None
Line
None
Lseg
None
macaddr
None
money
None
path
None
point
None
polygon
None
tsquery
None
tsvector
None
txid_snapshot
None
uuid
None
xml
None
*1 The decimal(p[ ,s]) and numeric(p[ ,s]) are 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.
*2 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 DECIMAL(3) and the data type in NJ/NX-series Controllers
is USINT:
DECIMAL(3)’s range: 0 to 999
USINT’s range: 0 to 255
*3 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.

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