Menu

Topic-icon MicroBasic Wait fail with CanOpen

More
3 years 1 month ago #29532548 by edmodi
Hi, I'm try to use the new firmware controller (3/16/2016) with my MDC2230 and this code:

> print("STEP 1 with TM ", getValue(_TM, 2), ":", getValue(_TM, 1) , "\n")
> wait(2000)
> print("STEP 2 with TM ", getValue(_TM, 2), ":", getValue(_TM, 1) , "\n")

And console show:
STEP 1 with TM 54:39
STEP 2 with TM 54:41

With a difference of two second. But when I actived the CanOpen Mode, the print is different:
STEP 1 with TM 55:53
STEP 2 with TM 56:16

19 seconds. Why? The Canopen settings is bitRate 1000, nodeID 1, Heartbeat 1000 and all TPDO is 10 ms. The remaining settings are set to default parameters

Thanks in advanced.

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #29532549 by edmodi
Hi again, I've seen the problem appear when some TPDO is set a value greatest than 0 for example 10. This error appear in all TPDOS.

Thanks

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #29532550 by blake
Please update to our latest firmware release (v1.7 10/24/2016) and retest. Let us know your feedback after doing so.

Please Log in or Create an account to join the conversation.

More
3 years 4 weeks ago #29532552 by edmodi
Hi, I update the firrmware and the error persist. Please try to reproduce this error in your company and tell me

Thakns

Please Log in or Create an account to join the conversation.

More
3 years 4 weeks ago #29532557 by niko
Hello,

We cannot replicate on our end. Check screenshots






If we are missing something let us know. If you increse TPDO send rate the problem persists?
Attachments:

Please Log in or Create an account to join the conversation.

More
3 years 4 weeks ago #29532558 by edmodi
Hi again, could you send me the porfile.xml settings of your test controller. The command you send in console tab are necessary?

Thanks for your time

Please Log in or Create an account to join the conversation.

More
3 years 4 weeks ago #29532559 by niko
Ignore the commands you see in the out data fields. They were meant for differrent things. I just preseed the restart button in order to make the script run.

The profile is the default with the CANOpen specific configuration you provided to us.

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #29532560 by edmodi
Hi, I try your controller in some controllers we have threre and only in one of them, your solution resolve the problem. I can't spend more time to try another one so I probably return all controllers to your office

Thanks for your time

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.371 seconds
Go to top