Ql (query latch - auxiliary encoder), General, Arguments: qln where – Yaskawa LEGEND-MC User Manual

Page 198

Advertising
background image

188

LEGEND-MC User’s Manual

QL (Query Latch - Auxiliary Encoder)

[General]

DESCRIPTION:

The QL command will return the last position captured by the latch on the auxiliary axis. The latch must
first be armed by the AL command.

ARGUMENTS: QLn

where

n = XYZW or ABCDEFGH for the auxiliary encoder latch.

USAGE:

OPERAND USAGE:

_QLn contains the latched position where n is an axis letter.

RELATED COMMANDS:

EXAMPLES:

While Moving

Yes

Default Value

n/a

In a Program

Yes

Default Format

Position Format

Command Line

Yes

Can be Interrogated

No

Used as an Operand

Yes

Distributed Control

Specific Axis

"AL"

Arm Latch

“RL”

Report Latch

JG 5000

Set up to jog

BG

Begin jog

AL

Arm the latch; assume that after about 2
seconds, input goes low

#WAIT; JP #WAIT,_ALX=2

Wait while the auxiliary latch has not
occurred.

QL

Report the auxiliary latch

Advertising