AK80-64 AK Series Actuator Driver Manual V1.0.8

Table Of Contents
https://www.cubemars.com/
41 / 52
receives the motor feedback once the motor status
Example of motor return serial port command:02 49 04 01 66 FC D0 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 FF FF FF F3 00 F6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF
FF FF FF 00 16 D7 AD 00 0A 6F 19 40 7E 00 00 00 00 00 00 00 00 00 00 00 00 00 04 4D 53 03 02
05 16 00 1A B6 03 C9 B5 03
// 02frame header+49Data length+ 04Data Frame + mos temperature2byte+motor
temperature 2byte+output current4byte+input current4byte+Id current4byte
+Iq current4byte+Motor throttle value2byte+motor speed4byte+input voltage2byte
+reserved value24byte+Motor status code1byte+Motor outer ring position value4byte
+Motor Control ID Number1byte+Temperature retention value6byte+Vd voltage value
4byte+Vqvoltage value4byte+CRC+03(end of frame)
The conversion formula of some parameters sent by the motor is as follows:
MOS temperature=(float)buffer_get_int16(data, &ind) / 10.0)
Motor temperature=(float)buffer_get_int16(data, &ind) / 10.0)
Output current=(float)buffer_get_int32(data, &ind) / 100.0)
Input current=(float)buffer_get_int32(data, &ind) / 100.0)
Id current=(float)buffer_get_int32(data, &ind) / 100.0)
Iq current=(float)buffer_get_int32(data, &ind) / 100.0)
Motor throttle value=(float)buffer_get_int16(data, &ind) / 1000.0)
Motor speed=(float)buffer_get_int32(data, &ind) )
Iinput voltage=(float)buffer_get_int16(data, &ind) / 10.0)
Motor outer ring position=(float)buffer_get_int32(data, &ind) / 1000000.0)
Motor ID number=data
Motor Vd voltage=(float)buffer_get_int32(data, &ind) / 1000.0)
Motor Vq voltage=(float)buffer_get_int32(data, &ind) / 1000.0)
Motor feedback position message command
Serial command02 02 0B 04 9C 7E 03 // The motor sends the current position every 10ms
after receiving
Example of sending the motor feedback position value (the feedback position message command
needs to be sent to the motor in advance, and the current position is sent every 10ms after the
motor receives it)
Serial command02 05 16 00 1A B6 64 D5 F4 03
Pos=(float)buffer_get_int32(data, &ind) / 1000.0
Single or multiple parameter acquisition instruction instance of motor
Serial command: 02 05 32 00 00 00 01 58 4C 03 // Get motor temperature command
Instruction description: This instruction can acquire single or multiple motor parameters. The