Changes for page 09 Electronic cam

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

From version 16.1
edited by Devin Chen
on 2024/12/31 15:08
Change comment: There is no comment for this version
To version 8.1
edited by Stone Wu
on 2022/09/26 14:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.DevinChen
1 +XWiki.Stone
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 axis by the set gear ratio and outputting to the driven axis at this speed to control the mechanical operation.
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.
8 8  
9 9  -[DEGEAR (s1) (s2) (s3) (d1) (d2)]
10 10  
11 11  (% style="text-align:center" %)
12 -[[image:PixPin_2024-12-31_14-57-19.png||alt="09_html_da882b8c1ba50fe6.png" class="img-thumbnail"]]
12 +[[image:09_html_da882b8c1ba50fe6.png||height="388" width="700" 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 axis|(% 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 shaft|(% 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" %)DEGEAR|Parameter 1| | | | | | |●|●| | | |
37 +|=(% rowspan="5" %)DECAM|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 (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.
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.
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,10 +77,7 @@
77 77  * 0: Use 16-bit gear ratio
78 78  * 1: Use 32-bit gear ratio
79 79  
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 -)))
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.
84 84  )))|(% style="width:141px" %)0 to 1|(% style="width:127px" %)Read/write
85 85  |=16|(% style="width:348px" %)32-bit electronic gear ratio numerator (low word)|(% rowspan="4" style="width:401px" %)(((
86 86  Number of outputs = Spindle input number within response time*numerator/denominator
... ... @@ -93,8 +93,6 @@
93 93  |=22|(% style="width:348px" %)32-bit electronic gear ratio denominator (low word)|(% rowspan="2" style="width:141px" %)-|(% rowspan="2" style="width:127px" %)Read-only
94 94  |=23|(% style="width:348px" %)32-bit electronic gear ratio denominator (high word)
95 95  
96 -(% class="box infomessage" %)
97 -(((
98 98  **✎Note:**
99 99  
100 100  • 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.
... ... @@ -104,7 +104,6 @@
104 104  • The electronic gear commands can only be enabled at most 8 (Y0 ~~ Y7) at the same time.
105 105  
106 106  • 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 -)))
108 108  
109 109  **Error code**
110 110  
... ... @@ -458,9 +458,9 @@
458 458  
459 459  K2: Customize the designated key point to generate a table
460 460  
461 -K100: Generate rotary sacurve
455 +K100: Generate flying shear curve
462 462  
463 -K101: Generate flying sacurve
457 +K101: Generate chase curve
464 464  
465 465  D0~-~-The first address of cam parameters, allowable devices: D, R
466 466  
... ... @@ -1651,17 +1651,17 @@
1651 1651  (((
1652 1652  (% class="table-bordered" %)
1653 1653  |(% colspan="5" %)**Parameter setting of flying saw curve**
1654 -|(% style="width:118px" %)**Parameter**|(% style="width:118px" %)**Offset address**|(% style="width:134px" %)**Name**|(% style="width:115px" %)**Format**|(% style="width:464px" %)**Instruction**
1655 -|(% 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.
1656 -|(% style="width:118px" %)Address 1
1657 -|(% 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]
1658 -|(% style="width:118px" %)Address 3
1659 -|(% 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~|
1660 -|(% style="width:118px" %)Address 5
1661 -|(% 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" %)(((
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" %)(((
1662 1662  Calculation method one:
1663 1663  
1664 -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"]]
1658 +In the synchronization zone, the speed of the master axis and the slave axis are equal, and the synchronization magnification calculation method:
1665 1665  
1666 1666  V1(V2)=Master (slave) axis speed
1667 1667  
... ... @@ -1677,29 +1677,29 @@
1677 1677  
1678 1678  Number of pulses required by the spindle
1679 1679  )))
1680 -|(% style="width:118px" %)Address 7
1681 -|(% 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
1682 -|(% style="width:118px" %)Address 9
1683 -|(% rowspan="2" style="width:118px" %)Parameter 6|(% style="width:118px" %)Address 10|(% style="width:134px" %)Acceleration curve|(% style="width:115px" %)Integer|(% style="width:464px" %)(((
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 1684  0: constant acceleration curve, the speed curve is T type
1685 1685  
1686 1686  1: Constant jerk curve, the speed curve is S type
1687 1687  )))
1688 -|(% 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)
1689 -|(% 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]
1690 -|(% style="width:118px" %)Address 13|(% style="width:134px" %)Reserved|(% style="width:115px" %)Retained|(% style="width:464px" %)Reserved
1691 -|(% 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.
1692 -|(% style="width:118px" %)Address 15
1693 -|(% 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.
1694 -|(% style="width:118px" %)Address 17
1695 -|(% 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
1696 -|(% style="width:118px" %)Address 19
1697 -|(% 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" %)(((
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" %)(((
1698 1698  The maximum magnification of the actual operation of slave axis:
1699 1699  
1700 1700  It is sync magnification when it is long material, and it is between sync magnification and maximum limit magnification when it is short material.
1701 1701  )))
1702 -|(% style="width:118px" %)Address 21
1696 +|(% style="width:96px" %)Address 21
1703 1703  )))
1704 1704  
1705 1705  **{{id name="2.3_案例"/}}(3) Case**
PixPin_2024-12-31_14-57-19.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.DevinChen
Size
... ... @@ -1,1 +1,0 @@
1 -53.0 KB
Content