FC_DiagMsgWrite - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Trigger diagnostic message.

Description

This function allows you to trigger diagnostic messages from the program. The diagnostic class (in the range 0 to 4) of the diagnostic message is set via the parameter i_diDiagClass. Use i_sDiagText to transfer the diagnostic text. The maximum length is set to 14 characters. These are extended diagnostic messages.

Interface

Input

Data type

Description

i_diDiagClass

DINT

Diagnostic class

i_sDiagText

STRING[80]

Diagnostic text (maximum 14 characters).

Return Value

Data type

Description

DINT

0: OK

-2: Invalid class.