LCD_BKLT_REM (remote LCD backlight)

The LCD_BKLT_REM instruction sets the remote LCD backlight parameters in a user program.
Operation details:
The backlight settings defined in LCD_BKLT_REM are used when the remote LCD display is:
  • A user-defined screen defined using LCD_REM.
  • The default I/O Status screen.
  • For all other screens, the backlight settings used are those defined using the menu on the remote LCD.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
LCD_BKLT_REM
LCD_BKLT_REM
LCD_BKLT_REM parameters
Parameter
Parameter Type
Data Type
Description
Enable
Input
BOOL
Instruction enable.
TRUE: Execute REM_LCD_BKLT, overwrite any current backlight settings.
FALSE: REM_LCD_BKLT is disabled and the remote LCD menu settings take effect.
Color
Input
UINT
Backlight Color Code:
  • 0:  White
  • 1:  Blue
  • 2:  Red
  • 3: Green
  • 4-65535: Reserved
Mode
Input
UINT
  • 0: Permanently OFF
  • 1: Permanently ON
  • 2: Flash (1 second interval)
  • 3-65535: Reserved
LCD_BKLT_REM
Output
BOOL
TRUE: Instruction executed successfully.
FALSE: Error occurred during instruction execution.
Sts
Output
UINT
Status of the remote LCD operation.
LCD_BKLT_REM status codes:
  • 0: Enable input is false.
  • 1: Success.
  • 2: Remote LCD not detected.
    Might occur when:
    • Remote LCD is not physically connected to the controller or the wiring is not correct.
    • Serial port settings are other than what is required for the remote LCD.
  • 3: Connection error.
    Might occur when there is an internal state machine error, such as an incompatibility between the controller firmware version and the RLCD firmware version.
  • 4: Invalid color code.
  • 5: Invalid mode.
  • 6-65535: Reserved.

LCD_BKLT_REM examples

LCD_BKLT_REM function block diagram example
LCD_BKLT_REM ladder diagram example
LCD_BKLT_REM ladder diagram example
LCD_BKLT_REM structured text example
LCD_BKLT_REM structured text example
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal