EM58 – HS58 - HM58 MODBUS TCP/IP
will be programmed to have a 2048-count-per-revolution single-turn resolution
and 4096 revolutions (8388608/2048).
EXAMPLE 2
Operating parameters [109-110]
108-109): we need to set the scaling function (bit 0
the count up information with clockwise rotation of the encoder shaft (bit 1
= 0). The value to set is 00 00 00 01 hex (= 0000 0000 0000
0000 0000 0000 0000 0001 in binary notation: the bit 0
= 0; the remaining bits are not used, therefore their
value is 0).
MBAP Request PDU
(in hexadecimal notation)
[00][01][00][00][00][0B][00][10][00][6C][00][02][04][00][00][00][01]
where:
[00][01] = Transaction Identifier
[00][00] = Protocol Identifier
[00][0B] = Length
[00] = Unit Identifier
[10] =
function code
[00][6C] = starting address (
Operating parameters [109-110]
address 108-109)
[00][02] = number of requested registers
[04] = number of bytes (2 bytes for each register)
[00][00] = value to be set in the register 109, 00 00 hex
[00][01] = value to be set in the register 110, 00 01 hex
MBAP Response PDU
(in hexadecimal notation)
[00][01][00][00][00][06][00][10][00][6C][00][02]
where:
[00][01] = Transaction Identifier
[00][00] = Protocol Identifier
[00][06] = Length
[00] = Unit Identifier
[10] =
function code
[00][6C] = starting address (
Operating parameters [109-110]
address 108-109)
[00][02] = number of written registers
The value 00 00 00 01 hex, i.e. 0000 0000 0000 0000 0000 0000 0000 0001 in
binary notation is set in the
Operating parameters [109-110]
0; the remaining bits are not used, therefore their value is 0.
MAN EM58_HS58_HM58 MT E 1.1.odt
Programming examples
99 of 104
Содержание EMC58 MT
Страница 101: ...This page intentionally left blank ...
Страница 102: ...This page intentionally left blank ...
Страница 103: ...This page intentionally left blank ...