The text of a manual · part 17 of 32
SYSMAC C200H-NC211 Position Control Unit Operation Manual: SECTION 6 Manual Operations, pages 132 to 140
Pages 132 to 140 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 132
SECTION 6 Manual Operations 6-1 6-2 6-3 6-4 6-5 6-6 6-7 6-8 6-9
IR Area Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . HIGH-SPEED JOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LOW-SPEED JOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . INCH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RESET ORIGIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . External Interrupt Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CHANGE SPEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CHANGE SPEED COEFFICIENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
126 127 128 129 130 131 134 146 147
125
Page 133
IR Area Settings
Section 6-1
Section Overview
There are three manual feeding commands: HIGH-SPEED JOG, LOW-SPEED JOG and INCH. Acceleration and deceleration are possible with HIGH-SPEED JOG, but not with LOW-SPEED JOG. INCH operates one pulse at a time. The following explanations are made with respect to the X-axis, but the case of the Y-axis is the same.
6-1
IR Area Settings In C200H PCs, IR words 100 to 199 are used for Special I/O Units. When a Position Control Unit is used, they are allocated as I/O refresh areas. For a detailed explanation, refer to Section 3-2 Data Configuration and Allocation. For a detailed table of words and bits in the IR area, refer to Section 5-1 IR Area Allocations. 14 13 12 11 n
126
(n = 100 + 10 x Unit number)
Bit
Designation
1
0
11
HIGH-SPEED JOG operate stop
12
JOG/INCH direction
CCW
CW
13
LOW-SPEED JOG operate stop
14
INCH
INCH begins on the rising edge of this bit.
Page 134
HIGH-SPEED JOG
6-2
Section 6-2
HIGH-SPEED JOG The LOW-SPEED JOG command (word n, bit 11) causes the Unit to manually feed at the designated speed (effective on signal’s rising edge). Feeding starts when the command bit is set and continues until it is reset.
HIGH-SPEED JOG word n, bit 11
1 0 HIGH-SPEED JOG speed Deceleration Acceleration
Pulse output
Initial speed Initial position (start)
Busy flag word n+10, bit 12
Initial speed Time End position (stop)
1 0
127
Page 135
LOW-SPEED JOG
6-3
Section 6-3
LOW-SPEED JOG The LOW-SPEED JOG command (bit 13 of word n) causes the Unit to manually feed at the designated speed (effective on signal’s rising edge). Feeding starts when the command bit is set and continues until it is reset.
LOW-SPEED JOG word n, bit 13
1 0
LOW-SPEED JOG speed
Pulse output
Time Initial position (start)
Busy flag word n+10, bit 12
128
1 0
End position (stop)
Page 136
INCH
6-4
Section 6-4
INCH The INCH command (bit 14 of word n) causes the Unit to manually inch one pulse at a time (effective on signal’s rising edge). One pulse will be feed each time this bit is set.
INCH word n, bit 14
1 0
1 pulse (2 ms) Pulse output
Time
5 ms Approx. Busy flag word n+10, bit 12
1 0 ON for 1 scan
The busy flag turns ON for only one scan when the scan time is 12 ms or more. When the scan time is less than 12 ms, it may turn ON for two scans.
129
Page 137
RESET ORIGIN
6-5
Section6-5
RESET ORIGIN The RESET ORIGIN command bit, bit 08 of word n, is set to redefine the present position as the origin (effective on signal’s rising edge). Although the following example uses the X axis, the case of the Y axis is essentially the same.
Execution Example RESET ORIGIN word n, bit 08
1 0 1
At-origin flag word n+10, bit 02 No-origin flag word n+10, bit 11
0 1 0
Busy flag word n+10, bit 12
1 0 Busy for 1 scan time
Present position word n+13 and n+14
Present position changed to 0
See Example 9-2 Programming Examples for more information on using RESET ORIGIN.
130
Page 138
External Interrupt Commands
6-6
Section 6-6
External Interrupt Commands Positioning can be stopped and speeds can be changed by either the bits set in the IR area or by external interrupt signal input. Specify the target speeds to be used for CHANGE SPEED with the speed numbers set in bits 05 to 00 of IR word n+2. If those bits are set to ZERO, the next speed number after the one currently being executed will be taken as the target speed. When executing CHANGE SPEED with an external input, designate the speed number from IR word n+2 at least one scan time in advance or it will not be in time. Otherwise, when designating the speed number, use an IR area work bit. (See IR Area Settings below).
STOP (command executed) Target speed #1
Acceleration Time START
End position (positioning stops) Target speed #3
CHANGE SPEED (command executed) Target speed #1 Acceleration Deceleration Acceleration Target speed #2
Time
START
15-12 m+22 m+82
Speed #1 m+83
Speed #2
Target speed of positioning action #0
Speed #n m+96
Speed #15
131
Page 139
External Interrupt Commands Connection for External Interrupt Signal
Section 6-6
The signal’s rising edge is acknowledged as the input signal.
External input pin no.
DC power supply
22/34
24 V
6(X)/28(Y)
0V
1 External interrupt signal 0 Interrupt signal received
DIP Switch Settings
ON
Pin 2
2
External interrupt signal response When pin 2 is OFF, the content of bit 06 of word n determines the response to external interrupts as follows.
3
OFF
If bit 6 of word n is 0, then STOP is executed in response to external interrupts. If bit 6 of word n is 1, then CHANGE SPEED is executed in response to external interrupts.
ON
When pin 2 is ON, the setting of pin 3 determines the response to external interrupts. Also, CHANGE SPEED is executed when bit 06 of word n turns ON.
Pin 2
External interrupt signal response
OFF
STOP is executed in response to external interrupts.
ON
CHANGE SPEED is executed in response to external interrupts.
There are thus two ways to execute STOP: through an external interrupt or through the command bit, bit 15 of word n. Both of these methods are available at the same time if bit 06 of word n is ZERO and pin 2 is OFF, or if pin 2 is ON and pin 3 is OFF. There are also two ways to execute CHANGE SPEED: through an external interrupt, or if pin 2 is ON, directly with bit 06 of word n as the command bit. Execution through an external interrupt is available if bit 06 of word n is ONE and pin 3 is OFF, or if pins 2 and 3 are both ON. In the latter case, execution through the command bit and external interrupt are both available.
132
Page 140
External Interrupt Commands
Section 6-6
Note that START cannot be executed as long as STOP (either from bit 15 of word n or from an external interrupt signal) is in effect. IR Area Settings
15
In addition to bits 15 and 06 of word n (described under DIP Switch Settings above), set bits 05 to 00 of word n+2. If these bits are set to ZERO, the next speed number after the one currently being executed will be taken as the target speed for CHANGE SPEED. If they are set to from 01 to 15, then that will specify the speed number to be taken as the target speed. When executing CHANGE SPEED with an external interrupt signal, the data from this area must be written in at least one scan time before the interrupt signal. When executing CHANGE SPEED with a work bit (bit 06 of word n), it can be written simultaneously with the rising edge of the work bit. 06
(n = 100 + 10 x Unit number)
n
The function of this bit depends on whether pin 2 is ON or OFF. • External interrupt signal selection (when pin 2 is OFF)
0
STOP is executed
1
CHANGE SPEED is executed
• CHANGE SPEED command bit (when pin 2 is ON) CHANGE SPEED is executed when this bit turns ON. STOP command bit STOP is executed when this bit turns ON. 05-00 n+2
Target speed number 00
Sets the next speed # (in ascending order) as the target speed.
01-15
Sets the corresponding speed # as the target speed.
When an external interrupt signal functions as the CHANGE SPEED command signal, this area cannot be written to more than 1 scan prior to signal input. When the IR area (bit 06 of word of word n) functions as the CHANGE SPEED command bit, setting this bit and writing to word n+2 are done simultaneously.
133