Difference between revisions of "IF-05"

From IPLOG
Jump to: navigation, search
(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...")
 
Line 19: Line 19:
 
Data bits: 8 <br />
 
Data bits: 8 <br />
 
Stop bits: 1 <br />
 
Stop bits: 1 <br />
 +
 +
<!-- MODBUS "IF-05 States of Inputs" 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;"> '''IF-05 <br /> States of <br /> Inputs''' </span>
 +
|| Balanced Input 1 (bin) || DI#33 || bit || R || rowspan="2" | 0 = inactive <br /> 1 = active || 3033
 +
|-
 +
| style="width: 120px;" | Balanced Input 2 (bin) || DI#34 || bit || R || 3034
 +
|-
 +
| Balanced Input 1 || AI#33 || u16 || R || rowspan="2" | 1000 = 1000Ω <br /> 0 = 0Ω || 5033
 +
|-
 +
| Balanced Input 2 || AI#34 || u16 || R || 5034
 +
|}

Revision as of 13:21, 20 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
IF-05
States of
Inputs
Balanced Input 1 (bin) DI#33 bit R 0 = inactive
1 = active
3033
Balanced Input 2 (bin) DI#34 bit R 3034
Balanced Input 1 AI#33 u16 R 1000 = 1000Ω
0 = 0Ω
5033
Balanced Input 2 AI#34 u16 R 5034