<?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=Set_up%2C_testing_of_single_joints</id>
	<title>Set up, testing of single joints - 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=Set_up%2C_testing_of_single_joints"/>
	<link rel="alternate" type="text/html" href="https://wiki.cpr-robots.com/index.php?title=Set_up,_testing_of_single_joints&amp;action=history"/>
	<updated>2026-05-01T21:43:53Z</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=Set_up,_testing_of_single_joints&amp;diff=210&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=Set_up,_testing_of_single_joints&amp;diff=210&amp;oldid=prev"/>
		<updated>2025-08-11T10:13:24Z</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=Set_up,_testing_of_single_joints&amp;diff=209&amp;oldid=prev</id>
		<title>cpr&gt;Mab: removed deprecated link</title>
		<link rel="alternate" type="text/html" href="https://wiki.cpr-robots.com/index.php?title=Set_up,_testing_of_single_joints&amp;diff=209&amp;oldid=prev"/>
		<updated>2023-08-16T09:04:23Z</updated>

		<summary type="html">&lt;p&gt;removed deprecated link&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;color:#008000&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;If you have ordered the &amp;#039;&amp;#039;robot including controller&amp;#039;&amp;#039; directly from CPR, the robot and its control electronics have been configured and tested. The following procedure described on this page does not need to be carried out.&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#800000&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;If you have ordered the control electronics &amp;#039;&amp;#039;separately&amp;#039;&amp;#039;, it needs to be set up and configured to correctly control the joints of a robot.&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
== Robot and controller configured by CPR ==&lt;br /&gt;
&lt;br /&gt;
The procedure to commission the robot is shown below.&lt;br /&gt;
&lt;br /&gt;
[[file:caution.png|frameless|50px]] &amp;#039;&amp;#039;&amp;#039;Do not hot-plug! Always switch of the power supply and wait a few seconds before working on the connectors! Failing to do so can cause damage to the electronics modules&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some cases screws in the joints 2, 3 or 4 have been removed to decrease packaging size. Re-assemble the robot with these screws.&lt;br /&gt;
&lt;br /&gt;
===Set up and check the controller:===&lt;br /&gt;
&lt;br /&gt;
* Connect/check that the emergency stop button is plugged into the E-Stop connector on the Support module&lt;br /&gt;
* Connect/check that the closed loop connector is plugged into the Ext-Relay connector on the Support module&lt;br /&gt;
* Connect/check that the [https://www.peak-system.com/PCAN-USB.199.0.html PCAN-USB adapter] is connected with the according cable to the CAN connector on the Support module  &lt;br /&gt;
* Provide 24V power supply&lt;br /&gt;
** If the controller has been delivered with power supply just connect it to the 110/220V plug&lt;br /&gt;
** If you use an existing power supply, connect it to the control via the fuse. The supply should provide at least 5A at 24V&lt;br /&gt;
&lt;br /&gt;
Now the green LEDs on the modules should be on.  &lt;br /&gt;
&lt;br /&gt;
* Install and start CPRog from the provided CD&lt;br /&gt;
* Load the correct project using the &amp;quot;Load Project&amp;quot; Button in the menu on the upper-left circle&lt;br /&gt;
* Press the &amp;quot;Connect&amp;quot; button. Now the green LEDs on the stepper and DIO modules should blink to show activity on the CAN bus&lt;br /&gt;
&lt;br /&gt;
===Connect the Joint Cables===&lt;br /&gt;
Switch off the robot control electronics.&lt;br /&gt;
&lt;br /&gt;
* Connect the joint cables to the stepper modules. The are labelled with the joint numbers, and also the function.&lt;br /&gt;
* Ensure that the connectors cannot be pulled out during robot operation by stress on the cables as hot-plugging the &amp;#039;Motor&amp;#039; connectors during operation can damage the stepper motor control electronics.&lt;br /&gt;
* Switch on the power supply&lt;br /&gt;
* Start CPRog and press &amp;quot;Connect&amp;quot; and &amp;quot;Reset&amp;quot;. Now the status in the left column should change to &amp;quot;Motors not enabled&amp;quot;&lt;br /&gt;
* Release the Emergency Stop and press &amp;quot;Enable&amp;quot;. Now the status on the left changes to &amp;quot;No Error&amp;quot;&lt;br /&gt;
* Now you can jog the robot arm&lt;br /&gt;
* Proceed with referencing the robot ([[Referencing robolink]]) and programming the arm&lt;br /&gt;
&lt;br /&gt;
== Configure the control electronics for your robot == &lt;br /&gt;
&amp;lt;span id=&amp;quot;Swap encoder direction&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the robot with electronics has &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; been configured by CPR because the robot was bought separately from the control electronics, then the following steps have to be performed:&lt;br /&gt;
&lt;br /&gt;
===Prepare the Cables===&lt;br /&gt;
* Add the connectors provided by CPR to the motor, encoder and reference cables. This is shown in the [http://www.cpr-robots.com/download/CPRog/UserGuide_igusRobolink.pdf robolink User Guide]. &lt;br /&gt;
&lt;br /&gt;
===Test single Joints===&lt;br /&gt;
* Set up the robot control and CPRog as described above&lt;br /&gt;
* Now every single joint should be tested using the ModuleCtrl software&lt;br /&gt;
** [[file:caution.png|frameless|50px]]&amp;#039;&amp;#039;&amp;#039;Again, avoid hot-plugging, i.e. never connect or disconnect anything while mains power is connected.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Install the ModuleCtrl software: [[Config Software ModuleCtrl]].&lt;br /&gt;
** Connect the cables for one joint with the according stepper module &lt;br /&gt;
** Start ModuleCtrl, choose the correct CAN-ID: 0x10 for Joint1, 0x20 for Joint2, ... and press &amp;quot;Connect&amp;quot; &lt;br /&gt;
** Press &amp;quot;SetToZero&amp;quot;, &amp;quot;Reset&amp;quot; and &amp;quot;Enable&amp;quot;. Now you should be able to move the joint with the center dial.&lt;br /&gt;
&lt;br /&gt;
===Invert the Encoder Direction for Joint5===&lt;br /&gt;
[[file:ModuleCtrl-swap-encoder-direction.png|thumb|300px|left|Swap Encoder Direction]]&lt;br /&gt;
The Joint5 encoder is mounted in opposite direction then the other encoders in some robot models. When testing this results in an increasing motion of the joint 5 until the position lag error stops the operation. The stepper module has to be configured accordingly:&lt;br /&gt;
* Change to tab &amp;quot;Stepper&amp;quot; and click on &amp;quot;Read from Board&amp;quot;.&lt;br /&gt;
* Toggle the &amp;quot;Swap encoder direction&amp;quot; box.  Changing this parameter takes effect only after a cold-start of the contorl electronics.&lt;br /&gt;
* Save the parameters to the board: Click on &amp;quot;Write to Board&amp;quot; in the bottom right corner of the window.&lt;br /&gt;
* Switch off the control electronics and close the ModuleCtrl Software, wait a few seconds and switch on the control electronics. &lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
====To verify the correct operation of the encoder direction of joint 5==== &lt;br /&gt;
[[file:ModuleCtrl-positionMode.png|thumb|left|300px|When testing the encoder direction, e.g. of joint 5, ModuleCtrl needs to be in &amp;quot;Position&amp;quot; mode.]] &lt;br /&gt;
* start the robot, and the ModuleCtrl software&lt;br /&gt;
* select CAN ID 0x50 and click &amp;quot;Connect&amp;quot;, &amp;quot;Reset&amp;quot; and &amp;quot;Enable&amp;quot;&lt;br /&gt;
* Ensure that ModuleCtrl is in &amp;quot;Position&amp;quot; mode, so that the encoder information is used. In &amp;quot;Velocity&amp;quot; mode, the encoder info is disregarded, hence you would not be able to find out whether the correct encoder direction has been chosen.&lt;br /&gt;
* Zero the current encoder position by clicking on &amp;quot;Zero Position&amp;quot;.&lt;br /&gt;
* Move the big dial in the middle of the window a small amount. joint 5 should move to the new position. Once the motor has stopped moving, you should see that the values in the fields &amp;quot;Position SetPoint&amp;quot; and &amp;quot;Current Position&amp;quot; are identical.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===If the cables of the robot are not marked===&lt;br /&gt;
In some cases the cables might not be marked, then it is difficult to find the right cables for each joint. Some hints:&lt;br /&gt;
* Connect 3 cables to the joint 1 module&lt;br /&gt;
* Start the control and the ModuleCtrl software, connect to the right joint&lt;br /&gt;
* Rotate all robot joints a little bit with your hand. You will see a motion in the range of some tics on the right display when you move the one that is connected.&lt;br /&gt;
* Place a screw drivers head or another piece of metal before the reference switches. The connected one will light up.&lt;br /&gt;
* When enabling the motor the joint will probably speed up into one direction due to the missing encoder signals, so place your hand on the emergency stop button.&lt;br /&gt;
* This way it should be possible with some trial and error to find the right combination of motor, encoder and reference cables.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
For questions or comments please [[Support Routes|get in contact with us]].&lt;br /&gt;
[[Category:ModuleCtrl]]&lt;/div&gt;</summary>
		<author><name>cpr&gt;Mab</name></author>
	</entry>
</feed>