Aspar Mini Modbus 4di Expansion Module User Manual

Aspar Mini Modbus 4di Expansion Module User Manual

aspar Mini Modbus 4DI Expansion Module

Mini Modbus 4DI Expansion Module

Introduction

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.

symbol 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

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.
his 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.

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 impedance4kΩ
Isolation1500 Vrms
Input TypePNP or NPN
CountersNo4
Resolution32 bits
Frequency1kHz (max)
Impulse Width500 μs (min)
TemperatureWork-10 °C – +50°C
Storage-40 °C – +85°C
ConnectorsPower Supply3 pin
Communication3 pin
Inputs2 x 3 pin
ConfigurationMini USB
SizeHeight90 mm
Length56 mm
Width17 mm
InterfaceRS485Up to 128 devices
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.
Dimensions of the product

Communication configuration

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.

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 Ω.

Types of Modbus Registers

There are 4 types of variables available in the module

Type

Beginning addressVariableAccess

Modbus Command

1

00001Digital OutputsBit

Read & Write

1, 5, 15

2

10001Digital InputsBit Read

2

3

30001Input Registers

Registered Read

3

4

40001Output RegistersRegistered Read & Write

4, 6, 16

Communication settings

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

Default settings

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

Configuration registers

Modbus

DecHexName

Values

Address

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

Indicators

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

Block diagram

Module Connection

input connection

Module Connection

Modules Registers

Registered access
ModbusDecHexRegister NameAccessDescription
3000100x00Version/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 & Write 

32-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
40059580x3ACounter 4 LSBRead & Write32-bit counter 4
40060590x3BCounter 4 MSBRead & Write
40061600x3CCCounter 1 LSBRead & Write32-bit value of captured counter 1
40062610x3DCCounter 1 MSBRead & Write
40063620x3ECCounter 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 Config 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 Config 2Read & Write
40071700x46Counter Config 3Read & Write
40072710x47Counter Config 4Read & Write
40073720x48CatchRead & WriteCatch counter
40074730x49StatusRead & WriteCaptured counter
Bit access
Modbus AddressDec AddressHex AddressRegister 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.
Configuration software

Configurator is a universal program, whereby it is possible to configure all available modules.
Configuration software

Customer Support

Manufactured 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
Logo

aspar-Logo

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