Aspar Mini Modbus 4di-m Expansion Module User Manual

Aspar Mini Modbus 4di-m Expansion Module User Manual

aspar - logoMini Modbus 4DI-M
Expansion Module – 4 digital inputs with counters memory
Version 1.4
User Manualaspar Mini Modbus 4DI-M Expansion Module

Thank you for choosing our product.
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.
We reserve the right to change product specifications without notice.
Please read the instructions carefully and follow the recommendations contained therein.

WARNING!
Failure to follow instructions can result in equipment damage or impede the use of the hardware or software.

Safety rules

  • Before first use, refer to this manual
  • Before first use, make sure that all cables are connected properly
  • Please ensure proper working conditions, according to the device specifications (eg: supply voltage, temperature, maximum power consumption)
  • Before making any modifications to wiring connections, turn off the power supply

Module Features

2.1. Purpose and description of the module
4DI Module is an innovative device that provides a simple and cost-effective extension of the number of lines of input in popular PLCs.
The module has 4 digital inputs with configurable timer/counter option, which allow to connect two encoders. All inputs are isolated from the logic by optocouplers.
Each channel can be individually configured in one of several modes.
The module has a fast non-volatile FRAM memory that stores values of the counters and the counters captured. This means that even after a power failure, these values are  stored and can further use when the power returns.
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 designed for mounting on a DIN rail in accordance with DIN EN 5002.
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.
Module configuration is done via USB by using a dedicated computer program.
You can also change the parameters using the MODBUS protocol.

2.2. Technical Specifications

Power SupplyVoltage10-38VDC; 20-28VAC
Maximum Current’62 mA @ 12V / 35 mA @ 24V
Digital InputsNo of inputs4
Voltage range0 — 36V
Low State .0″0 — 3V
High State „1″6 — 36V
Input impedance4k0
Isolation1500 Vrms
Input TypePNP or NPN
CountersNo4
Resolution32 bits
FrequencylkHz (max)
Impulse Width500 ps (min)
TemperatureWork-10 °C – +50°C
Storage-40 °C – +85°C
ConnectorsPower Supply3 pin
Communication3 pin
Inputs2 x3 pin
ConfigurationMini USB
SizeHeight90 mm
Length56 mm
Width17 mm
InterfaceRS485Up to 128 devices

* Maximum current with active Modbus transmission and high state on all inputs

2.3. Dimensions of the product
Look and dimensions of the module are shown below. The module is mounted directly to the rail in the DIN industry standard. aspar Mini Modbus 4DI-M Expansion Module - Dimensions

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.

3.2. Network Termination
Transmission line effects often present a problem on data communication  networks. These problems include reflections and signal attenuation.
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 bidirectional.
In the case of an RS485 twisted pair cable this termination is typically 120 Ω.

3.3. Types of Modbus Registers
There are 4 types of variables available in the module

TypeBeginning
address
VariableAccessModbus
Command
11Digital OutputsBit
Read & Write
1′ 5′ 15
210001Digital InputsBit Read2
330001Input Registers
Registered Read3
440001Output RegistersRegistered Read & Write4′ 6, 16

3.4. Communication settings
The data stored in the modules memory are in 16-bit registers. Access to registers is via MODBUS RTU or MODBUS ASCII.
3.4.1. Default settings

Parameter nameValue
Address1
Baud rate19200
ParityNo
Data bits8
Stop bits1
Reply Delay [ms]0
Modbus TypeRTU

3.4.2. Configuration registers

ModbusDecHexNameValues
Address
40003
40005
20x02Baud rate0 – 2400
1 – 4800
2 — 9600
3 — 19200
4 – 38400
5 – 57600
6 – 115200
other – value * 10
40x04Parity0 – none
1 – odd
2 – even
3 — always 1
4 – always 0
4000430x03Stop Bits LSB1
2 – one stop bit
– two stop bits
4000430x03Data Bits MSB7 – 7 data bits8 – 8 data bits
4000650x05Response delayTime in ms
4000760x06Modbus Mode0 – RTU
1 -ASCII

Indicators

aspar Mini Modbus 4DI-M Expansion Module - Indicators

IndicatorDescription
ONLED indicates that the module is correctly powered.
TXThe LED lights up when the unit received the correct packet and sends the
answer.
1, 2, 3, 4LED indicates that on the input is high state.

Block diagram

aspar Mini Modbus 4DI-M Expansion Module - diagram

Module Connection

Input connectionaspar Mini Modbus 4DI-M Expansion Module - Module

Modules Registers

7.1. Registered access

ModbusDecHexRegister NameAccessDescription
300010Ox00Version/TypeReadVersion and Type of the device
3000210x01AddressReadModule Address
4000320x02Baud rateRead & WriteRS485 baud rate
4000430x03Stop Bits & Data BitsRead & WriteNo of Stop bits & Data Bits (see 3.4.2)
4000540x04ParityRead & WriteParity bit
4000650x05Response DelayRead & WriteResponse delay in ms
4000760x06Modbus ModeRead & WriteModbus Mode (ASCII or RTU)
4000980x08WatchdogRead & WriteWatchdog
40033320x20Received packets LSBRead & WriteNo of received packets
40034330x21Received packets MSBRead & Write
40035340x22Incorrect packets LSBRead & WriteNo of received packets with error
40036350x23Incorrect packets MSBRead & Write
40037360x24Sent packets LSBRead & WriteNo of sent packets
40038370x25Sent packets MSBRead & Write
30051500x32InputsReadInputs state
40053520x34Counter 1 LSBRead & Write32-bit counter 1
40054530x35Counter 1 MSBRead & Write
40055540x36Counter 2 LSBRead & Write32-bit counter 2
40056550x37Counter 2 MSBRead & Write
40057560x38Counter 3 LSBRead & Write32-bit counter 3
40058570x39Counter 3 MSBRead & Write
4005958Ox3ACounter 4 LSBRead & Write32-bit counter 4
4006059Ox3BCounter 4 MSBRead & Write
4006160Ox3CCCounter 1 LSBRead & Write32-bit value of captured counter 1
4006261Ox3DCCounter 1 MSBRead & Write
4006362Ox3ECCounter 2 LSBRead & Write32-bit value of captured counter 2
40064630x3FCCounter 2 MSBRead & Write
40065640x40CCounter 3 LSBRead & Write32-bit value of captured counter 3
40066650x41CCounter 3 MSBRead & Write
40067660x42CCounter 4 LSBRead & Write32-bit value of captured counter 4
40068670x43CCounter 4 MSBRead & Write
40069680x44Counter Confg 1Read & WriteCounter Configuration
+1 — time measurement (if 0 counting impulses)
+2 — autocatch counter every 1 sec
+4 — catch value when input low
+8 — reset counter after catch
+16 — reset counter if input low
+32 — encoder
40070690x45Counter Confg 2Read & Write
40071700x46Counter Confg 3Read & Write
40072710x47Counter Confg 4Read & Write
40073720x48CatchRead & WriteCatch counter
40074730x49StatusRead & WriteCaptured counter

7.2. Bit access

Modbus
Address
Dec
Address
Hex
Address
Register nameAccessDescription
108018000x320Input 1ReadInput 1 state
108028010x321Input 2ReadInput 2 state
108038020x322Input 3ReadInput 3 state
108048030x323Input 4ReadInput 4 state
115311520x480Capture 1Read & WriteCapture counter 1
115411530x481Capture 2Read & WriteCapture counter 2
115511540x482Capture 3Read & WriteCapture counter 3
115611550x483Capture 4Read & WriteCapture counter 4
116911680x490Captured 1Read & WriteCaptured value of counter 1
117011690x491Captured 2Read & WriteCaptured value of counter 2
117111700x492Captured 3Read & WriteCaptured value of counter 3
117211710x493Captured 4Read & WriteCaptured value of counter 4

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.aspar Mini Modbus 4DI-M Expansion Module - drivers

Configurator is a universal program, whereby it is possible to configure all available modules.aspar Mini Modbus 4DI-M Expansion Module - Configurator

aspar - logoManufactured for:
Aspar s.c.
ul. Oliwska 112
80-209 Chwaszczyno
Poland
[email protected]
www.ampero.eu
Tel. +48 58 351 39 89; +48 58 732 71 73

References

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals