AK80-64 AK Series Actuator Driver Manual V1.0.8
Table Of Contents
- Notice
- 1.Ensure that the circuit is normal and the interfac
- 2. The driver board will be hot when output, pleas
- 3. Please Check whether the parts are in good cond
- 4. Several optional control modes can’t be switche
- 5. Please use it strictly in accordance with the w
- Feature
- Disclaimer
- Version Change Record
- 1.Drive Product Information
- ①Three-phase wires connection port
- 2.R-link produce information
- 2.1 Introduction of R-link' appearance&Specificat
- 3. Actuator and R-link Connection and Notices
- Connection instructions: Connect the USB cable to
- 4. Instructions for use of the upper computer
- 1.Click Open File and select the firmware. The firmw
- 2.Click Bootloader.
- 3.Click download and wait for the progress bar to re
- 5. Driver board communication protocol and descrip
https://www.cubemars.com/
37 / 52
5.1.5 Position loop mode
Position loop simple control block diagram
Position loop mode sends data definitions
Data bits
Data[3]
Data[2]
Data[1]
Data[0]
Range
0~0xff
0~0xff
0~0xff
0~0xff
Corresponding
variables
Position 25-32 bit
Position 17-24 bit
Position 9-16 bit
Position 1-8 bit
Position loop sending routine, position as int32 type,range-360000000~360000000 represents
position -36000°~36000°
void comm_can_set_pos(uint8_t controller_id, float pos) {
int32_t send_index = 0;
uint8_t buffer[4];
buffer_append_int32(buffer, (int32_t)(pos * 1000000.0), &send_index);
comm_can_transmit_eid(controller_id |
((uint32_t)CAN_PACKET_SET_POS << 8), buffer, send_index);
}
5.1.6 Set origin mode
Date bits
Data[0]
Range
0~0x02
Corresponding
variable
Set instruction
Among them, the setting command is uint8_t type, 0 means setting the temporary origin (power
failure elimination), 1 means setting the permanent zero point (automatic parameter saving), 2