InhibitBatLed: Enables or Disable the Battery Led

Function Description

This function enables or disables the display of the battery LED indicator, regardless of its charge level.

Graphical Representation

IL and ST Representation

To see the general representation in IL or ST language, refer to the chapter Function and Function Block Representation.

I/O Variable Description

The following table describes the input variable:

Input

Type

Comment

Inhibit

BOOL

If TRUE, disables the display of the battery LED.

If FALSE, enables the display of the battery LED.

The following table describes the output variable:

Output

Type

Comment

InhibitBatLed

INT

A value of 0 indicates that no error was detected while executing the function block. A non-zero indicates that an error was detected.

Example

This example describes how to disable the battery led display:

	(* Disable Battery LED Information *)
	SEC.InhibitBatLed(TRUE);