MOD1AI
MOD1AI
Manufactured for
RS485 MODBUS Module 1AI
User Manual
This manual will help you with proper support and proper operation of the device.
The information contained in this manual have been prepared with utmost care by our
professionals and serve as a description of the product without incurring any liability for
the purposes of commercial law.
This information does not release you from the obligation of own judgement and
verification.
Please read the instructions carefully and follow the recommendations contained
therein.
WARNING!
1. Safety rules
• Before first use, refer to this manual
• Before first use, make sure that all cables are connected properly
• Before making any modifications to wiring connections, turn off the power supply
2. Module Features
2.1. Purpose and description of the module
1AI module allows voltage or current measurement and has one digital putput.
Values are read via RS485 (Modbus), so we can easily integrate the module with
popular PLCs, HMI or PC equipped with the appropriate adapter.
The device has 1 input to voltage measurement and 1 input for current
measurement (both inputs can be used in this same time). In addition, the module is
equipped with 1 configurable digital output (PNP or NPN type).
This module is connected to the RS485 bus with twisted-pair wire.
Communication is via MODBUS RTU or MODBUS ASCII. The use of 32-bit ARM
core processor provides fast processing and quick communication. The baud rate is
configurable from 2400 to 115200.
The module is equipped with a set of LEDs used to indicate the status of inputs
and outputs useful for diagnostic purposes and helping to find errors.
56
50
34
17
90
3. Communication configuration
3.1. Grounding and shielding
In most cases, IO modules will be installed in an enclosure along with other
devices which generate electromagnetic radiation. Examples of these devices are relays
and contactors, transformers, motor controllers etc. This electromagnetic radiation can
induce electrical noise into both power and signal lines, as well as direct radiation into
the module causing negative effects on the system. Appropriate grounding, shielding
and other protective steps should be taken at the installation stage to prevent these
effects. These protective steps include control cabinet grounding, module grounding,
cable shield grounding, protective elements for electromagnetic switching devices,
correct wiring as well as consideration of cable types and their cross sections.
To eliminate the presence of reflections from the end of the cable, the cable must
be terminated at both ends with a resistor across the line equal to its characteristic
impedance. Both ends must be terminated since the direction of propagation is bi-
directional. In the case of an RS485 twisted pair cable this termination is typically
120 Ω.
4. Indicators
Indicator Description
ON LED indicates that the module is correctly powered.
The LED lights up when the unit received the correct packet and sends the
TX
answer.
AIV , AII LED indicates that the signal to input is connected and is different from 0
DO LED indicates that the output is on.
5. Block diagram
6. Module Connection
6.1. Analog inputs, digital output
7. Analog Filtering
If the measured signal is interrupted it is possible to eliminate the disruptions by
switching the lowpass filter on. It is possible to configure the filter for all inputs (it is
not possible to enable the filter for only one input). The filter parameter corresponds to
the filter time constant. Step response of the filter is shown in the graph below.
8. Modules Registers
8.1. Registered access
Modbus Dec Hex Register Name Access Description
30001 0 0x00 Version/Type Read Version and Type of the device
30002 1 0x01 Address Read Module Address
40003 2 0x02 Baud rate Read & Write RS485 baud rate
40004 3 0x03 Stop Bits & Data Bits Read & Write No of Stop bits & Data Bits (see 3.4.2)
40005 4 0x04 Parity Read & Write Parity bit
40006 5 0x05 Response Delay Read & Write Response delay in ms
40007 6 0x06 Modbus Mode Read & Write Modbus Mode (ASCII or RTU)
40010 9 0x09 Analog Filter Read & Write Configuration of analog filter, range 1-10
40033 32 0x20 Received packets LSB Read & Write
No of received packets
40034 33 0x21 Received packets MSB Read & Write
40035 34 0x22 Incorrect packets LSB Read & Write
No of received packets with error
40036 35 0x23 Incorrect packets MSB Read & Write
40037 36 0x24 Sent packets LSB Read & Write
No of sent packets
40038 37 0x25 Sent packets MSB Read & Write
Connected inputs
30051 50 0x32 Inputs Read
Bit in high state → signal is connected
Alarms state
40052 51 0x33 Outputs Read & Write
bit no. 3 digital output
30053 52 0x34 Voltage Read Voltage in μV
30054 53 0x35 Current Read Current in μA or ‰
Maximum value of voltage excess which causes set
30055 54 0x36 Alarm – max voltage Read & Write
bit no 1 in the register 40052
Minimum value of voltage. If voltage drops below
30056 55 0x37 Alarm – min voltage Read & Write
this voltage bit no 1 in the register 40052 is set.
Maximum value of current excess which causes set
30057 56 0x38 Alarm – max current Read & Write
bit no 1 in the register 40052
Minimum value of current. If current drops below
30058 57 0x39 Alarm – min current Read & Write
this voltage bit no 1 in the register 40052 is set.
30059 58 0x3A Voltage alarm configuration Read & Write Alarms configuration
0 – alarms state depends on actual values
30060 59 0x3B Current alarm configuration Read & Write 1 – alarms state need to clear by master
0 – OFF
1 – 0 .. 10V
30061 60 0x3C Voltage input configuration Read & Write 2 – -10 .. 10V
3 – 0 .. 1V
4 – -1 .. 1V
0 – OFF
1 – 0 .. 20mA (in μA)
40062 61 0x3D Current input configuration Read & Write
2 – 4 .. 20mA (in ‰)
3 – -20mA .. 20mA (in μA)
40063 62 0x3E Digital output configuration Read & Write Digital output configuration
0 – output controlled by master
1 – output state depends voltage
2 – output state depends current
9. Configuration software
Modbus Configurator is software that is designed to set the module registers
responsible for communication over Modbus network as well as to read and write the
current value of other registers of the module. This program can be a convenient way to
test the system as well as to observe real-time changes in the registers.
Communication with the module is done via the USB cable. The module does
not require any drivers.
Table of Content
1. Safety rules.......................................................................................................................................3
2. Module Features...............................................................................................................................3
2.1. Purpose and description of the module.....................................................................................3
2.2. Technical Specifications...........................................................................................................4
2.3. Dimensions of the product........................................................................................................5
3. Communication configuration..........................................................................................................5
3.1. Grounding and shielding...........................................................................................................5
3.2. Network Termination................................................................................................................5
3.3. Types of Modbus Registers.......................................................................................................6
3.4. Communication settings...........................................................................................................6
3.4.1. Default settings.................................................................................................................6
3.4.2. Configuration registers......................................................................................................7
4. Indicators..........................................................................................................................................8
5. Block diagram..................................................................................................................................8
6. Module Connection..........................................................................................................................9
6.1. Analog inputs, digital output.....................................................................................................9
6.2. Communication, power supply...............................................................................................10
7. Analog Filtering..............................................................................................................................10
8. Modules Registers..........................................................................................................................11
8.1. Registered access....................................................................................................................11
8.2. Bit access................................................................................................................................12
9. Configuration software...................................................................................................................13