Ip (increment position), Motion – Yaskawa SMC–4000 User Manual
Page 142
![background image](https://www.manualsdir.com/files/819559/content/doc142.png)
132
SMC–4000 User Manual
IP (Increment Position)
[Motion]
DESCRIPTION:
The IP command allows for an update in the commanded position while the motor is moving. This
command does not require a
BG (Begin)
command. The command has three effects depending on the
motion being executed. The units of this command are quadrature counts.
Case 1: Motor is standing still
An IP n command is equivalent to a
PR (Position Relative)
n and
BG (Begin)
command. The motor will
move to the specified position at the requested slew speed and acceleration.
Case 2: Motor is moving towards specified position
An IP n command will cause the motor to move to a new position target, which is the old target plus n. n
must be in the same direction as the existing motion (final target cannot be closer).
Case 3: Motor is in Jog Mode
An
IP (Increment Position)
n command will cause the motor to instantly try to servo to a position n from the
present instantaneous position. The
SP (Speed)
and
AC (Acceleration)
parameters have no effect. This
command is useful for making small corrections when synchronizing 2 axes in which one of the axis' speed
is indeterminate due to a variable diameter pulley.
Warning: When the motor is in jog mode, an
IP (Increment Position)
command will create an instantaneous position
error. In this mode, the IP should only be used to make small incremental position movements.
ARGUMENTS: IP x, y, z, w or IPX=x or IP a, b, c, d where
x, y z, w, or a, b, c, d are unsigned integers
USAGE:
EXAMPLES:
While Moving
Yes
Minimum Value
-2147483648
In a Program
Yes
Maximum Value
2147483647
Command Line
Yes
Default Value
n/a
Can be Interrogated
Yes
Default Format
10.0
Used as an Operand
No
Virtual Axis
No
:IP 50
50 counts with set acceleration and speed
#CORRECT
Label
AC 100000
Set acceleration
JG 10000;BG
Jog at 10000 counts/sec rate
WT 1000
Wait 1000 msec
IP 10
Move the motor 10 counts instantaneously
ST
Stop Motion