Validity: Task, Rule
This keyword is used to define the minimum quota that can be reached by axes.
Syntax |
REAL min_str (I32 n) |
---|---|
n |
Axis index. Minimum representable number: 1 Maximum representable number: 32 |
Notes |
Its units are Units |
It is implicitly used only if CRASH alarm management(cam) is enabled. In that case you have:
•Imposing ip you have limitation not to go below the end of strokes value (or below the current position if already below the parameter)
•Imposing iv or ia has alarm generation(code 14) if the quota goes below this parameter
•Limitation of targets to the minimum value of end of strokes in all motion instructions where axis is declared
NOTE: From RTE 33.18, from configurator it is possible to disable the retentivity of this parameter(DIS_AXES_PAR_RE).
Example
; if the ideal quota of axis 3 is less than or equal ; to the minimum end of strokes of axis 3 ; to the TARGET variable is assigned the value ; of the maximum end of strokes of axis 3 if (ip(3) <= min_str(3)) TARGET = max_str(3) endif |
Example
; if the boolean variable machineSh is true then ; the max and min end of strokes will be assigned the values +/-1000 if (machineSh) max_str(1) = 1000 min_str(1) = -1000 ; otherwise will be assigned the values +/-2000 else max_str(1) = 2000 min_str(1) = -2000 endif |