Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:dt11breakenc [2017/02/07 15:42] – created qem103 | en:software:qview:qview_6:qcl_library:dt11breakenc [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DT11BreakEnc ====== | ||
+ | |||
+ | **D = **// | ||
+ | |||
+ | **T = **//Control functions// | ||
+ | |||
+ | The DT11BreakEnc functions __executes a check to see any problems on the movement of analog axes__. The function puts the device in emergency state (or report the emergency via a flag), when in 1/10 of a second (fixed time) with the analog output higher than the value contained in the //MinVout// parameter, the axis does not cover at least the space set to the // | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **DT11BreakEnc(Asse, | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ANPOS EANPOS CAMMING | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | OUT | SYSTEM/\\ GLOBAL | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | <code QCL> | ||
+ | MinVout = 3 ;(0.3 Volt minimum voltage that enable the control) | ||
+ | MinSpost = 10 ;(10 units of minimum displacement measurement to be performed in 1/10 of sec) | ||
+ | EmrgOn = 0 ; | ||
+ | DT11BreakEnc(Axis, | ||
+ | IF AlmEnc | ||
+ | IF NOT Axis: | ||
+ | EMRG Axis | ||
+ | ENDIF | ||
+ | ENDIF | ||
+ | </ | ||
+ | |||
+ | === Note === | ||
+ | |||
+ | *This function should be placed at a point of the application that runs on every round makes sense so that control is constant. | ||
+ | *The AlmEnc flag is reset automatically when the emergency situation becomes invalid (voltage for the device that falls below the set value in the (// | ||