Wh_Sc1 data point type

This data point type can be used to display information from operating-time counters or operations counters. There are four different types:

  • PLC counter

  • Binary status messages

  • Analog status messages

  • Operations counter

Element Data type Description
para.type int == 1 PLC counter, == 2 binary status messages, == 4 analog status messages, == 5 operations counter
para.overflow int Count limit for the counter; counter starts again from 0 after overflow (type == 1)
para.tolerance int Used for overflow (type == 1)
para.integralFactor float Conversion factor for type==1
value.pvssCounter float WinCC OA counter
value.plcCounter int Raw value for type==1
value.plcInterm int Temporary memory for calculation values
value.on bool Counter-on flag for type==2
cmd.ResetPLC bool Reset PLC
wh typref Reference of type WH_SC1_SUB (A/C type)

Associated symbols

Symbol Symbol name Description
WH_SC1 Operating-time/operations counter
WH_SC1_1 Operating-time/operations counter