Product Description #

The RevPi DIO is an expansion module of the Revolution Pi product family and has 14 digital inputs and 14 digital outputs for connecting actuators and sensors.

Components #

revpi-dio-aufbau
Position Component Application

1

X2 connector

Connecting the Power Supply

2

3 × status LED

LEDs

3

14 × digital output
14 × digital output

Pinout,
Digital Inputs and Outputs

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 DIO has 28 GPIO interfaces, including 14 inputs and 14 outputs.

The pins on the connector are assigned as follows:

revpi-dio-pinout

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.

OUT #

Signal Function

Off

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

Green

Outputs are ready for operation.

Flashes red

Error at the outputs.

Red

No or too low supply voltage.

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 DIO (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 DIO and for the inputs and outputs.

Connecting the Power Supply #

Power supply Connection RevPi DIO #

The power supply of the RevPi DIO expansion module requires cabling via 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 DIO requires 1.5 W plus the power consumption of the connected sensors and actuators.

Power supply Connection Inputs and outputs #

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 power supply for the inputs and outputs on the RevPi DIO requires cabling via the X2 connector. Inputs and outputs are galvanically isolated. Connected sensors and actuators can be supplied with 12 … 24 V directly via the inputs and outputs of the RevPi DIO. A maximum of 12 W additional power may be used per connection.

Pin Function X2 connector

1

24 V supply for the outputs

revpi-dio-power-supply

2

Ground for the outputs

3

Ground for the inputs

4

24 V supply for the inputs

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), outputs (OUT) and memory variables (MEM) can be configured:

I_1 … 14 (INP) #

Shows the current values of the inputs (bits 0 … 13).

I_15 and I_16 are not used.

Output_Status (INP) #

Displays the current status of outputs 1 … 14 (bits 0 … 13).

  • 1: Error at the output (e.g. overtemperature or overload)

  • 0: no error

Status (INP) #

Displays the status of the expansion module.

Bit Function

0

No communication to the input IC

1

Undervoltage UV1 < 7 Vc
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

8

No communication to the output IC

9

CRC reports error on output IC.

10

Error message output module

11 … 15

 — 

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.

O_1 … 14 (OUT) #

Bits 0 … 13 show the current values of outputs 1 … 14.

PWM_1 … 14 (OUT) #

Shows current PWM values in % for outputs 1 … 14.

Only valid if the PWM function is enabled for the respective output.

InputMode_1 … 14 (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) #

OutputPushPull (MEM) #

Operates outputs in push-pull or highside mode.

OutputOpenLoadDetect (MEM) #

Activates / deactivates the open-load detection.

OutputPWMActive (MEM) #

Activates outputs for PWM, see Activating PWM.

OutputPWMFrequency (MEM) #

Defines the PWM frequency for all outputs, see Activating PWM.

Technical Data #

Item No.: 100197

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

  • 2 × 4-pole screw-type terminals for power supply

  • 2 × 14-pin spring clamp connectors (0.2 … 1.5 mm2) 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

14

Input type

Galvanically isolated from the system bus and from the outputs, 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.

Number of digital output channels

14

Output type

Galvanically isolated from the system bus and the inputs, individually configurable as direct digital output with high-side or push-pull drivers as well as a PWM output.[3]

Maximum current per output

500 mA (high-side mode), 100 mA (push-pull mode)

PWM frequency

Collectively selectable for all outputs: 40 Hz, 80 Hz, 160 Hz, 200 Hz, 400 Hz

Alarm

Thermal shutdown or short circuit of outputs (individually for each output)

Dual watchdog function

In the event of communication failure with the controller (after 50 ms or 500 ms[4]) or internal communication failure with the CPU (after 9 ms, hardware-controlled), the outputs are reset to zero.

Output protection

According to EN 61131-2 (IEC 61000-4-4, -5, -6, and -2) against short circuit, overload, burst, ESD.

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

EMC interference emission

According to EN 61000-6-4

EMC immunity

According to EN 61000-6-2

RoHS conformity

Yes

CE conformity

Yes

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. Three independent power supply sources must be available for galvanic isolation of inputs and outputs.
2. For each RevPi DIO, 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.
3. The PWM pulse width is stored as a value from 0 to 100 in the process image in 1 byte. The maximum resolution of the conversion of this value in % by the module depends on the PWM frequency: 40 Hz / 1%, 80 Hz / 2%, 160 Hz / 4%, 200 Hz / 5%, 400 Hz / 10%.
4. 50 ms for all RevPi DIO with software version 1.4 or older. 500 ms for all RevPi DIO with software version 1.5 or newer.