marcolino76
Member
Hello I read your info about modbus addressing with %MW register.
I have a PLC with registers
PLC ADDR: MW4513 and the machine constructor write MODBUS ADDR: 44514
If I read the value with TCP modbus i read the exactoly value on the address 4513 Modbus ( 1st byte ) and I don't understand why.
Then I need to write 1 in the 7th bit of %MW10100 from my supervisor software, but if I make an or in the 10100 modbus adr or 50101 ( 10100 + 40001 ) it doesn't work.
I try to read and write %MW registers in a prototype situation by nodejs node-red Modbus Module, than it will be defintively fixed by a Java application
Can someone hel me please ?
Thanks
I have a PLC with registers
PLC ADDR: MW4513 and the machine constructor write MODBUS ADDR: 44514
If I read the value with TCP modbus i read the exactoly value on the address 4513 Modbus ( 1st byte ) and I don't understand why.
Then I need to write 1 in the 7th bit of %MW10100 from my supervisor software, but if I make an or in the 10100 modbus adr or 50101 ( 10100 + 40001 ) it doesn't work.
I try to read and write %MW registers in a prototype situation by nodejs node-red Modbus Module, than it will be defintively fixed by a Java application
Can someone hel me please ?
Thanks