aspar SDM-16I 16 Digital Inputs Expansion Module User Manual
- June 9, 2024
- aspar
Table of Contents
SDM-16I
Expansion Module 16 digital inputs
Version 1.2
User Manual
Manufactured for
SDM-16I 16 Digital Inputs 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
Purpose and description of the module
The SDM-16I module is an innovative device that provides a simple and
costeffective extension of the number of lines of input in popular PLCs.
The module has 16 digital inputs with configurable timer/counter option. In
addition, terminals IN1 and IN2 and IN3 and IN4 can be used to connect two
encoders. All inputs and outputs are isolated from the logic of using
optocouplers. Each channel can be individually configured in one of several
modes.
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.
Technical Specifications
Power Supply | Voltage | 10-30 VDC; 10-28VAC |
---|---|---|
Maximum Current | DC: 100 mA @ 24VDC AC: 125 mA (§ 24VAC | |
Maximum power consumption | DC: 2.4W; AC: 3VA | |
Digital Inputs | No of inputs | 16 |
Voltage range | 0 — 36V | |
Low State ,0″ | 0 — 3V | |
High State „V | 6 — 36V | |
Input impedance | 4Ica | |
Isolation | 1500 Vrms | |
Input Type | PNP or NPN | |
Counters | No | 16 |
Resolution | 32 bity | |
Frequency | 1kHz (max) | |
Impulse Width | 500 ps (min) | |
Temperature | Work | -10 °C – +50°C |
Storage | -40 °C – +85°C | |
Connectors | Power Supply | 2 pins |
Communication | 3 pins | |
Inputs | 2x 10 pins | |
Configuration | Mini USB | |
Size | Height | 110 mm |
Lenght | 62 mm | |
Width | 88 mm | |
Interface | RS485 | Up to 128 devices |
- Maximum current with active Modbus transmission and high state on all inputs
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. Power connectors, communication and IOs are at the bottom and top of the module. USB connector configuration and indicators located on the front of the module.
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 Ω.
Setting Module Address in RS485 Modbus Network
The following table shows how to set switch to determine the address of the module. The module address is set with the switches in the range of 0 to 127. Addresses From 128 to 255 can by set via RS485 or USB.
S witch | Adress |
---|---|
SW1 | +1 |
SW2 | +2 |
SW3 | +4 |
SW4 | +8 |
SW5 | +16 |
SW6 | +32 |
SW7 | +64 |
Ex. if switches 1, 3 and 5 are on than module addres is: Address = 1 + 4 + 16 = 21
Types of Modbus Registers
There are 4 types of variables available in the module
Type| Beginning adress| Variable| Access| Modbus
Command
---|---|---|---|---
1| 00001| Digital Outputs| Bit
Read & Write| 1′ 5′ 15
2| 10001| Digital Inputs| Bit Read| 2
3| 30001| Input Registers| Registered Read| 3
4| 40001| Output Registers| Registered 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
You can restore the default configuration by the switch SW8 (see 3.5.2 –
Restore the default configuration)
Boud rate | 19200 |
---|---|
Pariti | Nie |
Data bits | 8 |
Stop bits | 1 |
Reply Delay [ms] | 0 |
Modbus Type | RTU |
Restore the default configuration
To restore the default configuration:
- turn off the power
- turn on the switch SW8
- turn on the power
- when power and communication LED start blinking alternately than turn off the switch SW8
Caution! After restoring the default configuration all values stored in the registers will be cleared as well.
Configuration registers
Modbus | Dec | Hex | Name | Values |
---|---|---|---|---|
40003 | 2 | 0x02 | Baud rate | 0 – 2400 |
1 – 4800
2 – 9600
3 – 19200
4 – 38400
5 – 57600
6 – 115200
other – value * 10
40005| 4| 0x04| Parity| 0 – none
1 – odd
2 – even
3 – always 1
4 – always 0
40004| 3| 0x03| Stop Bits LSB| 1 – one stop bit
2 – two stop bit
40004| 3| 0x03| Data Bits MSB| 7 – 7 data bits
8 – 8 data bits
40006| 5| 0x05| Response delay| Time in ms
40007| 6| 0x06| Modbus Mode| 0 – RTU
1 – ASCII
Switches
Switch | Function | Description |
---|---|---|
1 | Module address +1 | Setting module address from 0 to 127 |
2 | Module address +2 | |
3 | Module address +4 | |
4 | Module address +8 | |
5 | Module address +16 | |
6 | Module address +32 | |
7 | Module address +64 | |
8 | Restoring default settings | Restoring default settings (see 3.5.1 – Default |
settings i 3.5.2 – Restore the default configuration).
Front panel removing
To remove the panel and gain access to the switch, you must pry open the panel using a thin tool (eg a small screwdriver) as in the picture below.
Indicators
Indicators | Description |
---|---|
Power supply | LED indicates that the module is correctly powered. |
Communication | The LED lights up when the unit received the correct packet and |
sends the answer.
Inputs state| LED indicates that the signal to input is connected.
Module Connection
Digital inputs
Communication, power supply
Modules Registers
Registered access
Modbus| Dec| Hex| Register Name| Access|
Description
---|---|---|---|---|---
30001| 0| Ox00| Version/Type| Read| Version and Type of the device
30002| 1| Ox01| Switches| read| Switches state
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
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)
40033| 32| 40| Received packets LSB| Read & Write| No of received packets
40034| 33| 41| 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| 44| Sent packets LSB| Read & Write| No of sent packets
40038| 37| 0x25| Sent packets MSB| Read & Write
30051| 50| 42| Inputs| Read| Inputs state
40053| 52| 44| Counter 1 LSB| Read & Write| 32-bit counter 1
40054| 53| 45| Counter 1 MSB| Read & Write
40055| 54| 46| Counter 2 LSB| Read & Write| 32-bit counter 2
40056| 55| 0x37| Counter 2 MSB| Read & Write
40057| 56| 48| Counter 3 LSB| Read & Write| 32-bit counter 3
40058| 57| 49| Counter 3 MSB| Read & Write
40059| 58| Ox3A| Counter 4 LSB| Read & Write| 32-bit counter 4
40060| 59| Ox3B| Counter 4 MSB| Read & Write
40061| 60| Ox3C| Counter 5 LSB| Read & Write| 32-bit counter 5
40062| 61| Ox3D| Counter 5 MSB| Read & Write
40063| 62| Ox3E| Counter 6 LSB| Read & Write| 32-bit counter 6
40064| 63| Ox3F| Counter 6 MSB| Read & Write
40065| 64| 0x40| Counter? LSB| Read & Write| 32-bit counter 7
40066| 65| 0x41| Counter 7 MSB| Read & Write
40067| 66| 0x42| Counter 8 LSB| Read & Write| 32-bit counter 8
40068| 67| 0x43| Counter 8 MSB| Read & Write
40069| 68| 0x44| Counter 9 LSB| Read & Write| 32-bit counter 9
40070| 69| 0x45| Counter 9 MSB| Read & Write
40071| 70| 0x46| Counter 10 LSB| Read & Write| 32-bit counter 10
40072| 71| 0x47| Counter 10 MSB| Read & Write
40073| 72| 0x48| Counter 11 LSB| Read & Write| 32-bit counter 11
40074| 73| 0x49| Counter 11 MSB| Read & Write
40075| 74| Ox4A| Counter 12 LSB| Read & Write| 32-bit counter 12
40076| 75| Ox4B| Counter 12 MSB| Read & Write
40077| 76| Ox4C| Counter 13 LSB| Read & Write| 32-bit counter 13
40078| 77| Ox4D| Counter 13 MSB| Read & Write
40079| 78| Ox4E| Counter 14 LSB| Read & Write| 32-bit counter 14
40080| 79| Ox4F| Counter 14 MSB| Read & Write
40081| 80| 0x50| Counter 15 LSB| Read & Write| 32-bit counter 15
40082| 81| Ox51| Counter 15 MSB| Read & Write
40083| 82| 0x52| Counter 16 LSB| Read & Write| 32-bit counter 16
40084| 83| 0x53| Counter 16 MSB| Read & Write
40085| 84| 0x54| CCounter 1 LSB| Read & Write| 32-bit value of captured
counter 1
40086| 85| Ox55| CCounter 1 MSB| Read & Write
40087| 86| 0x56| CCounter 2 LSB| Read & Write| 32-bit value of captured
counter 2
40088| 87| 0x57| CCounter 2 MSB| Read & Write
40089| 88| 0x58| CCounter 3 LSB| Read & Write| 32-bit value of captured
counter 3
40090| 89| 0x59| CCounter 3 MSB| Read & Write
40091| 90| Ox5A| CCounter 4 LSB| Read & Write| 32-bit value of captured
counter 4
40092| 91| Ox5B| CCounter 4 MSB| Read & Write
40093| 92| OxSC| CCounter 5 LSB| Read & Write| 32-bit value of captured
counter 5
40094| 93| Ox5D| CCounter 5 MSB| Read & Write
40095| 94| Ox5E| CCounter 6 LSB| Read & Write| 32-bit value of captured
counter 6
40096| 95| OxSF| CCounter 6 MSB| Read & Write
40097| 96| 0x60| CCounter 7 LSB| Read & Write| 32-bit value of captured
counter 7
40098| 97| 0x61| CCounter 7 MSB| Read & Write
40099| 98| 0x62| CCounter 8 LSB| Read & Write| 32-bit value of captured
counter 8
40100| 99| 0x63| CCounter 8 MSB| Read & Write
40101| 100| 0x64| CCounter 9 LSB| Read & Write| 32-bit value of captured
counter 9
40102| 101| 0x65| CCounter 9 MSB| Read & Write
40103| 102| 0x66| CCounter 10 LSB| Read & Write| 32-bit value of captured
counter 10
40104| 103| 0x67| CCounter 10 MSB| Read & Write
40105| 104| 0x68| CCounter 11 LSB| Read & Write| 32-bit value of captured
counter 11
40106| 105| 0x69| CCounter 11 MSB| Read & Write|
40107| 106| Ox6A| CCounter 12 LSB| Read & Write| 2-bit value of captured
counter 12
40108| 107| Ox6B| CCounter 12 MSB| Read & Write
40109| 108| Ox6C| CCounter 13 LSB| Read & Write| 32-bit value of captured
counter 13
40110| 109| Ox6D| CCounter 13 MSB| Read & Write
40111| 110| Ox6E| CCounter 14 LSB| Read & Write| 32-bit value of captured
counter 14
40112| 111| 0x6F| CCounter 14 MSB| Read & Write
40113| 112| 0x70| CCounter 15 LSB| Read & Write| 32-bit value of captured
counter 15
40114| 113| 0x71| CCounter 15 MSB| Read & Write
40115| 114| 0x72| CCounter 16 LSB| Read & Write| 32-bit value of captured
counter 16
40116| 115| 0x73| CCounter 16 MSB| Read & Write
40117| 116| 0x74| Counter Config 1| Read & Write| Counter Configuration
+1 — time measurement (if 0 counting impulses)
+2 — auto catch counter every 1 sec +4 — catch value when input low
+8 — reset counter after catch
+16 — reset counter if input low
+32 — encoder (only for counter 1 and 3)
40118| 117| 0x75| Counter Config 2| Read & Write
40119| 118| 0x76| Counter Config 3| Read & Write
40120| 119| 0x77| Counter Config 4| Read & Write
40121| 120| 0x78| Counter Config 5| Read & Write
40122| 121| 0x79| Counter Config 6| Read & Write
40123| 122| Ox7A| Counter Config 7| Read & Write
40124| 123| Ox7B| Counter Config 8| Read & Write
40125| 124| Ox7C| Counter Config 9| Read & Write
40126| 125| Ox7D| Counter Config 10| Read & Write
40127| 126| Ox7E| Counter Config 11| Read & Write
40128| 127| Ox7F| Counter Config 12| Read & Write
40129| 128| 0x80| Counter Config 13| Read & Write
40130| 129| 0x81| Counter Config 14| Read & Write
40131| 130| 0x82| Counter Config 15| Read & Write
40132| 131| 0x83| Counter Config 16| Read & Write
40133| 132| 0x84| Catch| Read & Write| Catch counter
40134| 133| 0x85| Status| Read & Write| Captured counter
Bit access
Modbus Address| Dec Adress| Hex Adress| Register name|
Access| Description
---|---|---|---|---|---
10801| 800| 0x320| Input 1| Read| Input 1 state
10802| 801| 0x321| Input 2| Read| Input 2 state
10803| 802| 0x322| Input 3| Read| Input 3 state
10804| 803| 0x323| Input 4| Read| Input 4 state
10805| 804| 0x324| Input 5| Read| Input 5 state
10806| 805| 0x325| Input 6| Read| Input 6 state
10807| 806| 0x326| Input 7| Read| Input 7 state
10808| 807| 0x327| Input 8| Read| Input 8 state
10809| 808| 0x328| Input 9| Read| Input 9 state
10810| 809| 0x329| Input 10| Read| Input 10 state
10811| 810| 0x32A| Input 11| Read| Input 11 state
10812| 811| 0x32B| Input 12| Read| Input 12 state
10813| 812| 0x32C| Input 13| Read| Input 13 state
10814| 813| 0x32D| Input 14| Read| Input 14 state
10815| 814| 0x32E| Input 15| Read| Input 15 state
10816| 815| 0x32F| Input 16| Read| Input 16 state
2113| 2112| 0x840| Capture 1| Read & Write| Capture counter 1
2114| 2113| 0x841| Capture 2| Read & Write| Capture counter 2
2115| 2114| 0x842| Capture 3| Read & Write| Capture counter 3
2116| 2115| 0x843| Capture 4| Read & Write| Capture counter 4
2117| 2116| 0x844| Capture 5| Read & Write| Capture counter 5
2118| 2117| 0x845| Capture 6| Read & Write| Capture counter 6
2119| 2118| 0x846| Capture 7| Read & Write| Capture counter 7
2120| 2119| 0x847| Capture 8| Read & Write| Capture counter 8
2121| 2120| 0x848| Capture 9| Read & Write| Capture counter 9
2122| 2121| 0x849| Capture 10| Read & Write| Capture counter 10
2123| 2122| 0x84A| Capture 11| Read & Write| Capture counter 11
2124| 2123| 0x84B| Capture 12| Read & Write| Capture counter 12
2125| 2124| 0x84C| Capture 13| Read &Write| Capture counter 13
2126| 2125| 0x84D| Capture 14| Read & Write| Capture counter 14
2127| 2126| 0x84E| Capture 15| Read &Write| Capture counter 15
2128| 2127| 0x84F| Capture 16| Read & Write| Capture counter 16
2129| 2128| 0x850| Captured 1| Read & Write| Captured counter 1
2130| 2129| 0x851| Captured 2| Read & Write| Captured counter 2
2131| 2130| 0x852| Captured 3| Read & Write| Captured counter 3
2132| 2131| 0x853| Captured 4| Read & Write| Captured counter 4
2133| 2132| 0x854| Captured 5| Read & Write| Captured counter 5
2134| 2133| 0x855| Captured 6| Read & Write| Captured counter 6
2135| 2134| 0x856| Captured 7| Read & Write| Captured counter 7
2136| 2135| 0x857| Captured 8| Read & Write| Captured counter 8
2137| 2136| 0x858| Captured 9| Read & Write| Captured counter 9
2138| 2137| 0x859| Captured 10| Read & Write| Captured counter 10
2139| 2138| 0x85A| Captured 11| Read & Write| Captured counter 11
2140| 2139| 0x85B| Captured 12| Read & Write| Captured counter 12
2141| 2140| 0x85C| Captured 13| Read & Write| Captured counter 13
2142| 2141| 0x85D| Captured 14| Read & Write| Captured counter 14
2143| 2142| 0x85E| Captured 15| Read & Write| Captured counter 15
2144| 2143| 0x85F| Captured 16| Read & Write| Captured counter 16
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.
Configurator is a universal program, whereby it is possible to configure all
available modules.
Manufactured for:
Aspar s.c.
ul. Oliwska 112 80-209 Chwaszczyno
POLAND
ampero@ampero.eu
www.ampero.eu
Tel. +48 58 351 39 89; +48 58 732 71 73
Expansion Module 16 digital inputs
User Manual
Version 1.2
Documents / Resources
|
aspar SDM-16I 16 Digital Inputs Expansion
Module
[pdf] User Manual
SDM-16I, 16 Digital Inputs Expansion Module, SDM-16I 16 Digital Inputs
Expansion Module, Inputs Expansion Module, Expansion Module, Module
---|---
References
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>