Changes for page 09 Electronic cam

Last modified by Devin Chen on 2025/01/09 11:57

From version 8.1
edited by Stone Wu
on 2022/09/26 14:36
Change comment: There is no comment for this version
To version 13.1
edited by Devin Chen
on 2024/06/21 14:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Stone
1 +XWiki.DevinChen
Content
... ... @@ -4,7 +4,7 @@
4 4  
5 5  **DEGEAR**
6 6  
7 -Electronic gear function refers to the function of multiplying the speed of the driving shaft by the set gear ratio and outputting to the driven shaft at this speed to control the mechanical operation.
7 +Electronic gear function refers to the function of multiplying the speed of the driving axis by the set gear ratio and outputting to the driven axis at this speed to control the mechanical operation.
8 8  
9 9  -[DEGEAR (s1) (s2) (s3) (d1) (d2)]
10 10  
... ... @@ -19,7 +19,7 @@
19 19  |=(s2)|(% style="width:478px" %)Specify the data buffer of the electronic gear command|(% style="width:218px" %) |(% style="width:185px" %)Form type|(% style="width:108px" %)LIST
20 20  |=(s3)|(% style="width:478px" %)Response time, that is, how often the gear calculation is performed|(% style="width:218px" %)0~~500|(% style="width:185px" %)Signed BIN 32 bit|(% style="width:108px" %)ANY32
21 21  |=(d)|(% style="width:478px" %)Specify pulse output axis|(% style="width:218px" %)Y0~~Y7|(% style="width:185px" %)Bit|(% style="width:108px" %)ANY_BOOL
22 -|=(d)|(% style="width:478px" %)Specify direction output shaft|(% style="width:218px" %)Y/M/S/D.b|(% style="width:185px" %)Bit|(% style="width:108px" %)ANY_BOOL
22 +|=(d)|(% style="width:478px" %)Specify direction output axis|(% style="width:218px" %)Y/M/S/D.b|(% style="width:185px" %)Bit|(% style="width:108px" %)ANY_BOOL
23 23  
24 24  **Device used**
25 25  
... ... @@ -34,7 +34,7 @@
34 34  **extension**
35 35  )))
36 36  |=**Y**|=**M**|=**S**|=**D.b**|=**D**|=**R**|=**LC**|=**HSC**|=**K**|=**H**|=**[D]**|=**XXP**
37 -|=(% rowspan="5" %)DECAM|Parameter 1| | | | | | |●|●| | | |
37 +|=(% rowspan="5" %)DEGEAR|Parameter 1| | | | | | |●|●| | | |
38 38  |Parameter 2| | | | |●|●| | | | | |
39 39  |Parameter 3| | | | |●|●| | |●|●| |
40 40  |Parameter 4|●| | | | | | | | | | |
... ... @@ -42,7 +42,7 @@
42 42  
43 43  **Features**
44 44  
45 -•When the instruction is turned on, the PLC obtains the number of pulses of the master axis (s1) according to the set response time (s2), calculates the average frequency within the response time, and calculates the output of the driven axis according to the set gear ratio Frequency and output pulse number, and output pulse (d1) and direction (d2). When the frequency of the driven shaft is greater than the set maximum frequency, it will output according to the set maximum frequency.
45 +•When the instruction is turned on, the PLC obtains the number of pulses of the master axis (s1) according to the set response time (s3), calculates the average frequency within the response time, and calculates the output of the driven axis according to the set gear ratio Frequency and output pulse number, and output pulse (d1) and direction (d2). When the frequency of the driven axis is greater than the set maximum frequency, it will output according to the set maximum frequency.
46 46  
47 47  •When the master axis (s1) uses the high-speed counter (HSC), the PLC internally obtains the number of external input pulses. Modifying the value of the HSC counter does not affect the judgment of the input pulse.
48 48  
... ... @@ -77,7 +77,10 @@
77 77  * 0: Use 16-bit gear ratio
78 78  * 1: Use 32-bit gear ratio
79 79  
80 -✎**Note:     **After changing this bit, it will only take effect after the DEGEAR command is re-enabled or the dynamic gear ratio function is used.
80 +(% class="box infomessage" %)
81 +(((
82 +✎**Note: **After changing this bit, it will only take effect after the DEGEAR command is re-enabled or the dynamic gear ratio function is used.
83 +)))
81 81  )))|(% style="width:141px" %)0 to 1|(% style="width:127px" %)Read/write
82 82  |=16|(% style="width:348px" %)32-bit electronic gear ratio numerator (low word)|(% rowspan="4" style="width:401px" %)(((
83 83  Number of outputs = Spindle input number within response time*numerator/denominator
... ... @@ -90,6 +90,8 @@
90 90  |=22|(% style="width:348px" %)32-bit electronic gear ratio denominator (low word)|(% rowspan="2" style="width:141px" %)-|(% rowspan="2" style="width:127px" %)Read-only
91 91  |=23|(% style="width:348px" %)32-bit electronic gear ratio denominator (high word)
92 92  
96 +(% class="box infomessage" %)
97 +(((
93 93  **✎Note:**
94 94  
95 95  • When the output pulse axis (d1) is used by this instruction, other high-speed pulse instructions can no longer use the output axis. Otherwise, an operation error will occur and pulse output will not be performed.
... ... @@ -99,6 +99,7 @@
99 99  • The electronic gear commands can only be enabled at most 8 (Y0 ~~ Y7) at the same time.
100 100  
101 101  • The electronic gear command is used, and the data buffer (s2) will occupy 24 consecutive devices. Note that the address cannot exceed the range of the device and reuse.
107 +)))
102 102  
103 103  **Error code**
104 104  
... ... @@ -452,9 +452,9 @@
452 452  
453 453  K2: Customize the designated key point to generate a table
454 454  
455 -K100: Generate flying shear curve
461 +K100: Generate rotary sacurve
456 456  
457 -K101: Generate chase curve
463 +K101: Generate flying saw curve
458 458  
459 459  D0~-~-The first address of cam parameters, allowable devices: D, R
460 460  
... ... @@ -1645,14 +1645,14 @@
1645 1645  (((
1646 1646  (% class="table-bordered" %)
1647 1647  |(% colspan="5" %)**Parameter setting of flying saw curve**
1648 -|(% style="width:118px" %)**Parameter**|(% style="width:96px" %)**Offset address**|(% style="width:195px" %)**Name**|(% style="width:102px" %)**Format**|(% style="width:958px" %)**Instruction**
1649 -|(% rowspan="2" style="width:118px" %)Parameter 1|(% style="width:96px" %)Address 0|(% rowspan="2" style="width:195px" %)Spindle length|(% rowspan="2" style="width:102px" %)32-bit integer|(% rowspan="2" style="width:958px" %)The cutting length of the feeding axis moving, the unit is Pulse.
1650 -|(% style="width:96px" %)Address 1
1651 -|(% rowspan="2" style="width:118px" %)Parameter 2|(% style="width:96px" %)Address 2|(% rowspan="2" style="width:195px" %)Slave length|(% rowspan="2" style="width:102px" %)32-bit integer|(% rowspan="2" style="width:958px" %)The circumference of the cutting axis (including the tool length), the unit is Pulse. Range [-2000000000, 2000000000]
1652 -|(% style="width:96px" %)Address 3
1653 -|(% rowspan="2" style="width:118px" %)Parameter 3|(% style="width:96px" %)Address 4|(% rowspan="2" style="width:195px" %)Slave synchronization length|(% rowspan="2" style="width:102px" %)32-bit integer|(% rowspan="2" style="width:958px" %)The length of the slave axis synchronization zone. Synchronization area range: 0<synchronization area length<~|slave axis length/2~|
1654 -|(% style="width:96px" %)Address 5
1655 -|(% rowspan="2" style="width:118px" %)Parameter 4|(% style="width:96px" %)Address 6|(% rowspan="2" style="width:195px" %)Slave axis synchronization magnification|(% rowspan="2" style="width:102px" %)Floating|(% rowspan="2" style="width:958px" %)(((
1654 +|(% style="width:118px" %)**Parameter**|(% style="width:97px" %)**Offset address**|(% style="width:137px" %)**Name**|(% style="width:134px" %)**Format**|(% style="width:503px" %)**Instruction**
1655 +|(% rowspan="2" style="width:118px" %)Parameter 1|(% style="width:97px" %)Address 0|(% rowspan="2" style="width:137px" %)Spindle length|(% rowspan="2" style="width:134px" %)32-bit integer|(% rowspan="2" style="width:503px" %)The cutting length of the feeding axis moving, the unit is Pulse.
1656 +|(% style="width:97px" %)Address 1
1657 +|(% rowspan="2" style="width:118px" %)Parameter 2|(% style="width:97px" %)Address 2|(% rowspan="2" style="width:137px" %)Slave length|(% rowspan="2" style="width:134px" %)32-bit integer|(% rowspan="2" style="width:503px" %)The circumference of the cutting axis (including the tool length), the unit is Pulse. Range [-2000000000, 2000000000]
1658 +|(% style="width:97px" %)Address 3
1659 +|(% rowspan="2" style="width:118px" %)Parameter 3|(% style="width:97px" %)Address 4|(% rowspan="2" style="width:137px" %)Slave synchronization length|(% rowspan="2" style="width:134px" %)32-bit integer|(% rowspan="2" style="width:503px" %)The length of the slave axis synchronization zone. Synchronization area range: 0<synchronization area length<~|slave axis length/2~|
1660 +|(% style="width:97px" %)Address 5
1661 +|(% rowspan="2" style="width:118px" %)Parameter 4|(% style="width:97px" %)Address 6|(% rowspan="2" style="width:137px" %)Slave axis synchronization magnification|(% rowspan="2" style="width:134px" %)Floating|(% rowspan="2" style="width:503px" %)(((
1656 1656  Calculation method one:
1657 1657  
1658 1658  In the synchronization zone, the speed of the master axis and the slave axis are equal, and the synchronization magnification calculation method:
... ... @@ -1671,29 +1671,29 @@
1671 1671  
1672 1672  Number of pulses required by the spindle
1673 1673  )))
1674 -|(% style="width:96px" %)Address 7
1675 -|(% rowspan="2" style="width:118px" %)Parameter 5|(% style="width:96px" %)Address 8|(% rowspan="2" style="width:195px" %)Slave axis maximum magnification limit|(% rowspan="2" style="width:102px" %)Floating|(% rowspan="2" style="width:958px" %)Maximum magnification = maximum speed of slave axis/maximum speed of main axis
1676 -|(% style="width:96px" %)Address 9
1677 -|(% rowspan="2" style="width:118px" %)Parameter 6|(% style="width:96px" %)Address 10|(% style="width:195px" %)Acceleration curve|(% style="width:102px" %)Integer|(% style="width:958px" %)(((
1680 +|(% style="width:97px" %)Address 7
1681 +|(% rowspan="2" style="width:118px" %)Parameter 5|(% style="width:97px" %)Address 8|(% rowspan="2" style="width:137px" %)Slave axis maximum magnification limit|(% rowspan="2" style="width:134px" %)Floating|(% rowspan="2" style="width:503px" %)Maximum magnification = maximum speed of slave axis/maximum speed of main axis
1682 +|(% style="width:97px" %)Address 9
1683 +|(% rowspan="2" style="width:118px" %)Parameter 6|(% style="width:97px" %)Address 10|(% style="width:137px" %)Acceleration curve|(% style="width:134px" %)Integer|(% style="width:503px" %)(((
1678 1678  0: constant acceleration curve, the speed curve is T type
1679 1679  
1680 1680  1: Constant jerk curve, the speed curve is S type
1681 1681  )))
1682 -|(% style="width:96px" %)Address 11|(% style="width:195px" %)CAM curve|(% style="width:102px" %)Integer|(% style="width:958px" %)Start, stop, and various curve selections for different synchronization zone positions: (currently only one type is supported, the default tracking RightCam, and the return LeftCam curve type. May not be set)
1683 -|(% rowspan="2" style="width:118px" %)Parameter 7|(% style="width:96px" %)Address 12|(% style="width:195px" %)Resolution|(% style="width:102px" %)Integer|(% style="width:958px" %)Range [62,511]
1684 -|(% style="width:96px" %)Address 13|(% style="width:195px" %)Reserved|(% style="width:102px" %)Retained|(% style="width:958px" %)Reserved
1685 -|(% rowspan="2" style="width:118px" %)Parameter 8|(% style="width:96px" %)Address 14|(% rowspan="2" style="width:195px" %)synchronization zone start position|(% rowspan="2" style="width:102px" %)32-bit integer|(% rowspan="2" style="width:958px" %)After the curve is generated correctly, the calculated starting position of the spindle synchronization area can be used to set the lower limit of the synchronization area.
1686 -|(% style="width:96px" %)Address 15
1687 -|(% rowspan="2" style="width:118px" %)Parameter 9|(% style="width:96px" %)Address 16|(% rowspan="2" style="width:195px" %)End of synchronization zone|(% rowspan="2" style="width:102px" %)32-bit integer|(% rowspan="2" style="width:958px" %)After the curve is correctly generated, the calculated end position of the spindle synchronization area can be used to set the lower limit of the synchronization area.
1688 -|(% style="width:96px" %)Address 17
1689 -|(% rowspan="2" style="width:118px" %)Parameter 10|(% style="width:96px" %)Address 18|(% rowspan="2" style="width:195px" %)Reserved|(% rowspan="2" style="width:102px" %)Reserved|(% rowspan="2" style="width:958px" %)Reserved
1690 -|(% style="width:96px" %)Address 19
1691 -|(% rowspan="2" style="width:118px" %)Parameter 11|(% style="width:96px" %)Address 20|(% rowspan="2" style="width:195px" %)The maximum magnification of the actual operation of slave axis|(% rowspan="2" style="width:102px" %)Floating|(% rowspan="2" style="width:958px" %)(((
1688 +|(% style="width:97px" %)Address 11|(% style="width:137px" %)CAM curve|(% style="width:134px" %)Integer|(% style="width:503px" %)Start, stop, and various curve selections for different synchronization zone positions: (currently only one type is supported, the default tracking RightCam, and the return LeftCam curve type. May not be set)
1689 +|(% rowspan="2" style="width:118px" %)Parameter 7|(% style="width:97px" %)Address 12|(% style="width:137px" %)Resolution|(% style="width:134px" %)Integer|(% style="width:503px" %)Range [62,511]
1690 +|(% style="width:97px" %)Address 13|(% style="width:137px" %)Reserved|(% style="width:134px" %)Retained|(% style="width:503px" %)Reserved
1691 +|(% rowspan="2" style="width:118px" %)Parameter 8|(% style="width:97px" %)Address 14|(% rowspan="2" style="width:137px" %)synchronization zone start position|(% rowspan="2" style="width:134px" %)32-bit integer|(% rowspan="2" style="width:503px" %)After the curve is generated correctly, the calculated starting position of the spindle synchronization area can be used to set the lower limit of the synchronization area.
1692 +|(% style="width:97px" %)Address 15
1693 +|(% rowspan="2" style="width:118px" %)Parameter 9|(% style="width:97px" %)Address 16|(% rowspan="2" style="width:137px" %)End of synchronization zone|(% rowspan="2" style="width:134px" %)32-bit integer|(% rowspan="2" style="width:503px" %)After the curve is correctly generated, the calculated end position of the spindle synchronization area can be used to set the lower limit of the synchronization area.
1694 +|(% style="width:97px" %)Address 17
1695 +|(% rowspan="2" style="width:118px" %)Parameter 10|(% style="width:97px" %)Address 18|(% rowspan="2" style="width:137px" %)Reserved|(% rowspan="2" style="width:134px" %)Reserved|(% rowspan="2" style="width:503px" %)Reserved
1696 +|(% style="width:97px" %)Address 19
1697 +|(% rowspan="2" style="width:118px" %)Parameter 11|(% style="width:97px" %)Address 20|(% rowspan="2" style="width:137px" %)The maximum magnification of the actual operation of slave axis|(% rowspan="2" style="width:134px" %)Floating|(% rowspan="2" style="width:503px" %)(((
1692 1692  The maximum magnification of the actual operation of slave axis:
1693 1693  
1694 1694  It is sync magnification when it is long material, and it is between sync magnification and maximum limit magnification when it is short material.
1695 1695  )))
1696 -|(% style="width:96px" %)Address 21
1702 +|(% style="width:97px" %)Address 21
1697 1697  )))
1698 1698  
1699 1699  **{{id name="2.3_案例"/}}(3) Case**