This section describes the read functions included in the M218 PLCSystem library.
In many cases, similar information returned by these functions can also be obtained through System Variables. System Variables are common across the control platforms, and therefore it is recommended to use them where possible for the portability of your applications. The information contained in the System Variables is often similar, though not always exactly the same as that returned by the functions. If you are replacing these functions in your program to favor the use of System Variables, be sure to understand the differences in the information offered.
The following function descriptions indicate when a System Variable is available for similar information.
This section contains the following topics:
oGetAnalogVersion: Returns the Expansion Module Reference and Version
oGetBatteryLevel: Returns Remaining Power Charge of the Battery
oGetBootProjectStatus: Returns the Boot Project Status
oGetEventsNumber: Returns the Number of External Events Detected
oGetFirmwareVersion: Returns Information About the Firmware, the Boot and the Coprocessor Versions
oGetHardwareVersion: Returns the Hardware Version
oGetLastStopCause: Returns the Cause Last Stop
oGetLastStopTime: Returns the Date and Time of the Last Detected Stop
oGetLocalIOStatus: Returns the Embedded I/O Status
oGetLocalAIOStatus: Returns the Embedded Analog I/O Status
oGetPlcFault: Returns Detected Errors on the Controller I/O
oGetRightBusStatus: Returns the Status of the Expansion Bus
oGetSerialNumber: Returns the Serial Number of the Controller
oGetEthConf: Gets the current Ethernet configuration from the logic controller
oGetShortCutStatus: Returns the Short-Circuit Status on Embedded Outputs
oIsFirstMastColdCycle: Indicate if this Cycle is the First MAST Cold Start Cycle
oIsFirstMastCycle: Indicate if this Cycle is the First MAST Cycle
oIsFirstMastWarmCycle: Indicate if this Cycle is the First MAST Warm Start Cycle