Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:dc30flycut [2017/03/28 17:18] – created qem103 | en:software:qview:qview_6:qcl_library:dc30flycut [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DC30FlyCut ====== | ||
+ | |||
+ | **D = **// | ||
+ | |||
+ | **C = **// | ||
+ | |||
+ | The DC30FlyCut function perform the calculations necessary to be able to perform a __//linear fly cut//__ __keeping constant the space covered by the Slave.__ Passing parameters of length piece, fixed Slave space, max speed Slave, acceleration/ | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **DC30FlyCut (LunPez, slSpazioS, VmaxS, TaccS, TdecS, TmAttHome, TmAttFTag, TmTaglio, TmAssest, TmExtraSp, ExtraSpaz, CodeG, CodeM, CodeQm, CodeQs, VmaxCalM, Error, NumSett, LunMin, SpazioRitM, SpazioRitS)** | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | IN | SYSTEM | ||
+ | | OUT | ARRSYS | ||
+ | | OUT | ARRSYS | ||
+ | | OUT | ARRSYS | ||
+ | | OUT | ARRSYS | ||
+ | | OUT | SYSTEM | ||
+ | | OUT | SYSTEM | ||
+ | | OUT | SYSTEM | ||
+ | | OUT | SYSTEM | ||
+ | | OUT | SYSTEM | ||
+ | | OUT | SYSTEM | ||
+ | |||
+ | {{.: | ||
+ | |||
+ | ==== Error ==== | ||
+ | |||
+ | After calling the function, the error variable can take on certain values, the meaning of these values is summarized below:\\ | ||
+ | 0: calculation executed without errors\\ | ||
+ | 1: Maximum Slave speed or Slave Space for execute the cut, equal to 0\\ | ||
+ | 2: Calculated slave speed greater than the maximum extra space-cutting\\ | ||
+ | 3: insufficient piece length\\ | ||
+ | 4: negative return space (insufficient piece length)\\ | ||
+ | 5: slave return speed greater than the maximum\\ | ||
+ | 6: insufficient time for the return | ||
+ | |||
+ | === Note === | ||
+ | |||
+ | *This function always calculates the cam dividing it into 12 sectors | ||
+ | *The cutting sector is the sector 3 (rowex = 3). In this sector the codeM = 1000to enable management of cutting output from the device (' | ||
+ | *The set times in the input parameters to the function, are required to maintain the proportion between sectors but they cannot be met (the duration of the sector depends on the speed of the Master) | ||