Omron NX701-1620 User Manual page 142

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

Advertisement

6 How to Use Operation Logs
Parameter
Result
DB Connection
name
Serial ID
Details
Tab separation
CR+LF
*1 The date and time information follows the time zone set when the power supply to the
Controller is turned ON. After you change the time zone, cycle the power supply.
*2 Category
Category
SQL Execution Failed
Spooled
Status Error
*3 Code
Category
SQL
Execution
Failed
Spooled
6-20
Size
6 bytes (Fixed)
Displays a 4-digit hexadecimal code that shows the execution result.
(e.g., 0x1234)
0x0000: Succeeded
Other than 0x0000: Failed (Same code as ErrorID of DB Connection
Instruction)
16 bytes max. (Variable)
Displays a DB Connection name (single-byte alphanumeric
characters)
10 bytes max. (Variable)
ID code given at each execution of DB_Insert, DB_Update,
DB_Select, or DB_Delete instruction. (The same ID as Serial ID
displayed in the SQL or SQL Resend record of Execution Log is
displayed.)
Variable
Displays the details of the SQL Execution Failure Log. The contents
differ according to the category.
In the Details parameter, information items are separated from each
other by a tab.
Category: SQL Execution Failed
Category: Spooled
Category: Status Error
10 bytes in total
2 bytes
Characters displayed in the log
SQL_FAIL
SPOOL
STATUS_ERROR
Code
Operation
(decimal)
0001
INSERT
0002
UPDATE
0003
SELECT
0004
DELETE
0001
INSERT
0002
UPDATE
Description
[Table name]<tab>[DB Map Variable name]<tab>[DB error
code]<tab>[Error message]<tab>[SQL statement]
DB Map Variable name: The POU instance name is not displayed.
DB error code: Error code that is specific to DB vendor of the
device to connect. When a network error has occurred, 0 is
displayed for DB error code in some cases. When 0 is displayed,
check the Result parameter.
[Table name]<tab>[DB Map Variable name]<tab>[SQL statement]
DB Map Variable name: The POU instance name is not displayed.
[Table name]<tab>[DB Map Variable name]<tab>[SQL statement]
DB Map Variable name: The POU instance name is not displayed.
Log recording timing
When execution of an SQL statement issued from DB Connection
Service to DB failed due to a DB-caused factor.
When an SQL statement is stored in the Spool memory because
a failure occurred in information exchange between DB
Connection Service and DB.
NJ/NX-series Database Connection CPU Units User's Manual (W527)

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents