Omron NX701-1620 User Manual page 56

Machine automation controller nj/nx-series database connection cpu units
Hide thumbs Also See for NX701-1620:
Table of Contents

Advertisement

3 Programming the DB Connection Function
Precautions for Correct Use
Restrictions on Table's Column Names:
You need to specify the same name for structure members to be used in NJ/NX-series
Controllers as the column names of the table to access.
There are following restrictions on structure member names in the NJ/NX-series
Controllers. Therefore, make the column names satisfy the following conditions.
Usable characters
Characters that
cannot be used
together
 Correspondence of Data Types between NJ/NX-series Controllers and DB
The correspondence of data types between NJ/NX-series Controllers and DB is given in the
following tables.
Oracle
Data type category
Characters
*2
Numbers
Date
3-4
Item
0 to 9, A to Z, a to z
Single-byte Japanese kana
_ (underscores)
Multi-byte characters (e.g., Japanese)
- A text string that starts with a number (0 to 9)
- A text string that starts with P_
- A text string that starts with an underscore (_) character
- A text string that contains more than one underscore (_) character
- A text string that ends in an underscore (_) character
- Any text string that consists of an identifier and has a prefix or postfix which contains
more than one extended empty space character (i.e., multi-byte spaces or any other
empty Unicode space characters)
Data type in DB
VARCHAR2
NVARCHAR2
CHAR
NCHAR
LONG
CLOB
NCLOB
NUMBER(1)
NUMBER(3)
NUMBER(5)
NUMBER(10)
NUMBER(19)
NUMBER(3)
NUMBER(5)
NUMBER(10)
NUMBER(20)
NUMBER(19)
BINARY_FLOAT
BINARY_DOUBLE
FLOAT
INTEGER
DATE
TIMESTAMP
TIMESTAMP WITH TIMEZONE
TIMESTAMP WITH LOCAL TIMEZONE
INTERVAL YEAR TO MONTH
Description
Data type in NJ/NX-series Controllers
*1
STRING
*1
STRING
*1
STRING
*1
STRING
None
None
None
*3
BOOL
SINT
INT
DINT
LINT
USINT
UINT
UDINT
ULINT
*4
TIME
REAL
LREAL
REAL
DINT
DATE
DATE
DATE_AND_TIME
DATE_AND_TIME
DATE_AND_TIME
None
NJ/NX-series Database Connection CPU Units User's Manual (W527)

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents