SETSPLINEPOINT
(Statement)
[Version 2.3 or later]

Registers viapoints in the free curve motion.

SETSPLINEPOINT <Free curve trajectory number> <Viapoint>

Registers the points designated by <Viapoint> as the viapoints of the free curve designated by <Free curve trajectory number>. <Viapoint> is a type P or type J variable.

-
Up to 200 viapoints can be specified every trajectory number. Exceeding the limit triggers the "685A Free curve pass point overflow" error.
-
If free curve motion with no viapoint registration is executed, error "685B Number of free curve mismatch" occurs.
-
Up to 20 trajectory numbers can be specified. Exceeding the limit triggers the "685B Number of free curve mismatch" error.
-
If a designated viapoint is outside the motion range, an error at the level of 6070 (J* software motion limit over) occurs.
-
Before executing the "SETSPLINEPOINT" command, change the tool coordinates or the work coordinates to the same ones as teaching viapoints, with the "CHANGETOOL" or "CHANGEWORK" command.

PROGRAM PRO1
|
|
TAKEARM
|
|
CLRSPLINEPOINT 5
|
'Clears all viapoints for the free curve
'with 'trajectory 5.
|
SETSPLINEPOINT 5, P4
|
'Sets P4 as the first viapoint for the free curve
'with trajectory 5.
|
SETSPLINEPOINT 5, P1
|
'Sets P1 as the second viapoint for the free
'curve with trajectory 5.
|
SETSPLINEPOINT 5, J5
|
'Sets J5 as the third viapoint for the free curve
'with trajectory 5.
|
MOVE S, 5
|
'Executes free curve motion to J5 through P4 and P1.
|