How to send text and tags from an ACE PLC to a cheap LCD screen using the RS232 link
It is sometimes useful to have the possibility to just display text and tags from a ACE PLC on a cheap LCD display.
|Here we will see how to connect an RS232 LCD Display Raylid RSI1602 to a ACE PLC.
First of all, design the template of your 2 lines to be display
|In our example, we choose to print this template on you right.
SPEED: ##### rpm
For this purpose, built your template on https://convert.town/text-to-ascii
Your ASCII code list on the right should end with you last character and have 1 or more „35“ (#) for each digit inside.
|Line 1 :
Line 2 :
Copy your template into a array of values
|You have 3 subroutines in the program you can download here: LCD Display via RS232
You can use this program for your test and then import the 3 subroutines into your machine program.
Don’t forget to increment the pointer of the Numbers[x] tag : Numbers, Numbers, Numbers,..
Start displaying on the LCD display!
|Finally, in your main program: