Diagnostics

Variables for reporting and writing errors and warnings.

Variable name

Description

xError

Data type: BOOL

  • TRUE: An error is present.
  • FALSE: No error is present.

xWarning

Data type: BOOL

  • TRUE: A warning is present.
  • FALSE: No warning is 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.