Difference between revisions of "BO8.1"
Line 119: | Line 119: | ||
| Balanced Output 8 default || AO#28 Par. || u16 || RW || 6128 | | Balanced Output 8 default || AO#28 Par. || u16 || RW || 6128 | ||
|} | |} | ||
+ | |||
+ | <!-- MODBUS "States of Inputs and Outputs" registers table --> | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | |- style="font-size: 17px;" | ||
+ | ! colspan="2" | Subject !! style="width: 110px;" | Channel !! style="width: 30px;" | Type !! style="width: 30px;" | R/W !! style="width: 230px;" | Value !! style="width: 60px;" | Offset | ||
+ | |- | ||
+ | | rowspan="8" style="width: 90px;" | <span style="font-size: 17px;"> '''States of <br /> Inputs and <br /> Outputs''' </span> | ||
+ | || Balanced Input 1 || DI#01 || bit || R || rowspan="4" | 0 = inactive <br /> 1 = active <br /> || 3001 | ||
+ | |- | ||
+ | | style="width: 120px;" | Balanced Input 2 || DI#02 || bit || R || 3002 | ||
+ | |- | ||
+ | | Balanced Input 3 || DI#03 || bit || R || 3003 | ||
+ | |- | ||
+ | | COIL Relay || DI#12 || bit || R || 3012 | ||
+ | |- | ||
+ | | Inputs || DI#16 - DI#01 || u16 || R || 0x0000 - 0x000F ||3001 | ||
+ | |- | ||
+ | | Balanced Input 1 || AI#01 || u16 || R || rowspan="3" | 1000 = 1000Ω <br /> 0 = 0Ω <br /> || 5001 | ||
+ | |- | ||
+ | | Balanced Input 2 || AI#01 || u16 || R || 5002 | ||
+ | |- | ||
+ | | Balanced Input 3 || AI#01 || u16 || R || 5003 | ||
+ | |} | ||
+ | |||
+ | <!-- MODBUS "Relay and OC Outputs" registers table --> | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | |- style="font-size: 17px;" | ||
+ | ! colspan="2" | Subject !! style="width: 110px;" | Channel !! style="width: 30px;" | Type !! style="width: 30px;" | R/W !! style="width: 230px;" | Value !! style="width: 60px;" | Offset | ||
+ | |- | ||
+ | | rowspan="4" style="width: 90px;" | <span style="font-size: 17px;"> '''Relay and <br /> OC <br /> Outputs''' </span> | ||
+ | || Relay Output 1 || DO#01 || bit || RW || rowspan="3" | 0 = inactive <br /> 1 = active <br /> || 4001 | ||
+ | |- | ||
+ | | style="width: 120px;" | Open Collector 1 || DO#02 || bit || RW || 4002 | ||
+ | |- | ||
+ | | Open Collector 2 || DO#03 || bit || RW || 4003 | ||
+ | |- | ||
+ | | Outputs || DO#16 - DI#01 || u16 || RW || 0x0000 - 0x000F ||4001 | ||
+ | |} | ||
+ | |||
+ | {{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. | ||
+ | }} |
Latest revision as of 09:55, 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 |
Subject | Channel | Type | R/W | Value | Offset | |
---|---|---|---|---|---|---|
Setting the Value of Alarm Outputs |
Balanced Output 1 | AO#01 | u16 | RW | 1000 = 1000Ω 0 = 0Ω |
6001 |
Balanced Output 2 | AO#02 | u16 | RW | 6002 | ||
Balanced Output 3 | AO#03 | u16 | RW | 6003 | ||
Balanced Output 4 | AO#04 | u16 | RW | 6004 | ||
Balanced Output 5 | AO#05 | u16 | RW | 6005 | ||
Balanced Output 6 | AO#06 | u16 | RW | 6006 | ||
Balanced Output 7 | AO#07 | u16 | RW | 6007 | ||
Balanced Output 8 | AO#08 | u16 | RW | 6008 | ||
Alarm Output Correction Settings |
Balanced Output 1 offset | AO#01 Par. | u16 | RW | 1000 = 1000Ω 0 = 0Ω |
6101 |
Balanced Output 2 offset | AO#02 Par. | u16 | RW | 6102 | ||
Balanced Output 3 offset | AO#03 Par. | u16 | RW | 6103 | ||
Balanced Output 4 offset | AO#04 Par. | u16 | RW | 6104 | ||
Balanced Output 5 offset | AO#05 Par. | u16 | RW | 6105 | ||
Balanced Output 6 offset | AO#06 Par. | u16 | RW | 6106 | ||
Balanced Output 7 offset | AO#07 Par. | u16 | RW | 6107 | ||
Balanced Output 8 offset | AO#08 Par. | u16 | RW | 6108 | ||
Default Value of Alarm Outputs |
Balanced Output 1 default | AO#21 Par. | u16 | RW | 1000 = 1000Ω 0 = 0Ω |
6121 |
Balanced Output 2 default | AO#22 Par. | u16 | RW | 6122 | ||
Balanced Output 3 default | AO#23 Par. | u16 | RW | 6123 | ||
Balanced Output 4 default | AO#24 Par. | u16 | RW | 6124 | ||
Balanced Output 5 default | AO#25 Par. | u16 | RW | 6125 | ||
Balanced Output 6 default | AO#26 Par. | u16 | RW | 6126 | ||
Balanced Output 7 default | AO#27 Par. | u16 | RW | 6127 | ||
Balanced Output 8 default | AO#28 Par. | u16 | RW | 6128 |
Subject | Channel | Type | R/W | Value | Offset | |
---|---|---|---|---|---|---|
States of Inputs and Outputs |
Balanced Input 1 | DI#01 | bit | R | 0 = inactive 1 = active |
3001 |
Balanced Input 2 | DI#02 | bit | R | 3002 | ||
Balanced Input 3 | DI#03 | bit | R | 3003 | ||
COIL Relay | DI#12 | bit | R | 3012 | ||
Inputs | DI#16 - DI#01 | u16 | R | 0x0000 - 0x000F | 3001 | |
Balanced Input 1 | AI#01 | u16 | R | 1000 = 1000Ω 0 = 0Ω |
5001 | |
Balanced Input 2 | AI#01 | u16 | R | 5002 | ||
Balanced Input 3 | AI#01 | u16 | R | 5003 |
Subject | Channel | Type | R/W | Value | Offset | |
---|---|---|---|---|---|---|
Relay and OC Outputs |
Relay Output 1 | DO#01 | bit | RW | 0 = inactive 1 = active |
4001 |
Open Collector 1 | DO#02 | bit | RW | 4002 | ||
Open Collector 2 | DO#03 | bit | RW | 4003 | ||
Outputs | DO#16 - DI#01 | u16 | RW | 0x0000 - 0x000F | 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.