Good Morning,
Hopefully someone with LOT's of (or little of) MODBUS experience can help me out to get enlightened a bit.
When a "MODBUS MASTER" device send out a command to read or write to a slave, what is the format of the adress it uses along with the function code?
For example, MASTER sends out a command to the slave saying it wants to read 10 registers of data starting at address 30001. Does the master then send.......
MODBUS FC = 04 (Read Input Registers)
Start Address = Is this 0, or is this 30001?
Number of registers to read = 10
This command would then return data from Modbus slave registers 30001 - To 30010.
My question is regarding the Address format used by Modbus Master(s) when issuing a data Read/Write command to a slave...
Is it Universal?
or,
Can it vary from master to master?
Thanks to All
Hopefully someone with LOT's of (or little of) MODBUS experience can help me out to get enlightened a bit.
When a "MODBUS MASTER" device send out a command to read or write to a slave, what is the format of the adress it uses along with the function code?
For example, MASTER sends out a command to the slave saying it wants to read 10 registers of data starting at address 30001. Does the master then send.......
MODBUS FC = 04 (Read Input Registers)
Start Address = Is this 0, or is this 30001?
Number of registers to read = 10
This command would then return data from Modbus slave registers 30001 - To 30010.
My question is regarding the Address format used by Modbus Master(s) when issuing a data Read/Write command to a slave...
Is it Universal?
or,
Can it vary from master to master?
Thanks to All
Last edited: