Cross cutter, Features of the "cross cutter" prepared solution – Lenze EVS93xx CrossCutter User Manual

Page 67

Advertising
background image

Cross Cutter

Features of the "Cross Cutter" prepared solution



Prepared Solution Servo PLC / ECSxA 1.1 EN

2-53

Inputs

Global variables

(Variable type: VAR_GLOBAL)

Name Data

type

Value/Meaning
Homing mode
0 >_Rn_MP
1 <_Rn_MP
4 >_Rp_<_Rn_MP
5 <_Rp_>_Rn_MP
6 >_Rn_>_TP
7 <_Rn_<_TP
8 >_TP
9 <_TP

g_byHomingMode BYTE

Symbols:
> Movement in positive direction
< Movement in negative direction
Rp Positive edge of homing switch
Rn Negative edge of homing switch
TP Touch-probe edge of input I4 using Servo PLC

MP Zero pulse edge of motor
The execution of the last action in each case will set the home position (e.g. the
zero pulse in the case of "MP") even if the drive continues to move subsequently.

Outputs

Global variables

(Variable type: VAR_GLOBAL)

Name Data

type

Value/Meaning
"Homing activated" status signal
This value is displayed in code C4150/000 bit 16.
TRUE Homing

active.

g_bHomingBusy BOOL

FALSE

Homing not active.

"Home status" status signal
This value is displayed in code C4150/000 bit 17.
TRUE

Homing complete, home position
detected.

g_bHomingDone BOOL

FALSE

Home position not detected (an encoder

error may have occurred).

"Error" status signal
This value is displayed in code C4150/000 bit 18.
TRUE

An error occurred when setting the
home position.
See g_nHomingErrorNo for more
detailed information about the error.

g_bHomingError BOOL

FALSE

No errors occurred when setting the
home position.

Error number

0 OK
13

Invalid value range

111 More than 4 decimal positions entered or no index with

fixed point format.

g_nHomingErrorNo

INT

-10

Controller inhibit (CINH) not set.

Advertising