Diagnostics

Variables for reporting and writing errors and warnings.

Variable name

Description

xError

Data type – BOOL

  • TRUE – Error present
  • FALSE – No error present

xWarning

Data type – BOOL

  • TRUE – Warning present
  • FALSE – No warning present

udiMessageID

Data type – UDINT

Message ID number

sAdditionalText

Data type – STRING

Additional message text

xReset

Data type – BOOL

  • TRUE – Reset messages
  • FALSE – Do not reset messages