12 varhoming, Varhoming -26, Cross cutter – Lenze EVS93xx CrossCutter User Manual
Page 194: Appendix

Cross Cutter
Appendix
Prepared Solution Servo PLC / ECSxA 1.1 EN
6-26
6.1.12 VarHoming
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 for Servo PLC and I2 for ECS
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.
Start/stop homing.
•
Only in conjunction with controller enable.
FALSE => TRUE
Start homing.
g_bHomingStart
BOOL
FALSE Stop/abort
homing.
Input for homing switch preliminary stop position
TRUE
Depends on the selected mode.
g_bHomingMark
BOOL
FALSE
Depends on the selected mode.
g_dnMachineZeroDistance
DINT
Position of homing switch in [unit]
•
The value is entered in fixed point format with 4 decimal positions (1
[unit] = 10000). The value is converted into increments internally. If you
use this variable, to avoid inconsistencies, do not write variable
g_dnMachineZeroDistance_p!
g_dnMachineZeroDistance_p
DINT
Position of homing switch in [incr.]
•
If you use this variable, to avoid inconsistencies, do not write variable
g_dnMachineZeroDistance!
g_dnHomingTargetPos
DINT
Target position of the tool once homing is complete in [s_unit]
•
With reference to the machine zero point.
•
The value is entered in fixed point format with 4 decimal positions (1
[unit] = 10000). The value is converted into increments internally.
•
If you use this variable, to avoid inconsistencies, do not write variable
g_dnHomingTargetPos_p!
g_dnHomingTargetPos_p
DINT
Target position of the tool once homing is complete in [incr.]
•
With reference to the machine zero point.
•
If you use this variable, to avoid inconsistencies, do not write variable
g_dnHomingTargetPos!
Setting of home position
•
Only possible if controller inhibit (CINH) set!
g_bHomePositionSet
BOOL
FALSE => TRUE
The setpoint defined in
g_dnMachineZeroDistance(_p) is
applied and g_bHomingDone is set to
TRUE.