Mmc_Axis::changespeed - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_Axis::ChangeSpeed

Changes speed and acceleration/deceleration time.
unsigned long ChangeSpeed(
unsigned long speed,
unsigned long accTime,
unsigned long decTime
);
Detailed description
■Parameter
Argument
speed [in]
accTime [in]
decTime [in]
■Return value
Value
MMC_OK
MMERR_DEV_UNOPEN
MMERR_TIMEOUT_01
MMERR_AXIS_ERROR
MMERR_CONDITION_BUSY_OFF
■Point
• After setting "1" to "[Cd.15] Speed change request", this method waits inside the method until the value changes to "0".
• When "0" is set to new acceleration time value and new deceleration time value, acceleration/deceleration time is not
changed.
• Refer to the following for setting values (unit, setting range) of "[Cd.14] New speed value", "[Cd.10] New acceleration time
value", and "[Cd.11] New deceleration time value".
Simple Motion Board User's Manual (Application)
■Supported version
API version
1.00
■Reference
None.
Description
[Cd.14] New speed value
[Cd.10] New acceleration time value
[Cd.11] New deceleration time value
Description
Function succeeded
The Open method of the device driver class has not been called.
The timeout time (1 second) has elapsed.
An axis error occurred. Check "[Md.23] Axis error No.".
BUSY signal [X10 to X1F] are OFF.
Software version
01
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
79
3.3 MMC_Axis Class
3

Advertisement

Table of Contents
loading

Table of Contents