Aspar Sdm-8i8o 8 Digital Inputs Or Output Expansion Module User Manual

Aspar Sdm-8i8o 8 Digital Inputs Or Output Expansion Module User Manual

aspar-logo

aspar SDM-8I8O 8 Digital Inputs or Output Expansion Module

aspar-SDM-8I8O-8-Digital-Inputs-or-Output-Expansion-Module-product

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-8I8O module is an innovative device that provides a simple and cost-effective extension of the number of lines of input and output in popular PLCs.
  • The module has 8 digital inputs with configurable timer/counter option and 8 digital outputs. 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

Voltage10-30 VDC; 10-28VAC
Maximum Current*DC: 100 mA @ 24VDC AC: 125 mA @ 24VAC
Maximum power consumptionDC: 2.4W; AC: 3VA
 

 

 

 

Digital Inputs

No of inputs8
Voltage range0 – 36V
Low State „0”0 – 3V
High State „1”6 – 36V
Input impedance4kΩ
Isolation1500 Vrms
Input TypePNP lub NPN
 

 

 

Digital Outputs

No of outputs8
Max Voltage30V
Max current500mA
Output TypePNP
Output protection4A polymer fuse
Isolation1500 Vrms
 

 

Counters

No8
Resolution32 bity
Frequency1kHz (max)
Impulse Width500 μs (min)
 

Temperature

Work-10 °C – +50°C
Storage-40 °C – +85°C
 

 

 

Connectors

Power Supply2 pins
Communication3 pins
Inputs10 pins
Outputs10 pins
ConfigurationMini USB
 

Size

Height110 mm
Length62 mm
Width88 mm
InterfaceRS485Do 128 urządzeń

Maximum current with active Modbus transmission, all outputs on 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.aspar-SDM-8I8O-8-Digital-Inputs-or-Output-Expansion-Module-fig 1

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 bi-directional. 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.

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

TypeBeginning adressVariableAccessModbus Command
100001Digital OutputsBit

Read & Write

1, 5, 15
210001Digital InputsBit Read2
330001Input RegistersRegistered Read3
440001Output RegistersRegistered Read & Write4, 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 rate19200
ParitiNie
Data bits8
Stop bits1
Reply Delay [ms]0
Modbus TypeRTU

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

ModbusDecHexNameValues
 

 

 

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

4000430x03Stop Bits LSB1 – one stop bit 2 – two stop bit
4000430x03Data Bits MSB7  – 7 data bits

8  – 8 data bits

4000650x05Response delayTime in ms
4000760x06Modbus Mode0  – RTU

1  – ASCII

Watchdog function

This 16-bit register specifies the time in milliseconds to watchdog reset. If module does not receive any valid message within that time, all Digital and Analog Outputs will be set to the default state.
This feature is useful if there is an interruption in data transmission and for security reasons. Output states must be set to the appropriate state in order to assure the safety of persons or property.
The default value is 0 milliseconds which means the watchdog function is disabled.
Range: 0-65535 ms

Switchesaspar-SDM-8I8O-8-Digital-Inputs-or-Output-Expansion-Module-fig 2

SwitchFunctionDescription
1Module address +1 

 

 

 

Setting module address from 0 to 127

2Module address +2
3Module address +4
4Module address +8
5Module address +16
6Module address +32
7Module address +64
 

8

Restoring default settingsRestoring 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.aspar-SDM-8I8O-8-Digital-Inputs-or-Output-Expansion-Module-fig 3

Indicatorsaspar-SDM-8I8O-8-Digital-Inputs-or-Output-Expansion-Module-fig 4

IndicatorsDescription
Power supplyLED indicates that the module is correctly powered.
CommunicationThe LED lights up when the unit received the correct packet and sends the answer.
Inputs stateLED indicates that the signal to input is connected.
Outputs stateLED indicates that the output is on.

Module Connection

Digital inputsaspar-SDM-8I8O-8-Digital-Inputs-or-Output-Expansion-Module-fig 5

Digital outputsaspar-SDM-8I8O-8-Digital-Inputs-or-Output-Expansion-Module-fig 6

Communication, power supplyaspar-SDM-8I8O-8-Digital-Inputs-or-Output-Expansion-Module-fig 7

Modules Registers

Registered access

ModbusDecHexRegister NameAccessDescription
3000100x00Version/TypeReadVersion and Type of the device
3000210x01SwitchesReadSwitches state
4000320x02Baud rateRead & WriteRS485 baud rate
4000430x03Stop Bits & Data BitsRead & WriteNo of Stop bits & Data Bits
4000540x04ParityRead & WriteParity bit
4000650x05Response DelayRead & WriteResponse delay in ms
4000760x06Modbus ModeRead & WriteModbus Mode (ASCII or RTU)
4000980x08WatchdogRead & WriteWatchdog
40013120x0CDefault Output StateRead & WriteDefault output state (after power on or watchdog reset)
40033320x20Received packets LSBRead & Write 

No of received packets

40034330x21Received packets MSBRead & Write
40035340x22Incorrect packets LSBRead & Write 

No of received packets with error

40036350x23Incorrect packets MSBRead & Write
40037360x24Sent packets LSBRead & Write 

No of sent packets

40038370x25Sent packets MSBRead & Write
30051500x32InputsReadInputs state
40052510x33OutputsRead & WriteOutput state
40053520x34Counter 1 LSBRead & Write 

32-bit counter 1

40054530x35Counter 1 MSBRead & Write
40055540x36Counter 2 LSBRead & Write 

32-bit counter 2

40056550x37Counter 2 MSBRead & Write
40057560x38Counter 3 LSBRead & Write 

32-bit counter 3

40058570x39Counter 3 MSBRead & Write
40059580x3ACounter 4 LSBRead & Write 

32-bit counter 4

40060590x3BCounter 4 MSBRead & Write
40061600x3CCounter 5 LSBRead & Write 

32-bit counter 5

40062610x3DCounter 5 MSBRead & Write
40063620x3ECounter 6 LSBRead & Write 

32-bit counter 6

40064630x3FCounter 6 MSBRead & Write
40065640x40Counter 7 LSBRead & Write 

32-bit counter 7

40066650x41Counter 7 MSBRead & Write
40067660x42Counter 8 LSBRead & Write 

32-bit counter 8

40068670x43Counter 8 MSBRead & Write
ModbusDecHexRegister NameAccessDescription
40085840x54CCounter 1 LSBRead & Write 

32-bit value of captured counter 1

40086850x55CCounter 1 MSBRead & Write
40087860x56CCounter 2 LSBRead & Write 

32-bit value of captured counter 2

40088870x57CCounter 2 MSBRead & Write
40089880x58CCounter 3 LSBRead & Write 

32-bit value of captured counter 3

40090890x59CCounter 3 MSBRead & Write
40091900x5ACCounter 4 LSBRead & Write 

32-bit value of captured counter 4

40092910x5BCCounter 4 MSBRead & Write
40093920x5CCCounter 5 LSBRead & Write 

32-bit value of captured counter 5

40094930x5DCCounter 5 MSBRead & Write
40095940x5ECCounter 6 LSBRead & Write 

32-bit value of captured counter 6

40096950x5FCCounter 6 MSBRead & Write
40097960x60CCounter 7 LSBRead & Write 

32-bit value of captured counter 7

40098970x61CCounter 7 MSBRead & Write
40099980x62CCounter 8 LSBRead & Write 

32-bit value of captured counter 8

40100990x63CCounter 8 MSBRead & Write
401171160x74Counter Config 1Read & Write 

Counter 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 (only for counter 1 and 3)

401181170x75Counter Config 2Read & Write
401191180x76Counter Config 3Read & Write
401201190x77Counter Config 4Read & Write
401211200x78Counter Config 5Read & Write
401221210x79Counter Config 6Read & Write
401231220x7ACounter Config 7Read & Write
401241230x7BCounter Config 8Read & Write
401331320x84CatchRead & WriteCatch counter
401341330x85StatusRead & WriteCaptured counter

Bit access

Modbus AddressDec AddressHex AddressRegister nameAccessDescription
1931920x0C0Default state of output 1Read & WriteDefault state of output 1
1941930x0C1Default state of output 2Read & WriteDefault state of output 2
1951940x0C2Default state of output 3Read & WriteDefault state of output 3
1961950x0C3Default state of output 4Read & WriteDefault state of output 4
1971960x0C4Default state of output 5Read & WriteDefault state of output 5
1981970x0C5Default state of output 6Read & WriteDefault state of output 6
1991980x0C6Default state of output 7Read & WriteDefault state of output 7
2001990x0C7Default state of output 8Read & WriteDefault state of output 8
108018000x320Input 1ReadInput 1 state
108028010x321Input 2ReadInput 2 state
108038020x322Input 3ReadInput 3 state
108048030x323Input 4ReadInput 4 state
108058040x324Input 5ReadInput 5 state
108068050x325Input 6ReadInput 6 state
108078060x326Input 7ReadInput 7 state
108088070x327Input 8ReadInput 8 state
8178160x330Output 1Read & WriteOutput 1 state
8188170x331Output 2Read & WriteOutput 2 state
8198180x332Output 3Read & WriteOutput 3 state
8208190x333Output 4Read & WriteOutput 4 state
8218200x334Output 5Read & WriteOutput 5 state
8228210x335Output 6Read & WriteOutput 6 state
8238220x336Output 7Read & WriteOutput 7 state
8248230x337Output 8Read & WriteOutput 8 state
211321120x840Capture 1Read & WriteCapture counter 1
211421130x841Capture 2Read & WriteCapture counter 2
211521140x842Capture 3Read & WriteCapture counter 3
211621150x843Capture 4Read & WriteCapture counter 4
211721160x844Capture 5Read & WriteCapture counter 5
211821170x845Capture 6Read & WriteCapture counter 6
211921180x846Capture 7Read & WriteCapture counter 7
212021190x847Capture 8Read & WriteCapture counter 8
Modbus AddressDec AddressHex AddressRegister nameAccessDescription
212921200x848Captured 1Read & WriteCaptured value of counter 1
213021290x849Captured 2Read & WriteCaptured value of counter 2
213121300x84ACaptured 3Read & WriteCaptured value of counter 3
213221310x84BCaptured 4Read & WriteCaptured value of counter 4
213321320x84CCaptured 5Read & WriteCaptured value of counter 5
213421330x84DCaptured 6Read & WriteCaptured value of counter 6
213521340x84ECaptured 7Read & WriteCaptured value of counter 7
213621350x84FCaptured 8Read & WriteCaptured value of counter 8

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.aspar-SDM-8I8O-8-Digital-Inputs-or-Output-Expansion-Module-fig 8

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.aspar-SDM-8I8O-8-Digital-Inputs-or-Output-Expansion-Module-fig 9

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

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