boardEnableS0 (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

DX4, AX9, NX-400, NX-900, NX-910, LX4

Firmware version:

1.30 / 1.00.00


The boardEnableS0 function is used to control the IEC62053-31 compliant S0 interface that is available on some RTCU devices. Please refer to the Technical Manual for information about the necessary settings of the hardware jumpers to use the S0 interface.

 

By enabling the S0 interface, the power will be supplied to the necessary electronic circuits which will increase the power consumption of the device.

 
The S0 interface is disabled by default and must specifically be enabled by the application.

 

 

 

Input:

enable : BOOL

Enables or disables the S0 interface.

         

Returns:

0

- Success.

1

- Not supported.

 

Declaration:

FUNCTION boardEnableS0 : INT;
VAR_INPUT
  enable : BOOL;
END_VAR;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
  // Enable S0 interface
  boardEnableS0(enable := ON);
 
BEGIN
  ...
END;
END_PROGRAM;