Difference between revisions of "BO8.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...") |
(No difference)
|
Revision as of 09: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 | Type | R/W | Value | Offset | |
---|---|---|---|---|---|
Device Identity |
Product Type | u8[3] | R | 1002-04 | |
Serial Number | u32 | R | 1005-06 | ||
PCB Version | u32 | R | 1007-08 | ||
PCB Revision | u16 | R | 1009 | ||
FW Version Major | u16 | R | 1010 | ||
FW Version Minor | u16 | R | 1011 | ||
FW Version - Revision | u32 | R | 1012-13 | ||
IF#01 Slot State | u16 | R | 0 = N/A 1 = IF#01 not Inserted 2 = IF#01 Inserted, CRC error 3 = IF#01 Inserted, CRC OK |
1021 | |
IF#01 Product Type | u8[3] | R | 1022-24 | ||
IF#01 Serial Number | u32 | R | 1025-26 | ||
IF#01 PCB Version | u32 | R | 1027-28 | ||
IF#01 PCB Revision | u16 | R | 1029 | ||
Device Control |
Reset | u16 | RW | 55203 = To Reboot | 1201 |
Bootloader / Application | u16 | R | 0x00A – Application, 0x00B – Bootloader |
1203 | |
Restart to Bootloader | u16 | RW | 617 = To Bootloader else = deactivate bootloader |
1204 | |
Device Status |
Board Power Voltage | u16 | R | 105 = 10,5V | 1311 |
Board Temperature | u16 | R | -200 = -20,0°C 250 = 25,0°C |
1321 |