RX72M Group
Single-Chip Motor Control via EtherCAT Communications
R01AN5434EJ0110 Rev.1.10
Page 45 of 85
Aug.31.2020
5.19 R_MTR_AutoSetVariables
This function sets the position and velocity command values in the buffer of variables for ICS input as the
given motor control parameters.
Format
void R_MTR_AutoSetVariables(void)
Parameters
None
Return Values
None
Properties
The prototypes are declared in r_mtr_driver_acces.h.
Description
This function is executed in response to the 500-us cycle interrupt.
This setting is only valid when the setting of the automatic update mode parameter is "enabled".
Example
/* Set control input buffer to motor control structure members */
R_MTR_AutoSetVariables ();