CPRog Software Troubleshooting

From CPR Wiki
Jump to: navigation, search

Mover 4, 5, 6, SRA

Wrong robot displayed in CProg

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

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.