POUs ¶ Control SysEnableScheduling (Function) SysGetPlcLoad (Function) SysResetPlcProgram (Function) SysShutdownPlc (Function) SysStartPlcProgram (Function) SysStopPlcProgram (Function) Retains SysRestoreRetains (Function) SysSaveRetains (Function) Watchdog SysWdgEnable (Function)
Control ¶ SysEnableScheduling (Function) SysGetPlcLoad (Function) SysResetPlcProgram (Function) SysShutdownPlc (Function) SysStartPlcProgram (Function) SysStopPlcProgram (Function)
SysEnableScheduling (FUN) ¶ FUNCTION SysEnableScheduling : DWORD Function to enable/disable scheduling. Disabled for V3, the function returns always 0 InOut: Scope Name Type Return SysEnableScheduling DWORD Input bEnable BOOL
SysGetPlcLoad (FUN) ¶ FUNCTION SysGetPlcLoad : DWORD Function to return the PLC Load. InOut: Scope Name Type Return SysGetPlcLoad DWORD Input Result UDINT
SysResetPlcProgram (FUN) ¶ FUNCTION SysResetPlcProgram : BOOL Reset all top level applications of the plc. CmpAsyncMgr needed in the runtime. NOTE: The function returns and asynchronously, the reset will be executed! InOut: Scope Name Type Return SysResetPlcProgram BOOL Input rmRESETMODE RESET_MODE
SysShutdownPlc (FUN) ¶ FUNCTION SysShutdownPlc : BOOL Shutdown the plc InOut: Scope Name Type Return SysShutdownPlc BOOL Input bDummy BOOL
SysStartPlcProgram (FUN) ¶ FUNCTION SysStartPlcProgram : BOOL Start all top level applications of the plc InOut: Scope Name Type Return SysStartPlcProgram BOOL Input bDummy BOOL
SysStopPlcProgram (FUN) ¶ FUNCTION SysStopPlcProgram : BOOL Stop all top level applications of the plc InOut: Scope Name Type Return SysStopPlcProgram BOOL Input bDummy BOOL
Retains ¶ SysRestoreRetains (Function) SysSaveRetains (Function)
SysRestoreRetains (FUN) ¶ FUNCTION SysRestoreRetains : DINT Restore retains from specified file. Only for one Application. Retains have to be in a own area. Result: 1: OK 0: No PROGRAM loaded -1: File could NOT be opened -2: File size is larger then the retain size InOut: Scope Name Type Return SysRestoreRetains DINT Input stFileName STRING