LCD_REM (remote LCD)

The LCD_REM instruction displays user-defined messages for the remote LCD.
Operation details: For Line1 through Line8, the maximum string length is 24 characters.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
LCD_REM
LCD_REM
LCD_REM parameters
Parameter
Parameter Type
Data Type
Description
Enable
Input
BOOL
Enable the instruction block.
TRUE: Remote LCD switches to user-defined screen from I/O status screen.
FALSE: Remote LCD switches back to I/O status screen.
Font
Input
UDINT
Font size for startup message:
  • 0: Default (Large – 8x16)
  • 1: Small (8x8)
  • 2: Large (8x16)
  • 3: Extra Large (16x16)
  • 4 onward: Reserved
The Remote LCD size is 192x64 pixels.
When the font size for the startup message is small, the remote LCD displays:
  • Strings in Line1 to Line8.
  • A maximum of 24 characters per line.
When the font size for the startup message is large or extra large, the remote LCD:
  • Displays strings in Line1 to Line4.
  • Ignores strings in Line5 to Line8.
  • Displays a maximum of 12 characters per line.
Line1
Input
String
String to be displayed on line 1 of the LCD.
For Line1 through Line8, the maximum string length is 24 characters.
Line2
Input
String
String displayed on line 2 of the LCD.
Line3
Input
String
String displayed on line 3 of the LCD.
Line4
Input
String
String displayed on line 4 of the LCD.
Line5
Input
String
String displayed on line 5 of the LCD.
Line6
Input
String
String displayed on line 6 of the LCD.
Line7
Input
String
String displayed on line 7 of the LCD.
Line8
Input
String
String displayed on line 8 of the LCD.
LCD_REM
Output
BOOL
Function block enable.
  • When Enable = TRUE, user display is active.
  • When Enable = FALSE, I/O Status/Menu display is active.
Sts
Output
UINT
Status of the remote LCD operation.
LCD_REM status codes:
  • 0: Enable input is false.
  • 1: User message displayed successfully.
  • 2: Remote LCD not detected.
  • 3: Connection error.
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.
  • 4: Invalid font code.
  • 5: 5-65535 - Reserved.

LCD_REM examples

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