Operator`s manual
2.5 Shift Instruction
2-209
3. PX Variable number/LPX Variable number/PX [Array number]/LPX [Array
number]
Add the following tag.
4. PX Variable number/LPX Variable number/PX [Array number]/LPX [Array
number]
Add the following tag.
No. Tag Explanation Note
7
PX Variable num-
ber/
LPX Variable
number/
PX [Array num-
ber]/
LPX [Array num-
ber]
Specifies the expanded position type variable
number of the reference position to calculate the
amount of the shift.
<Data 2>
No. Tag Explanation Note
8
PX Variable num-
ber/
LPX Variable
number/
PX [Array num-
ber]/
LPX [Array num-
ber]
Specifies the expanded position type variable
number of the target position to calculate the
amount of the shift.
<Data 3>
NOP
MOVJ VJ=20.00
GETS PX000 $PX000
MOVJ VJ=20.00
GETS PX001 $PX000
MSHIFT PX010 BF PX000 PX001
END
:
:
:
:
:
Moves to the reference position.
Sets the current position (the reference position) in the
position variable P000.
Moves to the target position.
Sets the current position (the target position) in the
position variable P001.
Calculates the shift amount and stores it in the position
variable P010.
Example