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

Summary:
The help in the "Citect Kernel" states that the logging of I/O DEVICE reads and writes to the syslog.dat file can be achieved with the command:

Log <I/O Device> <Mode> Where:

<I/O Device> = the name of the I/O Device to log

<Mode> = either: READ, WRITE, or OFF

This logs the following type of information into the syslog.dat file:

Fri Jul 17 17:24:19 1998 07:02:38.008 Log: Digital_Inpu WI0 0 1 1 0 16 0 0

What do the fields at the end represent?

 

Solution:
For example, Log: Digital_Inpu WI38 1 16 1 26 2 cd 1

Represents the following in Citect:

1 RAW DATA TYPE
16 BITWIDTH OF A UNIT OF THAT TYPE
1 UNIT TYPE
26 ADDRESS IN UNIT OF THAT TYPE (HEX)
2 COUNT IN UNITS OF THAT TYPE
cd 1 DRIVER ERROR CODE IN (HEX)
 

Keywords:
 

Attachments