GetSysInfo

GetSysInfo 1:

The "GetSysInfo" function allows system information relating to the PLC Controller to be read.

FUNCTION GetSysInfo : WORD

VAR_INPUT

VAR_INPUT
    bDummy  : BOOL
END_VAR

At least one input is required for functions.

The system information is encoded in the return parameter of the function as follows:

Return value

Description

Bit 0 set

The fieldbus and terminal bus status information is available

Bit 1 set

The system tick is present (controllers with older firmware do not support this feature).

Bit 2 set

The PLC cycle time watchdog monitoring is active.

Bit 3 - 15

reserved

 

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v2.7.0 and above

BCxxxx (165)

PlcSystemBC.Lb6