10-14-2011 02:31 AM
In my application i have to talk to a servomotor encoder drive with modbus protocol. I've used modbus protocol programming before where i'm aware of the addresses of holding reg, control regs of range 30000 and 40000.
For this particular drive they've not mentioned anyparameter in terms of holding reg parameter or control reg parameter and also the addresses are like the following.
address
00xx H - Monitor parameters
01xx H - basic parameters
02xx H - Extension parameters
03xx H - Communication parameters
04xx H - Diagnosis parameters
my confusion is how do I translate these addresses 4 digit hex number to a 5digit address in the range 30000 and 40000. The manual of the hardware does not say anything about this
10-14-2011 03:40 AM
it seems very simple q to ask..... it turned out all the regs are holding regs and the corresponding addresses were the decimal equivalent.
01xx H = 256 + decimal