Commonplace Robot arm mower 4 User manual

1
Bedienungsanleitung Mover4

2

3
User Guide Mover4
Version 2012/11 (SW V902-03-025, HWE V29 HWM V05 DOC V10)
© Commonplace Robotics GmbH, 2012
Commonplace Robotics GmbH
Osterfeldstr. 1
D-49326 Melle
Germany
++49 5429 / 374983-4
info@cpr-robots.com
www.cpr-robots.com
The CE sign confirms that this product meets the
requirements of the directive 2004/108/EC (EMC) and
2002/95/EC (RohS). The according documentation is
deposited at the manufacturer.
Help to save our environment! When reaching the end of
livetime, do not throw the device into the garbage, but bring
it to a public recycling place.

4
Inhalt
1. Safety Instructions............................................................................................................................6
2. Introduction ...........................................................................................................................................7
2.1 Product...............................................................................................................................................7
2.2 Specifications ................................................................................................................................8
2.3 System Requirements ...............................................................................................................8
3. Installation.............................................................................................................................................9
3.1 Setting up the Robot...................................................................................................................9
3.2 Connecting the Power Supply and the USB Adapter..................................................9
3.3 Installation of the CPRog Software ............................................................................ 10
3.4 Installation of the Driver for the USB Adapter.......................................................12
3.5 Licensing..........................................................................................................................................13
4. Robor Arm Mover4..........................................................................................................................14
4.1 Geometry........................................................................................................................................14
4.2 Digital Inputs and Outputs ................................................................................................15
4.3 Mounting Flange for the Gripper ...................................................................................15
4.4 Drawing of the Robot Base.............................................................................................. 16
5. Moving the Robot Arm with CPRog .........................................................................................17
5.1 Introduction....................................................................................................................................17
5.2 Navigation with the Mouse.................................................................................................... 18
5.3Moving the Robot.......................................................................................................................18
5.4 Connect with the Hardware............................................................................................ 20
5.5 Reset the Zero Points of the Joints....................................................................................21
6. Programming the Robot Arm with CPRog...........................................................................22
6.1 Program Elements .....................................................................................................................22

5
6.2 Recording a Program using the 3D Interface..........................................................23
6.3 Saving and Loading of a Program .................................................................................23
6.4 Replay of a Program............................................................................................................23
6.5 Editing a Program with GraphEdit............................................................................... 24
7. Configuration .....................................................................................................................................25
7.1 Application Configuration: CPRFrontend.xml .............................................................25
7.2 Robot Configuration - Software ........................................................................................ 26
7.3 Robot Configuration - Hardware ....................................................................................... 26
8. Interfacing ...........................................................................................................................................27
8.1 Command „External Motion“ ................................................................................................27
8.2 CAN-Bus Protocol ............................................................................................................... 28
9. Troubleshooting .............................................................................................................................. 28
9.1 Installation and Program Start........................................................................................... 28
9.2 Software CPRog................................................................................................................... 29
9.3 Hardware Mover4 ............................................................................................................... 30
10. Language Specification .................................................................................................................31

6
1. Safety Instructions
•The Mover4 is designed to be used by adolescents and adults
in edutainment and research areas.
•The robot must not be used in industrial production facilities
of in other continuous operation scenarios.
•Do not operate the robot when it is unattended.
•The gripping area exposes the risk of bruises to the fingers,
especially when using the parallel gripper. Keep off during
operation! The robot must not operate unattended!
•The robot must not be used by children without the
supervision by adults. Not suited for children below 3 years.
Small parts pose choking hazards.
•Sharp or otherwise dangerous tools or parts must not be
mounted on the robot without according safety measures, e.g.
housings. This especially comprises milling applications or
laser sources.
•Take care for a stable stand of the robot.
•The robot has been designed for indoor use. They do have to
be protected of humidity, dust or excessive solar radiation.
•Do not try to open the product.
•It is necessary to backup important data before the
installation of the CPRog software.
•Switch of the power supply when the robot is not in use or
unattended.

7
2. Introduction
2.1 Product
The Commonplace Robotics Mover4 is a four axis robot for the use in education,
entertainment and research environments. He can lift a payload up to 500 g with a
reach of 550 mm.
Pic. 1: Mover4 and the necessary components
The modular set up of the robot connects four joint modules with aluminum profiles.
Each joint module contains a servo motor.
The front end of the robot, the flange, allows mounting a gripper or another tool. The
robot base has to be fastened on a stand or a table. At the robot base one plug
connect with power and the PC, another provides digital IO access.
The cable loom is connected with a 12V/5A DC power supply. The USB adapter
connects the control PC with the robots internal communication bus. The CPRog
software allows to control and program the robot.

8
2.2 Specifications
Nr of Joints 4 servo joints
Power Supply 12V DC at max 5 A
Power Consumption Paused: 0,5 A / in motion: < 3 A. Fuse with 3.1 A in base
Communication CAN at 500 kBit/s
Reach 550 mm including the gripper
Payload 500 g
Inputs / Outputs At the base of the standard version:
3 digital outputs (5V / 25 mA) and 4 digital Inputs (5V) via
D-Sub 9 poles female.
At the base of the HeavyDuty version:
4 relay out (24V/1A) and 3 digital in (24V) via D-Sub 9
poles male.
At the flange:
2 digital Outputs (5V
2 digitale Ausgänge (5V / 25 mA) und 12V/0,5A supply via
Harting SEK 6 poles.
Communication Definition of position setpoints for all four joints with 50
Hz cycle. Reading of the current position and the motor
current.
2.3 System Requirements
The control the robot with the CPRog programming environment a PC with Windows
operating system is necessary:
•Operating System: Windows XP Service Pack 3 (32 Bit) or
Windows 7 (32 oder 64 Bit) .
•.NET-Framework 3.5 or higher and DirectX in Version 9.0c
•Processor: 1.6-GHz-Pentium or similar
•RAM: 1 GB
•Up to 50 MB disk space
•1 free USB port for the communication with the robot, another one for joypad
operation

9
3. Installation
3.1 Setting up the Robot
The robot has to be placed on a table or stand so that he cannot tumble down.
3.2 Connecting the Power Supply and the USB Adapter
Pic. 2: Cable loom and USB adapter
The cable loom connects the power supply, the USB adapter and the robot as
depicted above. All connectors fit only one way.
Before plugging the USB adapter into the control PC the according drivers should be
installed. Please have a look at the following sections.

10
3.3 Installation of the CPRog Software
Insert the CPRog CD into the drive.
Depending on your systems
configuration the CD menu will open
automaticall, or you have to start it
manually:
D:\.autorun\autorun.exe
Choose the first button „Install
CPRog”
Maybe you have to allow changes to
be made on your system.
After the installer started you need
to choose between English and
German as language.
Then you need to confirm the
license agreement.
In the next step you can choose
where to install CPRog. The
recommended directory is
c:\CPRog.
When installing in a Windows
program directory like
c:\Programme it is possible that
CPRog can only be started as
administrator.

11
The installation normally takes only
few seconds.
The installer checks, if DirectX 9.5 is
installed. If not it will install theses
libraries from the CD or via
download. This will take some
minutes.
The installation of DirectX 9.5 is
necessary even if e.g. DirectX 11 is
already installed.
When finishing the installation you
can choose to directly start CPRog.
Now you can start CPRog using the link on the desktop or via the start menu.
Installation Failure:The installation assistant checks, if all necessary extensions are
available, especially the .NET-Framework and DirectX 9.5. If this is not the case an
error message will appear. DirectX is installed automatically, but the .NET-
Framework has to be installed manually:
Search in the net for “Microsoft .NET download” and install

12
3.4 Installation of the Driver for the USB Adapter
To use the USB-CAN adapter the according driver from PEAK Systeme GmbH have
to be installed. They can be found on the CPRog CD.
The driver installation should be done before plugging the adapter in!
With Windows7 the installation does not pose any problems, with Windows XP
please follow the PEAK documentation. This is found on the CD in directory
\PeakPCAN\PDF.
Insert the CPRog CD into the drive.
Depending on your systems
configuration the CD menu will open
automaticall, or you have to start it
manually:
D:\.autorun\autorun.exe
Choose the second button „Install
USB Interface”

13
Follow the installation assistant.
Choose the driver for „PCAN-USB“-
Adapter.
3.5 Licensing
The CPRog software needs a license key to start. This key, an XML file, has to be
stored in the directory
\CPRog\Data\License
The CPRog installer copies the key Demo.xml to the directory. With this key CPRog
starts in demo mode. The runtime is limited to 10 minutes, afterwards you need to
restart CPRog.
Your get your personal key via mail. Copy this key in the license directory. After
starting CPRog your licensing data are shown in the main frame and can be shown
complete with the Programbutton/License.
Please do not change the content of the license file, this will render it invalid!
A standard license allows the installation and use of CPRog on an arbitrary number
of computers in the company or institution of the license holder.

14
4. Robor Arm Mover4
4.1 Geometry
Pic. 3: Mover4 simplified side view
The picture shows the joints length of the Mover4 robot arm. Including the gripper
the arm reaches 550 mm.
CPRog offers functionalities to limit the workspace, see section 8.2.

15
4.2 Digital Inputs and Outputs
The robot base shows a D-Sub plug with several digital inputs and outputs. The pin
assignment for the versions „Standard“ and „HeavyDuty“ are shown below.
D-Sub Female: View from the
outside on the pins. Male
according mirrored.
Standard: 5V DIO
Type: Female
Pin 1: 5V
Pin 2: In 4
Pin 3: In 1
Pin 4: Out 2
Pin 5: Out 1
Pin 6: GND
Pin 7: In 3
Pin 8: In 2
Pin 9: Out3
HD: 24V DIO
Type: Male
Pin 1: Out1 24V
Pin 2: Out4 24V
Pin 3: Out2 24V
Pin 4: Out3 24V
Pin 5: In1
Pin 6: In2
Pin 7: In4
Pin 8: GND
Pin 9: 24V Supply
Pic. 4: pin assignment at the base digital IO plug
The Standard robot is set up for communication on TTL level (5V). The break out box
can be used to provide relays and 24V digital inputs.
The HeavyDuty version is prepared for communication on 24V PLC level. The
outputs are able to provide 1A each, forwarding the external supply voltage from pin
9. The inputs are 24V.
Two further digital outputs can be found on the flange of the robot, see the next
section.
4.3 Mounting Flange for the Gripper
The robot flange offers 10 M3 threads to connect gripper or other devices. A plug
allows electrical connectivity.
Six of the threads are placed on a 15 mm reference circle, the remaining 4 M3
threads are located as shown in the drawing. The plug is a Harting product SEK male
6 poles:

16
Pin1: 12V, max 0.5A
Pin2 GND
Pin3: DOut 4
Pin4: DOut 5
Pin5: not connected
Pin 6: not connected
Pic. 5: Drawing of the flange
4.4 Drawing of the Robot Base
The robot can be mounted using the M4 through holes.
Pic. 6: Drawing of the robot base plate

17
5. Moving the Robot Arm with CPRog
5.1 Introduction
The CPRog programming environment allows to control and program the Mover
robot. Both online and offline working is possible.
Pic. 7: Programmoberfläche von CPRog
In the upper area the three ribbons “Scene”, “Motion” and “Programming” provide
access to the main functionalities.
On the left corner information on the robots current state are provided.
On the lower side four sections are found:
•„Log Message“: Messages regarding the programs state
•„Info Center“: Shows joint values, the Cartesian position and the motor
currents
•„Jog“: Buttons to move the robot
•„Input / Output“: View and set digital IOs

18
5.2 Navigation with the Mouse
A 3 button mouse is recommended to navigate in the CPRog 3D environment:
•Left button: Selection of robots and other objects
•Middle button: Navigation in the scnee
oRotate: drag the mouse while holding the middle button
oPan: drag the mouse while holding the middle button and pressing
down the CTRL-key
oZoom: Drag the mouse while holding the middle button and pressing
down the SHIFT-key (zooms to the center of the scene), or turn the
mouse wheel (zooms to the current cursor position)
•Right button: Opens the context menu
Alternatively the function of the left mouse button can be changed in the upper
menu area at Scene/Navigation. Possibilities are Selection, Rotation, Panning or
Zooming.
5.3 Moving the Robot
The robot can be moved (or “jogged”) manually, as long as no program is running. The
main elements are the button to connect the joypad, the checkbox to choose the
motion type and the override.
Pic. 8: Elements to jog the robot
When pressing the joystick button CPRog connects with a joypad. The device must
have the type “Joystick” or “Gamepad”. Further information are provided in the log
window.
The „Joint“ mode allows to turn the single robot axis from A1 to A4. In “Cartesian”
mode the robot moves in straight lines following the x, y and z coordinate axis. The

19
rotation is defined with the B commands. In „Cartesian Tool” mode the robot moves
aligned to the current tool coordinate system.
The override scales the motion speed between 0 and 100%.
Pic. 9: Buttons to jog the robot in cartesian mode. In joint mode the buttons change to the axis A1 to A4.
While jogging in cartesian mode virtual walls can be switched on to limit the motion
and thereby avoiding e.g. collisions. See section 7 for details.
When the virtual walls are active the robots blocks further motions and
generates warning sounds when leaving the allowed area. These
restrictions do not hold in joint mode.
The most convenient way to move the robot is with a connected joypad, the picture
below shows the assignment of keys.
Pic. 10: Assignment of keys for the joypad. Upper markings for Cartesian mode, lower for joint mode.
Pressing X opens or closes the gripper, pressing A records a linear motion to the
current position and, if necessary, a gripper command.

20
5.4 Connect with the Hardware
The real robot can be controlled in the same way as the simulated one, only the
hardware has to be connected before: connect, reset errors and enable motors.
Prerequisites are that the robot is connected via the USB-CAN adapter and the
robots supply is running (plugged in, switched on and emergency button released).
Pic. 11: Buttons to connect to the hardware, reset the errors and enable the motors
Step 1: Connect with the hardware. This step initializes the USB-CAN
interface.
The LED on the left side of CPRog changes color from grey to red.
Below the LED several error messages are displayed.
Step 2: Reset the errors. This button resets the error memory of the joint
module controller in the robot. The joint values are copied from the
real robot to the simulation environment.
The 3D visualization of the robot has to match the current pose
of the real robot now. This has to be verified every time the
errors are reset!
The LED stays red. The error messages clear, only “Motors not
enabled“ remaining.
If further error messages remain visible try again and see section
9.3 for possible approaches.
Step 3: Enable the motors. Now the robot can be jogged as described
above.
The LED is green now.
Table of contents