The text of a manual · part 9 of 32
SYSMAC C200H-NC211 Position Control Unit Operation Manual: SECTION 3 Operation, pages 57 to 65
Pages 57 to 65 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 57
SECTION 3 Operation 3-1 3-2 3-3
Wiring Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data Configuration and Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DM Area Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
50 52 54
49
Page 58
Section 3-1
Wiring Data Section Overview
3-1
This section covers all aspects of Position Control Unit operation other than commands, which are covered in the following section. Included in this section are the basic operating procedure, the type of output pulses possible, the basic data format and configuration, some special features to aid operation, such as flags, zone settings, backlash compensation and internal limits, and the internal data calculation methods used in processing user-input data.
Wiring Data C200H
Programming Console
Data is written, via the Programming Console, or any other programming device into the section of the DM area designated for Special I/O Units. The specific words are DM 1000-1999, with 200 of these words allocated for each unit number assigned to a Position Control Unit. Written data is effective the next time power is turned on or when the system is restarted with the restart bit in the AR area. To write data, use the 3-word change operation of the Programming Console. Programming Console Display
D1824 D1823 D1822 0012 5000 2000 Key Input Sequence B
C
1
DM
EXT
8
C
2
2
MONTR
CHG
The above procedure prepares memory location DM 1824 so that new data can be keyed in. Pressing the CHG key again moves the cursor to DM 1823. After inputting data, press the write key to execute the rewrite. The above example shows X axis positioning action #0 of Unit #8.
50
Page 59
Section 3-1
Wiring Data Special I/O Unit Restart Bits AR Word Bits 100-109
Restart bits can be used to transfer altered DM area data to the Unit without turning power off and on. Modified DM data is sent immediately to the Unit. Refer to the following table for restart bit allocations. The following example of Programming Console operation shows how to access the restart bit for Unit #0. The ladder diagram section after it shows how to achieve the same operation through programming.
Restart Bits
These restart bits are turned ON and back OFF again to restart Special I/O Units. Bit
Unit Number
AR 0100
0
AR 0101
1
AR 0102
2
AR 0103
3
AR 0104
4
AR 0105
5
AR 0106
6
AR 0107
7
AR 0108
8
AR 0109
9 Programming Console Display
A0101 ^OFF Key Input Sequence B
CONT SHIFT
SHIFT
HR
# B
1
MONTR
A
1
0
REC
PLAY
REC
RESET
SET
RESET
Program Example: Unit #1 Restart switch DIFU (13) AR0101
51
Page 60
Data Configuration and Allocation
3-2
Section 3-2
Data Configuration and Allocation IR words 100 through 199 are allocated as Special I/O areas. Each Position Control Unit is allocated twenty consecutive words. The first word for each Unit, designated in this manual as n, can be computed from the unit number as follows: n = 100 + 10 x unit number. IR Example 1 unit #
0
1 unit #
9
Each Unit is also allocated 200 consecutive words as a fixed data area. These words are in the DM area and run from DM 1000 through DM 1999. The first word for each Unit, m, can also also be computed from the unit number: m = 1000 + 100 x unit number (for the X-axis settings). m = 1100 + 100 x unit number (for the Y-axis settings). DM Example 1 unit #
0
0
1 unit #
9
9
These allocations are shown on the following page for all unit numbers. Details of allocations within these words are given under the operations or commands to which they apply. The tables on the following pages give a quick overview of word and bit allocations.
52
Page 61
Data Configuration and Allocation
Section 3-2
C200H PC
Model C200H-NC211
IR Area
I/O Refresh Data Areas
Words 100 to 119 Words 110 to 129
Unit #0 Unit #1
Words 120 to 139
Unit #2
Words 130 to 149
Unit #3
Words 140 to 159
Unit #4
Words 150 to 169
Unit #5
Words 160 to 179
Unit #6
Words 170 to 189
Unit #7
Words 180 to 199
Unit #8
Data is transferred between the PC and each Position Control Unit each time I/O data of the PC is refreshed.
Words 1000 to 1199
Unit #0
Words 1100 to 1299
Unit #1
Words 1200 to 1399
Unit #2
Words 1300 to 1499
Unit #3
Words 1400 to 1599
Unit #4
Words 1500 to 1699
Unit #5
Words 1600 to 1799
Unit #6
Words 1700 to 1899
Unit #7
Words 1800 to 1999
Unit #8
Position Data
OUT refresh n+5 to n+9
(n+10) to (n+14)
IN refresh n+15 to n+19 IN refresh
Fixed Data Areas Data
Words m to m+21
Data is automatically transferred from the PC to each Position Control Unit on power application or when the AR area restart bit is turned ON.
OUT refresh
Twenty words are used (n= 100 + 10 x unit no.)
(X)
DM Area
(Y)
(X)
Words n to (n+4)
Data
(Y)
Parameters
Words m+100 Parameters to m+121
Words m+22 Position to m+81
Words m+122 Position to m+181
Words m+82 Speed to m+97
Words m+182 Speed to m+197
Words m+98 Acceleration
Word m+198
Acceleration
Words m+99 Deceleration
Word m+199
Deceleration
200 words are used (m= 1000 + 100 x unit no.)
Expansion Data Area l to l+99
Position data l+100 to l+199
Position data
200 words are used (L= 100 x unit no.)
Setting#
(Data expansion memory)
Words 0100 to 0299
1
Words 0200 to 0399
2
Words 0300 to 0499
3
100-199 as I/O refresh data area.
Words 0400 to 0599
4
· 200 words for each Unit are allocated in the DM area 1000-1999 as the
Words 0500 to 0699
5 fixed data area.
Words 0600 to 0799
6
Words 0700 to 0899
7
· If need be, back-panel DIP switch pins 7-9 can be set to use 200-word segments in DM 0100-0899 as expanded memory for positioning data.
· For each Special I/O Unit, the C200H-NC211 allocates 20 words in IR area
53
Page 62
DM Area Allocation
3-3
Section 3-3
DM Area Allocation
Data Coding
Although decimal notation is generally used for data in this manual, data is handled in the system as binary-coded decimal (BCD) unless otherwise noted. Note that this data is generally input as decimal, whereas hexadecimal data is input as hexadecimal. The number of digits given for certain data refers to the decimal digits. For example, “7 digits with direction” indicates that the lowest word and rightmost 12 bits of the highest word are allocated to the 7-digit decimal value; the leftmost four bits are allocated to the direction digit.
Coding Sheets
The tables on the following pages can serve as general coding sheets for the DM area, both X and Y axes. Information describing the functions of all of the bits in the DM area is presented beginning on page 57. The numbers shown for the DM words in the following table represent only the final two digits of each word number. In other words, the first two digits (which would be the same for all words) are not shown. The X-axis value of the first two digits can be obtained by computing the first DM word allocated to the Unit. This word, designated m, is equal to 1000 plus 100 times the unit number. Thus, for example, it would be 1000 for Unit no. 0, 1100 for Unit no. 1, and so on. For the Y-axis, the word m is equal to 1000 plus 200 times the unit number. The Y-axis value for Unit no. 1 would be 1200.
54
Page 63
DM Area Allocation
Section 3-3
DM Area Coding Sheet A1 W
15
00
00
Function Initial position nos.; speed nos.
01
03
Origin compensation and direction 0-9999
04
Backlash compensation 0-9999
02
05 06
Axis
W
00
15
DM 1_ 00 to 1 _99
Function
W
Transfer no.
4
5
41
15
71
Positioning action #16
16
Positioning action #17
17
Positioning action #18
18
Positioning action #19
19
73 Positioning action #6
6
42
09
Positioning action #15
72
40
0
68
70 Positioning action #5
39 CCW limit
Function
69
37
0
00
67 Positioning action #4
36
38
15
X axis: Unit no. Y axis: Unit no. +1
Transfer no.
34 35
CW limit
07 08
Unit no.
74 75
Zone 0 CW limit 43
10
44
11 Zone 0 CCW limit 13
47
18 19 Zone 2 CCW limit
20
0
51
84
Speed #3
52
85
Speed #4
86
Speed #5
53
Positioning action #10
10
Speed #6
Positioning action #0
55
88
Speed #7
89
Speed #8
90
Speed #9
91
Speed #10
92
Speed #11
60
93
Speed #12
61
94
Speed #13
95
Speed #14
63
96
Speed #15
64
97
Speed units
98
Acceleration
99
Deceleration
0
56
Positioning action #11
11
57 Positioning action #1
58 1
Positioning action #2
Positioning action #3
59
2 62
31
33
Speed #2
87
30
32
83
9
54
27
29
Speed #1
Positioning action #9
Origin signal type
24
28
82
50 Zone 2 CW limit
26
80 81
49
17
25
8
Zone 1 CCW limit
16
23
79 Positioning action #8
48
15
77 78
46
Zone 1 CW limit
14
22
7
45
12
21 0
76 Positioning action #7
3
65 66
Positioning action #12
Positioning action #13
Positioning action #14
12
13
14
20
21
22
23
24
25
55
Page 64
DM Area Allocation
Section 3-3
DM Area Coding Sheet A2
Unit no.
Axis
W
W
00
15
00
Function
Positioning action #20
20 34 35
Positioning action #21
21 37
07
Positioning action #22
22 40
Positioning action #23
23 43
Positioning action #24
24 46
Positioning action #25
25 49
70
33
73
34
76
35
79
36
22
37
27
55
38
82
28
58
85
88
39
91
59
92
27
60
93
Positioning action #29
29
61
Positioning action #40
40
94
29
62
95
30
63
96
31 32
56
Positioning action #30
30
64 65
47
Positioning action #48
48
Positioning action #49
49
Positioning action #50
50
Positioning action #51
51
Positioning action #52
52
90 Positioning action #39
26
28
Positioning action #47
89
57 Positioning action #28
46
87 Positioning action #38
56
24
Positioning action #46
86
54
23
25
Positioning action #37
53
Positioning action #27
45
81 Positioning action #36
84
21
Positioning action #45
80
51
20
44
78 Positioning action #34
18
52
Positioning action #44
77
83
26
43
75 Positioning action #34
50
Positioning action #26
Positioning action #43
74
17
19
42
72 Positioning action #33
48
15
Positioning action #42
71
47
14
16
32
45
12
Function
69 Positioning action #32
44
11
67 68
42
09
13
31
41
08
10
Positioning action #31
39
06
00
66
38
05
15
X axis: DIP SW setting Y axis: DIP SW setting+1
Transfer no.
36
03 04
W
33
00
02
Function Transfer no.
Transfer no.
01
15
DM 0_ 00 to 0 _98
Positioning action #41
41
97 98
Page 65
DM Area Allocation
Section 3-3
DM Area Allocations Word X axis m
Y axis m + 100 m+1 m + 101 m+2 m+3 m + 102 m + 103 m+4 m + 104 m+5 m + 105
Bit 07 to 00 11 to 08 15 to 12 03 to 00 07 to 04 11 to 08 15 to 12 05 to 00
Function Initial position no., 00 to 52 (BCD): Initial START and START after bank end. Initial speed no., 0 to F (hexadecimal) ORIGIN RETURN speed no., 1 to F (hexadecimal) ORIGIN SEARCH proximity speed no., 1 to F (hexadecimal) ORIGIN SEARCH high speed no., 1 to F (hexadecimal) LOW-SPEED JOG speed no., 1 to F (hexadecimal) HIGH-SPEED JOG speed no., 1 to F (hexadecimal) Origin compensation value, 0000 to 9999 (BCD)
00 Origin compensation direction digit (0: CW; 1: CCW) 03 to 01 Not used 04 Speed unit multiplication 0: multiplies speed unit by 1 (if m+97: 0) or 10 (if m+97: 1) 1: multiplies speed unit by 1 (if m+97: 0) or 100 (if m+97: 1) 07 to 05 Not used 11 to 08 ORIGIN SEARCH dwell time, 0 to F (hexadecimal), in units of 0.1 s 15 to 12 ORIGIN RETURN dwell time 0 to F (hexadecimal), in units of 0.1 s 15 to 00 Backlash compensation value, 0000 to 9999 (BCD) 15 to 00 Internally set value of CW limit **06 0 m+6 m + 106 m+8 m+9 m + 10 m + 107 x105 x106 x105 x103 x104
11 to 00 m + 109
15 to 12 Not used 15 to 00 Zone 0: CW side m+10
15 to 00 x106 direction x106 x105 x105 x104 x102 x101 x100
(7 digits BCD)
x100
(7 digits BCD)
x100
(7 digits BCD)
x100
(7 digits BCD with direction digit)
**05 x103
15 to 12 Not used 15 to 00 Internally set value of CCW limit **08 m + 108 m + 110 x104
11 to 00 Internally set value of CW limit **06 0 m+7 x106
**05 x103 x102 x101
**07 x102 x101 m+9 x104 x103 x102 x101
0 CW 1 CCW
57