FC_DisplayRefreshed - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Determine if the display has already been updated.

Description

As the output for the controllers PacDrive LMC Pro/Pro2 and PacDrive LMC Eco runs asynchronously, it is possible to check whether the texts issued by using the functions FC_DisplayMessageWrite() or FC_DisplayLineWrite() have already been written.

Interface

Input/Output

Data type

Description

iq_xStatus

BOOL

Display status

Return Value

Data type

Description

DINT

0: OK

-1: Function for controller is not available

-2: Internal error detected

-3: The display is not in the IEC-Mode

-11: Display mode change-over is blocked

Examples

 lResult:=FC_DisplayRefreshed(bStatus); 
IF lResult < 0 THEN 
   sResult := 'Error: FC_DisplayRefreshed'; 
END_IF;