Jump to content

CANopen + robotec closed/open loop problem


Gargamel

Recommended Posts

Hi.

 We have noticed on a machine we are building, that when the robotec is booting and the plc/canopen is connected, something from the PLC changes the closed loop to open loop on the robotec.
I have been looking around "everywhere" inthe unilogic project, but cannot find anything that seems to relate to the settings for open/closed loop.

Anyone know what this behaviour could occur at and why?

Link to comment
Share on other sites

  • MVP 2023

Please post robotec model # and used unistream hardware.

I think that such behavior is possible only if the robotec works out the emergency algorithm during the loss of communication.

This algorithm (or parameter) should be configurable. That is, if there is a timeout in the connection, the system must do something to protect the user. In your case, it can be a programmed transition to an open loop when communication is lost.

Link to comment
Share on other sites

13 hours ago, kratmel said:

Please post robotec model # and used unistream hardware.

I think that such behavior is possible only if the robotec works out the emergency algorithm during the loss of communication.

This algorithm (or parameter) should be configurable. That is, if there is a timeout in the connection, the system must do something to protect the user. In your case, it can be a programmed transition to an open loop when communication is lost.

Unilogic USC-x10-T24.

Robotec FBL2360T

Link to comment
Share on other sites

When out machine goes from auto to manual mode, LoopErr starts to blink.

And the behaviour is, as soon as the plc(?) connects/Starts up with the canopen cable connected. Teh setting changes to OpenLoop in the controllers, where it was ClosedLoop previously.

looperr.thumb.png.837c1d1b34c2181b7d27e8892d942cc6.png

 

 

Link to comment
Share on other sites

  • MVP 2023

https://www.roboteq.com/docman-list/motor-controllers-documents-and-files/documentation/user-manual/1047-roboteq-controllers-user-manual-v2-1a/file

p.183

For applications demanding the highest operating safety, the controller should be config-
ured to automatically switch to another command mode or to stop the motor (but other-
wise remain fully active) if it fails to receive a valid command on its RS232, RS485, TCP,
USB or CAN ports, or from a MicroBasic Script for more than a predefined period.
By default, the watchdog is enabled with a timeout period of 1 second. Timeout period
can be changed or the watchdog can be disabled by the user. When the watchdog is en-
abled and timeout expires, then the controller will go to a safety stop (force the motor to
stop based on Fault Deceleration configuration command). After that the controller will
accept commands from the next source in the priority list. See “Command Priorities” on
page 181

Please try to disable watchdog for test.

Then try to activate Heartbeat with enabled Watchdog.

USC1.jpg.9d4d3cff0667ff079aabbaa1796c4209.jpg

 

Link to comment
Share on other sites

10 minutes ago, kratmel said:

https://www.roboteq.com/docman-list/motor-controllers-documents-and-files/documentation/user-manual/1047-roboteq-controllers-user-manual-v2-1a/file

p.183

For applications demanding the highest operating safety, the controller should be config-
ured to automatically switch to another command mode or to stop the motor (but other-
wise remain fully active) if it fails to receive a valid command on its RS232, RS485, TCP,
USB or CAN ports, or from a MicroBasic Script for more than a predefined period.
By default, the watchdog is enabled with a timeout period of 1 second. Timeout period
can be changed or the watchdog can be disabled by the user. When the watchdog is en-
abled and timeout expires, then the controller will go to a safety stop (force the motor to
stop based on Fault Deceleration configuration command). After that the controller will
accept commands from the next source in the priority list. See “Command Priorities” on
page 181

Please try to disable watchdog for test.

Then try to activate Heartbeat with enabled Watchdog.

USC1.jpg.9d4d3cff0667ff079aabbaa1796c4209.jpg

 

Hello Kratmel.

The HB is/was already enabled, and set to 100ms

canopen.thumb.png.e8e0b83c0637c8117d5bfad0c0bafe9e.png

In the controllers CHB Lost Action is set to "No Action".

Both controller and PLC has 100ms HB, but i suspect that the boot up of the PLC takes way longer than 1s, closer to a minute before i can connect, from power on.
Watchdog, is it on the PLC or the controllers side?
In both cases, "CANopen node guarding" is set to 0.

 

 

Link to comment
Share on other sites

A small update.

We are running a beta-version of the current release, and there was a small bug in it, where it listened to all CAN-Id's, where is to happened to be another device recived a message that the drive controller interpeted it to change to open loop.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.