L-force | plc designer - softmotion – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 59

DMS 5.2 EN 03/2011 TD17
L
59
L-force | PLC Designer - SoftMotion
The SoftMotion drive interface
Variables of the AXIS_REF structure
Each AXIS_REF structure variable acts according to the PLCopen specification "Function
blocks for motion control", version 1.0.
1205
bSWLimitEnable
BOOL
FALSE
Activate software limit switch
1206
bHWLimitEnable
BOOL
FALSE
Activate/deactivate hardware
limit switch
1207
bCaptureOccurred
BOOL
FALSE
Capture has taken place (confirm
by writing)
1208
bStartCapturing
BOOL
FALSE
Start/stop capture for current
trigger
1210
bStartReference
BOOL
FALSE
TRUE: start homing run
1211
fReference
REAL
0
Referenzposition
1215
fOffsetPosition
REAL
0
Zero shift
1220
fFirstCapturePosition REAL
0
Window start position for
capture
1221
fLastCapturePosition REAL
0
Window end position for capture
1222
tiTriggerInput
TRIGGER_REF
Writing of the capture input
1223
bCaptureWindow
Active
BOOL
FALSE
Capture limited to window
1230
dwPosOffsetFor
Residuals
DWORD
0
Internal variable for remainder
considered
1231
dwOneTurn
DWORD
0
Internal variable for remainder
considered
1232
fLastPosition
REAL
0
Internal variable for remainder
considered
1234
iRestNumerator
INT
0
Internal variable for remainder
considered
1235
iTurn
INT
0
Internal variable for remainder
considered
1236
dwBusModuloValue DWORD
0
Internal variable for remainder
considered
1237
dwPosOffsetFor
ResidualsHoming
DWORD
0
Internal variable for remainder
considered
1300
bDisableDriveInAxis
GRoup
BOOL
FALSE
Delete drive from axis group
1301
bErrorDuringStartup BOOL
FALSE
Is set if error during start-up
occurs
pMS
POINTER TO BYTE
0
Pointer to drive-specific structure
No.
Name
Data type
Init value
Description