Using LCD on MP211 Series

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.

https://www.mikrodev.com/images/wiki/en/lcd/2.png

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

http://www.mikrodev.com/images/wiki/en/lcd/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.

https://www.mikrodev.com/images/wiki/en/lcd/4.JPG

https://www.mikrodev.com/images/wiki/en/lcd/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.

https://www.mikrodev.com/images/wiki/en/lcd/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".

https://www.mikrodev.com/images/wiki/en/lcd/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.

https://www.mikrodev.com/images/wiki/en/lcd/7.png

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

https://www.mikrodev.com/images/wiki/en/lcd/8.JPG

And select the block which you want to set value.

https://www.mikrodev.com/images/wiki/en/lcd/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.

https://www.mikrodev.com/images/wiki/en/lcd/10.JPG

https://www.mikrodev.com/images/wiki/en/lcd/11.JPG

https://www.mikrodev.com/images/wiki/en/lcd/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.

https://www.mikrodev.com/images/wiki/en/lcd/14.JPG

https://www.mikrodev.com/images/wiki/en/lcd/15.JPG

https://www.mikrodev.com/images/wiki/en/lcd/13.png