HPO / HSM setup
- atestasecca
- Topic Author
- Offline
Less
More
- Posts: 13
- Thank you received: 0
5 years 7 months ago #29533442
by atestasecca
HPO / HSM setup was created by atestasecca
Hi everybody,
I am a new user of the roboteq controller and I would like to change the settings of the hall sensor position and the hall sensor map, because my motor have an angle of 60° between two sensors.
As these settings cannot be change on the interface, I have written a short microbasic program to setup the controller.
extract of the program :
'Hall sensor position
setconfig(_HPO, 1, 1)
'hall sensor map (0-1-3-4-6-7)
setconfig(_HSM, 1, 0)
But the program cannot be built and I have the compilation errors ""HPO" is not a valid name constant" & ""HSM" is not a valid name constant".
Do you know what is /are the problems that I have?
Thank you in advance for the help
I am a new user of the roboteq controller and I would like to change the settings of the hall sensor position and the hall sensor map, because my motor have an angle of 60° between two sensors.
As these settings cannot be change on the interface, I have written a short microbasic program to setup the controller.
extract of the program :
'Hall sensor position
setconfig(_HPO, 1, 1)
'hall sensor map (0-1-3-4-6-7)
setconfig(_HSM, 1, 0)
But the program cannot be built and I have the compilation errors ""HPO" is not a valid name constant" & ""HSM" is not a valid name constant".
Do you know what is /are the problems that I have?
Thank you in advance for the help
Please Log in or Create an account to join the conversation.
- Gabriel_Isko
5 years 7 months ago - 5 years 7 months ago #29533443
by Gabriel_Isko
Replied by Gabriel_Isko on topic HPO / HSM setup
Which controller and which version of Roborun+ are you trying to do this with?
Please Log in or Create an account to join the conversation.
- atestasecca
- Topic Author
- Offline
Less
More
- Posts: 13
- Thank you received: 0
5 years 7 months ago #29533444
by atestasecca
Replied by atestasecca on topic HPO / HSM setup
I am using the software roborun rev 1.8 ( 10/27/17)
and I am testing the controller SBL1360 to have a better view how roboteq controllers runs and later I will use an HBL2396.
and I am testing the controller SBL1360 to have a better view how roboteq controllers runs and later I will use an HBL2396.
Please Log in or Create an account to join the conversation.
- Gabriel_Isko
5 years 7 months ago #29533445
by Gabriel_Isko
Replied by Gabriel_Isko on topic HPO / HSM setup
Hmm, I'm unable to reproduce that error on my end. You should only get it for invalid commands. Check if _HPO and _HSM change color in your scripting window.
If you don't mind posting the code you are trying to build in its entirety, I can also check for any errors with that.
If you don't mind posting the code you are trying to build in its entirety, I can also check for any errors with that.
Please Log in or Create an account to join the conversation.
- atestasecca
- Topic Author
- Offline
Less
More
- Posts: 13
- Thank you received: 0
5 years 7 months ago #29533446
by atestasecca
Replied by atestasecca on topic HPO / HSM setup
here is my code,
only 3 parameters don't change the color when I edit them (_BRUN, _HSO, _HSM)
only 3 parameters don't change the color when I edit them (_BRUN, _HSO, _HSM)
Please Log in or Create an account to join the conversation.
- Gabriel_Isko
5 years 7 months ago - 5 years 7 months ago #29533447
by Gabriel_Isko
Replied by Gabriel_Isko on topic HPO / HSM setup
I had no problems building that code using that revision of Roborun+. Perhaps there is something wrong with your Roborun installation?
EDIT: For clarification, the only steps I can think of at the moment are to reinstall Roborun+. I will ask some of the Microbasic developers to see if there are any known problems that I am missing.
EDIT: For clarification, the only steps I can think of at the moment are to reinstall Roborun+. I will ask some of the Microbasic developers to see if there are any known problems that I am missing.
Please Log in or Create an account to join the conversation.
- atestasecca
- Topic Author
- Offline
Less
More
- Posts: 13
- Thank you received: 0
5 years 7 months ago #29533448
by atestasecca
Replied by atestasecca on topic HPO / HSM setup
the thing really strange is that I have the same issue on Notepad ++, I have downloaded the language dictionary and again _BRUN, _HSO and _HSM stay in black.
Do you know if there is another way to setup HSO and HSM without using the scripts?
Do you know if there is another way to setup HSO and HSM without using the scripts?
Please Log in or Create an account to join the conversation.
- Gabriel_Isko
5 years 7 months ago - 5 years 7 months ago #29533449
by Gabriel_Isko
Replied by Gabriel_Isko on topic HPO / HSM setup
Yes, you can also set configurations over the controller's serial interface.
Here are the commands you want to send:
The hall sensor map should also appear in the controller's configuration tab.
Also, which firmware is your controller on?
Here are the commands you want to send:
^HPO 1 1
^HSM 1 0
The hall sensor map should also appear in the controller's configuration tab.
Also, which firmware is your controller on?
Please Log in or Create an account to join the conversation.
- Gabriel_Isko
5 years 7 months ago #29533451
by Gabriel_Isko
Replied by Gabriel_Isko on topic HPO / HSM setup
Hey, just a follow up. Ends up that you can't set the Hall sensor position on the SBL1360 anyway, so those commands shouldn't do anything. This is due to a limitation with the MCU in the unit that prevents it from being compatible with newer firmware features. The commands still build in offline operation because Roborun+ builds them against newer firmware. I will let engineering know about this. Sorry for the inconvenience.
Please Log in or Create an account to join the conversation.
- atestasecca
- Topic Author
- Offline
Less
More
- Posts: 13
- Thank you received: 0
5 years 7 months ago #29533452
by atestasecca
Replied by atestasecca on topic HPO / HSM setup
Hi thanks for the feedback
Do the engineering have an idea of when the new firmware will be released?
And is this command is available on the controller HBL2396?
Do the engineering have an idea of when the new firmware will be released?
And is this command is available on the controller HBL2396?
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
Time to create page: 0.071 seconds