...
So the PC acts as the Modbus Master and the RevPi Connect acts as the Modbus Slave.
You need the following
...
The software qModMaster
Preparation
Have a look at the tutorial “How to Connect Serial Devices”
Connect the RS485+ signal line
Connect the RS485- signal line
Make the PiCtory configuration
Configure the RevPi Connect and the ModbusRTU Slave
...
4. Read it out on the RevPi Connect on the terminal
Code Block |
---|
pi@RevPi14607:~ $ piTest -1 -r Input_1 2 Byte-Value of Input_1: 1 dez (=0001 hex) pi@RevPi14607:~ $ piTest -1 -r Input_2 2 Byte-Value of Input_2: 2 dez (=0002 hex) pi@RevPi14607:~ $ piTest -1 -r Input_3 2 Byte-Value of Input_3: 3 dez (=0003 hex) |
...