Mmc_Axis::changesyncposition - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Axis::ChangeSyncPosition

Changes current value of cam axis current value per cycle, current value per cycle after main gear, and current value per
cycle after auxiliary shaft gear during synchronous control.
unsigned long ChangeSyncPosition(
unsigned short target,
long value
);
Detailed description
■Parameter
Argument
target [in]
value [in]
*1 Specify the following values for change target.
Value
MMC_SYNC_POS_CAM_AXIS
MMC_SYNC_POS_MAIN_SHAFT_GEAR
MMC_SYNC_POS_AUX_SHAFT_GEAR
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_TIMEOUT_01
MMERR_AXIS_ERROR
MMERR_CONDITION_AXIS_OPERATION_STATUS
■Point
• This method uses the "Synchronous control change function" of the Simple Motion board.
• This method waits inside the method until "[Cd.406] Synchronous control change request" changes to "0".
• Current value change is completed in one operation cycle.
• Refer to the following for setting values (unit, setting range) of "[Cd.408] Synchronous control change value".
Simple Motion Board User's Manual (Advanced Synchronous Control)
■Supported version
API version
1.00
■Reference
MoveCamPosition (Page 138 MMC_Axis::MoveCamPosition)
Description
*1
Change target
[Cd.408] Synchronous control change value
Description
Change cam axis current value per cycle
Change current value per cycle after main gear
Change current value per cycle after auxiliary shaft gear
Description
Function succeeded
The Open method of the device driver class has not been called.
The argument is outside the set range.
The timeout time (1 second) has elapsed.
An axis error occurred. Check "[Md.23] Axis error No.".
"[Md.26] Axis operation status" is not in synchronous control.
Software version
01
4 API LIBRARY DETAILS (ADVANCED SYNCHRONOUS CONTROL)
137
4.2 MMC_Axis Class
4

Advertisement

Table of Contents
loading

Table of Contents