It may be possible to connect the CPU to LCD using 6 transistor (4 data lines and 2 control lines) output line with voltage divider for 5 volts at the LCD side. For LCD control you can check the datasheet of the LCD family from the producer. There, it is explain how to put out the data on the lines, toggle the 2 control lines, timings etc. Take care on the initialisation routine after power up of the LCD. It's important to be done correctly.
For writing PLC function blocks, where you will implement the control of the LCD, I recomend to chose STL, but if you have just a beginner training, will not be quite a trivial task. One of the main problem will be to keep correct timing on the LCD lines.