System-Defined Variables - Omron NX701-1620 User Manual

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

Advertisement

3-5-4

System-defined Variables

You can use the following system-defined variable in the DB Connection Service.
Common Variables of NX701-@@20, NJ501-@@20, and NJ101-@@20
Variable name
Member name
_DBC_Status
Run
Test
Idle
Error
Shutdown
NX701-@@20
Variable name
_DBC_Version
_JRE_Version
*1
Example 1) In the case of the DB connection service version 1.00, "1" is stored in the
element number 0 and "0" is stored in the element number 1.
Example 2) In the case of the DB connection service version 1.10, 1 is stored in the element
number 0 and "10" is stored in the element number 1.
*2
Example 1) In the case of the JRE version 1.00, "1" is stored in the element number 0 and
"0" is stored in the element number 1.
Example 2) In the case of the JRE version 1.10, "1" is stored in the element number 0 and
"10" is stored in the element number 1.
NJ/NX-series Database Connection CPU Units User's Manual (W527)
3 Programming the DB Connection Function
Data type
Meaning
_sDBC_STATUS
DB Connection
Service Status
BOOL
Running flag
BOOL
Test Mode
BOOL
Idle
BOOL
Error Stop Flag
BOOL
Shutdown
Data type
Name
ARRAY[0..1] OF
DB Connection
USINT
Service version
ARRAY[0..1] OF
JRE version
USINT
Function
Shows the operation status of the
DB Connection Service.
Refer to 4-3-1 Operation Status of
the DB Connection Service for
details on the operation status of
the DB Connection Service.
TRUE when the DB Connection
Service is running in Operation
Mode or Test Mode.
TRUE when the DB Connection
Service is running in Test Mode.
TRUE when the operation status of
the DB Connection Service is Idle.
TRUE when the operation status of
the DB Connection Service is
Error.
TRUE when the operation status of
the DB Connection Service is
Shutdown.
Function
The DB Connection Service version is stored. *1
The integer part of the version is stored in the
element number 0.
The decimal part of the version is stored in the
element number 1.
The JRE version is stored. *2
The integer part of the version is stored in the
element number 0.
The decimal part of the version is stored in the
element number 1.
Initial
value
3
FALSE
FALSE
FALSE
FALSE
FALSE
3-25

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents