Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:software:qview:qview_6:qcl_library:dc10winding [2017/04/03 15:07] – [Errore] qem103 | en:software:qview:qview_6:qcl_library:dc10winding [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DC10Winding ====== | ||
+ | |||
+ | **D = **// | ||
+ | |||
+ | **C = **// | ||
+ | |||
+ | The DC10Winding function executes the calculations required to construct a cam that __//manages a wire-guides)// | ||
+ | A winding machine consists of two electrically controlled axes and bound together by a Master/ | ||
+ | The function calculates the areas of the cam program and writes about special arrays, then it will be another function (WrCam) to write data to the device that you want. | ||
+ | |||
+ | N.B.: The Master resolution (measurem and pulsem parameters of camming device) must have a value such that 1 coil round wrap-material corresponds to a value on the counting (positm variable of the camming device) of 360 Units of Measure if the selected unit of measure is in degrees (paramater aslParam[7] = 0), or to 3600 if the selected unit of measure is in tenths of a degree (parameter aslParam [7] = 1), etc.. | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **DC10Winding (aslParam, CodeG, CodeM, CodeQm, CodeQs, CodeQsa, NumSett, Error)** | ||
+ | |||
+ | The parameters to pass to the function are all contained in an array of 10 elements (called // | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | IN | ARRSYS | ||
+ | | OUT | ARRSYS | ||
+ | | OUT | ARRSYS | ||
+ | | OUT | ARRSYS | ||
+ | | OUT | ARRSYS | ||
+ | | OUT | ARRSYS | ||
+ | | OUT | SYSTEM | ||
+ | | OUT | SYSTEM | ||
+ | |||
+ | ==== Mode of operation ==== | ||
+ | |||
+ | How discriminates as starts to work the wire-guides. In particular: | ||
+ | 0 = From the start Coil\\ | ||
+ | 1 = From the end Coil\\ | ||
+ | 2 = From half-way forward\\ | ||
+ | 3 = From half-way backward\\ | ||
+ | 4 = Reboot from a stop cam. In this case, you must also set the aslParam[8], | ||
+ | |||
+ | ==== Support points ==== | ||
+ | |||
+ | For the distribution of the coil there is a theory, called ' | ||
+ | You may have 2, 3, 4 support points depending on whether the reverse position is 1/2, 1/3, 1/4 the round angle. Also there are for the 3 and 4 support points, 4 different possibilities and for 2 support points 2 possibilities. The type and number of support points you discriminate with aslParam[5] parameter as follows: | ||
+ | |||
+ | **//2 Support points://** | ||
+ | |||
+ | 0 = angles 90° - 180°\\ | ||
+ | 1 = angles 270° - 540° | ||
+ | |||
+ | **//3 Support points://** | ||
+ | |||
+ | 2 = angles 60° - 120°\\ | ||
+ | 3 = angles 120° - 240°\\ | ||
+ | 4 = angles 240° - 480°\\ | ||
+ | 5 = angles 300° - 600° | ||
+ | |||
+ | **//4 Support points://** | ||
+ | |||
+ | 6 = angles 45° - 90°\\ | ||
+ | 7 = angles 135° - 270°\\ | ||
+ | 8 = angles 225° - 450°\\ | ||
+ | 9 = angles 315° - 630° | ||
+ | |||
+ | For example, if the parameter is set to 0 (zero) means that the coil to the first distribution will do a whole number of laps plus 90°, to returns, will accomplish the same number of laps plus 90° coming back to the initial position but staggered 180°. The next pass will arrive with a phase shift of 270° and upon returning with a phase shift of 360°. In practice the reverse movement of the wire-guides will be, on one side, always on 180° and to 0°, on the other side, always 90° and to 270° causing the gap ever in two fixed points.\\ | ||
+ | The situation is similar with the parameter set to 1: the coil will make a whole number of laps plus 270° to the first distribution, | ||
+ | The operation of the theory is similar to the 3 and 4 support points Recalling that the phase shift between the support points of the same side will be respectively 120° and 90° instead of 180°. | ||
+ | |||
+ | ==== Corner of delay ==== | ||
+ | |||
+ | The delay angle indicates the space, expressed in degrees of angle round, in which the Slave axis (the wire-guides) should remain stationary at the start and end of the coil after arriving on the leaning angle. | ||
+ | |||
+ | ==== CodeM ==== | ||
+ | |||
+ | The M code (array CodeM of the the parameters table) is the array that makes sure that dynamics phase of the cam, the " | ||
+ | 0 = Axis stopped\\ | ||
+ | 1 = Axis moving forward\\ | ||
+ | 2 = Axis moving backward\\ | ||
+ | 3 = Axis in delay angle of the final part of the spool\\ | ||
+ | 4 = Axis in delay angle of the initial part of the spool | ||
+ | |||
+ | ==== Error ==== | ||
+ | |||
+ | After calling the function, if there are any errors the error variable takes certain values, the meaning of these values is summarized below:\\ | ||
+ | 0 : calculation executed without errors\\ | ||
+ | 1 : Delay angle off limits\\ | ||
+ | 2 : Master units off limits\\ | ||
+ | 3 : Support angle off limits\\ | ||
+ | 4 : Distance between Slave and coil end off limits\\ | ||
+ | 5 : Material width off limits\\ | ||
+ | 6 : Cam not achievable (negative Master space)\\ | ||
+ | 7 : Introduced Master count off limits\\ | ||
+ | 8 : codeMex value off limits | ||
+ | |||
+ | === Wire-guide diagram === | ||
+ | |||
+ | {{.: | ||
+ | |||
+ | === Operation notes === | ||
+ | |||
+ | *This function always calculates the cam dividing it into 7 sectors | ||
+ | *If, during operation, the speed of the Master exceeds the set value as reference speed (" | ||