Rl (report latch), General – Yaskawa SMC–4000 User Manual

Page 206

Advertising
background image

196

SMC–4000 User Manual

RL (Report Latch)

[General]

DESCRIPTION:

The RL command will return the last position captured by the latch. The latch must first be armed by the

AL (Arm Latch)

command. The armed state of the latch can be configured using the

CN (Configure Limit

Switches)

command.

ARGUMENTS: RLn

where

n = XYZW or ABCD for the main encoder latch.

USAGE:

OPERAND USAGE:

_RLn contains the main encoder latched position where n is an axis letter.

RELATED COMMAND:

AL (Arm Latch)

CN (Configure Limit Switches)

LT (Latch Target)

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

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=1

Wait here while latch is still armed

RL

Report the latch

10000

Advertising