Applies To:
  • CitectSCADA 5.xx
  • CitectHMI 5.xx

Summary:
I have configured a CitectSCADA project using the S7NT driver. When I started CitectSCADA, the following error was observed in the Citect kernel:

CINIT 0008 PORT1_BOARD1 IODev 16

Generic 000008 Driver 00016407 (0x00004017)

Searching through the Citect Online Help and the S7 driver specification file did not yield any information on the error. What does it mean?

 

Solution:
The S7 driver error 0x4017 (hexadecimal) is generated by the Siemens S7 API. The S7 driver retrieves all errors by calling the function S7_last_iec_err_no() in the Siemens S7 API, which returns an error code. In this instance, the error 0x4017 is a combination of a base error code ORed with an error condition (0x4000 + 0x17). The Siemens S7 API header file lists the error 0x17 (23 decimal) as:

/******** invalid communication reference (cref) or connection name */

#define S7_ERR_INVALID_CREF 20

#define S7_ERR_CONN_NAME_NOT_FOUND 23

#define S7_ERR_NO_LDB_XDB_FILE 25

Moreover, the error 0x4017 was returned to CitectSCADA during the channel initialisation stage. This indicates that the only possible cause was due to an incorrect "Service Access Point" string entered in the Citect -> Boards ->Special Option field.

I have reproduced the same enter by indeed entering an invalid string for the Access Point in the Boards -> Special Option field.

 

Keywords:
 

Attachments