|
|
Topic: P181 |
Display (LCD) Instruction |
|
Icon / Button =

Display program-triggered messages on the OLED/LCD screen of one or more P Series (P3 & P2) CPUs or Remote Slaves.
|
Parameter |
Parameter Type |
Requirements |
Description |
|
Enable |
Ladder Input |
Must Have |
Level-driven. When Enable is ON, the instruction will operate every scan. When Enable is OFF, the instruction is not solved and its Outputs are not updated. |
|
All Displays |
Selectable Option |
Must Have One |
Sends the message to the OLED/LCDs on the P-Series units. |
|
Display Name |
Selectable Option with Drop-down Selection |
Used for specifying only one OLED/LCD. Sends the message to a designated CPU or Remote Slave. |
|
|
Line 1 |
String / String Constant |
Must Have at Least One |
Message to be displayed on the first line of the OLED/LCD. Up to 10 Characters can be displayed. Can be entered using a String Tag or a String Constant. String Constant requires quotes (“ “) at the beginning and end of the message. |
|
Line 2 - 4 |
String / String Constant |
Messages to be displayed on the second, third and fourth lines of the OLED/LCD. Up to 10 Characters per line can be displayed. Can be entered using a String Tag or a String Constant. String Constant requires quotes (“ “) at the beginning and end of the message. |
|
|
Use Structure |
Check Box |
Optional |
Enables the use of Structures |
Note: The Display Name menu will be blank if there is no Hardware Configuration. P-Series units' OLED/LCDs will appear on this menu after they are added to the Hardware Configuration.
Note: Use the Pack String instruction if combining a String Constant and a Variable is desirable.
Note: Tag Values are updated immediately as each Ladder Rung is executed, top to bottom. However, Tag Values representing physical Outputs are only applied to the physical Output after the END statement of the last Task to be scanned is reached. Outputs in Remote Base Groups have additional limitations regarding Update Intervals.
Note: There is a built in time-out for the P2 OLED of 4 hours. Only a button press or power up will turn it back on.
When Display Page Instruction is selected the window shown below opens with defaults shown.
In the following example, a Display Page is set up for displaying system warnings. The first line of the OLED/LCD (Line 1) is configured using a String Constant. The String Constant is static text and must be entered using quotes at the beginning and end. The other lines are String Tags and can be populated with data by using other instructions within the program.
In this instance, the Display Warning Bit is Enabled and prompts the Display Page to display WARNING! on Line 1 and the Data/Text found in the Line 2 – Line 4 Tags.