ES58 • EM58 MODBUS®
Starting address Hi
00
Starting address Hi
00
Starting address Lo
00
Starting address Lo
00
Quantity of registers Hi
00
Quantity of registers Hi
00
Quantity of registers Lo
04
Quantity of registers Lo
04
Byte count
08
Register 1 value Hi
00
Register 1 value Lo
00
Register 2 value Hi
08
Register 2 value Lo
00
Register 3 value Hi
00
Register 3 value Lo
80
Register 4 value Hi
00
Register 4 value Lo
00
As you can see in the table, the values 00 00 hex and 08 00 hex, i.e. 2048 in
decimal notation, are set respectively in the registers 1 and 2 of the
counts per revolution [0000-0001 hex]
parameter; while the values 00 80
hex and 00 00 hex, i.e. 8388608 in decimal notation, are set respectively in the
registers 3 and 4 of the
Custom total resolution [0002-0003 hex]
Thus the encoder will be programmed to have a 2048-count-per-revolution
single-turn resolution and a 4096-turn multi-turn resolution (8 388 608/2048).
The full frame needed for the request to write the value 2048 dec next to the
Custom counts per revolution [0000-0001 hex]
and the value 8388608 dec next to the
Custom total resolution [0002-0003
parameter(registers 3 and 4) to the Slave having the node address 1 is as
follows:
Request PDU
(in hexadecimal format)
[01][10][00][00][00][04][08][00][00][08][00][00][80][00][00][B6][DA]
where:
[01] = Slave address
[10] =
function code
[00][00] = starting address (
Custom counts per revolution [0000-0001 hex]
parameter, register 1)
MAN ESx58x_EMx58x MB E 1.3
MODBUS® interface
63 of 92