- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- MicroBasic Wait fail with CanOpen
MicroBasic Wait fail with CanOpen
6 years 2 months ago #29532548
by edmodi
MicroBasic Wait fail with CanOpen was created 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.
> 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.
6 years 2 months ago #29532549
by edmodi
Replied by edmodi on topic MicroBasic Wait fail with CanOpen
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
Thanks
Please Log in or Create an account to join the conversation.
6 years 2 months ago #29532550
by blake
Replied by blake on topic MicroBasic Wait fail with CanOpen
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.
6 years 2 months ago #29532552
by edmodi
Replied by edmodi on topic MicroBasic Wait fail with CanOpen
Hi, I update the firrmware and the error persist. Please try to reproduce this error in your company and tell me
Thakns
Thakns
Please Log in or Create an account to join the conversation.
6 years 2 months ago #29532557
by niko
Replied by niko on topic MicroBasic Wait fail with CanOpen
Please Log in or Create an account to join the conversation.
6 years 2 months ago #29532558
by edmodi
Replied by edmodi on topic MicroBasic Wait fail with CanOpen
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
Thanks for your time
Please Log in or Create an account to join the conversation.
6 years 2 months ago #29532559
by niko
Replied by niko on topic MicroBasic Wait fail with CanOpen
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.
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.
6 years 2 months ago #29532560
by edmodi
Replied by edmodi on topic MicroBasic Wait fail with CanOpen
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
Thanks for your time
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- MicroBasic Wait fail with CanOpen
Time to create page: 0.082 seconds