RX72M Group
Single-Chip Motor Control via EtherCAT Communications
R01AN5434EJ0110 Rev.1.10
Page 29 of 85
Aug.31.2020
5.3 R_MTR_SetUserifMode
This function enables or disables automatic updating of the command values for position and velocity
specified in the user interface module.
Format
void R_MTR_SetUserifMode (uint8_t u1_user_mode)
Parameters
u1_user_mode
Enables or disables automatic updating.
MTR_DISABLE_AUTO_SET(0)
MTR_ENABLE_AUTO_SET(1)
Return Values
None
Properties
The prototypes are declared in r_mtr_driver_acces.h.
Description
This function enables or disables periodic automatic updating in response to a signal from a timer.
Automatic updating is for the board user interface.
The default value in the sample program is for automatic updating to be disabled.
Example
/* */
if (BOARD_UI == g_u1_sw_userif)
{
R_MTR_SetUserifMode(MTR_ENABLE_AUTO_SET);
}