RX72M Group
Single-Chip Motor Control via EtherCAT Communications
R01AN5434EJ0110 Rev.1.10
Page 55 of 85
Aug.31.2020
5.29 R_MTR_SetAccelerationUnits
This function sets the acceleration command value in count/s
2
.
Format
void R_MTR_SetAccelerationUnits(uint32_t u4_acceleration_units)
Parameters
Acceleration command value [count/s
2
]
Return Values
None
Properties
The prototypes are declared in r_mtr_driver_ecat_acces.h.
Description
The
acceleration command value is a signed value in count/s
2
.
The value is converted to the 16.16-bit fixed point format.
Example
/* Set acceleration 10[cout/s
2
] */
R_MTR_SetAccelerationUnits (10*65536);