Installation manual

Chapter 8 PA Library
8-27
pa_chg_pnt
Function
Alters the current point of teach point.
Syntax
long pa_chg_pnt(ARM armno, PNTMOVE pmov, long jpt)
armno Arm number (No.).
pmov Designates teach point pointer forwarding place with “enum PNTMOVE.”
jpt Pointer shifting designation number
pmov = Available when in “PM_JMP.”
Explanation
Changes teach point pointer to the teach point position designated by “pmov”.
Teach point pointed out by teach point pointer is called current point.
PM_TOP :Moves the teach point pointer to the top.
PM_NEXT :Moves the teach point pointer to the next teach point.
This function is available when teach data is being loaded or when
teaching is performed. If the current point is at the last teach point,
nothing is performed.
PM_PRIV :Moves the teach point pointer to the previous teach point.
This function is available when teach data is being loaded or when
teaching is performed. If the current point is at the top teach point,
nothing is performed.
PM_BTM :Moves the teach point pointer to the last teach point.
This function is available when teach data is being loaded or when
teaching is performed. If the current point is at the last teach point,
nothing is performed.
PM_JMP :Moves the teach point pointer to the teach point. With designated
number “jpt”.
PM_CIR :Researches the circle teach point forward from the current point and
moves the teach point pointer to the teach point found in the first
place.
PM_ARC :Researches the arc teach point forward from the current point and
moves the teach point pointer to the teach point found in the first
place.
When the current point (the 2ndpoint) is the circle first point, if “PM_NEXT”
is designated, the current point become the 5
th
point. To summarize, the
points able to be the current point are point attribution: PTP and circle 1
st
point and arc 1
st
point.
M
M
e
e
m
m
o
o
M
M
e
e
m
m
o
o
M
M
e
e
m
m
o
o