Mf (motion forward), Trippoint – Yaskawa LEGEND-MC User Manual

Page 173

Advertising
background image

163

LEGEND-MC User’s Manual

MF (Motion Forward)

[Trippoint]

DESCRIPTION:

The MF command is a trippoint used to control the timing of events. This command will hold up the
execution of the following command until the specified motor moves forward and crosses the position
specified. The units of the command are in quadrature counts. The MF command can also be used when
the encoder is the master and not under servo control, because the actual position is monitored.

ARGUMENTS: MFx, y, z, w or MFX=x or MFa, b, c, d, e, f, g, h where

x, y z, w, or a, b, c, d, e, f, g, h are signed integers

USAGE:

RELATED COMMANDS:

EXAMPLES:

NOTE: The accuracy of the MF command is the number of counts that occur in 2 msec. Multiply the speed by 2 msec to
obtain the maximum error. MF tests for absolute position. The MF command can also be used when the specified motor is
driven independently by an external device.

While Moving

Yes

Minimum Value

-2147483648

In a Program

Yes

Maximum Value

2147483647

Command Line

Yes

Default Value

---

Can be Interrogated

No

Default Format

---

Used as an Operand

No

Distributed Control

Specific Axis

"AR"

Trippoint for after Relative Distance

"MR"

Reverse motion to position

"AP"

After Absolute Position

#TEST Program

B

DP0 Define

zero

JG 1000

Jog mode (speed of 1000 counts/sec)

BG Begin

move

MF 2000

After passing the position 2000

V1=_TP Assign

V1

position

MG "Position is", V1= ST

Print Message Stop

EN

End of Program

Advertising