boardSerialNumber (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

All

Firmware version:

1.00 / 1.00.00


boardSerialNumber returns the serial number of the RTCU device.

 

 

Input:

None

         

Returns: DINT

Serial number of the RTCU device.

 

Declaration:

FUNCTION boardSerialNumber : DINT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
VAR
  sernum : DINT;
END_VAR;
 
BEGIN
  ...
  // Fetch the serial number of the RTCU device
  sernum := boardSerialNumber();
  ...
END;
 
END_PROGRAM;