Changes for page 09 Electronic cam

Last modified by Jim(Forgotten) on 2025/06/23 18:38

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 21.1
edited by Jim(Forgotten)
on 2025/06/23 18:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Stone
1 +XWiki.Jim
Content
... ... @@ -4,12 +4,12 @@
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  
11 11  (% style="text-align:center" %)
12 -[[image:09_html_da882b8c1ba50fe6.png||height="388" width="700" class="img-thumbnail"]]
12 +[[image:PixPin_2024-12-31_14-57-19.png||alt="09_html_da882b8c1ba50fe6.png" class="img-thumbnail"]]
13 13  
14 14  **Content, range and data type**
15 15  
... ... @@ -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  
... ... @@ -823,10 +823,14 @@
823 823  
824 824  (Confirm before using electronic cam)
825 825  )))|(% style="width:944px" %)(((
826 -Bit0: Delayed start enable Bit1: Start at specified position Bit2: Spindle zoom
832 +Bit0: Delayed start enable
827 827  
828 -Bit3: zoom from axis
834 +Bit1: Start at specified position
829 829  
836 +Bit2: Zom master axis
837 +
838 +Bit3: Zoom slave axis
839 +
830 830  Bit5: Use external start signal
831 831  
832 832  Bit6: Start from current position
... ... @@ -901,7 +901,7 @@
901 901  Aperiodic electronic cam: control table execution times; when the value is H0001, the electronic cam will stop after executing once;
902 902  
903 903  When the value is HFFFF, it will become a periodic electronic cam execution.
904 -)))|(% style="width:126px" %)11|(% style="width:154px" %)1 to 65535
914 +)))|(% style="width:126px" %)1|(% style="width:154px" %)1 to 65535
905 905  |15|ECAM start delay pulse setting (low word)|(% rowspan="2" style="width:944px" %)(((
906 906  Periodic electronic cam: reserved
907 907  
... ... @@ -1334,7 +1334,7 @@
1334 1334  
1335 1335  ③. After leaving the synchronization zone, the slave axis will decelerate and move back to the origin to complete a cycle of cutting. After knowing the stroke, the speed relationship can be drawn.
1336 1336  
1337 -2) In the peeling process, the most important thing is speed synchronization. For example, when the cutting knife contacts the material, it must be synchronized with the material speed. If the cutting knife speed is greater than the synchronous speed during contact, a force that pulls the material forward will cause the material to be uneven. If the speed is lower than the material speed, it will appear. Blocking phenomenon.
1347 +2) In the cutting process, the most important thing is speed synchronization. For example, when the cutting knife contacts the material, it must be synchronized with the material speed. If the cutting knife speed is greater than the synchronous speed during contact, a force that pulls the material forward will cause the material to be uneven. If the speed is lower than the material speed, it will appear. Blocking phenomenon.
1338 1338  
1339 1339  3) The planning of the synchronization area will affect the operation of the actual equipment. If the synchronization area is larger in a cutting cycle, the acceleration and deceleration time will be smaller, which means that the equipment needs to be accelerated and decelerated in a short time. For motors and machines The impact of the cutter is very large, and it is easy to cause the servo over-current alarm and the equipment cannot operate normally.
1340 1340  
... ... @@ -1645,17 +1645,17 @@
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" %)(((
1658 +|(% style="width:118px" %)**Parameter**|(% style="width:118px" %)**Offset address**|(% style="width:134px" %)**Name**|(% style="width:115px" %)**Format**|(% style="width:464px" %)**Instruction**
1659 +|(% rowspan="2" style="width:118px" %)Parameter 1|(% style="width:118px" %)Address 0|(% rowspan="2" style="width:134px" %)Spindle length|(% rowspan="2" style="width:115px" %)32-bit integer|(% rowspan="2" style="width:464px" %)The cutting length of the feeding axis moving, the unit is Pulse.
1660 +|(% style="width:118px" %)Address 1
1661 +|(% rowspan="2" style="width:118px" %)Parameter 2|(% style="width:118px" %)Address 2|(% rowspan="2" style="width:134px" %)Slave length|(% rowspan="2" style="width:115px" %)32-bit integer|(% rowspan="2" style="width:464px" %)The circumference of the cutting axis (including the tool length), the unit is Pulse. Range [-2000000000, 2000000000]
1662 +|(% style="width:118px" %)Address 3
1663 +|(% rowspan="2" style="width:118px" %)Parameter 3|(% style="width:118px" %)Address 4|(% rowspan="2" style="width:134px" %)Slave synchronization length|(% rowspan="2" style="width:115px" %)32-bit integer|(% rowspan="2" style="width:464px" %)The length of the slave axis synchronization zone. Synchronization area range: 0<synchronization area length<~|slave axis length/2~|
1664 +|(% style="width:118px" %)Address 5
1665 +|(% rowspan="2" style="width:118px" %)Parameter 4|(% style="width:118px" %)Address 6|(% rowspan="2" style="width:134px" %)Slave axis synchronization magnification|(% rowspan="2" style="width:115px" %)Floating|(% rowspan="2" style="width:464px" %)(((
1656 1656  Calculation method one:
1657 1657  
1658 -In the synchronization zone, the speed of the master axis and the slave axis are equal, and the synchronization magnification calculation method:
1668 +In the synchronization zone, the speed of the master axis and the slave axis are equal, and the synchronization magnification calculation method:[[image:09_html_d11c191bffc9429b.jpg||class="img-thumbnail"]]
1659 1659  
1660 1660  V1(V2)=Master (slave) axis speed
1661 1661  
... ... @@ -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" %)(((
1684 +|(% style="width:118px" %)Address 7
1685 +|(% rowspan="2" style="width:118px" %)Parameter 5|(% style="width:118px" %)Address 8|(% rowspan="2" style="width:134px" %)Slave axis maximum magnification limit|(% rowspan="2" style="width:115px" %)Floating|(% rowspan="2" style="width:464px" %)Maximum magnification = maximum speed of slave axis/maximum speed of main axis
1686 +|(% style="width:118px" %)Address 9
1687 +|(% rowspan="2" style="width:118px" %)Parameter 6|(% style="width:118px" %)Address 10|(% style="width:134px" %)Acceleration curve|(% style="width:115px" %)Integer|(% style="width:464px" %)(((
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" %)(((
1692 +|(% style="width:118px" %)Address 11|(% style="width:134px" %)CAM curve|(% style="width:115px" %)Integer|(% style="width:464px" %)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)
1693 +|(% rowspan="2" style="width:118px" %)Parameter 7|(% style="width:118px" %)Address 12|(% style="width:134px" %)Resolution|(% style="width:115px" %)Integer|(% style="width:464px" %)Range [62,511]
1694 +|(% style="width:118px" %)Address 13|(% style="width:134px" %)Reserved|(% style="width:115px" %)Retained|(% style="width:464px" %)Reserved
1695 +|(% rowspan="2" style="width:118px" %)Parameter 8|(% style="width:118px" %)Address 14|(% rowspan="2" style="width:134px" %)synchronization zone start position|(% rowspan="2" style="width:115px" %)32-bit integer|(% rowspan="2" style="width:464px" %)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.
1696 +|(% style="width:118px" %)Address 15
1697 +|(% rowspan="2" style="width:118px" %)Parameter 9|(% style="width:118px" %)Address 16|(% rowspan="2" style="width:134px" %)End of synchronization zone|(% rowspan="2" style="width:115px" %)32-bit integer|(% rowspan="2" style="width:464px" %)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.
1698 +|(% style="width:118px" %)Address 17
1699 +|(% rowspan="2" style="width:118px" %)Parameter 10|(% style="width:118px" %)Address 18|(% rowspan="2" style="width:134px" %)Reserved|(% rowspan="2" style="width:115px" %)Reserved|(% rowspan="2" style="width:464px" %)Reserved
1700 +|(% style="width:118px" %)Address 19
1701 +|(% rowspan="2" style="width:118px" %)Parameter 11|(% style="width:118px" %)Address 20|(% rowspan="2" style="width:134px" %)The maximum magnification of the actual operation of slave axis|(% rowspan="2" style="width:115px" %)Floating|(% rowspan="2" style="width:464px" %)(((
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
1706 +|(% style="width:118px" %)Address 21
1697 1697  )))
1698 1698  
1699 1699  **{{id name="2.3_案例"/}}(3) Case**
PixPin_2024-12-31_14-57-19.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.DevinChen
Size
... ... @@ -1,0 +1,1 @@
1 +53.0 KB
Content