Example Uart Command for IMC101-102T

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
User18018
Level 1
Level 1
First question asked Welcome!

Hi all,

This is example Uart Command for IMC101-102T

Example Uart Command for IMC101-102T
Precautions
1- What is inconsistent with the current version of RM is that starting the motor through the serial port not only requires writing targetspeed, but also setting the command register to 1, and setting the command register to 0 for shutdown (in the current version of the manual, it is stated that targetspeed is not zero to start and set to zero. If it stops), the actual situation, the zero setting will work in minspd.

2- The Wizard sets UART1 for users by default, and UART0 is used for MCEDesigner communication, and both can be carried out at the same time. If you change the wizard question 2 and the User Uart Function definition is UART0, then MCEDesigner cannot be connected and can only be controlled by sending serial commands through UART0.

3- The command is sent in hex format, the return packet is displayed in hex format, and the baud rate is set according to the wizard setting value.

Common fixed instructions

Command set to 1
01 06 01 78 01 00 FD 81

Command is set to 0
01 06 01 78 00 00 FE 81

Fault clear
01 01 00 00 00 00 ff fe

Read FaultFlag
01 00 00 00 00 00 ff ff

 

Read status IMC101.JPG

MotorCtrl command IMC101.JPG

0 Likes
1 Reply
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @User18018 

1) Kindly let me know if you are referring to the latest version of the Software Reference Manual, i.e. version 1.3

2) Here is the procedure to change the protocol that runs on UART0 interface.
Reconfigure UART0 to run MCEDesigner comm protocol using MCEWizard.
Generate a new txt file.
Turn off the board.
Get MCEDesigner ready to program parameter file before clicking ‘start’ button.
Power on the board.
Click ‘start’ button 2 seconds after the power is applied.
The MCE shall be programmed with the new txt file and UART0 is restored back to running MCEDesigner comm protocol.

Best Regards
Ekta

0 Likes