SysPlcCtrl23 Library Documentation ¶ Company System Title SysPlcCtrl23 Version 3.5.13.0 Categories System|SysLibs23 Author 3S - Smart Software Solutions GmbH Description 1 ¶ Library contains routines to control the plc. It contains routines to handle retains variable, to change the status of the plc program and to influence the software watchdog. Contents: ¶ Data types RESET_MODE (Enum) POUs Control Retains Watchdog Indices and tables ¶ 1 Based on SysPlcCtrl23.library, last modified 03.07.2018, 10:35:04. LibDoc 4.4.0.0-b.27 The content file SysPlcCtrl23.clean.json was generated with CODESYS V3.5 SP13 on 03.07.2018, 10:35:04.
Data types ¶ RESET_MODE (Enum)
RESET_MODE (ENUM) ¶ TYPE RESET_MODE : InOut: Name RESET_WARM RESET_COLD RESET_HARD
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