boardVersion (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

All

Firmware version:

1.00 / 1.00.00


boardVersion returns the version number of the firmware running on the RTCU device.

 

Input:

None

         

Returns: INT (0..32767)

Version number of the firmware on the RTCU device. Version will be scaled by 100 so that version 3.00 will be returned as 300.

 

Declaration:

FUNCTION boardVersion : INT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
BEGIN
  ...
  // Set the current write position to 1,2 (leftmost, second row)
  displayXY(x := 1, y := 2);
  // Print the version number of the firmware at the current write position
  displayNumber(number := boardVersion());
  ...
END;
 
END_PROGRAM;