Skip to main content

RevPi DO

Product Description

The RevPi DO is an expansion module of the Revolution Pi family with 16 digital outputs.

Components

revpi-do-aufbau

PositionComponentApplication
1X2 connectorConnecting the Power Supply
22 × status LEDLEDs
316 × digital outputPinoutDigital Outputs
4X4 connectorConnecting the Power Supply
5Locking clampsMounting the Device on a DIN Rail
6Ventilation SlotsMounting the Device on a DIN Rail
72 × PiBridgeConnecting Expansion Modules

Pinout

The RevPi DO has 16 GPIO interfaces as outputs.

Pins 13 to 28 on the connector are assigned as follows:

revpi-do-pinout

Pins 1 to 12 are not assigned and cannot be used.

For the configuration, see Configuring RevPi DO in the PiCtory Value Editor .

LEDs

The LEDs indicate different device statuses.

Power
SignalFunction
GreenThe connection to the RevPi base module is established.
Flashes redThe connection to the RevPi base module is being established (initialization phase).
RedThe connection to the RevPi base module is interrupted.
OUT
SignalFunction
OffThe connection to the RevPi base module is not yet established (initialization phase).
GreenOutputs are ready for operation.
Flashes redError at the outputs.
RedNo or too low supply voltage.

Compatible Base Modules

  • RevPi Connect 5
  • RevPi Connect 4
  • RevPi Connect SE (left side only)
  • RevPi Connect+ (left side only)
  • RevPi Connect S (left side only)
  • RevPi Core (all variants)

See Rules for the Arrangement of Devices.

Scope of Delivery

The scope of delivery includes

  • RevPi expansion module
  • PiBridge connector
  • X2 connector
  • X4 connector
  • 2 × 14-pin I/O module
  • 2 × cover plug for PiBridge

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 electric shock

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

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

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

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

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

  4. As last step connect the power supply for the RevPi DO and for the digital outputs.

Connecting the Power Supply

Power supply Connection RevPi DO

The power supply of the RevPi DO 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 DO requires 1.5 W plus the power consumption of the connected devices.

Power Supply Connection Outputs via X2

note

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 connected devices can be supplied with 12 ... 24 V directly via the RevPi DO. A maximum of 12 W additional power may be used per connection. This power supply requires cabling via the X2 connector:

revpi-do-power-supply

PinFunction
1
2
3Ground for the outputs
424 V supply for the outputs

Configuration

The RevPi expansion modules are configured via the System Configuration with PiCtory.

Configuring RevPi DO in PiCtory

The RevPi DO has 16 outputs for outputting signals. These can be configured in PiCtory’s Value Editor.

Mind the Pinout.

▷ Start PiCtory.

▷ Insert the RevPi DO from the Device Catalog > I/O Devices into the correct slot in the Revolution Pi system on the Configuration Board.

▷ If necessary, adjust the basic configuration of the RevPi DO under Device Data.

▷ Configure the settings In the Value Editor (see below).

▷ Save the configuration via File > Save as Start-Config..

▷ Restart the driver via Tools > Reset Driver.

OUT Output Values

ParameterOffsetDescription
O_1 … 1670Bits 0 ... 15 show the current values of outputs 1 ... 16.
With data schema 17, all values are displayed in a 16-bit value Output.
PWM_1 … 1672Current PWM values in % for outputs 1 ... 16.
Only valid if the PWM function is enabled for the respective output.

INP Input Values

ParameterOffsetDescription
Output_Status2Displays the current status of outputs 1 ... 16 (bits 0 ... 15).
1: Error at the output (overtemperature, overload, etc.)
0: no error
Status4Displays the status of the extension module.
Bit 0… 7: not used.
Bit 8: No communication to the output IC.
Bit 9: CRC error on output IC.
Bit 10: Error message output module.
Bit 11 ... 15: not used

MEM Memory Values

OutputPushPullOffset: 106Operate outputs in pushpull or highside mode.
OutputOpenLoadDetectOffset: 108Activate / deactivate open-load detection.
OutputPWMActiveOffset: 110Activate outputs for PWM.
OutputPWMFrequencyOffset: 112Define PWM frequency for all outputs.

Activating PWM (Pulse Width Modulation)

Optionally, a PWM function can be activated for each of the 16 outputs. With PWM, instead of one bit per channel, a whole byte value from 0 ... 100 is output, which defines the pulse width at the output in %. The PWM function is useful for controlling parts of quantities, e.g. regulating a water supply or dimming lights.

▷ In the Value Editor under MEM OutputPWMActive , define for which of the 16 outputs the PWM should be activated.
Example: If PWM is to be activated for outputs 1 and 2, enter the decimal value 3.

     ❯ This means that the corresponding outputs PWM_1 and PWM_2 can now be used instead of the outputs O_1 and O_2 .

▷ Under MEM OutputPWMFrequency , specify the frequency at which the PWM signal is to be generated. A PWM frequency can be set for each RevPi expansion module:

PWM FrequencyDuty Cycle
40 Hz1%
80 Hz2%
160 Hz4%
200 Hz5%
400 Hz10%

▷ For the outputs OUT PWM_1 ... 16 activated as PWM, enter the required PWM value in %.

▷ Save the configuration via File > Save as Start-Config..

▷ Restart the driver via Tools > Reset Driver .

As an alternative, use piTest to address the PWM outputs with the command -w.