Mitsubishi Electric 4F-FS001-W200 Instruction Manual page 169

Industrial robot, controller, force sense function
Table of Contents

Advertisement

M_MoTrg
[Function]
Checks the Mo trigger enabled/disabled status and the trigger ON/OFF status while enabled.
[Syntax]
Example) <Numerical variable>= M_MoTrg (<Trigger No.>)
[Terminology]
<Trigger No.>
<Numerical variable>
[Example]
100 If M_MoTrg(2) = -2 Then
101
Def MoTrg 2, P_Fbc.X > 500 ' Defines Mo trigger No.2,
102
SetMoTrg 2
103 EndIf
[Description]
(1) Checks the MO trigger defined/undefined status, enabled/disabled status, and trigger ON/OFF status while
enabled.
(2) If the Mo trigger is enabled and the defined conditions are satisfied, "+1" is returned, and if not satisfied, "0"
is returned.
(3) If the Mo trigger is disabled, "-1" is returned.
(4) If the Mo trigger is undefined, "-2" is returned.
(5) Immediately after turning ON the power, "-2" (undefined) is returned.
Value
+1
0
-1
-2
Specifies the Mo trigger No. being checked with a constant.
Setting range: 1 - 3
Reads the Mo trigger defined/undefined status, enabled/disabled status, and trigger
ON/OFF status while enabled, and specifies the save destination.
'If Mo trigger No.2 undefined:
' Enables Mo trigger No.2.
Defined/Undefined
Status
Defined
Defined
Defined
Undefined
Details
Enabled/Disabled
Status
Enabled
Enabled
Disabled
――
Status Variables Relating Force Sense Detection Function 11-157
11 Language Specifications
Trigger ON/OFF
Status
ON
OFF
――
――

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents