The text of a manual · part 18 of 32
SYSMAC C200H-NC211 Position Control Unit Operation Manual: SECTION 6 Manual Operations, pages 141 to 149
Pages 141 to 149 of 259, from SYSMAC C200H-NC211 Position Control Unit Operation Manual
The original document is the PDF (1.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Omron C200H-NC211
Page 141
STOP
6-7
Section 6-7
STOP STOP can be executed during pulse output for START, ORIGIN SEARCH, ORIGIN RETURN, HIGH-SPEED JOG, and LOW-SPEED JOG to decelerate to a stop (effective on signal’s rising edge). Note, however, that the next START cannot be executed as long as STOP (either from bit 15 of word n or from an external interrupt signal) is in effect.
STOP Executed During START
When the STOP command bit is set during execution of a positioning action under START, the positioning completed flag is not turned ON, and the positioning action number not changed. When START is next executed, the target position and speed of that action will be used, as long as the target position has not been exceeded. The busy flag, however, turns OFF, allowing manual operations to be used up to the next START. Consider, for example, execution using the following DM words and data.
15 m+22 m+23
00 5
2
Completion code: continuous
Target speed #5
Positioning action #0 Target position m+24 m+25 m+26
8
0
Completion code: single
Target speed #8
Positioning action #1 Target position m+27
134
Page 142
STOP
Section 6-7
Example 1 START word n, bit 00
The first example illustrates what happens when STOP is not executed. 1 0 Target speed #5 #0 Target speed #8 #1
Time
START Target position for action #0
Positioning completed flag word n+10, bit 00
Stop (at target position for action #1)
1 0
Busy flag word n+10, bit 12
1 0
135
Page 143
STOP
Section 6-7
Example 2
This example shows STOP execution when the target position is not exceeded and the target position is designated from the origin (i.e., is not an increment). When START is next executed, the data of the positioning action at the time of STOP is taken as the target position.
START word n, bit 00
1
STOP word n, bit 15 (or external interrupt)
1
0
0 Stops at target position for action #1.
Target speed #5
#0
Pulse output
#0
#1
Time
Target position for action #0 Positioning completed flag 1 word n+10, bit 00 0
Busy flag word n+10, bit 12
1 0
STOP executed flag word n+10, bit 15
Positioning action number word n+12, bits 06-00
Output code word n+12, bits 11-08
1 0
0
1
Output code of action #0
2
Output code of action #1
When the STOP executed flag for either the X or Y axis turns ON, the Unit stops interpolation. Restart using the X-axis START command.
136
Page 144
STOP Example 3
START word n, bit 00
STOP word n, bit 15 (or external interrupt)
Section 6-7 This example shows execution when a target position designated from the origin (i.e., not an increment) is exceeded during deceleration of STOP, which can happen if STOP is executed at the end of a continuous positioning action. If START is executed again before this situation is corrected, the feeding direction for the action will be wrong, and an error (code 5020) will be generated because the action cannot begin. The Unit can be restarted after manually feeding (with JOG) back to the other side of the target position for action #0.
1 0 1 0 Target speed #5
#0 Pulse output
Time Target position for action #0 is passed.
Positioning completed flag word n+10, bit 00
1 0
Error flag word n+10, bit 05
1 0
Busy flag word n+10, bit 12
STOP executed flag word n+10, bit 15
1 0 1 0
Error code word n+11
Positioning action number word n+12, bits 06-00
5020
0
This error is also generated if the target position for action #0 is exceeded by manual operations before START is executed following STOP. With interpolation, use JOG to return to the target position on both the X and Y axes.
137
Page 145
STOP
Section 6-7
Example 4
When the target position is expressed as an increment, the positioning action will be started over automatically from the position reached after STOP was executed.
START word n, bit 00
1
STOP word n, bit 15
1
0
0
#0
#0
Pulse output #1
Positioning completed flag word n+10, bit 00
Time
1 0 1
Busy flag word n+10, bit 12
STOP executed flag word n+10, bit 15
0
1 0
Positioning action number word n+12, bits 06-00
0
1
2
Output code word n+12, bits 11-08 Output code of action #0
Output code of action #1
For interpolation, the operation is the same as above, even if the target position is expressed as relative positions on both axes.
138
Page 146
STOP Cautions for Using STOP during Interpolation
Section 6-7 During interpolation, STOP is executed when the STOP executed flag of either the X or Y axis turns ON (X: bit 15 of word n+10; Y: bit 15 of word n+15). Restart via the X axis START command bit (bit 00 of word n). If restarting is executed via the Y axis START command bit (bit 00 of word n=5), positioning action is carried out for only the Y axis. Restarting uses the data in the same way as restarting a single axis. Be aware that a restart when one axis is in an absolute position and the other is in an incremental (relative) position begins execution with the axes in those states (one axis absolute, the other incremental).
X Axis: Relative Position Y Axis: Absolute Position Y axis Target position (Interpolation start) STOP START end
Restart a
Interpolation start
X axis a
X Axis: Absolute Position Y Axis: Absolute Position Target position (Interpolation start)
Y axis
START end Restart STOP Interpolation start
X axis
139
Page 147
STOP
Section 6-7
X Axis: Relative Position Y Axis: Relative Position Y axis START end Target position (Interpolation start)
b
Restart b
Interpolation start
STOP During ORIGIN SEARCH
140
STOP a
X axis a
Feeding will be decelerated to a stop and the command must be reexecuted from the position reached at the end of STOP.
Page 148
STOP
Section 6-7
STOP During ORIGIN RETURN ORIGIN RETURN word n, bit 03
Feeding stops according to the deceleration rate. 1 0
STOP word n, bit 15
1 0
Pulse output
Busy flag word n+10, bit 12
STOP executed flag word n+10, bit 15
Time 1 0 1 0
141
Page 149
STOP STOP During HIGH-SPEED JOG
HIGH-SPEED JOG word n, bit 11
Section 6-7 If STOP is executed during HIGH-SPEED JOG, feeding will be stopped just as if the HIGH-SPEED JOG command bit (bit 11 of word n) were reset to ZERO. The command bit, however, will remain at ONE. 1 0
STOP word n, bit 15
1 0
Pulse output
Busy flag word n+10, bit 12
Time
1 0
STOP executed flag word n+10, bit 15
1 0
142