hy
Code:
NOEX VLM*B [ arg ] = base_value
NOEX VLM*1 [ arg ] = limit_1
NOEX VLM*2 [ arg ] = limit_2
arg ( argument ) = monitor_address : from 1 to 64
* = axis : XYZCMW, etc
to monitor X axis for a cut off, put this near the begining of the program :
Code:
NOEX VLMXB [ 1 ] = 22
NOEX VLMX1 [ 1 ] = 25
NOEX VLMX2 [ 1 ] = 27
or just this ( only to stop the cnc, and to ignore alarms generated by base & limit_1 ) :
Code:
NOEX VLMX2 [ 1 ] = 27
CALL OSUB LV01 = 1 ( this line is not a must; if it is missing, than an LM error will always be displayed as long as "effort > base" or "effort > limit_1" ; nothing to worry about if you target only tool stops, aka "limit_2" )
OSUB
NOEX VLM*B [ LV01 ] = VLM*2 [ LV01 ] VLM*1 [ LV01 ] = VLM*2 [ LV01 ] ( * : all the axis )
RTS ( . . . . . . . . . . . . . . . . . . . . . . . . . . )
and activate it inside the code like this :
Code:
VLMON [ 1 ] = 1
cut off here
VLMON [ 1 ] = 0
if you wish for faster settings and simplified syntax, check this sample :
Code:
CALL OLM01
cut off here
CALL OLMOF
or
Code:
CALL OLM01
cut off here
CALL OLM02
something else here
CALL OLMOF
kindly