Check the comms and the baud rates etc.
Also program a counter with reset to generate changing numbers so you can look at it with your HMI.
If the numbers are changing you are connected, if not you are not.
You need to check the setup of your wiring and the cabling.
Electrical noise could interfere with the signals and check for this as well.
I wonder if the cable is proper for the communications.
Look up the wiring for the signals and make your own cable.
also you need to make certain that you have the proper terminating resistors on each end for the system to work.
google RS232 and RS422 to understand the difference nd how they work.
Here is a link to a site with an explanation:
http://www.rs-485.com/comspec.html
I believe if you get your communications working you will be on your way.