Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual ยท part 26 of 32

SYSMAC C200H-NC211 Position Control Unit Operation Manual: SECTION 9 Programming Examples, pages 212 to 220

Pages 212 to 220 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 212

Example 5

Section 9-5

3. Linear Interpolation Operation No. 0

CW B (0, 5000)

A (10000, 5000)

X axis CW

Y axis pulse

Interpolation START

A No. 0

Y axis

CW

CW

X axis pulse

Origin

In this example, linear positioning is carried out from the origin (0, 0) to point A (10000, 5000). The speed of interpolation is the speed set for the X axis. DM Area Settings X axis

Initial ORIGIN RETURN speed speed 0 to F 1 to F

Y axis

DM 1000

1 0 0 0

DM 1100

* * * 1 0 0 0

DM 1001

1 2 1 2

DM 1101

1 2 1 2

Initial position no. 0 to 52

HIGH- LOW- ORIGIN Origin SPEED SPEED SEARCH prox. JOG JOG speed 1 to F 1 to F

1 to F

1 to F

Positioning action no. 0

DM 1022

1 0 0 1

DM 1122

* * * 1 0 0 3

DM 1023

0 0 0 0

DM 1123

5 0 0 0

DM 1024

4 0 0 0

DM 1024

0 0 0 0

DM 1082

1 0 0 0

DM 1182

1 0 0 0

*

DM 1083

0 1 0 0

DM 1183

0 1 0 0

*

DM 1098

0 0 0 5

DM 1198

0 0 0 5

*

DM 1099

0 0 0 5

DM 1199

0 0 0 5

*

Speed Output Dwell Completime No. code tion code 1 to F 0 to F 0 to F 0 to 5 Target position

Direction

Program Start switch DIFU(13) 10000

X axis START (interpolation)

207

Page 213

Example 6

9-6

Section 9-6

Example 6

Feeding Selectively with START Configuration

The configuration here is the same as that for Example 1. There is no origin or origin proximity signal used. With the following data and program, the user can select feeding 4,000, 5,000, or 6,000 pulses at a time at 2,000 pps. The data settings shown below are the minimum required to prevent the alarm/error LED from flashing. The positioning actions are all CW (incremental) bank completion actions. ORIGIN Initial RETURN speed speed 1 to F 0 to F DM 1100

1 0 0 0

DM 1101

1 2 1 2

Initial position no. 0 to 52

HIGH- LOW- ORIGIN Origin SPEED SPEED SEARCH prox. JOG JOG speed 1 to F 1 to F

1 to F

1 to F

Positioning action no. 0

208

Speed Output Dwell Completime code No. tion code 1 to F 0 to F 0 to F 0 to 5

DM 1122

2 0 0 3

DM 1123

4 0 0 0

DM 1124

2 0 0 0

DM 1125

2 0 0 3

DM 1126

5 0 0 0

DM 1127

2 0 0 0

DM 1128

2 0 0 3

DM 1129

6 0 0 0

DM 1130

2 0 0 0

DM1182

2 0 0 0

Speed #1

DM1183

0 5 0 0

Speed #2

DM1198

0 0 0 6

Acceleration

DM1199

0 0 0 6

Deceleration

Target position

Positioning action #1

Positioning action #2

Page 214

Example 6

Section 9-6

Program

With the following program, input A, B or C can be selected and START executed to feed the desired number of pulses.

Origin reset switch 10508

Present position reset

25313 (normally ON) 10501

Valid initial positioning action no.

Input A

Input B

Input C

MOV (21) #0000 106

Selects positioning action #0

MOV (21) #0001 106

Selects positioning action #1

MOV (21) #0002 106

Selects positioning action #2

START input 10500 START END (01) CW Y axis speed 4000 pulses

5000 pulses

6000 pulses

2000 pps

Input A

START input

Input B

START input

Input C

START input

Time

CCW

209

Page 215

Example 7

9-7

Section 9-7

Example 7

Using START To Carry Out Positioning Actions Wiring (Details Omitted)

Driver

Motor

NC211

ID211

ID 211

OD211

OD211

ID211

ID 211

Position Control Unit #0

IN, 16 points

IN, 16 points

OUT, 12 points

OUT, 12 points

IN, 8 points

IN, 8 points

Word 1

Word 2

Word 3

Word 4

Word 5

Word 6

100 words

9 9 9 9

9 9 9 9

Thumbwheel switches Driver

Motor

PR027 C200H PC

Y axis Display

00 ORIGIN SEARCH

X axis Display

02 JOG direction

01 RELEASE PROHIBIT

Word 6 Y axis The lower 2 digits are used to specify initial positioning action number.

03 HIGH-SPEED JOG 04 LOW-SPEED JOG 05 START 06 Valid initial positioning action no. 07 STOP

CW limit 00 ORIGIN SEARCH CCW limit 01 RELEASE PROHIBIT

X axis Origin

02 JOG direction Word 5 X axis

Origin proximity

24 VDC

03 HIGH-SPEED JOG

Emergency STOP

04 LOW-SPEED JOG

CW limit

05 START

CCW limit Origin Origin proximity

Y axis

06 Valid initial positioning action no. 07 STOP

To execute positioning in autoincrement mode, turn ON 05 only. To forcibly execute the number specified by the thumbwheel switch, turn ON 06 and then 05. To execute ORIGIN SEARCH, first turn ON switch 00, and then manually turn ON the origin proximity signal to stop feeding.

Program

210

Page 216

Example 7

Section 9-7 00500 10002

ORIGIN SEARCH

10004

RELEASE PROHIBIT

10012

JOG direction

10011

HIGH-SPEED JOG

00501

00502

00503 X axis 00504 10013

LOW-SPEED JOG

10000

START

10001

Valid initial positioning action number

10015

STOP

10502

ORIGIN SEARCH

10504

RELEASE PROHIBIT

10512

JOG direction

10511

HIGH-SPEED JOG

00505

00506

00507

00600

00601

00602

00603 Y axis 00604 10513

LOW-SPEED JOG

10500

START

10501

Valid initial positioning action number

10515

STOP

00605

00606

00607

(continues on next page)

211

Page 217

Example 7

Section 9-7

25313 (normally ON) MOV (21) 001 101

Sets initial positioning action no. (00 to 52) Transfers contents of Word 1 to Word 101 Rightmost 2 digits are used.

25313 MOV (21) 110

Displays X axis status

003 25313 MOV (21) 002 106

Sets initial positioning action no. (00 to 52) Transfers contents of Word 2 to Word 106 Rightmost 2 digits are used.

25313 MOV (21) 115 004

END (01)

212

Displays Y axis status

Page 218

Example 7 DM Area Coding Sheet

Section 9-7 Unit Number: 0 Allocated DM words DM 1000 through DM 1099 The first two digits of each word number have been eliminated from the tables on the following two pages. These digits are the same for all words and can be obtained by computing the first DM word allocated to the Unit, which in this example is DM 1000. This word, designated m, is equal to 1000 plus 100 times the unit number.

213

Page 219

Example 7

Section 9-7

X axis W

15

00

00

1 0 1

2

01

2 3 4

5

Function

W

15

00

34

9

1

A

0

03

0 0 0

0

Origin compensation and direction

0

Backlash compensation CW limit

38

0

0

0

0

39

4

0

0

6

40

8

1

0

2

05

0 0 0

0

06

0 8 0

0

07

0 0 0

0

08

0 8 0

0

09

0 5 0

0

CCW limit

15

00

35

0

0

0

0

36

4

0

0

5

37

9

1

0

0

41

0

0

0

0

42

4

0

0

1

43

9

2

0

2

Function Transfer no.

1

2 0 0

0 0 0

W

Transfer no.

Initial position nos.; speed nos.

02

04

Function

67 Positioning action #4

4

68

Positioning action #15

15

Positioning action #16

16

Positioning action #17

17

Positioning action #18

18

Positioning action #19

19

69 70 Positioning action #5

5

71 72 73

Positioning action #6

6

74 75

Zone 0 CW limit 10

0 0 0

0

11

0 5 0

0

12

1 0 0

0

13

0 0 0

0

44

0

0

0

0

45

4

0

0

2

46

6

3

0

2

Zone 0 CCW limit

14

0 0 0

1

15

8 0 0

0

16

0 0 0

0

17

0 0 0

Zone 1 CW limit

2

19

5 0 0

0

20

0 0 0

1

21

0 0 0

E

22

6 0 0

0

23

0 0 0

0

24

4 0 0

1

25

7 0 0

0

26

0 0 0

0

27

4 0 0

2

28

8 1 5

1

0

0

0

48

4

0

0

3

49

7

4

0

2

77 78 79

Positioning action #8

8

80 81

Positioning action #9

82

5

0

0

0 Speed #1

83

5

0

0

0 Speed #2

50

0

0

0

0

51

4

0

0

4

84

0

5

0

0 Speed #3

52

3

5

0

2

85

4

0

0

0 Speed #4

53

2

0

0

0

86

0

3

0

0 Speed #5

Origin Origin proximity

54

4

0

0

4

87

1

0

0

0 Speed #6

Positioning action #0

55

A

6

0

0

88

2

0

0

0 Speed #7

56

0

0

0

0

89

3

0

0

0 Speed #8

57

4

0

0

6

90

4

0

0

0 Speed #9

58

6

0

5

1

91

5

0

0

0 Speed #10

92

6

0

0

0 Speed #11

Zone 2 CW limit 0 0 0

0

7

Zone 1 CCW limit

0

18

47

76 Positioning action #7

Zone 2 CCW limit

Positioning action #1

Positioning action #2

0

1

Positioning action #10

Positioning action #11

Positioning action #12

9

10

11

59

3

0

0

0

60

4

0

0

0

93

7

0

0

0 Speed #12

61

8

0

0

1

94

8

0

0

0 Speed #13

62

6

0

0

0

95

9

0

0

0 Speed #14

2

Positioning action #13

12

29

0 0 0

0

30

4 0 0

3

63

5

0

0

0

96

1

0

0

0 Speed #15

31

9 1 A

1

64

A

0

0

3

97

8

0

0

0 Speed units

32

0 0 0

0

65

0

0

0

0

98

0

1

0

0 Acceleration

33

4 0 0

4

66

4

0

0

0

99

0

0

5

0 Deceleration

214

Positioning action #3

3

Positioning action #14

13

14

53

54

55

56

57

58

Page 220

Example 7

Section 9-7

Y axis W

15

00

00

1 1 1

2

01

2 3 4

5

Function

W

15

00

34

9

1

A

0

03

0 0 0

0

Origin compensation and direction

0

Backlash compensation CW limit

38

0

0

0

0

39

0

0

0

3

40

8

1

0

2

05

0 0 0

0

06

0 8 0

0

07

0 0 0

0

08

0 8 0

0

09

0 5 0

0

CCW limit

15

00

35

5

0

0

0

36

0

0

0

2

37

9

1

0

0

41

5

0

0

0

42

0

0

0

0

43

9

2

0

2

Function Transfer no.

1

2 0 0

0 0 0

W

Transfer no.

Initial position nos.; speed nos.

02

04

Function

67 Positioning action #4

4

68

Positioning action #15

15

Positioning action #16

16

Positioning action #17

17

Positioning action #18

18

Positioning action #19

19

69 70 Positioning action #5

5

71 72 73

Positioning action #6

6

74 75

Zone 0 CW limit 10

0 0 0

0

11

0 5 0

0

12

1 0 0

0

13

0 0 0

0

44

0

0

0

0

45

0

0

0

1

46

6

3

0

2

Zone 0 CCW limit

14

0 0 0

1

15

8 0 0

0

16

0 0 0

0

17

0 0 0

Zone 1 CW limit

2

19

5 0 0

0

20

0 0 0

1

21

0 0 0

6

22

6 0 0

0

23

5 0 0

0

24

0 0 0

0

25

7 0 0

0

26

0 0 0

0

27

0 0 0

1

28

8 1 5

1

29

5 0 0

0

30

0 0 0

1

31

9 1 A

1

32

0 0 0

0

33

0 0 0

2

0

0

0

48

0

0

0

1

49

7

4

0

2

77 78 79

Positioning action #8

8

80 81

Positioning action #9

82

5

0

0

0 Speed #1

83

5

0

0

0 Speed #2

50

0

0

0

0

51

0 0

0

2

84

0

5

0

0 Speed #3

52

3

5

0

2

85

4

0

0

0 Speed #4

53

1

0

0

0

86

0

3

0

0 Speed #5

Origin Origin proximity

54

0

0

0

2

87

1

0

0

0 Speed #6

Positioning action #0

55

A

6

0

0

88

2

0

0

0 Speed #7

56

0

0

0

0

89

3

0

0

0 Speed #8

57

0

0

0

3

90

4

0

0

0 Speed #9

58

6

0

5

1

91

5

0

0

0 Speed #10

92

6

0

0

0 Speed #11

Zone 2 CW limit 0 0 0

5

7

Zone 1 CCW limit

0

18

47

76 Positioning action #7

Zone 2 CCW limit

Positioning action #1

Positioning action #2

Positioning action #3

0

1

2

3

Positioning action #10

Positioning action #11

Positioning action #12

9

10

11

59

1

5

0

0

60

0

0

0

0

93

7

0

0

0 Speed #12

61

8

0

0

1

94

8

0

0

0 Speed #13

62

3

0

0

0

95

9

0

0

0 Speed #14

63

1

0

0

0

96

1

0

0

0 Speed #15

64

A

0

0

3

97

8

0

0

0 Speed units

65

0

0

0

0

98

0

1

0

0 Acceleration

66

0

0

0

0

99

0

0

5

0 Deceleration

Positioning action #13

Positioning action #14

12

13

14

53

54

55

56

57

58

215