Changes for page 3.6.09 MC_GearInPos
Last modified by xingzhi lin on 2025/12/26 17:18
From version 1.2
edited by xingzhi lin
on 2025/12/04 20:17
on 2025/12/04 20:17
Change comment:
There is no comment for this version
To version 4.1
edited by xingzhi lin
on 2025/12/26 17:18
on 2025/12/26 17:18
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8,7 +8,10 @@ 8 8 |**Instruction**|(% colspan="2" %)MC_GearInPos(FB) 9 9 |**Name**|(% colspan="2" %)Cut-in electronic gear coupling at designated position 10 10 |(% colspan="2" %)**Graphical performance**|**ST performance** 11 -|(% colspan="2" %)[[image:file:///C:/Users/111/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png]]|((( 11 +|(% colspan="2" %)((( 12 +(% style="text-align:center" %) 13 +[[image:1764850756453-662.png]] 14 +)))|((( 12 12 MC_GearInPos( 13 13 14 14 Master: =, ... ... @@ -117,9 +117,61 @@ 117 117 [[image:1764850663732-268.png]] 118 118 119 119 123 +2. MasterSyncPosition=300, MasterStartDistance=370, SlaveSyncPosition=60, spindle speed is 50, AvoidReversal=FALSE. 120 120 125 +(% style="text-align:center" %) 126 +[[image:1764850690324-919.png]] 121 121 122 122 129 +3. MasterSyncPosition=300, MasterStartDistance=50, SlaveSyncPosition=60, master axis speed is 50, AvoidReversal=FALSE, from axis start position greater than 60. 123 123 131 +(% style="text-align:center" %) 132 +[[image:1764850718648-576.png]] 124 124 134 +The target speed is reached while the synchronization is completed (InSync is TRUE), then the amount of movement from slave axis=amount of movement from master axis*RatioNumerator/RatioDenominator. 135 + 136 +For AvoidReversal: If the slave axis is a modal axis and the master axis speed (a multiple of the gear ratio) is not a speed relationship with respect to the slave axis, then MC_GearInPos instruction attempts to avoid the reversal of the slave axis. It attempts to "stretch" the motion of the slave axis by adding 5 slave axis cycles. If this "stretch" is not valid, then an error will occur and stop from the axis incorrectly. 137 + 138 +If the master axis speed is associated with the slave axis speed (which is a multiple of the gear ratio), an error occurs and the axis stops in error. 139 + 140 +If the slave axis is a linear axis mode axis, an error will occur when the Execute input rising edge is processed. 141 + 142 + 143 +== **Precautions** == 144 + 145 +When you want to use MC_SetPosition insturction for Master axis, disengage the relationship between the spindle and the slave axes and execute the instruction. 146 + 147 + 148 +== **Sequence diagram** == 149 + 150 +On the rising edge of starting Execute, the electronic gear action is started. Busy becomes TRUE at the same time as Execute is started. Once the action is started, Active (in control) and StartSync (in tracking) start the gear action. When you reach MasterSyncPosition, SlaveSyncPosition, InSync becomes TRUE. When this instruction is interrupted with another instruction, CommandAborted becomes TRUE and Busy, Active, StartSync, and InSync becomes FALSE. 151 + 152 +(% style="text-align:center" %) 153 +[[image:1764850822636-437.png]] 154 + 155 + 156 +**This instruction starts in other instruction execution** 157 + 158 +Start this instruction for the currently executing instruction, which can be switched or cached to this instruction. 159 + 160 +The action at launch of multiple instances of this instruction is specified by BufferMode. 161 + 162 +|**Buffer mode selection**|**Description** 163 +|Aborting|((( 164 +Immediately abort the currently executing instruction and switch to this instruction. 165 + 166 +When the operation direction of the axis is reversed due to the instruction switching, the operation direction of the axis is reversed according to "operation at the time of reverse" in the axis parameter. 167 +))) 168 +|Buffered|((( 169 +The function block is started immediately after the last instruction motion is terminated. No blending is done here. When the end condition (Done, InVelocity, InEndVelocity, InGear, InSync, EndOfProfile, etc.) is reached, the new motion starts at the speed of the previous motion. If the previous motion was MC_MoveAbsolute or MC_Move 170 + 171 +Relative, then the new movement begins at rest. 172 +))) 173 + 174 + 175 + 176 + 177 + 178 + 179 + 125 125
- 1764850690324-919.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.lxz - Size
-
... ... @@ -1,0 +1,1 @@ 1 +67.3 KB - Content
- 1764850718648-576.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.lxz - Size
-
... ... @@ -1,0 +1,1 @@ 1 +65.0 KB - Content
- 1764850756453-662.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.lxz - Size
-
... ... @@ -1,0 +1,1 @@ 1 +134.0 KB - Content
- 1764850822636-437.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.lxz - Size
-
... ... @@ -1,0 +1,1 @@ 1 +49.8 KB - Content