2024-11-11 05:10 AM
Dear all,
Background: I am in a student project trying to build a robot for RoboCUP - SSL. We have elected to go with DF45L035048-A from Nanotec. I have not received the motors but I saw that it is possible to import a new motor with a .json file. I know the specifics of the motor (from the datasheet) but I do not know the format of the file.
Question: Is there a template for the .json file that I can use which MC Workbench6 will accept so that I can started even though I do not have the motor?
Kind regards
Solved! Go to Solution.
2024-11-11 06:14 AM
Hello Stickkan,
You can also start a project via WorkBench with a completely different motor, then update it in the GUI (motor tab) according to your motor's datasheet, and finally save it as new Motor.
2024-11-11 05:53 AM
The basic structure of a .json file for motor parameters might look something like this:
{
"motor": {
"name": "DF45L035048-A",
"type": "BLDC",
"voltage": 48,
"rated_speed_rpm": 4000,
"rated_current": 3.5,
"resistance": 0.8,
"inductance": 0.0015,
"torque_constant": 0.045,
"inertia": 0.000032,
"pole_pairs": 4,
"encoder": {
"type": "incremental",
"resolution": 4096
}
}
}
2024-11-11 06:14 AM
Hello Stickkan,
You can also start a project via WorkBench with a completely different motor, then update it in the GUI (motor tab) according to your motor's datasheet, and finally save it as new Motor.
2024-11-11 06:18 AM
Thank you for your response however the MC Workbench didn't except this format.
Please see the screenshot:
My assumption that it must be .json file is based on the fact that when I click the "Click here to import a new motor" the only file type that I can select is a .json.
Kind regards
2024-11-11 06:38 AM
Okay I didn't know that. I will try that!
If it works I will click "Accept as Solution".
Thank you.