Hello Everyone,
I am new to this community and to Unitronics PLC. I have worked on the PLCs but I am not familiar with Unitronics PLC and its software.
I am trying to connect with sensor that responds to data over RS485 (polling). I have the sensor registers and commands that are obviously in ASCII.
I need to write and read from sensor over RS485.
Can someone please just provide me a sample program to initialize COM, Send Command, Read Response and display this on HMI?
I
I've said this before, but here it is again.....
Don't do anything PLC wise until you've done lots of preliminary work using your PC. The best method to start with anything Modbus that you don't really know, is to use one of the various (free) modbus programs available to get your PC communicating correctly with the device. You then learn all the registers you want to use and how to go about it. Doing this via the PC is far, far easier than mucking around with the PLC trying to get an un