SYSTEMINFO
VAR_GLOBAL
SystemInfo AT%MB32768(*The real address may differ!*) : SYSTEMINFOTYPE;
END_VAR
System flags are implicitly declared variables that are different on each specific PLC. The type SYSTEMINFOTYPE is declared in the system library, so this library has to be included in the library manager.
Requirements
Development environment |
Target system type |
PLC libraries to include |
---|---|---|
TwinCAT v2.7.0 |
PC (i386) |
PLCSystem.Lib |
TwinCAT v2.8.0 |
PC (i386) |
TcSystem.Lib |