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

Page 66

Advertising
background image

Cross Cutter

Features of the "Cross Cutter" prepared solution



Prepared Solution Servo PLC / ECSxA 1.1 EN

2-52

Variable

names

Inputs

Global variables

(Variable type: VAR_GLOBAL)

Name Data

type

Value/Meaning
Start/stop homing, only in conjunction with controller enable.
This value is written in code C4135/000 bit 0.
This value is displayed in code C4136/000 bit 0.
Positive edge from FALSE to TRUE

Start homing.

g_bHomingStart

BOOL

FALSE

Stop/abort homing.

Variable for homing switch; preliminary stop position
TRUE

Response in accordance with homing
mode set in C3010

g_bHomingMark

BOOL

FALSE

Response in accordance with homing
mode set in C3010

Setting of home position
Only possible if controller inhibit (CINH) set!

This value is written in code C4135/000 bit 1.
This value is displayed in code C4136/000 bit 1.

g_bHomePositionSet

BOOL

Positive edge from FALSE to TRUE = The setpoint defined in C3626 (position of

homing switch) is applied and g_bHomingDone is set to TRUE.
Reset home.
This value is written in code C4135/000 bit 2.
This value is displayed in code C4136/000 bit 2.

g_bHomePositionReset

BOOL

TRUE = The g_bHomingDone output is reset to FALSE.
The "Home position detected" status is reset (g_bHomingDone = FALSE).

g_dnMachineZeroDistance

DINT

Position of homing switch in [unit]
The value is entered in fixed point format with 4 decimal positions (1 [unit] x 10000).
The value is converted into increments internally.
If you use this variable, to avoid inconsistencies, do not write variable
g_dnMachineZeroDistance_p!
This value is displayed in code C3626/000; this variable can be written to this code.

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 [unit]
With reference to the machine zero point.
The value is entered in fixed point format with 4 decimal positions (1 [unit] x 10000).
The value is converted into increments internally.
If you use this variable, to avoid inconsistencies, do not write variable
g_dnHomingTargetPos_p!
This value is displayed in code C3627/000; this variable can be written to this code.

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_p!

Advertising