Mitsubishi Electric Melsec Q Series User Manual page 332

Programmable contoller mes interface module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

8
DB CONNECTION SERVICE AND SETTING TOOL
(4) SQL text reception/processing results
Item
When
[Date] [Error code] SID [Session ID]:SQL<[SQL text]>:Success([No. of selected records])
Output
succeeded
log format
[Date] [Error code] SID [Session ID]:SQL<[SQL text]>:Failed
When failed
When
2007/10/01 12:00:00.000 0x00000000 SID 00000001:SQL<SELECT COL from TABLE;>:Success(1)
succeeded
Example
2007/10/01 12:00:00.000 0x20600023 SID 00000001:SQL<SELECT COLL from TABLE;>:Failed
When failed
Item
When
[Date] [Error code] SID [Session ID]:SQL<[SQL text]>:Success([No. of updated records])
succeeded
Output
log format
[Date] [Error code] SID [Session ID]:SQL<[SQL text]>:Failed
When failed
When
2007/10/01 12:00:00.000 0x00000000 SID 00000001:SQL<UPDATE TABLE SET COL = '1';>:Success(1)
succeeded
Example
2007/10/01 12:00:00.000 0x20600023 SID 00000001:SQL<UPDATE TABLE SET COL = 'COL';>:Failed
When failed
Item
When
[Date] [Error code] SID [Session ID]:SQL<[SQL text]>:Success([No. of inserted records])
succeeded
Output
log format
[Date] [Error code] SID [Session ID]:SQL<[SQL text]>:Failed
When failed
When
2007/10/01 12:00:00.000 0x00000000 SID 00000001:SQL<INSERT INTO TABLE ( COL ) VALUES
succeeded
('1');>:Success(1)
Example
2007/10/01 12:00:00.000 0x20600023 SID 00000001:SQL<INSERT INTO TABLE ( COL ) VALUES
When failed
('1');>:Failed
8
- 26
8.8 Output Log Specifications
8.8.1 Access log
For details on [Database error number] and [Database error message] in the output
log format in the case of failure, refer to the manual for each database.
Depending on the [Error code], however, Database Message and subsequent data
cannot be output.
According to the error code, confirm the error details and take corrective actions.
Section 10.2.2 (2) Access log of DB Connection Service
(a) SELECT
Table 8.17 SELECT
Database Message [Database error number] [Database error message]
Database Message 0x00000388 [Oracle][ODBC][Ora]ORA-00904: "COLL": invalid identifier
(b) UPDATE
Table 8.18 UPDATE
Database Message [Database error number] [Database error message]
Database Message 0x000006ba [Oracle][ODBC][Ora]ORA-01722: invalid number
(c) INSERT
Table 8.19 INSERT
Database Message [Database error number] [Database error message]
Database Message 0x000003ae [Oracle][ODBC][Ora]ORA-00942: table or view does not exist
Description
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71mes96Qj71mes96nSw1dnc-mesif-e

Table of Contents