<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cpr-robots.com/index.php?action=history&amp;feed=atom&amp;title=Digital_Inputs_%2F_Outputs</id>
	<title>Digital Inputs / Outputs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cpr-robots.com/index.php?action=history&amp;feed=atom&amp;title=Digital_Inputs_%2F_Outputs"/>
	<link rel="alternate" type="text/html" href="https://wiki.cpr-robots.com/index.php?title=Digital_Inputs_/_Outputs&amp;action=history"/>
	<updated>2026-05-01T22:19:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.cpr-robots.com/index.php?title=Digital_Inputs_/_Outputs&amp;diff=38&amp;oldid=prev</id>
		<title>OLT: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.cpr-robots.com/index.php?title=Digital_Inputs_/_Outputs&amp;diff=38&amp;oldid=prev"/>
		<updated>2025-08-11T10:13:17Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:13, 11 August 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>OLT</name></author>
	</entry>
	<entry>
		<id>https://wiki.cpr-robots.com/index.php?title=Digital_Inputs_/_Outputs&amp;diff=37&amp;oldid=prev</id>
		<title>cpr&gt;Mab at 12:17, 21 June 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.cpr-robots.com/index.php?title=Digital_Inputs_/_Outputs&amp;diff=37&amp;oldid=prev"/>
		<updated>2024-06-21T12:17:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The control electronics come with a digital input / output module (DIO Module). This page shows how to connect actuators, valves or sensors to the module. &lt;br /&gt;
&lt;br /&gt;
The DIO module provides 7 digital inputs and 7 digital outputs. The inputs are electrically decoupled from the control electronics by an optocoupler and accept 24V input signals.&lt;br /&gt;
* The outputs are solid state relays which can switch up to 500 mA per channel. The DIO module does not provide its own supply voltage for the DIOs. &lt;br /&gt;
* The inputs are optocouplers which can detect a 24 V Signal. Signal and signal ground needs to be connected to the DIO Module.&lt;br /&gt;
&lt;br /&gt;
Please note: the integrated DIO modules of the igus ReBeL are not electrically decoupled from the control electronics, they share 24V and GND from the power supply.&lt;br /&gt;
&lt;br /&gt;
Indicators: When the state of a sensor input or an output changes the yellow LED on the top blinks once.&lt;br /&gt;
&lt;br /&gt;
==Electrical connections==&lt;br /&gt;
[[File:DIO-Connections.PNG|400px|thumb|Digital IO connection]]&lt;br /&gt;
[[file:DIO_pinout.png|thumb|400px|left]]&lt;br /&gt;
===Connect Digital Inputs:===&lt;br /&gt;
* Disconnect the robot/electronics from power.&lt;br /&gt;
* Connect the ground pin (Output connector 1, to GND)&lt;br /&gt;
* Supply 24V to one of the input pins&lt;br /&gt;
* Example on the left: 24V via switch to input pin 4&lt;br /&gt;
* Result in CPRog: digital input Din24 is triggered&lt;br /&gt;
&lt;br /&gt;
===Connect Digital Outputs===&lt;br /&gt;
*Disconnect the robot/electronics from power.&lt;br /&gt;
*Connect the supply pin to 24V power supply&lt;br /&gt;
*The supply is forwarded to one of the outputs pins via reed relays&lt;br /&gt;
*Connect a valve or another component to the output pin&lt;br /&gt;
*Connect the component to GND to close the electrical circuit&lt;br /&gt;
*See the example with the lamp on output 5 on the left.&lt;br /&gt;
&lt;br /&gt;
===Start the Robot and iRC / CPRog===&lt;br /&gt;
*Connect electronics/robot to power, ensure the emergency stop button is disengaged.&lt;br /&gt;
*Start CPRog:&lt;br /&gt;
**Reset and Enable the robot&lt;br /&gt;
**Set DOut 25 to true to switch on the lamp&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Nomenclature==&lt;br /&gt;
===Mover===&lt;br /&gt;
To control the IOs in Software, all &amp;#039;&amp;#039;CPR robots&amp;#039;&amp;#039;, such as the Mover, provide digital inputs and outputs that are named channel 1 through 4.&lt;br /&gt;
&lt;br /&gt;
===Modular Control Electronics / igus robolink arms/ igus gantry robots===&lt;br /&gt;
In contrast, the &amp;#039;&amp;#039;igus robolink arms and gantry robots&amp;#039;&amp;#039; use the following nomenclature:&lt;br /&gt;
&lt;br /&gt;
The Modular control electronics for these robots can be equipped with more than one DIO module. To address pins 1-7 of the inputs/outputs of every module, the modules are in three different address spaces: &lt;br /&gt;
&lt;br /&gt;
* For the first DIO-Module: Channels 21 through 27, i.e. DOut21, DOut22,... or DIn21, DIn22,...&lt;br /&gt;
** DOut21 switches pin 1 of DIO module 1.&lt;br /&gt;
** DOut22 switches pin 2 of DIO module 1.&lt;br /&gt;
**..&lt;br /&gt;
**DOut27 switches pin 7 of DIO module 1.&lt;br /&gt;
&lt;br /&gt;
* For the second DIO-Module: Channels 31 through 37&lt;br /&gt;
** DOut31 switches pin 1 of DIO module 2.&lt;br /&gt;
** DOut32 switches pin 2 of DIO module 2.&lt;br /&gt;
**..&lt;br /&gt;
**DOut37 switches pin 7 of DIO module 2.&lt;br /&gt;
&lt;br /&gt;
* For the third DIO-Module: Channels 41 through 47&lt;br /&gt;
** DOut41 switches pin 1 of DIO module 3.&lt;br /&gt;
** DOut42 switches pin 2 of DIO module 3.&lt;br /&gt;
**...&lt;br /&gt;
**DOut47 switches pin 7 of DIO module 3.&lt;br /&gt;
&lt;br /&gt;
The nomenclature for the inputs is DInXX analogous to the DOutXX nomenclature explained above.&lt;br /&gt;
The maximum amount of DIO modules installed in the control electronics is currently 3.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Attention:&amp;#039;&amp;#039;&amp;#039; The DIO are also used by the [[PLC Interface]] (if active), refer to this.&lt;br /&gt;
&lt;br /&gt;
==How to use the outputs==&lt;br /&gt;
[[file:DIO_add_digitalout.png|thumb|600px|Add Digital Out command]]&lt;br /&gt;
The output signals can be switched on or off with the &amp;#039;Digital Out&amp;#039; command in CPRog (see screenshot on the right). To add this command in the program editor click &amp;quot;Action&amp;quot; -&amp;gt; &amp;quot;Digital Output&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Please be aware that the outputs can only be switched on when the robot is enabled!&lt;br /&gt;
&lt;br /&gt;
[[file:Caution.png|frameless|50px]]The outputs must not drive more then 500 mA, also not at startup! Avoid higher currents, e.g. caused by the inrush current of capacitors! Use a secondary relay in this case to prevent damage to the DIO module.&lt;br /&gt;
&lt;br /&gt;
Here an &amp;#039;&amp;#039;&amp;#039;example&amp;#039;&amp;#039;&amp;#039; on [[How to operate a gripper using CPRog and the Modular Control Electronics]]&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==How to use the inputs==&lt;br /&gt;
[[file:DIO_cprog_input_program.png|thumb|600px|right|Check status of Digital Input in an if-statement ]]&lt;br /&gt;
The digital inputs can be used e.g. in if-then-else statements.&lt;br /&gt;
&lt;br /&gt;
The picture on the right side shows a simple example: The first input of the first DIO module (DIn21) is checked. If it is true than the first output of the first DIO module (DOut21) is switched on; otherwise it is switched off.&lt;br /&gt;
&lt;br /&gt;
==Additional IO Modules==&lt;br /&gt;
&lt;br /&gt;
If not ordered otherwise each robot control cabinet comes with one digital IO module. The following guides explain how you can add up to 2 additional modules:&lt;br /&gt;
&lt;br /&gt;
* How to add [[Additional DIO-Modules]]&lt;br /&gt;
* How to add [[Additional DIO-Boards of the DCi Control Electronics]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:CPRog]][[Category:robolink]][[Category:Robot Programming]][[Category:DIO_Modules]]&lt;/div&gt;</summary>
		<author><name>cpr&gt;Mab</name></author>
	</entry>
</feed>