ID : 160
Accel
Function
To change the internal acceleration and internal deceleration.
Syntax
Accel acceleration[, deceleration]
Guaranteed Entry
- Acceleration
- Specify the internal acceleration by Single Precision Real Number Type data within the range of 0.0001-100. The unit is "%."
- Deceleration
- Specify the internal deceleration by Single Precision Real Number Type data within the range of 0.0001-100. The unit is "%." This is an optional value. When this is omitted, the deceleration does not change.
Description
The internal acceleration and internal deceleration of the arm group for which the task acquired control are changed.
To execute this statement, the task must acquire any axis control.
Related Terms
Speed, Decel, ExtSpeed, ExtAccel, ExtDecel, CurSpd, CurAcc, CurDec, CurExtSpd, CurExtAcc, CurExtDec
Attention
-
Example
'!TITLE "Specification of Internal Acceleration and Internal Deceleration"
' Set internal acceleration and internal deceleration
Sub Sample_Accel
TakeArm Keep = 1
' Set acceleration to 100 and deceleration does not change
Accel 100
' Set acceleration to 100 and deceleration to 50
Accel 100, 50
End Sub
ID : 160