Mitsubishi Electric CR750 Series Instruction Manual page 93

Circular arc tracking function
Hide thumbs Also See for CR750 Series:
Table of Contents

Advertisement

M_EncEnd
[Function]
Set the encoder data at tracking area ending position.
Or, the encoder data at tracking area ending position is returned.
The set value is set by the 3rd element of a parameter "TRKENC*" (*= condition number 1-8).
[Format]
[Write]
M_EncEnd(<Condition number>) = <Numeric value>
[Read]
<Numeric Variable> = M_EncEnd(<Condition number>)
[Terminology]
<Condition number [Integet]>: (can be omitted.)
Specify the tracking condition number.
Setting range: 1 to 8
If the argument is omitted, 1 is set as the default value.
<Numeric value [Long-precision real number]>
Specify the encoder data at tracking area ending position.
Setting range: Parameter "ENCRGMN" to "ENCRGMX"
<Numeric Variable [Long-precision real number]>
Specify a numeric variable that current the encoder data being set now.
[Reference Program]
M_EncSensor(1) = M_Enc(1)
・・・
M_EncStart(1) = M_Enc(1)
P_107(1) = P_Fbc(1)
・・・
M_EncEnd(1) = M_Enc(1)
P_108(1) = P_Fbc(1)
・・・
M_EncStop(1) = M_Enc(1)
P_109(1) = P_Fbc(1)
[Explanation]
(1) Set the encoder data at tracking area ending position.
(2) The set value is set by the 3rd element of a parameter "TRKENC*" (*= condition number 1-8).
(3) Read this value, the encoder data at tracking area ending position is returned.
(4) You can omit the step to specify <Condition number>.When it is omitted, condition number will be treated
as "1."
(5) Error L.3110 (value of the argument outside of the range) occurs when <Condition number> is outside a set
range.
(6) When the value designated as <Numeric value> is outside the setting range, Error L2560 (tracking
parameter abnormality) occurs at the time of TrkArc command execution.
' Encoder data at the position in which the sensor reacts to workpiece is
gotten.
' Encoder data at tracking area starting position is gotten.
' Robot current position is gotten.
' Encoder data at tracking area ending position is gotten
' Robot current position is gotten.
' Encoder data at tracking cancellation position is gotten
' Robot current position is gotten.
10 Maintenance of robot program
MELFA-BASIC V Instructions 10-83

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr751 series

Table of Contents