Using LCD on MP211 Series

From Mikrodev Documentation
Jump to navigation Jump to search

Setting Welcome Text

The Mikroterminal application is used to change the text that appears on the LCD screen when MP211 is energized first time. After starting Mikroteminal application, you can change the upper line by entering the command 'AT + MENULINE1 =' and lower line by entering the command 'AT + MENULINE2 ='. The text will change when you send the command to the device after typing any word at the end of these commands.

2.png

Example:
AT+MENULINE1=BUILDING
AT+MENULINE2=AUTOMATION

1.JPG

Start/Stop Control

To start or stop PLC process select "PLC CONTROL" on the LCD screen using the arrow buttons on the keypad. And choose "START" or "STOP". The PLC will behave accordingly.

4.JPG

5.JPG

Monitor I/O Values

You can monitor the real-time values of Inputs and Outputs by selecting "IO MONITOR" on the LCD screen using the arrow buttons on the keypad.

3.JPG

Selecting Blocks for Online Monitoring

You need to select the 'LCD/Web View' option in Mikrodiagram for the blocks which you want to view/control on LCD screen. If you only need to monitor the value select "View Only". If you also want to be able to modify the block value via LCD and keypad select "View and Set".

6.png

And you also need to define a "Line Label" for these blocks. "Line label" string will appear on the LCD with its real-time value.

7.png

Modifying Register Values

To set a register value; select "BLOCK MONITOR" on the LCD screen using the arrow buttons on the keypad.

8.JPG

And select the block which you want to set value.

9.JPG

After entering the password, you can enter a value for the block. If you haven't set a login password for the device yet, just enter "0" value as password.

10.JPG

11.JPG

12.png

Example

In the following example, the output of the binary register is connected to the input of the digital output(DO0). Digital output(DO0) is activated by writing a (high) binary register value on the LCD screen.

14.JPG

15.JPG

13.png