Short description
This function displays message pages and parameters of other blocks on the LOGO! onboard display or LOGO! TDE when LOGO! is in RUN mode. Each LCD message function block supports at least one message page and two message pages at most. LOGO! 9 supports up to 50 messages pages in one circuit program.
|
Connection |
Description |
|---|---|
|
Input En |
A 0 to 1 transition at En (Enable) triggers the output of the LCD message. |
|
Input P |
P* is the display priority of the message page in which the FB is used. 0 is the lowest, 127 the highest priority. |
|
Parameter |
Text: Input of the LCD message Par: Parameter or actual value of another, already configured function block, which can be displayed numerically or as a bar graph (see "Message widget" and "Function widget"). |
|
Output Q |
Q remains set as long as the LCD message is queued. |
|
* If you want to change the display priority on device screen when the BM is running, you can change it using the Selector widget. |
|
Block configuration
|
① |
Block name |
|
② |
Settings:
|
|
③ |
Block area: Here you can select blocks from your circuit program. Then you choose parameters from the blocks to display in the message page. |
|
④ |
Message edition area: Here you can use message widgets in the message pages. |
|
⑤ |
Properties pane: Here you can view and configure properties of message pages or message widgets |
Settings
In addition to the function block inputs and the parameters of the LCD message, the following settings provide additional control over the display of the LCD message:
Current Message Page Selection: each LCD Message FB supports 2 message pages at most. You can choose to enable one or two pages. Select the page to configure in the LCD Message configuration area.
Message destination: You can choose to display the message page on the following destinations: LOGO! onboard display, the LOGO! TDE, or both.
LOGO! Display: LOGO! BM screen, canvas size 320 x 176 in pixels
LOGO! TDE: LOGO! TDE screen, canvas size 480 x 208 in pixels
Both
Web server is chosen as the display destination by default. You can display LOGO! message page through the Web server.
Configuring message page background
In the message page properties pane, you can configure the message page background. If you set the background type as color, you need to select a color in the color pallete. If you set the background type as image, you need to select an image in the graph library.
Message widget
You can use message widget to display messages. LOGO!Soft Comfort provides two kinds of message widgets:
Function widget
You can find function widgets in the toolbar of Message Page Editor canvas. Click the widget icon to add a function widget.
Parameter widget
The block area lists all the function blocks and parameters from the circuit diagram that can be used as widgets. The widget type and properties are defined by the function block.
To use a parameter widget, select the desired one then click Insert Parameter button, or drag and drop it to the editor canvas.
Right-click on a widget in the canvas to access the short-cut menu. In the short-cut menu you can find the commands to cut, copy, paste, delete, or select all widgets, or bring the widget to front or back.
|
Note
You can use a maximum of 64 widgets in a message page, including a maximum of 32 text label widgets and 32 other widgets. |
There is a properties pane for the LCD message page and widget. You can read or write the following properties:
Widget type
Variable: writable, variable, parameter, range, actions configuration and so on
UI: position, size, color configuration and so on
Function widget
This widget is used to display text content. Double-click the widget in the canvas or double-click the text input cell in the properties pane to open the Message Editor. You can enter the text in the Message Editor by typing on a connected keyboard, or by clicking the character keys, or by the keyboard shortcuts to copy (Ctrl + C) and paste (Ctrl + V).
LCD Message supports UTF8 encoding. You cannot input unsupported characters. You can input the maximum of 128 bytes.
This widget is used to display the reference actual value as an integer number (Byte, Word, Dword). You need to define the value address bound to the integer number.
If you check the box of Writable in the properties pane, you can change the value on device screen the device is running.
If the integer number is too long to be fully displayed within the widget width, the content will be scrolled to display on the device screen when the diagram is running.
This widget has the following special properties:
Input range (Max & Min): the maximum and minimum value you can input on device screen. Only available when Writable is checked.
Filter time: you can select 100 ms to 1000 ms, or select global setting.
This widget has the following bound variables to configure:
AI, AQ (Word type)
Variable: V, VX, VR (Byte, Word, Dword type)
This widget is used to display the reference actual value as a float number. You need to define the value address bound to the float number.
If you check the box of Writable in the properties pane, you can change the value on device screen when the device is running.
If the float number is too long to be fully displayed within the widget width, the content will be scrolled to display on device screen when the diagram is running.
This widget has the following special properties:
Input range (Max & Min): the maximum and minimum value you can input on device screen. Only available when Writable is checked.
Display decimals: select from the drop-down list to determine the display number precision.
Filter time: you can select 100 ms to 1000 ms, or select global setting.
This widget has the following bound variables to configure:
Variable: V, VX, VR (float type)
FB parameters (float type)
This widget is used to control a digital value as a pressing button.
This widget has the following special properties:
Button text
Action type: Click, Push
Action value:
Click: Value to 0; Value to 1; Reverse
Push: Press 1, release 0; Press 0, release 1
This widget has the following bound variables to configure:
Variable: V, VX, VR (Boolean type)
The widget is used to display the reference actual value as the configured text, for example, "On", "Off".
If you check the box of Writable in the properties pane, you can change the digital value (from 0 to 1 or from 1 to 0) on device screen when the device is running.
This widget has the following special properties:
On text: the display text when the value is 1.
Off text: the display text when the value is 0.
This widget has the following bound variables to configure:
Variable: V, VX, VR (Boolean type)
Digital input, Digital output, Flag, Cursor key, LOGO! TD Function key, Shift register bit, function block output
This widget is used to display the reference actual value as the configured image.
If you check the box of Writable in the properties pane, you can change the digital value (from 0 to 1 or from 1 to 0) on device screen when the device is running.
This widget has the following special properties:
On image: the display image when the value is 1.
Off image: the display image when the value is 0.
Double-click the image upload cell in the properties pane to open the Graph Library, where you can select the image to upload.
|
Note
You can configure at most 64 different images for all the I/O icon widget in the LCD Message. |
This widget has the following bound variables to configure:
Variable: V, VX, VR (Boolean type)
Digital input, Digital output, Flag, Cursor key, LOGO! TD Function key, Shift register bit, function block output
This widget is use to display the reference actual value as a horizontal or vertical bar graph on device screen.
This widget has the following special properties:
Direction: Horizontal, Vertical
Input Range: Max, Min, the value range depending on the data type of the bound variable
This widget has the following bound variables to configure:
Variable: V, VX, VR (Byte, Word, Dword type or float type)
FB parameters (Word type)
This widget is used to display the reference actual value as a slider.
This widget has the following special properties:
Direction: Horizontal, Vertical
Input Range: Max, Min, the value range depending on the data type of the bound variable
This widget has the following bound variables to configure:
V, VX, VR: Byte, Word, Dword type
This widget is used to display the configured selector and you can select configured values from it on device screen.
If you check the box of Writable in the properties pane, you can change the value on device screen when the device is running.
This widget has the following special properties:
Options
You can configure at most 8 options for each selector widget. Double-click the options quantity button to open the Option Setting window. To configure each option, you need to set the following items:
Options text: the text displays on device screen. UTF-8 characters are supported. The text cannot exceed 32 bytes.
Options value: the value range should match the data type of the bound variable.
This widget has the following bound variables to configure:
V, VX, VR: Byte, Word, Dword type
This widget is used to display the reference actual value in a specific time base format.
This widget has the following special properties:
Time Base:
Hours: HH, value range: 0 to + ∞
Minutes: HH:MM, value range varies to the bound variables
Seconds: HH:MM:SS, value range: 0 to 59
10 Milliseconds: HH:MM:SS:TT, value range: 0 to 99
This widget has the following bound variables to configure:
V, VX, VR: Byte, Word, Dword type
FB parameters: Byte, Word, Dword, Timer, Pnum type
This widget is used to display the current system time or the system time when the LCD Message function block is enabled. The time is displayed in the format 00:00:00.
This widget has the following special properties:
System time: select Current time or Message enable time
This widget is used to display the current system date or the system date when the LCD Message function block is enabled. The date is displayed in the format YY-MM-DD.
This widget has the following special properties:
System date: select Current date or Message enable date
LCD message simulation
Message online test
With the message online test function, you can view the same message texts as shown in the LOGO! Base Module.
You can start or stop messages online by clicking the
toggle button, and the messages are displayed as follows:
During a message online test, none of the message widgets are editable on the LOGO!Soft Comfort simulated device screen. You cannot use LOGO!Soft Comfort to configure LCD message blocks. You can, however, use the "Go to block" button.
Converting message blocks
The LCD Message block is only available for LOGO! 9 (and later versions). Message text block is only available for LOGO! 0BA2 to 0BA8. However, LOGO!Soft Comfort V9.0 (and later versions) supports converting the Message text block to the LCD Message block for LOGO! 9 (and later versions) when necessary.
When downloading a circuit diagram containing Message text blocks to LOGO! 9 (and later versions) device, LOGO!Soft Comfort will remind you the download cannot proceed as the Message text block is not supported by the target device. You can see the detailed information in the Warning messages.
You need to manually convert the Message text block to LCD Message block by changing the Hardware type of the circuit diagram to LOGO! 9.0 (or later versions).
The following table lists the widget mapping between Message text block and LCD Message block:
|
Message text block |
LCD Message block |
|---|---|
|
Parameter items |
Parameter widgets |
|
ON/OFF (IO status name) |
IO text widget |
|
Bar Graph |
Bar widget |
|
AI filter |
Integer number widget |
|
Scale time |
Scale time widget |
|
Current time |
Current time widget |
|
Current date |
Current date widget |
|
Message enable time |
Message enable time widget |
|
Message enable date |
Message enable data widget |
The following figures are the examples of converting the Message text block to LCD Message block:
|
Message text |
LCD Message |
|
|
|
|
Note
LOGO!Soft Comfort doesn't support converting the LCD Message block to the Message text block. |
|
Note
Diagram batch download When downloading a circuit diagram with a Message text block to a batch of LOGO! devices, if a LOGO! 9 (or later versions) device is in the target devices list, the download to LOGO! 9 will fail. You can see the download result after the download finishes. To learn more about diagram batch download, refer to Tools -> Transfer -> Batch Download -> Diagram Batch Download (LOGO! 8.4 and later versions only). |