E
Hello,
I have spent weeks now trying to get a HMI with RS485 and modbus RTU get to work with a Cummins Genset with RS485 / Modbus RTU. I am getting dizzy from trying all the different settings. I cant get it to work, very frustrating. I hope someone here can help me with a simple push in the right direction..
here it comes:
Slave: Cummins Genset with Powercommand 1.2.
station id: 100
baud rate: 9600
data bits: unknown, no setting for that
stop bits: also unknown, no setting for that
parity: even
Master: Some hardware HMI with RS485 port.
station id: not important right? (because master)
baud rate: 9600
data bits: 8
stop bits: 1
parity: even.
- I checked the wiring, A+ B- to the correct pins,
- I don't use a termination resistor, cable length is a couple of meters
I want to read register 40010 from the genset:<pre>
properties:
addr: 40010
read / write: read
units: switch position
type: unsigned integer
notes: 0=off, 1=run, 2=auto
then the settings I set for the HMI:
station no: 100
type: 4x
addr: 9
mode: DEC
value: 0 to off
1 to run
2 to auto</pre>
I don't understand what I am doing wrong... you have to subtract the 40000 from the register address right? and subtract 1 because of the starting from 0? I also tried 10, 11 40010 nothing works...
I have spent weeks now trying to get a HMI with RS485 and modbus RTU get to work with a Cummins Genset with RS485 / Modbus RTU. I am getting dizzy from trying all the different settings. I cant get it to work, very frustrating. I hope someone here can help me with a simple push in the right direction..
here it comes:
Slave: Cummins Genset with Powercommand 1.2.
station id: 100
baud rate: 9600
data bits: unknown, no setting for that
stop bits: also unknown, no setting for that
parity: even
Master: Some hardware HMI with RS485 port.
station id: not important right? (because master)
baud rate: 9600
data bits: 8
stop bits: 1
parity: even.
- I checked the wiring, A+ B- to the correct pins,
- I don't use a termination resistor, cable length is a couple of meters
I want to read register 40010 from the genset:<pre>
properties:
addr: 40010
read / write: read
units: switch position
type: unsigned integer
notes: 0=off, 1=run, 2=auto
then the settings I set for the HMI:
station no: 100
type: 4x
addr: 9
mode: DEC
value: 0 to off
1 to run
2 to auto</pre>
I don't understand what I am doing wrong... you have to subtract the 40000 from the register address right? and subtract 1 because of the starting from 0? I also tried 10, 11 40010 nothing works...