Mitsubishi Electric CR750-Q Instruction Manual page 431

Cr750/cr751/cr760 series
Hide thumbs Also See for CR750-Q:
Table of Contents

Advertisement

Fram
[Function]
Calculates the position data that indicates a coordinate system (plane) specified by three position data.
Normally, use Def Plt and Plt instructions for pallet calculation.
[Format]
<Numeric Variable 4>=Fram(<Numeric Variable 1>, <Numeric Variable 2>,
[Terminology]
<Numeric Variable 1>
<Numeric Variable 2>
<Numeric Variable 3>
<Numeric Variable 4>
[Reference Program]
1 Base P_NBase
2 P10=Fram(P1,P2,P3)
3 P10=Inv(P10)
4 Base P10
:
[Explanation]
(1) This can be used to define the base coordinate system.
(2) This creates a plane from the three coordinates X, Y, and Z for the three positions to calculate the posi-
tion of the origin and the inclination of the plane, and returns the result as a position variable. The X, Y,
and Z coordinates of the position data will be identical to that of position variable 1, while A, B, and C
will be the inclination of the plane to be specified by the three positions.
(3) Since the return value is a position data, an error will be generated if a joint variable is used in the left-
hand side.
(4) It is not possible to describe a function that contains an argument in <position 1>, <position 2> and
<position 3>. If such a function is described, an error will be generated during execution.
NG example: P10=Fram(FPrm(P01,P02,P03), P04, P05)
[Reference]
Relative conversion (* operator). Refer to
<Numeric Variable 3>)
This will be the origin of X, Y, and Z of the plane to be specified by three posi-
tions. A variable or a constant.
A point on the X axis of the plane to be specified by three positions. A variable
or a constant.
A point in the positive Y direction of the X-Y plane on the plane to be specified
by three positions. A variable or a constant.
Variable to which the result is assigned.
Substitute the structural flag by the value of <position 1>.
' Return base conversion data to the initial value.
' Create P10 coordinate system based on P1, P2 and P3 positions.
' Convert (inversely convert) P10 to what represents the position of the
origin point of base coordinate system viewed from P10.
' Newly establish the position of P10 defined in Step 2 in the world
coordinate system.
Page 473, "5.7 About Standard Base
Coordinates".
Detailed Explanation of Functions 4-411
4MELFA-BASIC V

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents