- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- priority of built-in script vs custom microbasic script
priority of built-in script vs custom microbasic script
7 years 2 months ago #29531757
by gg
priority of built-in script vs custom microbasic script was created by gg
What is the priority between a built in script (e.g. Torque Mode) and a custom microbasic script if run at the same time?
For instance, if I run the controller (HBL1660) in Torque mode, can I also run a microbasic script at the same time and how will the internal script interact with the microbasic script, especially its _GO function/command?
For instance, if I run the controller (HBL1660) in Torque mode, can I also run a microbasic script at the same time and how will the internal script interact with the microbasic script, especially its _GO function/command?
Please Log in or Create an account to join the conversation.
7 years 2 months ago #29531759
by niko
Replied by niko on topic priority of built-in script vs custom microbasic script
Hello,
There is only one script running, this is the microbasic script. The rest of the configuration is implemented as firmware.
I cannot quite get what you mean about priority. If you use _GO command in your script it will take effect. If at the same time a motor command is configured and sent via analog or pulse, you need to configure accordingly the command priorities configuration field, in order to let the motor know which command to take into consideration.
To note the motor command comming from script is onsidered as serial command.
There is only one script running, this is the microbasic script. The rest of the configuration is implemented as firmware.
I cannot quite get what you mean about priority. If you use _GO command in your script it will take effect. If at the same time a motor command is configured and sent via analog or pulse, you need to configure accordingly the command priorities configuration field, in order to let the motor know which command to take into consideration.
To note the motor command comming from script is onsidered as serial command.
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- priority of built-in script vs custom microbasic script
Time to create page: 0.051 seconds