boardDCOut (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Firmware version:

1.00 / 1.00.00


This function is used to enable/disable the DC-OUT external power supply that is available on some devices.

For technical specification on the DC-OUT external power supply, please consult the technical manual for the device in question.

 

Input:

Enable : BOOL

Enables/disables DC-OUT. Default state is: disabled.

 

Returns:

None

 

Declaration:

FUNCTION boardDCOut;
VAR_INPUT
   enable : BOOL;
END_VAR;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
BEGIN
   ...
   // Enable DC-OUT (external power-supply)
   boardDCout(enable:=ON);
   ...
END;
 
END_PROGRAM;