Product Description #

The RevPi DI is an expansion module of the Revolution Pi product family with 16 digital inputs.

Components #

revpi-di-aufbau
Position Component Application

1

X2 connector

Connecting the Power Supply

2

2 × status LED

LEDs

3

16 × digital input

Pinout,
Digital Inputs

4

X4 connector

Connecting the Power Supply

5

Locking clamps

Mounting the Device on a DIN Rail

6

Ventilation Slots

Mounting the Device on a DIN Rail

7

2 × PiBridge

Connecting Expansion Modules

Pinout #

The RevPi DI has 16 GPIO interfaces as inputs.

Pins 1 to 16 on the connector are assigned as follows:

revpi-di-pinout

Pins 17 to 28 are not assigned and cannot be used.

For details on configuration, see Parameterization.

LEDs #

The LEDs indicate different device statuses.

Power #

Signal Function

Green

The connection to the RevPi base module is established.

Flashes red

The connection to the RevPi base module is being established (initialization phase).

Red

The connection to the RevPi base module is interrupted.

IN #

Signal Function

Off

The connection to the RevPi base module is not yet established (initialization phase).

Green

Inputs are ready for operation.

Flashes red

Error at the inputs.

Red

No or too low supply voltage.

Compatible Base Modules #

Left side only:

Scope of Delivery #

The scope of delivery includes

  • RevPi DI (expansion module)

  • PiBridge plug connector

  • X2 connector

  • X4 connector

  • 2 × 14-pole I/O connector

  • Supplement

Mounting and Connecting #

The RevPi was developed for use in a control cabinet. Observe the specifications for the Intended Use and all Safety Instructions.

Warning
Danger to life due to electrical shock

There is a risk of fatal electrical shock when working on devices in the switch cabinet with 230 V mains voltage.

▷ Operations in the switch cabinet may only be carried out by qualified electricians.

▷ Before carrying out any operations in the switch cabinet, switch off the power supply properly.

Caution
Damage to the device due to overheating

The ambient temperature in the switch cabinet must not exceed the maximum permissible operating temperature.

▷ Keep ventilation slots clear.

▷ Observe the installation clearances.

▷ Mount the device in the intended orientation.

▷ Do not place appliances with high input power directly next to each other.

▷ Regularly remove dust and dirt from the area around the appliance.

Carry out the mounting and connection in the following order:

  1. Mount the RevPi base module and all expansion modules on a DIN rail.

  2. Connect the expansion module via the PiBridge plug connector.

  3. Connect all other devices such as sensors and actuators.

  4. As last step connect the power supply for the RevPi DI and for the digital inputs.

Connecting the Power Supply #

The RevPi DI has two separate power supplies. In addition to the power supply for the device via the X4 connector, a separate power supply is required for the inputs via the X2 connector.

Power supply Connection RevPi DI #

The RevPi DI is powered via the cabling on the X4 connector, see Connecting the Power Supply.

This power supply can be provided via the X4 connector of the RevPi base module from the same power source. The RevPi DI requires 1.5 W.

Power Supply Connection Inputs #

Caution
Damage to the device due to different grounding

▷ Refer all connections to the same system ground.

▷ Connect external voltage inputs or outputs with different grounding externally.

The inputs are powered via the cabling on the X2 connector.

Pin Function

24V

24 V supply for the inputs

0V

0 V supply for the inputs

The connected devices can be supplied with 12 … 24 V directly via the RevPi DI. A maximum of 12 W additional power may be used per connection.

[#configuration] == Configuration

An expansion module is configured as part of the module configuration of the Revolution Pi system, i.e. a RevPi base module with expansion modules. This is possible via the application PiCtory or, if applicable, directly in the development environment, e.g. via CODESYS.

[NOTE] ==== CODESYS and PiCtory cannot be used in parallel for configuration. An existing configuration via PiCtory will be overwritten by a configuration via CODESYS.

The virtual devices OPC UA Server and MQTT Client can only be used via PiCtory. ====

=== Parameterization

The following parameters, inputs (INP) and memory variables (MEM) can be configured:

==== I_1 … 16 (INP) Shows the current values of the inputs 1 … 16 (bits 0 … 15).

==== Status (INP) Displays the status of the expansion module.

[width="80%",cols="1,4,options="header"]

| Bit | Function

|0 |No communication to the input IC

|1 |Undervoltage UV1 < 7 V
input 1 … 8

|2 |Undervoltage UV2 < 14 V
input 1 … 8

|3 |Overtemperature > 135 °C
input 1 … 8

|4 |Undervoltage UV1 < 7 V
input 9 … 16

|5 |Undervoltage UV2 < 14 V
input 9 … 16

|6 |Overtemperature > 135 °C
input 9 … 16

|7 |Error message input module

==== Counter_1 … 15 (INP)

Optionally, configures the inputs as encoders and activates a counter function.

A 32-bit value is entered in the process image for each counter. The current counter value is returned as signed 32-bit value.

==== InputMode_1 … 16 (MEM)

Selects the mode for each input.

* Direct: Current value at the input is displayed. * Counter, rising edge: Rising edges are counted at the input. * Counter, falling edge: Falling edges are counted at the input. * Encoder: Use inputs as encoders, see Configuring Encoder.

==== InputDebounce (MEM)

//// ==== Configuring Counter

Optionally set a counter function for each input, e.g. how often a button has been pressed. A 32-bit value is entered in the process image for each counter. The current counter value is returned as signed 32-bit value.

==== Configuring Encoder

Two inputs together can be configured as encoders (rotary encoders), e.g. to control parts of quantities in combination with the PWM function. A maximum of five encoders per RevPi DI can be used.

The inputs must always be used in pairs, starting with an odd-numbered input, e.g. input 1 and 2 or input 3 and 4.

▷ Set the value to Encoder under MEM InputMode . The subsequent input is thus automatically also configured as an Encoder.

❯❯ The current encoder value is returned as signed 32-bit value in the first input. ////

:product: RevPi DI :version: V 1.7

== Technical Data Item No.: 100195

[cols="1,2"]

| Housing dimensions (H × W × D) | 96 × 22.5 × 110.5 mm

| Housing type | DIN rail housing (for DIN rail version EN 50022)

| Housing material | Polycarbonate

| Weight | Approx. 100 g / 130 g (incl. connectors)

| IP Code | IP20

| Power supply | 12 … 24 V DC -5 % / +20 % (X2 and X4)[1]

| Max. power consumption | 1.5 W (X4/power supply)

| Operating temperature | -40 … +55 °C

| Storage temperature | -40 … +85 °C

| Humidity (at 40 °C) | 93 % (non-condensing)

| Connectors a| * 2 × 4-pole screw-type terminals for power supply * 2 × 14-pin spring clamp connectors (0.2 … 1.5 mm²) for IOs, pitch 3.5 mm (Wieland Item No. 27.630.4453.0)

| Optical indicator | 3 status LEDs (bi-color)

| Number of digital input channels | 16

| Input type | Galvanically isolated from the system bus, individually configurable as direct digital input, counter rising edge, counter falling edge, or together with neighboring input as encoder.[2]

| Input current limitation | 2.4 mA (at 24 V power supply)

| Input thresholds | At 24 V compatible according to EN 61131-2 to Type I and III sensors.

| Digital debounce circuit | Collectively adjustable for all inputs: off, 25 μs, 750 μs or 3 ms.

| Maximum frequency resolution of the counter inputs | 2 kHz (corresponding to 500 Hz encoder sequence)

| Alarm | For auxiliary voltages below 19 V and below 9 V, overtemperature.

| Input protection | According to EN 61131-2 (IEC 61000-4-4, -5, -6, and -2) against burst, RF injection, external voltages -3 … +36 V.

| Compatible modules for system expansion | All RevPi base modules, expansion modules, and RevPi Gate modules (connected via overhead PiBridge connector).

| Protection of the power supply inputs | Reverse polarity protected, transient overvoltages.

| Surge/Burst tests | Passed (according to EN 61131-2 and IEC 61000-6-2)

| Conformity | CE, RoHS

| UL certification | Yes, UL-File-No. E494534
Note: The device may only be supplied from circuits that comply with Class 2 or Safety Extra Low Voltage (SELV) according to Class 9.4 of UL 61010-1.


1. Two independent power supply sources must be available for galvanic isolation of the inputs.
2. For each module, a maximum of 6 inputs can be defined as 6 counters or 12 inputs as 6 decoders. Counters and decoders are stored as 32-bit integers in the process image. Reset of counters/encoders via ioctl calls from the kernel driver piControl.