User Manual for aspar models including: SDM-8I8O, 8 Digital Inputs or Output Expansion Module, SDM-8I8O 8 Digital Inputs or Output Expansion Module, Digital Inputs or Output Expansion Module, Inputs or Output Expansion Module, Expansion Module, Module
SDM-8I8O User Manual Expansion Module – 8 digital inputs, 8 digital outputs User Manual Version 1.4 2 z 18 Thank you for choosing our product. This manual will help you with proper support and proper operation of the device.
Ampero MODBUS I/O Modules SDM-8I8O - All-DAQ
File Info : application/pdf, 18 Pages, 1.06MB
DocumentDocumentSDM-8I8O Expansion Module 8 digital inputs, 8 digital outputs Version 1.5 User Manual Manufactured for SDM-8I8O User Manual 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. Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 2 z 18 SDM-8I8O User Manual 1. 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 2. Module Features 2.1. Purpose and description of the module The SDM-8I8O module is an innovative device that provides a simple and costeffective 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. Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 3 z 18 SDM-8I8O User Manual 2.2. Technical Specifications Power Supply Digital Inputs Digital Outputs Isolation Counters Temperature Connectors Size Interface Voltage 10-30 VDC; 10-28VAC Maximum Current* DC: 100 mA @ 24VDC AC: 125 mA @ 24VAC Maximum power consumption DC: 2.4W; AC: 3VA No of inputs 8 Voltage range 0 36V Low State ,,0" 0 3V High State ,,1" 6 36V Input impedance 4k Isolation 1500 Vrms Input Type PNP lub NPN No of outputs 8 Max Voltage 30V Max current 500mA Output Type PNP Output protection 4A polymer fuse 1500 Vrms No 8 Resolution 32 bity Frequency 1kHz (max) Impulse Width 500 s (min) Work -10 °C - +50°C Storage -40 °C - +85°C Power Supply 2 pins Communication 3 pins Inputs 10 pins Outputs 10 pins Configuration Mini USB Height 110 mm Length 62 mm Width 88 mm RS485 Do 128 urzdze * Maximum current with active Modbus transmission, all outputs on and high state on all inputs Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 4 z 18 SDM-8I8O User Manual 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. 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. 91 45 42,3 35 110 88 6 2 4 8 , 5 6 110 Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 5 z 18 SDM-8I8O User Manual 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. 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. 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. Switch 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 Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 6 z 18 SDM-8I8O User Manual 3.4. 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 3.5. 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.5.1. 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 3.5.2. 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. Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 7 z 18 SDM-8I8O User Manual 3.5.3. Configuration registers Modbus Dec Hex 40003 2 0x02 40005 4 0x04 40004 40004 40006 40007 3 0x03 3 0x03 5 0x05 6 0x06 Name Baud rate Parity Stop Bits LSB Data Bits MSB Response delay Modbus Mode Values 0 2400 1 4800 2 9600 3 19200 4 38400 5 57600 6 115200 other value * 10 0 none 1 odd 2 even 3 always 1 4 always 0 1 one stop bit 2 two stop bit 7 7 data bits 8 8 data bits Time in ms 0 RTU 1 ASCII 3.5.4. 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 Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 8 z 18 4. Switches SDM-8I8O User Manual ON 12 3 4 5 6 7 8 Switch 1 2 3 4 5 6 7 8 Function Module address +1 Module address +2 Module address +4 Module address +8 Module address +16 Module address +32 Module address +64 Restoring default settings Description Setting module address from 0 to 127 Restoring default settings (see 3.5.1 - Default settings i 3.5.2 - Restore the default configuration). Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 9 z 18 SDM-8I8O User Manual 5. 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. Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 10 z 18 6. Indicators Inputs 1 8 state SDM-8I8O User Manual Communication ON 12 3 4 5 6 7 8 Outputs 1 8 state mini USB configuration connector Power supply 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. Outputs state LED indicates that the output is on. Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 11 z 18 7. Module Connection 7.1. Digital inputs Sink input, PNP Source input, NPN SDM-8I8O User Manual Connection of encoder 7.2. Digital outputs Sink output, PNP Connection of relay 7.3. Communication, power supply Communication Power supply, DC Voltage 24VDC Power supply, AC voltage 24VAC Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 12 z 18 SDM-8I8O User Manual 8. Modules Registers 8.1. Registered access Modbus Dec Hex Register Name 30001 0 0x00 Version/Type 30002 1 0x01 Switches 40003 2 0x02 Baud rate 40004 3 0x03 Stop Bits & Data Bits 40005 4 0x04 Parity 40006 5 0x05 Response Delay 40007 6 0x06 Modbus Mode 40009 8 0x08 Watchdog Access Read Read Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write 40013 12 0x0C Default Output State Read & Write 40033 40034 40035 40036 40037 40038 30051 40052 40053 40054 40055 40056 40057 40058 40059 40060 40061 40062 40063 40064 40065 40066 40067 40068 32 0x20 Received packets LSB Read & Write 33 0x21 Received packets MSB Read & Write 34 0x22 Incorrect packets LSB Read & Write 35 0x23 Incorrect packets MSB Read & Write 36 0x24 Sent packets LSB Read & Write 37 0x25 Sent packets MSB Read & Write 50 0x32 Inputs Read 51 0x33 Outputs Read & Write 52 0x34 Counter 1 LSB Read & Write 53 0x35 Counter 1 MSB Read & Write 54 0x36 Counter 2 LSB Read & Write 55 0x37 Counter 2 MSB Read & Write 56 0x38 Counter 3 LSB Read & Write 57 0x39 Counter 3 MSB Read & Write 58 0x3A Counter 4 LSB Read & Write 59 0x3B Counter 4 MSB Read & Write 60 0x3C Counter 5 LSB Read & Write 61 0x3D Counter 5 MSB Read & Write 62 0x3E Counter 6 LSB Read & Write 63 0x3F Counter 6 MSB Read & Write 64 0x40 Counter 7 LSB Read & Write 65 0x41 Counter 7 MSB Read & Write 66 0x42 Counter 8 LSB Read & Write 67 0x43 Counter 8 MSB Read & Write Description Version and Type of the device Switches state RS485 baud rate No of Stop bits & Data Bits Parity bit Response delay in ms Modbus Mode (ASCII or RTU) Watchdog Default output state (after power on or watchdog reset) No of received packets No of received packets with error No of sent packets Inputs state Output state 32-bit counter 1 32-bit counter 2 32-bit counter 3 32-bit counter 4 32-bit counter 5 32-bit counter 6 32-bit counter 7 32-bit counter 8 Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 13 z 18 SDM-8I8O User Manual Modbus Dec 40085 84 40086 85 40087 86 40088 87 40089 88 40090 89 40091 90 40092 91 40093 92 40094 93 40095 94 40096 95 40097 96 40098 97 40099 98 40100 99 40117 116 40118 117 40119 118 40120 119 40121 120 40122 121 40123 122 40124 123 40133 132 40134 133 Hex Register Name 0x54 CCounter 1 LSB 0x55 CCounter 1 MSB 0x56 CCounter 2 LSB 0x57 CCounter 2 MSB 0x58 CCounter 3 LSB 0x59 CCounter 3 MSB 0x5A CCounter 4 LSB 0x5B CCounter 4 MSB 0x5C CCounter 5 LSB 0x5D CCounter 5 MSB 0x5E CCounter 6 LSB 0x5F CCounter 6 MSB 0x60 CCounter 7 LSB 0x61 CCounter 7 MSB 0x62 CCounter 8 LSB 0x63 CCounter 8 MSB 0x74 Counter Config 1 0x75 Counter Config 2 0x76 Counter Config 3 0x77 Counter Config 4 0x78 Counter Config 5 0x79 Counter Config 6 0x7A Counter Config 7 0x7B Counter Config 8 0x84 Catch 0x85 Status Access Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Read & Write Description 32-bit value of captured counter 1 32-bit value of captured counter 2 32-bit value of captured counter 3 32-bit value of captured counter 4 32-bit value of captured counter 5 32-bit value of captured counter 6 32-bit value of captured counter 7 32-bit value of captured counter 8 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) Catch counter Captured counter Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 14 z 18 8.2. Bit access SDM-8I8O User Manual Modbus Dec Hex Address Address Address Register name Access 193 192 0x0C0 Default state of output 1 Read & Write 194 193 0x0C1 Default state of output 2 Read & Write 195 194 0x0C2 Default state of output 3 Read & Write 196 195 0x0C3 Default state of output 4 Read & Write 197 196 0x0C4 Default state of output 5 Read & Write 198 197 0x0C5 Default state of output 6 Read & Write 199 198 0x0C6 Default state of output 7 Read & Write 200 199 0x0C7 Default state of output 8 Read & Write 10801 800 0x320 Input 1 Read 10802 801 0x321 Input 2 Read 10803 802 0x322 Input 3 Read 10804 803 0x323 Input 4 Read 10805 804 0x324 Input 5 Read 10806 805 0x325 Input 6 Read 10807 806 0x326 Input 7 Read 10808 807 0x327 Input 8 Read 817 816 0x330 Output 1 Read & Write 818 817 0x331 Output 2 Read & Write 819 818 0x332 Output 3 Read & Write 820 819 0x333 Output 4 Read & Write 821 820 0x334 Output 5 Read & Write 822 821 0x335 Output 6 Read & Write 823 822 0x336 Output 7 Read & Write 824 823 0x337 Output 8 Read & Write 2113 2112 0x840 Capture 1 Read & Write 2114 2113 0x841 Capture 2 Read & Write 2115 2114 0x842 Capture 3 Read & Write 2116 2115 0x843 Capture 4 Read & Write 2117 2116 0x844 Capture 5 Read & Write 2118 2117 0x845 Capture 6 Read & Write 2119 2118 0x846 Capture 7 Read & Write 2120 2119 0x847 Capture 8 Read & Write Description Default state of output 1 Default state of output 2 Default state of output 3 Default state of output 4 Default state of output 5 Default state of output 6 Default state of output 7 Default state of output 8 Input 1 state Input 2 state Input 3 state Input 4 state Input 5 state Input 6 state Input 7 state Input 8 state Output 1 state Output 2 state Output 3 state Output 4 state Output 5 state Output 6 state Output 7 state Output 8 state Capture counter 1 Capture counter 2 Capture counter 3 Capture counter 4 Capture counter 5 Capture counter 6 Capture counter 7 Capture counter 8 Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 15 z 18 SDM-8I8O User Manual Modbus Dec Hex Address Address Address Register name 2129 2120 0x848 Captured 1 2130 2129 0x849 Captured 2 2131 2130 0x84A Captured 3 2132 2131 0x84B Captured 4 2133 2132 0x84C Captured 5 2134 2133 0x84D Captured 6 2135 2134 0x84E Captured 7 2136 2135 0x84F Captured 8 Access Description Read & Write Captured value of counter 1 Read & Write Captured value of counter 2 Read & Write Captured value of counter 3 Read & Write Captured value of counter 4 Read & Write Captured value of counter 5 Read & Write Captured value of counter 6 Read & Write Captured value of counter 7 Read & Write Captured value of counter 8 Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 16 z 18 SDM-8I8O User Manual 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. USB PC 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. Expansion Module 8 digital inputs, 8 digital outputs User Manual Version 1.5 17 z 18 SDM-8I8O User Manual Table of Contents 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.........................................................................................................6 3.1. Grounding and shielding..........................................................................................................6 3.2. Network Termination...............................................................................................................6 3.3. Setting Module Address in RS485 Modbus Network..............................................................6 3.4. Types of Modbus Registers......................................................................................................7 3.5. Communication settings..........................................................................................................7 3.5.1. Default settings................................................................................................................7 3.5.2. Restore the default configuration.....................................................................................7 3.5.3. Configuration registers.....................................................................................................8 3.5.4. Watchdog function...........................................................................................................8 4. Switches...........................................................................................................................................9 5. Front panel removing....................................................................................................................10 6. Indicators.......................................................................................................................................11 7. Module Connection.......................................................................................................................12 7.1. Digital inputs..........................................................................................................................12 7.2. Digital outputs........................................................................................................................12 7.3. Communication, power supply..............................................................................................12 8. Modules Registers.........................................................................................................................13 8.1. Registered access...................................................................................................................13 8.2. Bit access...............................................................................................................................15 9. Configuration software..................................................................................................................17 Expansion Module 8 digital inputs, 8 digital outputs User Manual 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 Version 1.5 18 z 18