You are not logged in.
Pages: 1
Topic closed
Hi
I try to build a Virtual serial port pair(as following). let my old java application(SocketServer) could connect REX through modbus/RTU but i don't know how to build and install it. Does anyone can help(teach) me !!
Offline
I am not able to help with this one but I think it is much easier to get the data into the REX algorithm using UDP communication and the REXLANG programmable block. See the example on data exchange using UDP communication.
Monarco HAT for Raspberry Pi - Lightweight I/O for monitoring, archiving and control.
Raspberry Pi in industrial automation!
Offline
Post old, but suddenly still relevant.
You can try this.
Create virtual serial ports on your computer by using a Virtual port simulator. http://www.eltima.com/products/vspdxp/
Get a Modbus simulator. http://www.plcsimulator.org/
Download Labview Modbus Library. http://zone.ni.com/devzone/cda/epd/p/id/4756
Open the Labview Modbus library and run 'MB Serial Master Example.vi'
Now it should be possible to read/write values into the simulator using the example program.
The Block Diagram of example program can be analyzed to find out how data is being transferred behind the scenes on Modbus protocol.
Offline
Pages: 1
Topic closed