170 JVL Industri Elektronik A/S - User Manual - Ethernet for MAC and MIS motors
7.3 Register access
The registers in the motor and in the module are all 32 bit (at least they are when travel-
ling through the module so special care must be taken with those registers in MAC050-
141 which originally is 16bit). To comply with the clean 16-bit Modbus standard, a 32-bit
register must be read or written as two consecutive 16-bit registers. The register ad
-
dress mapping follows the normal documented register numbers but the address field
must be multiplied by two, so to read or write motor register 3, P_SOLL, use the address
6. Thereby enabling transfer of one 32 bit register, as two 16 bit registers, where the
least significant 16 bit “register” is transmitted first (see examples in section 7.2.4).
Motor registers are accessed by addressing register 0x00 – 0x1FE (for logic motor reg-
ister 0-255), and modbus register 0x200 - 0x3FE for extended motor registers (256-
511),
and module registers is accessed by addressing 0x8000 – 0x807E (for logic module
register 0-64). Please find a complete list of register descriptions in the appendix:
Motor registers MAC050 - 141, page 264 or Motor registers MAC400 - 4500, page 273 or
Motor registers MISxxx, page 292.
7.3.1 Module registers.
Note: Module parameters are not automatically saved to permanent memory after a change. The
parameters can be saved permanently by applying a “Save parameters to flash” command after
-
wards.
Logic
register
no.
Modbus
address
(hex)
Modbus
address
(dec)
Read
only
Default Description
0 0x8000 32768 X Not used
1 0x8002 32770 X High 16 bit of MAC address (placed in low 16 bit of word)
2 0x8004 32772 X Low 32 bit of MAC address
3 0x8006 32774 IP address
4 0x8008 32776 Net mask
5 0x800A 32778 Gateway
6 0x800C 32780 0x00 Setup bits
7 0x800E 32782 Digital outputs on module
8 0x8010 32784 Reserved for other protocols
9 0x8012 32786 Reserved for other protocols
10 0x8014 32788 Modbus timeout. 0 = timeout function disabled
11-14
0x8016
0X801C
Reserved for future use
15 0X801E 32798 Command register
16 – 31
0x8020 –
0x803E
Reserved for other protocols
32 0x8040 32832 X Module serial no.
33 0x8042 32834 X Module hardware version
34 0x8044 32836 X Module software version
35 0x8046 32838 X No. of internal motor communication timeouts
36 0x8048 32840 X No. of retry frames to motor
37 0x804A 32842 X No. of discarded frames to motor
38 0x804C 32844 X Total no. of frames to motor
39-46
0x804E –
0X805C
X Reserved for future use
47 0x805E 32862 X Digital inputs on module
48 0x8060 32864 X Status bits
49-63
0x8062 –
0X807E
X Reserved for future use