SoeServiceStatus

The
SoeServiceStatus C
function block provides the status of the Soe service.
IMPORTANT: Only use the
SoeServiceStatus
function block in a single processor configuration. Using this function block in a dual or triple processor configuration stops the application.
prt_sss
TIP: To enable controller updates, perform a download operation after adding an
SoeServiceStatus
function block.
This function block has these arguments.
Arguments
RST
BOOL
TRUE resets all status values to zero
SSTS
INT
The status of the SOE server
ERR
STRING(64)
The description of the possible error codes:
  • Not running
  • Not running—service disabled
  • Not running—configuration error
  • Not running—only one service allowed
  • Unable to initialize SOE log
  • Unable to write SOE log
EVCT
UDINT
The number of events
EVMX
UDINT
The maximum number of events in the log
RESN
UINT
The number of the controller
COND
USINT
The event condition
VA
UDINT
SOE variable VA
RFVA
UDINT
Reference variable VA
RFVL
STRING(32)
Reference variable value
TMHI
UDINT
Event timestamp (High 32 bits)
TMLO
UDINT
Event timestamp (Low 32 bits)
The timestamp is the number of milliseconds since January 1, 1900.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal