aspar - logoRS485 MODBUS Module 16O
Expansion Module – 16 digital outputs
Version 1.3

User Manual

aspar RS485 8 Analogue Universal Inputs - cover

CE SYMBOLManufactured foraspar - logo

RS485 8 Analogue Universal Inputs

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

aspar RS485 8 Analogue Universal Inputs - icon 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

16O Module is an innovative device that provides a simple and cost-effective extension of the number of outputs in popular PLCs.
The module has 16 digital outputs. All inputs and outputs are isolated from the logic of using optocouplers.
The module is produced in two versions with PNP and NPN outputs:

Mark Output type
16O-PNPPNP
16O-NPNNPN

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 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; 10-28VAC
Maximum Current’180 mA @ 12V / 100 mA @ 24V
Digital OutputsNo of outputs16
Max Voltage30V
Max current500mA
Output TypePNP or NPN (depends on version)
TemperatureWork-10 °C – +50°C
Storage-40 °C – +85°C
ConnectorsPower Supply2 pin
Communication3 pin
Outputs10 pin
Quick connectorIDC10
ConfigurationMini USB
SizeHeight120 mm
Length101 mm
Width22,5 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. 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 RS485 8 Analogue Universal Inputs - Module Features

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 31. Addresses From 32 to 255 can by set via RS485 or USB.

aspar RS485 8 Analogue Universal Inputs - Communication configuration

Types of Modbus Registers

There are 4 types of variables available in the module

TypeBeginning addressVariableAccessModbus Command
100001Digital OutputsBit Read & Write1′ 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 SW6 (see 3.5.2 – Restore the default configuration)

Baud rate19200
ParityNo
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 SW6
  • turn on the power
  • when power and communication LED flash turn off the switch SW6

Caution! After restoring the default configuration all values stored in the registers will be cleared as well.

Configuration registers

ModbusDecHexNameValues
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

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

Indicators

aspar RS485 8 Analogue Universal Inputs - Indicators

IndicatorDescription
Power supplyLED indicates that the module is correctly powered.
CommunicationThe LED lights up when the unit received the correct packet and sends the answer.
Outputs stateLED indicates that the output is on.

Module Connection – PNP outputs

aspar RS485 8 Analogue Universal Inputs - Module Connection

Module Connection – NPN outputs

aspar RS485 8 Analogue Universal Inputs - Module Connection 2

Switches

aspar RS485 8 Analogue Universal Inputs - Module Connection 3

SwitchFunctionDescription
1Module address +1Setting module address from 0 to 31
2Module address +2
3Module address +4
4Module address +8
5Module address +16
6Restoring default settingsRestoring default settings (see 3.5.1 – Default settings and 3.5.2 – Restore the default configuration).

Modules Registers

Registered access
ModbusDecHexRegister NameAccessDescription
300010Ox00Version/TypeReadVersion and Type of the device
300021Ox01SwitchesReadSwitches state
4000320x02Baud rateRead & WriteRS485 baud rate
4000430x03Stop Bits & Data BitsRead & WriteNo of Stop bits & Data Bits (see 3.5.3)
4000540x04ParityRead & WriteParity bit
4000650x05Response DelayRead & WriteResponse delay in ms
4000760x06Modbus ModeRead & WriteModbus Mode (ASCII or RTU)
4000980x08WatchdogRead & WriteWatchdog
4001312OxOCDefault Output StateRead & WriteDefault output state (after power on or
watchdog reset)
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
40052510x33OutputsRead & WriteOutput state
Bit access
Modbus
Address
Dec 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
2012000x0C8Default state of output 9Read & WriteDefault state of output 9
2022010x0C9Default state of output 10Read & WriteDefault state of output 10
2032020x0CADefault state of output 11Read & WriteDefault state of output 11
2042030x0CBDefault state of output 12Read & WriteDefault state of output 12
2052040x0CCDefault state of output 13Read & WriteDefault state of output 13
2062050x0CDDefault state of output 14Read & WriteDefault state of output 14
2072060x0CEDefault state of output 15Read & WriteDefault state of output 15
2082070x0CFDefault state of output 16Read & WriteDefault state of output 16
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
8258240x338Output 9Read & WriteOutput 9 state
8268250x339Output 10Read & WriteOutput 10 state
8278260x33AOutput 11Read & WriteOutput 11 state
8288270x33BOutput 12Read & WriteOutput 12 state
8298280x33COutput 13Read & WriteOutput 13 state
8308290x33DOutput 14Read & WriteOutput 14 state
8318300x33EOutput 15Read & WriteOutput 15 state
8328310x33FOutput 16Read & WriteOutput 16 state

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 RS485 8 Analogue Universal Inputs - Configuration software

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

aspar RS485 8 Analogue Universal Inputs - Configuration software 2

aspar RS485 8 Analogue Universal Inputs - icon 2Manufactured 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

aspar - logoExpansion Module– 16 digital outputs
User Manual
Version 1.3

Documents / Resources

aspar RS485 8 Analogue Universal Inputs [pdf] User Manual
RS485 8 Analogue Universal Inputs, RS485, 8 Analogue Universal Inputs, Analogue Universal Inputs, Universal Inputs, Inputs

References

Leave a comment

Your email address will not be published. Required fields are marked *