Gear on/offgearing mode statement, Gotogo to statement, Gear on/off – Lenze PMSS1000 Simple Servo User Manual

Page 58: Gearing mode statement, Goto, Go to statement

Advertising
background image

Indexer-Programmer-Manual.pdf REV 1.3

GEAR

ON/OFF Gearing

Mode

Statement


Purpose

GEAR ON enables gearing mode. Gear OFF disables gearing mode and returns SSi
to default mode. (Default mode is Indexing). Gearing ration is established by setting
System Variable GRATIO. Master encoder resolution (PPR) is set by System Variable
MEPPR. Default setting for GRATIO as 1 and MEPPR is set to motor encoder PPR.

Syntax

GEAR ON

GEAR

OFF

Remarks

GEAR ON statement considered one of the motion related commands. It has to be
used when drive enabled. If GEAR ON statement is met when drive is disabled fault #
27-"Drive disabled".

Execution of any motion related statement while in Gearing
mode cause SSi to put motion command to Motion Queue. After
execution of GEAR OFF statements SSi returns to default
Indexing mode and start execute motion commands from Queue
immediately. Note that GRATIO can be set on the fly which
allows dynamic control of the gearing ratio.

See Also

VELOCITY ON, VELOCITY OFF


Example:

GRATIO 2

;set initial ratio 2:1. 2 motor revs per ;1 master rev

GEAR

ON

…{statements}
GRATIO =AIN ;set ration dependant on Analog input ;value
…{statements}
GEAR

OFF

GOTO

Go

To

Statement


Purpose

Transfer program execution to the instruction following the label.


Syntax

GOTO <label>


Remarks

See Also

GOSUB, JUMP


Example:
GOTO

Label2

{Statements…}

Label2:

{Statements…}

58

Advertising