priority of built-in script vs custom microbasic script

7 years 6 months ago #29531757 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?

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

7 years 6 months ago #29531759 by niko
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.

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

Moderators: tonysantoni
Time to create page: 0.053 seconds