FC_GetPacDriveBootState - General Information
Type: |
Function |
Available as of: |
SystemInterface_1.32.6.0 |
Versions: |
Current version |
Determine if the parameters are valid after the boot process of the PacDrive Controller.
The function returns the boot status of the PacDrive Controller. This is necessary as the IED program is already loaded before the end of the boot process and started depending on the parameter AutoRun. The function FC_GetPacDriveBootState() allows you to find out whether the boot process is complete.
The initialization of the system is not complete and the objects (for example, logical encoders) and the parameters are not valid until after the boot process has been completed.
With this function, you can make sure that the physical encoder is initialized and functions properly, for example. The duration of the boot process depends largely on the size of the project.
Data type |
Description |
---|---|
DINT |
0: Boot is not finished yet 1: Boot finished |
CASE lState OF
1:
lBootReady:=FC_GetPacDriveBootState();
IF lBootReady=1 THEN
lState:=lState+1;
END_IF;
2:
...;
END_CASE;