Name: OverwriteLocalDisplay
Type: Function
Return value: USINT
Language type:
Description:
This function can be used in order to customize the plc menu, based on job value the following actions can be done:
done:= OverwriteLocalDisplay(0,'',0,1,0,1);
done=0 command executed
done=1 menu bios active
done=2 menu plc is already active
This call, with job=0, restore the plc menu task if it does not exist. It can be used to understand if the bios menu is active
-------------
done:=OverwriteLocalDisplay(1,'DIS ',0,0,0,1);
done=0 command executed
done=1 menu plc is not active, bios menu active
This call, with job=1, has effect only if plc menu is active, nothing happen if bios menu is active. This call force disable the plc menu the display is completely managed by the developer. syskeyfunctions is no longer available.
-------------
done:=OverwriteLocalDisplay(2,'',0,0,0,1);
done=0 executed
done=1 bios menu active
done=4 menu plc is active, bios menu is activated only by F5
If plc menu is disabled, this call, with job=2 will force opening bios menu
-------------
done:=OverwriteLocalDisplay(3,'',number,dp,0,0);
done=0 command executed
done=1 menu plc not active
The call with job=3 update the status of the fundamental display (menu plc is still active)
-------------
done:=OverwriteLocalDisplay(4,'',0,1,0,1);
done=0 command executed
The call with job=4 enables the automatic update of the fundamental display
Input:
| Name |
Type |
Description |
| Job |
USINT |
See Description |
| Str |
STRING |
String to be displayed, string has higher priority than number |
| data |
DINT |
Number to be displayed |
| dp |
USINT |
Blink: 0=Off 1=On |
| priority |
USINT |
Future Use, insert 0 |
| blink |
USINT |
Blink: 0=Off 1=On |