Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:da10anoopos [2017/02/07 16:51] – created qem103 | en:software:qview:qview_6:qcl_library:da10anoopos [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DA10AnOopos ====== | ||
+ | |||
+ | **D = **// | ||
+ | |||
+ | **A = **//Action functions// | ||
+ | |||
+ | The DA10AnOopos function __manages the analog output used in the case of an ON/OFF placement who needs analogue reference for the driver__.\\ | ||
+ | The function constructs the voltage profile based on acceleration and deceleration ramps set in function.\\ | ||
+ | Ramps can be either trapezoidal or epicicloidal (" | ||
+ | For the accuracy of the positioning it is important that the transition from positioning speed to slowdown speed, ake place before the end of the space of slowdown (set in the OOPOS3 device) | ||
+ | |||
+ | {{.: | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **DA10AnOopos(ooAxis, | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | OOPOS3 | ||
+ | | IN | EANPOS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | __CONFIGURATION FILE__ | ||
+ | |||
+ | <code QCL> | ||
+ | .... | ||
+ | ARRSYS | ||
+ | aslParam L 6 | ||
+ | ; | ||
+ | ; INTDEVICE Declaration | ||
+ | ; | ||
+ | INTDEVICE | ||
+ | ooAxis OOPOS3 | ||
+ | |||
+ | eaDac1 | ||
+ | </ | ||
+ | |||
+ | __MODULE__ | ||
+ | |||
+ | <code QCL> | ||
+ | MAIN: | ||
+ | aslParam[1] = 300 ; | ||
+ | aslParam[2] = 50 ; | ||
+ | aslParam[3] = 100 ; | ||
+ | aslParam[4] = 150 ; | ||
+ | aslParam[5] = 0 ;Ramp type = Trapezoidal | ||
+ | aslParam[6] = 0 ;Analog output type = 0÷10V | ||
+ | |||
+ | DA10AnOopos(ooAxis, | ||
+ | |||
+ | WAIT 1 | ||
+ | JUMP MAIN | ||
+ | </ | ||
+ | |||
+ | === Note === | ||
+ | |||
+ | *This function should be placed in a module of the application to execute at every turn logical | ||
+ | *For the accuracy of the positioning it is important that the transition from positioning speed to slowdown speed, take place before the end of the space of slowdown (set in the OOPOS3 device). If this does not happen you must increase the size of slowdown or decreases the deceleration time. | ||