Set Backlight
This function block is used to modify the backlight setting of the display. This can change the brightness of the screen toward a darker or lighter display.
A brightness value in percent can be assigned to the SetVal input. The output ActVal will show the currently set value. The output Err will show an error number.
Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
SetVal | I | WORD | Brightness value to set in [%] |
ActVal | O | WORD | Actual brightness value in [%] |
Err | O | WORD | Error indicator |
Comments
Error numbers | Result |
---|---|
0 | No error |
-1 | The board could not be accessed. |
-2 | The current brightness value could not be read. |
-3 | The brightness value could not be set. |