Difference between revisions of "CPRog Software Troubleshooting"

From Wiki
(Added guide for connection issues)
 
(17 intermediate revisions by one other user not shown)
Line 1: Line 1:
* In the page [[CPRog Examples]], there is a small section regarding troubleshooting of custom programs.
+
=Mover 4, 5, 6, SRA=
* The robot shown in CPRog is is not the one I've got in front of me. [[Which project file is the right one for my robot?]]
+
==Wrong robot displayed in CProg==
 +
* The robot shown in CPRog different from the physical robot that is supposed to be controlled. See: [[Which project file is the right one for my robot?]]. You are likely using the wrong project file.
 +
 
 +
==Connection issues==
 +
If CPRog does not connect to the robot follow [[Troubleshooting Connection Issues|this guide]].
 +
 
 +
==Error message: Bus dead==
 +
In general, the "bus dead" message in CPRog means that the CAN communication cannot be established. There are various potential causes for this:
 +
* It is possible that no power is supplied to the robot. Causes may be one of the following:
 +
**​The emergency stop button of any Mover robot interrupts ​the power supply to the robot (and therefore the CAN bus) when it is depressed. Rotate the red emergency stop button and pull to supply power to the robot.  
 +
**The fuse in the black fuse holder in the robot base has blown. A replacement fuse should be a fast/blow fuse 3.15A F, 20x5mm, such as https://uk.rs-online.com/web/p/cartridge-fuses/0563491
 +
**The power cable coming from the mains may not be plugged in deep enough into the power supply. The external power supply has an LED that should light up when mains power is connected.
 +
**The newer Mover robots have a blue LED at the base that indicates that power is supplied to the robot. Unfortunately Mover models prior to February 2017 lack this LED.​ ​
 +
* The CAN adapter may not be plugged in to the PC or the driver may not be installed. When you see a red light on top of the CAN-USB adapter, the driver should be installed and the adapter should be working ok.
 +
**LED on means: There's a connection to a driver of the operating system.
 +
**slowly blinking means: A software application is connected to the adapter
 +
**fast blinking means: Data is transmitted via the connected CAN bus​
 +
*The connection between CAN adapter and robot may be interrupted.​
 +
*In rare cases, the CAN driver could have stopped responding. This problem should be gone after a reboot. Shut down the PC, power off the robot, wait several seconds, start the PC and power on the robot.
 +
*Using the [https://www.peak-system.com/fileadmin/media/files/pcanview.zip PCAN view software], one can check whether CAN messages are being sent.
 +
 
 +
=Modular Control Electronics for Robolink=
 +
==Wrong robot displayed in CProg==
 +
* The robot shown in CPRog different from the physical robot that is supposed to be controlled. See: [[Which project file is the right one for my robot?]]. You are likely using the wrong project file.
 +
 
 +
==Connection issues==
 +
If CPRog does not connect to the robot follow [[Troubleshooting Connection Issues|this guide]].
 +
 
 +
==Error Message Bus dead==
 +
In general, the "bus dead" message in CPRog means that the CAN communication cannot be established. There are various potential causes for "bus dead":
 +
 
 +
* It is possible that no power is supplied to the robot. Ensure the green LEDs of the electronics modules are on or blinking.
 +
**​ Mains power is not connected to the power supply of the control electronics.
 +
**The fuse in the black fuse holder on the DIN rail has blown. A replacement fuse should be a fast/blow fuse 4A F, 20x5mm for a 5A power supply (used with robolink small version) or an 8A fuse for a 10A supply (used with robolink big version).
 +
* The CAN adapter may not be plugged in to the PC or the driver may not be installed. When you see a red light on top of the CAN-USB adapter, the driver should be installed and the adapter should be working ok.
 +
**LED on means: There's a connection to a driver of the operating system.
 +
**slowly blinking means: A software application is connected to the adapter
 +
**fast blinking means: Data is transmitted via the connected CAN bus​
 +
*The connection between CAN adapter and robot may be interrupted
 +
*In rare cases the CAN driver may have stopped responding. This problem should be gone after a reboot. Shut down the PC, power off the robot, wait several seconds, start the PC and power on the robot.
 +
*Using the [https://www.peak-system.com/fileadmin/media/files/pcanview.zip PCAN view software], one can check whether CAN messages are being sent.
 +
 
 +
=Troubleshooting custom programs in CPRog=
 +
* In the [[CPRog Examples]], there is section regarding troubleshooting of custom programs.
 +
 
 +
[[Category:CPRog]]

Latest revision as of 09:29, 11 September 2020

Mover 4, 5, 6, SRA

Wrong robot displayed in CProg

Connection issues

If CPRog does not connect to the robot follow this guide.

Error message: Bus dead

In general, the "bus dead" message in CPRog means that the CAN communication cannot be established. There are various potential causes for this:

  • It is possible that no power is supplied to the robot. Causes may be one of the following:
    • ​The emergency stop button of any Mover robot interrupts ​the power supply to the robot (and therefore the CAN bus) when it is depressed. Rotate the red emergency stop button and pull to supply power to the robot.
    • The fuse in the black fuse holder in the robot base has blown. A replacement fuse should be a fast/blow fuse 3.15A F, 20x5mm, such as https://uk.rs-online.com/web/p/cartridge-fuses/0563491
    • The power cable coming from the mains may not be plugged in deep enough into the power supply. The external power supply has an LED that should light up when mains power is connected.
    • The newer Mover robots have a blue LED at the base that indicates that power is supplied to the robot. Unfortunately Mover models prior to February 2017 lack this LED.​ ​
  • The CAN adapter may not be plugged in to the PC or the driver may not be installed. When you see a red light on top of the CAN-USB adapter, the driver should be installed and the adapter should be working ok.
    • LED on means: There's a connection to a driver of the operating system.
    • slowly blinking means: A software application is connected to the adapter
    • fast blinking means: Data is transmitted via the connected CAN bus​
  • The connection between CAN adapter and robot may be interrupted.​
  • In rare cases, the CAN driver could have stopped responding. This problem should be gone after a reboot. Shut down the PC, power off the robot, wait several seconds, start the PC and power on the robot.
  • Using the PCAN view software, one can check whether CAN messages are being sent.

Modular Control Electronics for Robolink

Wrong robot displayed in CProg

Connection issues

If CPRog does not connect to the robot follow this guide.

Error Message Bus dead

In general, the "bus dead" message in CPRog means that the CAN communication cannot be established. There are various potential causes for "bus dead":

  • It is possible that no power is supplied to the robot. Ensure the green LEDs of the electronics modules are on or blinking.
    • ​ Mains power is not connected to the power supply of the control electronics.
    • The fuse in the black fuse holder on the DIN rail has blown. A replacement fuse should be a fast/blow fuse 4A F, 20x5mm for a 5A power supply (used with robolink small version) or an 8A fuse for a 10A supply (used with robolink big version).
  • The CAN adapter may not be plugged in to the PC or the driver may not be installed. When you see a red light on top of the CAN-USB adapter, the driver should be installed and the adapter should be working ok.
    • LED on means: There's a connection to a driver of the operating system.
    • slowly blinking means: A software application is connected to the adapter
    • fast blinking means: Data is transmitted via the connected CAN bus​
  • The connection between CAN adapter and robot may be interrupted
  • In rare cases the CAN driver may have stopped responding. This problem should be gone after a reboot. Shut down the PC, power off the robot, wait several seconds, start the PC and power on the robot.
  • Using the PCAN view software, one can check whether CAN messages are being sent.

Troubleshooting custom programs in CPRog

  • In the CPRog Examples, there is section regarding troubleshooting of custom programs.