Difference between revisions of "RE8.1"
(Created page with "=== Modbus Registers === Below is a list of available MODBUS registers. The same register numbers are also used by the MIOS-2 protocol. === Modbus Read / Write (0x17) Functio...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 53: | Line 53: | ||
| COIL Relay 10 || DI#13 || bit || R || 3013 | | COIL Relay 10 || DI#13 || bit || R || 3013 | ||
|- | |- | ||
− | | Inputs || DI#16 - DI#01 || u16 || R || 0x0000 - | + | | Inputs || DI#16 - DI#01 || u16 || R || 0x0000 - 0x1FFF || 3001 |
|} | |} | ||
Line 84: | Line 84: | ||
|- | |- | ||
| Outputs || DO#16 - DO#01 || u16 || RW || 0x0000 - 0x03FF || 4001 | | Outputs || DO#16 - DO#01 || u16 || RW || 0x0000 - 0x03FF || 4001 | ||
+ | |} | ||
{{Note|NoteText= | {{Note|NoteText= | ||
To activate the '''bootloader''', it is necessary to write a value 617 into the registry with an offset 1204 and restart the device. | To activate the '''bootloader''', it is necessary to write a value 617 into the registry with an offset 1204 and restart the device. | ||
}} | }} |
Latest revision as of 12:28, 24 February 2020
Modbus Registers
Below is a list of available MODBUS registers. The same register numbers are also used by the MIOS-2 protocol.
Modbus Read / Write (0x17) Function
METEL IO modules have implemented the MODBUS function (0x17) Read/Write of Multiple registers. Typically it is required to have two separate requests (and responses) for:
1. Writing of outputs via MODBUS function (0x16) Writing Multiple Registers
2. Reading of inputs via MODBUS function (0x03) Read Holding Registers
This requires a total of 4 frames to be sent over MODBUS. If using 0x17 function only one request is needed for the reading and writing of outputs. This requires a total of 2 frames to be sent over MODBUS.
Default Settings of Communication
Device ID: 1
Baudrate: 115 200
Parity: None
Data bits: 8
Stop bits: 1
Subject | Channel | Type | R/W | Value | Offset | |
---|---|---|---|---|---|---|
States of Digital Inputs and Relay Outputs |
Digital Input 1, 230V | DI#01 | bit | R | 0 = inactive 1 = active |
3001 |
Digital Input 2, 230V | DI#02 | bit | R | 3002 | ||
Digital Input 3, 230V | DI#03 | bit | R | 3003 | ||
COIL Relay 1 | DI#04 | bit | R | 3004 | ||
COIL Relay 2 | DI#05 | bit | R | 3005 | ||
COIL Relay 3 | DI#06 | bit | R | 3006 | ||
COIL Relay 4 | DI#07 | bit | R | 3007 | ||
COIL Relay 5 | DI#08 | bit | R | 3008 | ||
COIL Relay 6 | DI#09 | bit | R | 3009 | ||
COIL Relay 7 | DI#10 | bit | R | 3010 | ||
COIL Relay 8 | DI#11 | bit | R | 3011 | ||
COIL Relay 9 | DI#12 | bit | R | 3012 | ||
COIL Relay 10 | DI#13 | bit | R | 3013 | ||
Inputs | DI#16 - DI#01 | u16 | R | 0x0000 - 0x1FFF | 3001 |
Subject | Channel | Type | R/W | Value | Offset | |
---|---|---|---|---|---|---|
Relay Outputs |
Relay Output 1 | DO#01 | bit | RW | 0 = inactive 1 = active |
4001 |
Relay Output 2 | DO#02 | bit | RW | 4002 | ||
Relay Output 3 | DO#03 | bit | RW | 4003 | ||
Relay Output 4 | DO#04 | bit | RW | 4004 | ||
Relay Output 5 | DO#05 | bit | RW | 4005 | ||
Relay Output 6 | DO#06 | bit | RW | 4006 | ||
Relay Output 7 | DO#07 | bit | RW | 4007 | ||
Relay Output 8 | DO#08 | bit | RW | 4008 | ||
Relay Output 9 | DO#09 | bit | RW | 4009 | ||
Relay Output 10 | DO#10 | bit | RW | 4010 | ||
Outputs | DO#16 - DO#01 | u16 | RW | 0x0000 - 0x03FF | 4001 |
Note: To activate the bootloader, it is necessary to write a value 617 into the registry with an offset 1204 and restart the device.