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

The text of a manual ยท part 24 of 32

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

Pages 194 to 202 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 194

SECTION 9 Programming Examples 9-1 Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3 Example 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4 Example 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5 Example 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6 Example 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7 Example 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-8 Example 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9 Example 9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10 Example 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11 Example 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

190 196 199 201 203 208 210 218 219 221 229

189

Page 195

Section 9-1

Example 1 Section Overview

9-1

This section presents programming examples which illustrate how to use the many different commands and settings in operating the Position control Unit.

Example 1

Operation with Minimum Data: Displaying JOG Positions Wiring

The illustration below shows the simplest possible wiring for operation of the Position Control Unit. Position Control Unit #0

22/34

Power supply

18

CW limit X axis

24 VDC 17

CCW limit

19

Emergency stop

21

CW limit

20

CCW limit

Y axis

190

C200H PC

Hand-held Programming Console C200H-PR027

Page 196

Section 9-1

Example 1 DM Area Settings

The data settings shown below are the minimum required to prevent the alarm/ error LED from flashing. X axis: ORIGIN Initial Initial RETURN speed position no. speed 1-F 0-F 0-52 HIGHSPEED JOG speed 1-F

DM 1000

1 0 0 0

DM 1001

1 2 1 2

DM 1082

2 0 0 0 Speed #1

DM 1083

0 5 0 0 Speed #2

DM 1098

0 0 0 6 Acceleration

DM 1099

0 0 0 6 Deceleration

LOWSPEED JOG speed 1-F

ORIGIN ORIGIN SEARCH SEARCH speed proximity speed 1-F 1-F

Y axis: ORIGIN Initial Initial RETURN speed position speed no. 1-F 0-F 0-52 HIGHSPEED JOG speed 1-F

DM 1100

1 0 0 0

DM 1101

1 2 1 2

DM 1182

2 0 0 0 Speed #1

DM 1183

0 5 0 0 Speed #2

DM 1198

0 0 0 6 Acceleration

DM 1199

0 0 0 6 Deceleration

LOWSPEED JOG speed 1-F

ORIGIN ORIGIN SEARCH SEARCH speed proximity speed 1-F 1-F

191

Page 197

Section 9-1

Example 1 Procedure for the X Axis 1, 2, 3...

CLR

SHIFT

CONT #

1. Set the PC to PROGRAM mode, and then begin operation from the Programming Console. 2. Write data into the DM area and restart. SHIFT

A

HR

A

B

0

A

0

1

MONTR

0

PLAY

REC

SET

RESET

A0100 ^OFF 3. Monitor the present position words. CLR

CH

SHIFT

CH

SHIFT

B

B

B

1

*

B

1

*

D

1

E

1

MONTR

3

MONTR

4

C114 C113 0999 9911 4. Monitor the RESET ORIGIN command bit. SHIFT

CONT

A

B

A

0

1

#

10008 C114 C113 ^OFF 0999 9911 5. Reset the present position. PLAY

REC

SET

RESET

10008 C114 C113 ^OFF 0000 0000

192

A

0

0

8

MONTR

Page 198

Section 9-1

Example 1 6. Set LOW-SPEED JOG command bit. PLAY SET

Programming Console Display

Indicators on Position Control Unit NC211

10013 C114 C113 ^ON 0000 2340 The values of the present position increase or decrease.

RUN

X

CW

Y ALARM

CCW

ERROR

CW and busy LEDs light. (with 10012, direction, OFF)

7. Stop LOW-SPEED JOG. REC RESET

10013 C114 C113 ^OFF 0001 0615

193

Page 199

Section 9-1

Example 1 Procedure for the Y Axis 1, 2, 3...

CLR

CLR

CLR

SHIFT

1. Set the PC to PROGRAM mode, and then begin operation from the Programming Console. 2. Write data into the DM area and restart. CONT #

SHIFT

A

HR

A

B

0

A

0

1

0

MONTR

1

9

PLAY

REC

SET

RESET

A0100 ^OFF 3. Monitor the present position words. CLR

CH

SHIFT

CH

SHIFT

B

B

B

1

*

B

1

*

1

MONTR

MONTR

9

C119 C118 0999 9911 4. Monitor the RESET ORIGIN command bit. SHIFT

CONT

A

B

F

0

1

#

10508 C119 C118 ^OFF 0999 9911 5. Reset the present position. PLAY

REC

SET

RESET

10508 C119 C118 ^OFF 0000 0000

194

A

5

0

8

MONTR

Page 200

Section 9-1

Example 1 6. Set LOW-SPEED JOG command bit. PLAY SET

Programming Console Display

Indicators on Position Control Unit NC211

10513 C119 C118 ^ON 0000 2340 The values of the present position increase or decrease.

RUN

X

CW

Y ALARM

CCW

ERROR

CW and Y LEDs light.

7. Stop LOW-SPEED JOG. REC RESET

10053 C119 C118 ^OFF 0001 0615

195

Page 201

Example 2

9-2

Section 9-2

Example 2

Positioning at an Interval: Using RESET ORIGIN In this example, the Position Control Unit is assumed to be assigned unit number 0. (Single-axis START) Operation

Feeding is executed to positions lying at equal distances in the same direction from a specific point; it is executed repeatedly using the same positioning action followed by RESET ORIGIN.

ORIGIN SEARCH 0 Origin proximity RESET ORIGIN signal Origin (or Z encoder signal)

DM Area Settings for the X Axis ORIGIN Initial RETURN speed speed 1 to F 0 to F DM 1000

1 0 0 0

DM 1001

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

196

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

DM 1022

1 0 0 3

DM 1023

0 0 0 0

DM 1024

0 0 0 1

DM 1082

5 0 0 0 Speed #1

DM 1083

0 5 0 0 Speed #2

DM 1097

0 0 0 0 Speed units

DM 1098

0 0 0 8 Acceleration

DM 1099

0 0 0 8 Deceleration

Target position

DM 1021

0

0

0

E

4 3 21 0

0 1 11 0 Direction (CW) Proximity signal present Origin proximity N.O. contact Origin N.O. contact No proximity reverse

Page 202

Example 2

Section 9-2

DM Area Settings for the Y Axis ORIGIN Initial RETURN speed speed 0 to F 1 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 speed 1 to F 1 to F

1 to F

1 to F

Positioning action no. 0 Speed Output Dwell CompleNo. tion code code time 1 to F 0 to F 0 to F 0 to 5

DM 1122

1 0 0 3

DM 1123

0 0 0 0

DM 1124

0 0 0 1

DM 1182

5 0 0 0 Speed No. 1

DM 1183

0 5 0 0 Speed No. 2

DM 1197

0 0 0 0 Speed units

DM 1198

0 0 0 8 Acceleration

DM 1199

0 0 0 8 Deceleration

Target position

197