Modbus Memory Map

  1. Read Registers (Support Function Code 3,4)

  2. Write Registers (Support Function Code 6)

  3. 1 Word = 2 Bytes

Address

Data Type

Read/Write

Description

System Information

0x0000 (0)

32 words

R

System Description = “Managed Switch EHG7512”
Word 0 Hi byte = ‘M’
Word 0 Lo byte = ‘a’
Word 1 Hi byte = ‘n’
Word 1 Lo byte = ‘a’
Word 2 Hi byte = ‘g’
Word 2 Lo byte = ‘e’
Word 3 Hi byte = ‘d’
Word 3 Lo byte = ‘ ‘
Word 4 Hi byte = ‘S’
Word 4 Lo byte = ‘w’
Word 5 Hi byte = ‘i’
Word 5 Lo byte = ‘t’
Word 6 Hi byte = ‘c’
Word 6 Lo byte = ‘h’
Word 7 Hi byte = ‘ ‘
Word 7 Lo byte = ‘E’
Word 8 Hi byte = ‘H’
Word 8 Lo byte = ‘7’
Word 9 Hi byte = ‘5’
Word 9 Lo byte = ‘1’
Word 10 Hi byte = ‘0’
Word 10 Lo byte = ‘\0’

0x0020 (32)

1 word

R

Firmware Version =
Ex: Version = 1.02
Word 0 Hi byte = 0x01
Word 0 Lo byte = 0x02

0x0021 (33)

3 words

R

Ethernet MAC Address
Ex: MAC = 00-01-02-03-04-05
Word 0 Hi byte = 0x00
Word 0 Lo byte = 0x01
Word 1 Hi byte = 0x02
Word 1 Lo byte = 0x03
Word 2 Hi byte = 0x04
Word 2 Lo byte = 0x05

0x0024 (36)

1 word

R

Kernel Version
Ex: Version = 1.03
Word 0 Hi byte = 0x01
Word 0 Lo byte = 0x03

Console Information

0x0030 (48)

1 word

R

Baud Rate
0x0000: 4800
0x0001: 9600
0x0002: 14400
0x0003: 19200
0x0004: 28800
0x0005: 38400
0x0006: 57600
0x0007: 144000
0x0008: 115200

0x0031 (49)

1 word

R

Data Bits
0x0007: 7
0x0008: 8

0x0032 (50)

1 word

R

Parity
0x0000: None
0x0001: Odd
0x0002: Even

0x0033 (51)

1 word

R

Stop Bit
0x0001: 1
0x0002: 2

0x0034 (52)

1 word

R

Flow Control
0x0000: None

Power Information

0x0040 (64)

1 word

R

Power Status
Power 1 OK, Hi byte = 0x01
Power 1 Fail, Hi byte = 0x00
Power 2 OK, Low byte = 0x01
Power 2 Fail, Low byte = 0x00

IP-Information

0x0050 (80)

1 word

R

DHCP Status
0x0000: Disabled
0x0001: Enabled

0x0051 (81)

2 words

R

IP Address of switch
Ex: IP = 192.168.1.1
Word 0 Hi byte = 0xC0
Word 0 Lo byte = 0xA8
Word 1 Hi byte = 0x01
Word 1 Lo byte = 0x01

0x0053 (83)

2 words

R

Subnet Mask of switch
Ex: IP = 255.255.255.0
Word 0 Hi byte = 0xFF
Word 0 Lo byte = 0xFF
Word 1 Hi byte = 0xFF
Word 1 Lo byte = 0x00

0x0055 (85)

2 words

R

Gateway Address of switch
Ex: IP = 192.168.1.254
Word 0 Hi byte = 0xC0
Word 0 Lo byte = 0xA8
Word 1 Hi byte = 0x01
Word 1 Lo byte = 0xFE

0x0057 (87)

2 words

R

DNS1 of switch
Ex: IP = 168.95.1.1
Word 0 Hi byte = 0xA8
Word 0 Lo byte = 0x5F
Word 1 Hi byte = 0x01
Word 1 Lo byte = 0x01

0x0059 (89)

2 words

R

DNS2 of switch
Ex: IP = 168.95.1.1
Word 0 Hi byte = 0xA8
Word 0 Lo byte = 0x5F
Word 1 Hi byte = 0x01
Word 1 Lo byte = 0x01

System Status Clear

0x0100 (256)

1 word

W

Clear Port Statistics
0x0001: Do clear action

0x0101 (257)

1 word

W

Clear Relay Alarm
0x0001: Do clear action

0x0102 (258)

1 word

W

Clear All Warning Events
0x0001: Do clear action

Warning Events Information

0x0200 (512)

64 words

R

1st Warning Event Information

0x0300 (768)

64 words

R

2nd Warning Event Information

0x0400 (1024)

64 words

R

3rd Warning Event Information

0x0500 (1280)

64 words

R

4th Warning Event Information

0x0600 (1536)

64 words

R

5th Warning Event Information

Port Status

0x1000 (4096)

5 words

R

Port Status
0x0000: Disabled
0x0001: Enabled
Word 0 Hi byte = Port 1 Status
Word 0 Lo byte = Port 2 Status
Word 1 Hi byte = Port 3 Status
Word 1 Lo byte = Port 4 Status
Word 2 Hi byte = Port 5 Status
Word 2 Lo byte = Port 6 Status
Word 3 Hi byte = Port 7 Status
Word 3 Lo byte = Port 8 Status
Word 4 Hi byte = Port 9 Status
Word 4 Lo byte = Port 10 Status

0x1020 (4128)

5 words

R

Port Negotiation
Status, force = 0x00
Status, auto = 0x01
Word 0 Hi byte = Port 1 Status
Word 0 Lo byte = Port 2 Status
Word 1 Hi byte = Port 3 Status
Word 1 Lo byte = Port 4 Status
Word 2 Hi byte = Port 5 Status
Word 2 Lo byte = Port 6 Status
Word 3 Hi byte = Port 7 Status
Word 3 Lo byte = Port 8 Status
Word 4 Hi byte = Port 9 Status
Word 4 Lo byte = Port 10 Status

0x1040 (4160)

5 words

R

Port Speed
Status, 10M= 0x01
Status, 100M= 0x02
Status, 1000M= 0x03
Word 0 Hi byte = Port 1 Status
Word 0 Lo byte = Port 2 Status
Word 1 Hi byte = Port 3 Status
Word 1 Lo byte = Port 4 Status
Word 2 Hi byte = Port 5 Status
Word 2 Lo byte = Port 6 Status
Word 3 Hi byte = Port 7 Status
Word 3 Lo byte = Port 8 Status
Word 4 Hi byte = Port 9 Status
Word 4 Lo byte = Port 10 Status

0x1060 (4192)

5 words

R

Port Duplex
Status, half-duplex = 0x00
Status, full-duplex = 0x01
Word 0 Hi byte = Port 1 Status
Word 0 Lo byte = Port 2 Status
Word 1 Hi byte = Port 3 Status
Word 1 Lo byte = Port 4 Status
Word 2 Hi byte = Port 5 Status
Word 2 Lo byte = Port 6 Status
Word 3 Hi byte = Port 7 Status
Word 3 Lo byte = Port 8 Status
Word 4 Hi byte = Port 9 Status
Word 4 Lo byte = Port 10 Status

0x1080 (4224)

5 words

R

Port Flow Control
Status, disabled = 0x00
Status, enabled = 0x01
Word 0 Hi byte = Port 1 Status
Word 0 Lo byte = Port 2 Status
Word 1 Hi byte = Port 3 Status
Word 1 Lo byte = Port 4 Status
Word 2 Hi byte = Port 5 Status
Word 2 Lo byte = Port 6 Status
Word 3 Hi byte = Port 7 Status
Word 3 Lo byte = Port 8 Status
Word 4 Hi byte = Port 9 Status
Word 4 Lo byte = Port 10 Status

0x10A0 (4256)

5 words

R

Port Link Status
Status, down = 0x00
Status, up = 0x01
Word 0 Hi byte = Port 1 Status
Word 0 Lo byte = Port 2 Status
Word 1 Hi byte = Port 3 Status
Word 1 Lo byte = Port 4 Status
Word 2 Hi byte = Port 5 Status
Word 2 Lo byte = Port 6 Status
Word 3 Hi byte = Port 7 Status
Word 3 Lo byte = Port 8 Status
Word 4 Hi byte = Port 9 Status
Word 4 Lo byte = Port 10 Status

0x1200 (4608)

20 words

R

Port TX rate
Ex. Port 1 runs at TX Rate(1024 Kbps = 0x400).
Word 0 of Port 1 = 0x0000
Word 1 of Port 1 = 0x0400
Word 0,1 = Port 1 TX Rate
Word 2,3 = Port 2 TX Rate
Word 4,5 = Port 3 TX Rate
Word 6,7 = Port 4 TX Rate
Word 8,9 = Port 5 TX Rate
Word 10,11 = Port 6 TX Rate
Word 12,13 = Port 7 TX Rate
Word 14,15 = Port 8 TX Rate
Word 16,17 = Port 9 TX Rate
Word 18,19 = Port 10 TX Rate

0x1280 (4736)

20 words

R

Port RX rate
Ex. Port 1 runs at RX Rate(1024 Kbps = 0x400).
Word 0 of Port 1 = 0x0000
Word 1 of Port 1 = 0x0400
Word 0,1 = Port 1 RX Rate
Word 2,3 = Port 2 RX Rate
Word 4,5 = Port 3 RX Rate
Word 6,7 = Port 4 RX Rate
Word 8,9 = Port 5 RX Rate
Word 10,11 = Port 6 RX Rate
Word 12,13 = Port 7 RX Rate
Word 14,15 = Port 8 RX Rate
Word 16,17 = Port 9 RX Rate
Word 18,19 = Port 10 RX Rate

0x1300 (4864)

40 words

R

Count of Good Packets of TX
Ex. Port 1 gets 0x2EEEE1FFFF good packets of TX.
Word 0 of Port 1 = 0x0000
Word 1 of Port 1 = 0x002E
Word 2 of Port 1 = 0xEEE1
Word 3 of Port 1 = 0xFFFF
Word 0,1,2,3 = Port 1 good packets
Word 4,5,6,7 = Port 2 good packets
Word 8,9,10,11 = Port 3 good packets
Word 12,13,14,15 = Port 4 good packets
Word 16,17,18,19 = Port 5 good packets
Word 20,21,22,23 = Port 6 good packets
Word 24,25,26,27 = Port 7 good packets
Word 28,29,30,31 = Port 8 good packets
Word 32,33,34,35 = Port 9 good packets
Word 36,37,38,39 = Port 10 good packets

0x1400 (5120)

40 words

R

Count of Bad Packets of TX
Ex. Port 1 gets 0x2EEEE1FFFF bad packets of TX.
Word 0 of Port 1 = 0x0000
Word 1 of Port 1 = 0x002E
Word 2 of Port 1 = 0xEEE1
Word 3 of Port 1 = 0xFFFF
Word 0,1,2,3 = Port 1 good packets
Word 4,5,6,7 = Port 2 good packets
Word 8,9,10,11 = Port 3 good packets
Word 12,13,14,15 = Port 4 good packets
Word 16,17,18,19 = Port 5 good packets
Word 20,21,22,23 = Port 6 good packets
Word 24,25,26,27 = Port 7 good packets
Word 28,29,30,31 = Port 8 good packets
Word 32,33,34,35 = Port 9 good packets
Word 36,37,38,39 = Port 10 good packets

0x1500 (5376)

40 words

R

Count of Good Packets of RX
Ex. Port 1 gets 0x2EEEE1FFFF good packets of RX.
Word 0 of Port 1 = 0x0000
Word 1 of Port 1 = 0x002E
Word 2 of Port 1 = 0xEEE1
Word 3 of Port 1 = 0xFFFF
Word 0,1,2,3 = Port 1 good packets
Word 4,5,6,7 = Port 2 good packets
Word 8,9,10,11 = Port 3 good packets
Word 12,13,14,15 = Port 4 good packets
Word 16,17,18,19 = Port 5 good packets
Word 20,21,22,23 = Port 6 good packets
Word 24,25,26,27 = Port 7 good packets
Word 28,29,30,31 = Port 8 good packets
Word 32,33,34,35 = Port 9 good packets
Word 36,37,38,39 = Port 10 good packets

0x1600 (5632)

40 words

R

Count of Bad Packets of RX
Ex. Port 1 gets 0x2EEEE1FFFF bad packets of RX.
Word 0 of Port 1 = 0x0000
Word 1 of Port 1 = 0x002E
Word 2 of Port 1 = 0xEEE1
Word 3 of Port 1 = 0xFFFF
Word 0,1,2,3 = Port 1 good packets
Word 4,5,6,7 = Port 2 good packets
Word 8,9,10,11 = Port 3 good packets
Word 12,13,14,15 = Port 4 good packets
Word 16,17,18,19 = Port 5 good packets
Word 20,21,22,23 = Port 6 good packets
Word 24,25,26,27 = Port 7 good packets
Word 28,29,30,31 = Port 8 good packets
Word 32,33,34,35 = Port 9 good packets
Word 36,37,38,39 = Port 10 good packets

Redundancy Information

0x2000 (8192)

1 word

R

Redundancy Protocol
0x0000: None
0x0001: STP
0x0002: RSTP
0x0004: ERPS
0x0008: iA-Ring
0x0010: Compatible-Ring

0x2100 (8448)

1 word

R

STP Root
0x0000: Not Root
0x0001: Root
0xFFFF: RSTP not enable

0x2101 (8449)

5 words

R

STP Port Status 0x00: Disabled
0x01: Listening
0x02: Learning
0x03: Forwarding
0x04: Blocking
0x05: Discarding
0xFF: RSTP Not Enable
Word 0 Hi byte = Port 1 Status
Word 0 Lo byte = Port 2 Status
Word 1 Hi byte = Port 3 Status
Word 1 Lo byte = Port 4 Status
Word 2 Hi byte = Port 5 Status
Word 2 Lo byte = Port 6 Status
Word 3 Hi byte = Port 7 Status
Word 3 Lo byte = Port 8 Status
Word 4 Hi byte = Port 9 Status
Word 4 Lo byte = Port 10 Status

0x2200 (8704)

5 words

R

ERPS R-APS VLAN ID of the ring
Ex: 3st VLAN ID = 1, Word 2 = 0x0001
1~4094: ID Value range
0x0000: VLAN ID Not Setup
Word 0 = 1st VLAN ID
Word 1 = 2st VLAN ID
Word 2 = 3st VLAN ID
Word 3 = 4st VLAN ID
Word 4 = 5st VLAN ID

0x2230 (8752)

5 words

R

ERPS West Port
Ex: 3st West Port = Port 2, Word 2 = 0x0002
0x0001: Port 1
0x0002: Port 2

0x000A: Port 10
0x000C: Trk1
0x000D: Trk2
0x000E: Trk3
0x000F: Virtual Channel
0x00FF: VLAN ID exist but no West Port be Selected
0xFFFF: ERPS Not Enable
Word 0 = 1st VLAN ID West Port
Word 1 = 2st VLAN ID West Port
Word 2 = 3st VLAN ID West Port
Word 3 = 4st VLAN ID West Port
Word 4 = 5st VLAN ID West Port

0x2240 (8768)

5 words

R

ERPS East Port
Ex: 3st West Port = Port 3, Word 2 = 0x0003
0x0001: Port 1
0x0002: Port 2

0x000A: Port 10
0x000C: Trk1
0x000D: Trk2
0x000E: Trk3
0x000F: Virtual Channel
0x00FF: VLAN ID exist but no East Port be Selected
0xFFFF: ERPS Not Enable
Word 0 = 1st VLAN ID East Port
Word 1 = 2st VLAN ID East Port
Word 2 = 3st VLAN ID East Port
Word 3 = 4st VLAN ID East Port
Word 4 = 5st VLAN ID East Port

0x2250 (8784)

5 words

R

ERPS West Port Status
Ex: 3st West Port Status = Forwarding, Word 2 = 0x0001
0x0001: Forwarding
0x0002: Blocking
0x0003: Signal Fail Blocking
0x000F: Virtual Channel 0x00FF: VLAN ID exist but no West Port be Selected
0xFFFF: ERPS Not Enable
Word 0 = 1st VLAN ID West Port Status
Word 1 = 2st VLAN ID West Port Status
Word 2 = 3st VLAN ID West Port Status
Word 3 = 4st VLAN ID West Port Status
Word 4 = 5st VLAN ID West Port Status

0x2260 (8800)

5 words

R

ERPS East Port Status
Ex: 3st East Port Status = Blocking, Word 2 = 0x0002
0x0001: Forwarding
0x0002: Blocking
0x0003: Signal Fail Blocking
0x000F: Virtual Channel
0x00FF: VLAN ID exist but no East Port be Selected
0xFFFF: ERPS Not Enable
Word 0 = 1st VLAN ID East Port Status
Word 1 = 2st VLAN ID East Port Status
Word 2 = 3st VLAN ID East Port Status
Word 3 = 4st VLAN ID East Port Status
Word 4 = 5st VLAN ID East Port Status

0x2270 (8816)

5 words

R

ERPS Node State
Ex: 3st Node State = Protection, Word 2 = 0x0002
0x0001: None
0x0002: Idle
0x0003: Protection
0xFFFF: ERPS Not Enable
Word 0 = 1st VLAN ID Node State
Word 1 = 2st VLAN ID Node State
Word 2 = 3st VLAN ID Node State
Word 3 = 4st VLAN ID Node State
Word 4 = 5st VLAN ID Node State

0x2280 (8832)

5 word

R

ERPS RPL Owner
0x0000: Disabled
0x0001: Enabled

0x2300 (8960)

1 word

R

iA-Ring Master Status
0x0000: Disabled
0x0001: Enabled
0xFFFF: iA-Ring not enable

0x2301 (8961)

1 word

R

1st Ring Port
Ex: 1st Ring Port = Port 2, Word 0 = 0x0002
0x0001: Port 1
0x0002: Port 2

0x000A: Port 10
0xFFFF: iA-Ring not enable

0x2302 (8962)

1 word

R

2st Ring Port
Ex: 2st Ring Port = Port 3, Word 0 = 0x0003
0x0001: Port 1
0x0002: Port 2

0x000A: Port 10
0xFFFF: iA-Ring not enable