Want to control multiple motor

Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MathanRaja
Level 4
Level 4
100 sign-ins 10 questions asked 25 replies posted

Hi,

How to control multiple motors?

Thanks

Mathan

0 Likes
1 Solution
Viswa
Moderator
Moderator
Moderator
10 likes received 50 solutions authored 100 replies posted

Hi Mathan,

If it is the same iMOTION controller then we have to keep the node number same and

change the parameter set number to 0 and 1.

The node will be different for different iMOTION controllers.

 

Best Regards 

View solution in original post

0 Likes
11 Replies
Viswa
Moderator
Moderator
Moderator
10 likes received 50 solutions authored 100 replies posted

Hi Mathan,

Request you to provide more details regarding your query

1) It would be great if you can provide more details regarding the design/application

2) Processor/iMotion  device you would like to use and power board

 

Best Regards,

0 Likes
MathanRaja
Level 4
Level 4
100 sign-ins 10 questions asked 25 replies posted

Hi Viswa,

I am using Eval IMM101T-046M and controlling this eval board by stm32.

I have generated two different parameter files as User UART (the only change is UART node address and parameter set number) Multiple Motor parameter set support is Motor ID from UART.

I have merged this two-parameter file as mentioned in AN2020-25 and uploaded it by the MCE designer.

Then I tried the Load Parameter command to access the specific motor parameter file . But it is not worked.

How to Select a specific motor configuration?

SRM & AN2020-25 Both documents have load parameter command details but both have a different frame and CRC calculation.

So I need your support in controlling the motor.

Thanks

Mathan

0 Likes
Viswa
Moderator
Moderator
Moderator
10 likes received 50 solutions authored 100 replies posted

Hi Mathan,

 

Thanks for your patience, 

The SRM shall be the correct one. The multiple parameter AN will be revised soon. 

Best Regards,

0 Likes
MathanRaja
Level 4
Level 4
100 sign-ins 10 questions asked 25 replies posted

Hi Viswa,

What is the procedure for controlling multiple motors?

How to active parameter set number?

Shall I use the same node address for more than one motor parameter file?

Thanks

0 Likes
Viswa
Moderator
Moderator
Moderator
10 likes received 50 solutions authored 100 replies posted

Hi Mathan

 

PF the process to work with multiple motor parameters

  • Set the multiple motor parameter, shown below is UART selection “Unique Identification number”

Viswa_0-1660041836367.png

 

 

  • Repeat for parameter set number 2 and 3 as desired for different configurations
  • Use the VB script to generate combined file and program it using MCE designer.

PF the excel to generate combined file.

 

 

  • Parameter load command for parameter set 01 

0x01, 0x20, 0x20, 0x00, 0x00, 0x01, 0xDE, 0xDF

0 Likes
lock attach
Attachments are accessible only for community members.
MathanRaja
Level 4
Level 4
100 sign-ins 10 questions asked 25 replies posted

Hi Viswa,

the communication is not working, while it is handling multiple parameter files.

Here I have attached VBA & .ldf files(page 1 & 2 ). I have tried in both 57600 & 115200bps.

Can you re-confirm the load parameter buffer frame in the previous reply?

How to control the motor from MCE on handling multiple motors?

Thanks

0 Likes
Viswa
Moderator
Moderator
Moderator
10 likes received 50 solutions authored 100 replies posted

Hi Mathan

 

1) Is it possible to provide the screenshot as shown in the previous reply,

for both the parameter configurations generated?

2) What is the response received when the command is sent?

3) Can you power OFF the unit after programming the parameters and then check the communication.

4) Request you to follow the below thread to communicate with iMOTION controller using stm32

User Mode UART and Register Read (0x05) command not working 

 

Best Regards

0 Likes
MathanRaja
Level 4
Level 4
100 sign-ins 10 questions asked 25 replies posted

Hi Viswa,

MathanRaja_2-1660301330792.png

 

MathanRaja_1-1660301059514.png

 There is no response.

Thanks

Mathan

 

0 Likes
MathanRaja
Level 4
Level 4
100 sign-ins 10 questions asked 25 replies posted

Hi Viswa,

Now I can able to handle multiple motor parameter files.

Upload files from pages 0 to 15 without any empty pages in-between. then only, can handle parameter files. Now I have uploaded the parameter files on pages 0 and 1. Previously I have used pages 1 & 2, and 2&3, that's why I didn't handle them.

Why are these issues occurring?

I can control the motor with both the parameter files. But there are differences in the Pole, inductance & resistance.

How is Motor working on both files?

Thanks

Mathan

0 Likes

 

Hi Viswa,

In the previous reply, I mentioned I could control the multiple parameter files. But now I could control only page 0. even though uploaded the parameter file through the MCE designer.

Today I tried, Both parameter file has the same configuration, only changes in the node address.
Page 0 Node 1 & Page 1 Node 2 and  Page 0 Node 2 & Page 1 Node 1.I have used the same motor for both parameters files.

I could able to control only page 0, not page 1.

Thanks

Mathan

 

0 Likes
Viswa
Moderator
Moderator
Moderator
10 likes received 50 solutions authored 100 replies posted

Hi Mathan,

If it is the same iMOTION controller then we have to keep the node number same and

change the parameter set number to 0 and 1.

The node will be different for different iMOTION controllers.

 

Best Regards 

0 Likes