EasyManuals Logo

Mitsubishi Electric CR760-D User Manual

Mitsubishi Electric CR760-D
730 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #450 background imageLoading...
Page #450 background image
4-430 Detailed Explanation of Functions
4MELFA-BASIC V
SplPos
[Function]
Saves a random path point data registered in the spline file in the position variable.
[Format]
[Terminology]
<Position Variable> The variables for a result to be substituted. The value of the path
point data registered in the specified spline file is substituted to
the configuration flag.
<Path point No.> Specify the path point number to obtain with the constant or the numeric
variable.
Setting range: 1 to 5000
<Frame transformation> The details for executing frame transformation are designated with
a constant or numerical variable.
Setting range:
0: Frame transformation is not executed.
1: Frame transformation is executed using coordinate system set
in spline file.
2: Frame transformation is executed using coordinate system set
with SetCalFrm command.
When omitted: Frame transformation is not executed.
[Reference Program]
1 P1 = SplPos(1,5) ' Substitutes spline file 1 path point 5 position data for position variable
P1.
2 P2 = SplPos(1,10,1) ' Substitutes frame converted data for spline file 1 path point 10 position
data for position variable P2.
[Explanation]
(1) Returns path point position data corresponding to the <Path point No.> registered in the spline file spec-
ified with the <Spline No.>.
(2) The value of the path point data registered in the specified spline file is substituted to the configuration
flag.
(3) If a spline file corresponding to the <Spline No.> is not saved in the controller, the error L2610 (Can't
open spline file) will occur.
(4) If a path point information corresponding to the <Path point No.> is not saved in the spline file, the error
L2610 (Path point is not registered) will occur.
(5) If "1 (execute using coordinate system set in spline file)" or "2 (execute using coordinate system set with
SetCalFrm command) is designated in <Frame transformation>, the path point data is converted based
on the designated method, and the path point data is returned.
(6) If the coordinate system is not set in the spline file even though "1 (execute using coordinate system set
in spline file)" is designated in <Frame transformation>, error L2042 (Frame transformation coordinates
are not set) will occur.
(7) If the coordinate system cannot be calculated when "1 (execute using coordinate system set in spline
file)" is designated in <Frame transformation>, error L2041 (Can't calculate frame transformation coor-
dinates) will occur.
(8) If "2 (execute using coordinate system set with SetCalFrm command)" is designated for <Frame trans-
formation>, frame conversion is executed using the coordinate system set with the SetCalFrm com-
mand executed last. If the SetCalFrm command has not been executed even once and the coordinate
system is not set, error L2042 (Frame transformation coordinates are not set) will occur.
<Position Variable>=SplPos(<Spline No.>, <Path point No.> [, <Frame transformation>])

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi Electric CR760-D and is the answer not in the manual?

Mitsubishi Electric CR760-D Specifications

General IconGeneral
BrandMitsubishi Electric
ModelCR760-D
CategoryController
LanguageEnglish

Related product manuals