GetFirmwareVersion: Returns Information About the Firmware, the Boot and the Coprocessor Versions
This function returns the following information about the Controller:
oFirmware version
oBoot version (Kernel for firmware update)
oCoprocessor version (ASIC dedicated to embedded I/O management)
NOTE: The similar information are also available through the System Variables PLC_R.i_byFirmVersion, PLC_R.i_byBootVersion and PLC_R.i_byChipVersion
To see the general representation in IL or ST language, refer to the chapter Function and Function Block Representation.
The following table describes the output variable:
Output |
Type |
Comment |
---|---|---|
GetFirmwareVersion |
Firmware, Boot and Coprocessor version. |
This example describes how to use the structured variable to get the versions values:
VAR
MyFirmwareVersion : FIRMWARE_VERSION;
MyFwVersion : DWORD;
MyBootVersion : WORD;
MyCoProcVersion : WORD;
END_VAR
MyFirmwareVersion := GetFirmwareVersion();
MyFwVersion := MyFirmwareVersion.FwVersion;
MyBootVersion := MyFirmwareVersion.BootVersion;
MyCoProcVersion := MyFirmwareVersion.AsicVersion;