Changes for page 09 Electronic cam

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

From version 2.1
edited by Joey
on 2022/06/14 17:30
Change comment: There is no comment for this version
To version 6.2
edited by Stone Wu
on 2022/09/26 11:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -PLC Editor2.1 User manual.2\.1 LX5V user manual.WebHome
1 +PLC Editor2.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Joey
1 +XWiki.Stone
Content
... ... @@ -52,48 +52,44 @@
52 52  
53 53  (% class="table-bordered" %)
54 54  |(% colspan="5" %)**Electronic gear instruction parameter description table**
55 -|**Offset**|(% style="width:348px" %)**Content**|(% style="width:724px" %)**Instruction**|(% style="width:209px" %)**Range**|**Read and write permission**
56 -|0|(% style="width:348px" %)Electronic gear ratio (numerator)|(% rowspan="2" style="width:724px" %)(((
55 +|**Offset**|(% style="width:348px" %)**Content**|(% style="width:460px" %)**Instruction**|(% style="width:213px" %)**Range**|**Read and write permission**
56 +|0|(% style="width:348px" %)Electronic gear ratio (numerator)|(% rowspan="2" style="width:460px" %)(((
57 57  Number of outputs =
58 58  
59 59  Number of inputs in response time*numerator/denominator
60 -)))|(% style="width:209px" %)0 to 32767|(% rowspan="2" %)Read/write
61 -|1|(% style="width:348px" %)Electronic gear ratio (denominator)|(% style="width:209px" %)1 to 32767
62 -|2|(% style="width:348px" %)Maximum output frequency (low word)|(% style="width:724px" %)Max frequency|(% rowspan="2" style="width:209px" %)1 to 200000|Read/write
63 -|3|(% style="width:348px" %)Maximum output frequency (high word)|(% style="width:724px" %)Max frequency|Read/write
64 -|4|(% style="width:348px" %)Average spindle frequency (low word)|(% style="width:724px" %)Hand crank input frequency|(% rowspan="2" style="width:209px" %)-|Read-only
65 -|5|(% style="width:348px" %)Average spindle frequency (high word)|(% style="width:724px" %)Hand crank input frequency|Read-only
66 -|6|(% style="width:348px" %)Accumulative electronic gear input pulse number (low word)|(% rowspan="2" style="width:724px" %)Cumulative number of electronic gear input pulses|(% rowspan="2" style="width:209px" %)-|(% rowspan="2" %)Read-only
60 +)))|(% style="width:213px" %)0 to 32767|(% rowspan="2" %)Read/write
61 +|1|(% style="width:348px" %)Electronic gear ratio (denominator)|(% style="width:213px" %)1 to 32767
62 +|2|(% style="width:348px" %)Maximum output frequency (low word)|(% style="width:460px" %)Max frequency|(% rowspan="2" style="width:213px" %)1 to 200000|Read/write
63 +|3|(% style="width:348px" %)Maximum output frequency (high word)|(% style="width:460px" %)Max frequency|Read/write
64 +|4|(% style="width:348px" %)Average spindle frequency (low word)|(% style="width:460px" %)Hand crank input frequency|(% rowspan="2" style="width:213px" %)-|Read-only
65 +|5|(% style="width:348px" %)Average spindle frequency (high word)|(% style="width:460px" %)Hand crank input frequency|Read-only
66 +|6|(% style="width:348px" %)Accumulative electronic gear input pulse number (low word)|(% rowspan="2" style="width:460px" %)Cumulative number of electronic gear input pulses|(% rowspan="2" style="width:213px" %)-|(% rowspan="2" %)Read-only
67 67  |7|(% style="width:348px" %)Cumulative number of electronic gear input pulses(High word)
68 -|8|(% style="width:348px" %)Sign|(% style="width:724px" %)After the electronic gear is initialized, the flag is equal to 1|(% style="width:209px" %)Reserved|Reserved
69 -|9|(% style="width:348px" %)interval|(% style="width:724px" %)Confirmation value|(% style="width:209px" %)-|Read-only
70 -|10|(% style="width:348px" %)Electronic gear ratio (numerator)|(% style="width:724px" %)Confirmation value|(% style="width:209px" %)-|Read-only
71 -|11|(% style="width:348px" %)Electronic gear ratio (denominator)|(% style="width:724px" %)Confirmation value|(% style="width:209px" %)-|Read-only
72 -|12|(% style="width:348px" %)Maximum output frequency (low word)|(% rowspan="2" style="width:724px" %)Confirmation value|(% rowspan="2" style="width:209px" %)1 to 200000|Read/write
68 +|8|(% style="width:348px" %)Sign|(% style="width:460px" %)After the electronic gear is initialized, the flag is equal to 1|(% style="width:213px" %)Reserved|Reserved
69 +|9|(% style="width:348px" %)interval|(% style="width:460px" %)Confirmation value|(% style="width:213px" %)-|Read-only
70 +|10|(% style="width:348px" %)Electronic gear ratio (numerator)|(% style="width:460px" %)Confirmation value|(% style="width:213px" %)-|Read-only
71 +|11|(% style="width:348px" %)Electronic gear ratio (denominator)|(% style="width:460px" %)Confirmation value|(% style="width:213px" %)-|Read-only
72 +|12|(% style="width:348px" %)Maximum output frequency (low word)|(% rowspan="2" style="width:460px" %)Confirmation value|(% rowspan="2" style="width:213px" %)1 to 200000|Read/write
73 73  |13|(% style="width:348px" %)Maximum output frequency (high word)|Read/write
74 -|14|(% style="width:348px" %)Dynamically switch gear ratio|(% style="width:724px" %)(((
75 -1: Switch to the newly set gear ratio immediately. And set the address back to 0.
74 +|14|(% style="width:348px" %)Dynamically switch gear ratio|(% style="width:460px" %)(((
75 +* 1: Switch to the newly set gear ratio immediately. And set the address back to 0.
76 +* 2: The cycle is completed and the gear ratio is switched, and the value is set back to 0 after the switching is completed. (The value of the spindle count reaching the denominator is regarded as a cycle)
77 +)))|(% style="width:213px" %)0 to 2|Read/write
78 +|15|(% style="width:348px" %)16-bit gear ratio and 32-bit gear ratio switch|(% style="width:460px" %)(((
79 +* 0: Use 16-bit gear ratio
80 +* 1: Use 32-bit gear ratio
76 76  
77 -2: The cycle is completed and the gear ratio is switched, and the value is set back to 0 after the switching is completed. (The value of the spindle count reaching the denominator is regarded as a cycle)
78 -)))|(% style="width:209px" %)0 to 2|Read/write
79 -|15|(% style="width:348px" %)16-bit gear ratio and 32-bit gear ratio switch|(% style="width:724px" %)(((
80 -0: Use 16-bit gear ratio
81 -
82 -1: Use 32-bit gear ratio
83 -
84 84  ✎**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.
85 -)))|(% style="width:209px" %)0 to 1|Read/write
86 -|16|(% style="width:348px" %)32-bit electronic gear ratio numerator (low word)|(% rowspan="4" style="width:724px" %)(((
87 -Number of inputs =
88 -
89 -Spindle input number within response time*numerator/denominator
90 -)))|(% rowspan="2" style="width:209px" %)0 to 214748647|(% rowspan="2" %)Read/write
83 +)))|(% style="width:213px" %)0 to 1|Read/write
84 +|16|(% style="width:348px" %)32-bit electronic gear ratio numerator (low word)|(% rowspan="4" style="width:460px" %)(((
85 +Number of outputs = Spindle input number within response time*numerator/denominator
86 +)))|(% rowspan="2" style="width:213px" %)0 to 214748647|(% rowspan="2" %)Read/write
91 91  |17|(% style="width:348px" %)32-bit electronic gear ratio numerator (high word)
92 -|18|(% style="width:348px" %)32-bit electronic gear ratio denominator (low word)|(% rowspan="2" style="width:209px" %)1 to 214748647|(% rowspan="2" %)Read/write
88 +|18|(% style="width:348px" %)32-bit electronic gear ratio denominator (low word)|(% rowspan="2" style="width:213px" %)1 to 214748647|(% rowspan="2" %)Read/write
93 93  |19|(% style="width:348px" %)32-bit electronic gear ratio denominator (high word)
94 -|20|(% style="width:348px" %)32-bit electronic gear ratio numerator (low word)|(% rowspan="4" style="width:724px" %)Confirmation value|(% rowspan="2" style="width:209px" %)-|(% rowspan="2" %)Read-only
90 +|20|(% style="width:348px" %)32-bit electronic gear ratio numerator (low word)|(% rowspan="4" style="width:460px" %)Confirmation value|(% rowspan="2" style="width:213px" %)-|(% rowspan="2" %)Read-only
95 95  |21|(% style="width:348px" %)32-bit electronic gear ratio numerator (high word)
96 -|22|(% style="width:348px" %)32-bit electronic gear ratio denominator (low word)|(% rowspan="2" style="width:209px" %)-|(% rowspan="2" %)Read-only
92 +|22|(% style="width:348px" %)32-bit electronic gear ratio denominator (low word)|(% rowspan="2" style="width:213px" %)-|(% rowspan="2" %)Read-only
97 97  |23|(% style="width:348px" %)32-bit electronic gear ratio denominator (high word)
98 98  
99 99  **✎Note:**
... ... @@ -570,17 +570,15 @@
570 570  **(1) Parameters**
571 571  
572 572  (% class="table-bordered" %)
573 -|**Parameter**|(% style="width:812px" %)**Content**|(% style="width:185px" %)**Range**|**Data type**|**Data type (label)**
574 -|(s1)|(% style="width:812px" %)Specify to receive the input pulse of the master axis|(% style="width:185px" %)(((
575 --2147483648 to
569 +|**Parameter**|(% style="width:527px" %)**Content**|(% style="width:226px" %)**Range**|(% style="width:143px" %)**Data type**|**Data type (label)**
570 +|(s1)|(% style="width:527px" %)Specify to receive the input pulse of the master axis|(% style="width:226px" %)(((
571 +-2147483648 to +2147483647
572 +)))|(% style="width:143px" %)Signed BIN 32 bit|ANY32
573 +|(s2)|(% style="width:527px" %)Specify the data buffer area of the ECAM instruction|(% style="width:226px" %) |(% style="width:143px" %)Form|LIST
574 +|(s3)|(% style="width:527px" %)The external start signal of ECAM needs to be enabled in the data buffer area to be effective.|(% style="width:226px" %)X/M/S/D.b|(% style="width:143px" %)Signed BIN 32 bit|ANY32
575 +|(d1)|(% style="width:527px" %)Specify pulse output axis|(% style="width:226px" %)Y0 to Y7|(% style="width:143px" %)Bit|ANY_BOOL
576 +|(d2)|(% style="width:527px" %)Specify direction output axis|(% style="width:226px" %)Y/M/S/D.b|(% style="width:143px" %)Bit|ANY_BOOL
576 576  
577 -+2147483647
578 -)))|Signed BIN 32 bit|ANY32
579 -|(s2)|(% style="width:812px" %)Specify the data buffer area of the ECAM instruction|(% style="width:185px" %) |Form|LIST
580 -|(s3)|(% style="width:812px" %)The external start signal of ECAM needs to be enabled in the data buffer area to be effective.|(% style="width:185px" %)X/M/S/D.b|Signed BIN 32 bit|ANY32
581 -|(d1)|(% style="width:812px" %)Specify pulse output axis|(% style="width:185px" %)Y0 to Y7|Bit|ANY_BOOL
582 -|(d2)|(% style="width:812px" %)Specify direction output axis|(% style="width:185px" %)Y/M/S/D.b|Bit|ANY_BOOL
583 -
584 584  **{{id name="_Toc9293"/}}Device used:**
585 585  
586 586  (% class="table-bordered" %)
... ... @@ -672,7 +672,7 @@
672 672  ✎When a cycle is completed, ECAM cycle completion flag address 1-bit1 turns ON, and the user clears the completion flag by itself, and then continues to judge the next cycle.
673 673  
674 674  (% style="text-align:center" %)
675 -[[image:09_html_230c69b0429b0c.gif||height="259" width="800" class="img-thumbnail"]]
669 +[[image:image-20220926115030-2.jpeg||class="img-thumbnail"]]
676 676  
677 677  {{id name="_Toc18782"/}}2) Periodic ECAM stop
678 678  
... ... @@ -682,8 +682,7 @@
682 682  
683 683  ✎When the periodic ECAM is operating, the system receives the completion stop flag ((address 4-bit1), the periodic ECAM will continue until the current table is executed, the slave axis will stop operating, as shown in the figure below. If you want to start the periodic cam again, you need to write 0 to address 5 and keep it more than 100us, and then you can start the periodic cam through address 5 again.
684 684  
685 -(% style="text-align:center" %)
686 -[[image:09_html_cfb2abe40245003c.gif||height="373" width="900" class="img-thumbnail"]]
679 +[[image:image-20220926115519-3.jpeg]]
687 687  
688 688  {{id name="_Toc31992"/}}3) Example description
689 689  
... ... @@ -772,7 +772,7 @@
772 772  [PLC program]
773 773  
774 774  (% style="text-align:center" %)
775 -[[image:09_html_d46ee9de94f51e8b.jpg||height="983" width="500" class="img-thumbnail"]]
768 +[[image:image-20220926114246-1.jpeg]]
776 776  
777 777  **{{id name="_电子凸轮功能寄存器"/}}Electronic cam function register**
778 778  
image-20220926114246-1.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +64.2 KB
Content
image-20220926115030-2.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +110.6 KB
Content
image-20220926115519-3.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Stone
Size
... ... @@ -1,0 +1,1 @@
1 +149.2 KB
Content