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

The text of a manual · part 11 of 32

SYSMAC C200H-NC211 Position Control Unit Operation Manual: SECTION 4 Commands, pages 74 to 83

Pages 74 to 83 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 74 read from a scan by OCR; it may hold reading errors

SECTION 4

Commands 4-1 Setting Up Data Memories ......... 0.00. ee 68 4-2 Unit Table Creation .......0 0... 0 eee eee nnn eee nnes 95

67

Page 75

Section 4-1

Setting Up Data Memories Section Overview

4-1

The Position Control Unit provides fourteen commands to execute automatic and manual positioning actions, define and establish position, transfer data, and handle interrupts and errors. Although the data required for execution is listed under each command, much of this data is used by more than one command. Refer to 3-2 Data Configuration and Allocation for an outline of the structure of Unit data, and to 5-1 IR Area Data Format for format specifications for particular types of data. Applications of most commands are presented in Section 9 Programming Examples.

Setting Up Data Memories

DM Area Settings

Words 1000 to 1999 of the DM area of the PC are used as data storage areas for the Position Control Unit, storing data such as initial positioning action numbers, initial speed numbers, speed data, acceleration/deceleration data, position data, completion codes, dwell times, and output codes. 15-12 11-08 07-04 03-00 M x101 x100

(m = 1000 + 100 x unit number)

Initial positioning action number Initial speed number Origin return speed number

Initial Positioning Action Number

68

X: Bits 07-00 of DM word m Y: Bits 07-00 of DM word m+100 Set to a value between 00 and 52 (BCD). This number is used at: • Initial START after turning on the Unit (if bit 01 of word n is 0) • START after bank ends • START after completion of positioning action #19 To use this initial positioning action number in the above situations, set bit 01 of word n to zero. If bit 01 of word n is set to one, the initial positioning action number designated in the IR area is used for the initial START after turning on the Unit, allowing for a different starting point for positioning system initialization. These settings refer to data set in DM words m+21 through m+81/DM words l through l+99.

Page 76

Section 4-1

Setting Up Data Memories Initial Speed Number

X: Bits 11-08 of DM word m Y: Bits 11-08 of DM word m+100 Set to a value between zero and F (hex). An initial speed number of zero indicates a speed of zero. All the other speed numbers set here refer to the speeds set in DM words m+82 through m+97/bit 04 of DM word m+3. Target speed

Target speed

Acceleration

Acceleration

Time

Initial speed #0

ORIGIN RETURN Speed Number

Initial speed number other than 0

X: Bits 15-12 of DM word m Y: Bits 15-12 of DM word m+100 ORIGIN RETURN speed number Set to an integer between 0 and F (hex). This is the speed used to return to an already-searched origin ORIGIN RETURN speed

ORIGIN RETURN speed

Acceleration

Acceleration Time

Initial speed #0

ORIGIN SEARCH Proximity Speed Number (Low Speed)

Initial speed number other than 0

X: Bits 03-00 of DM word m+1 Y: Bits 03-00 of DM word m+101 ORIGIN SEARCH proximity speed number Set to an integer between 1 and F (hex). • The speed number set here refers to one of the speeds set in DM words m+82-m+97/ Bit 04 of DM word m+3. • It cannot be set higher than the ORIGIN SEARCH high speed number. • If there is no origin proximity signal, the speed designated here is used for the entire ORIGIN SEARCH operation.

69

Page 77

Section 4-1

Setting Up Data Memories ORIGIN SEARCH High Speed Number

X: Bits 07-04 of DM word m+1 Y: Bits 07-04 of DM word m+101 ORIGIN SEARCH high speed number Set to an integer between 1 and F (hex). • The speed number set here refers to one of the speeds set in DM words m+82-m+97/Bit 04 of DM word m+3. • The speed designated here is used only if an origin proximity signal is present.

ORIGIN SEARCH high speed Acceleration Deceleration Initial speed

Initial speed

ORIGIN SEARCH Proximity speed

Proximity speed

With origin proximity signal

Without origin proximity signal

LOW-SPEED JOG Speed Number

X: Bits 11-08 of DM word m+1 Y: Bits 11-08 of DM word m+101 LOW-SPEED JOG: set to an integer between 1 and F (hex). • It cannot be set higher than the HIGH-SPEED JOG number. • The speed number set here refers to one of the speeds set in DM words m+82 to m+97 (Bit 4 of word m+3)

HIGH-SPEED JOG Speed Number

X: Bits 15-12 of DM word m+1 Y: Bits 15-12 of DM word m+101 HIGH-SPEED JOG: set to an integer between 1 and F (hex). • The speed number set here refers to one of the speeds set in DM words m+82 to m+97 (Bit 4 of word m+3)

70

Page 78

Section 4-1

Setting Up Data Memories Origin Compensation

If the position determined by origin signal input is to be treated as the origin (position 0), set word m+2 to 0. If there is an origin compensation value set in word m+2, then, after the position determined by origin signal input is reached, compensation will be executed at proximity speed in the direction set in bit 00 of word m+3. In the example of origin compensation diagrammed below, bit 00 of word m+3 is set at 1, so origin compensation is counterclockwise.

Proximity signal

Origin signal ORIGIN SEARCH high speed Acceleration Proximity speed

Pulse output

Deceleration Initial speed Proximity speed

CCW

Search direction: CCW

Compensation 15-12

CW positioning axis

0.5 s pause

11-08

07-04

03-01

M+3

01-03 not used 04

00 See Above Special Unit Coefficient Origin Search Dwell Time Origin Return Dwell Time

71

Page 79

Section 4-1

Setting Up Data Memories Speed Coefficient

X: Bit 04 of DM word m+82-m+97/DM word m+3 Y: Bit 04 of DM word m+182-m+197/DM word m+103

15 m+82 x103

00 x102 x101 x100 Speed No. 1 to to m+96 x103 x102

Set speeds in BCD from 0000 to 9999.

x101 x100 Speed No. 15 m+97

0 Speed Unit

Bit No. 15

00

Each bit sets the corresponding speed as follows. Bit 00 is not used. Bit 01 is assigned to speed no. 1, bit 02 to speed no. 2, bit 03 to speed no. 3, and so on, up to bit 15. Coefficient

04

Unit

Condition

0

Speed unit multiplied by 1

1

Speed unit multiplied by 10

0

Speed unit multiplied by 1

1

Speed unit multiplied by 100

0 m+3 1 Speed Unit coefficient

Bit 00 of DM word m+97 is not used. Bits 01-15 contain the speed units for speed numbers 1-15. ORIGIN SEARCH Dwell Time

X: Bits 11-08 of DM word m+3 Y: Bits 11-08 of DM word m+103 Set to an integer between 0 and F (hex) in units of 0.1 seconds. After the ORIGIN SEARCH has ended and the dwell time elapsed, the busy flag turns OFF and the next action is enabled.

ORIGIN RETURN Dwell Time

X: Bits 15-12 of DM word m+3 Y: Bits 15-12 of DM word m+103 Set to an integer between 0 and F (hex) in units of 0.1 seconds. After the ORIGIN RETURN has ended and the dwell time elapsed, the busy flag turns OFF and the next action is enabled.

72

Page 80

Section 4-1

Setting Up Data Memories Backlash Compensation

Backlash compensation can be used to compensate for the amount of mechanical play present in gears, particularly when the direction of positioning actions changes. Note This explanation relates to the X axis, but the same format is used for the Y axis. There is only one parameter that needs to be set to compensate for backlash. Using Backlash Compensation

Backlash compensation can correct the sort of mechanical interlocking error shown in the illustration.

ÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍ Backlash

When the CW and CCW directions are reversed, the number of pulses set in the data memory are output at the rate corresponding to the initial speed, then normal control proceeds.

ÍÍ ÍÍ

Time

Compensation

If STOP is executed during backlash compensation for any operations requiring acceleration or deceleration (HIGH-SPEED JOG, ORIGIN SEARCH, ORIGIN RETURN, and START), the Unit will stop feeding immediately after outputting the initial step of the acceleration or deceleration, which will include the backlash compensation set above.

STOP executed

ÍÍ ÍÍ

Time

Compensation

Stop position

73

Page 81

Section 4-1

Setting Up Data Memories

Note This explanation is made with respect to the X axis: case of the Y axis is essentially the same. Backlash compensation is not performed if the origin is undefined. 15

00

Value set within CW limit m+5 x103 m+6 x102 x101 x100 x106 x105 x104 m+6 x106 m+5 x105 x104 x103 x102 x101 x100

Setting value: 1-8,388,606

15

00

Value set within CCW limit m+7 m+8 x103 x102 x101 x100 x106 x105 x104 m+8 x106 m+7 x105 x104 x103 x102 x101

Setting value: 1-8,388,607 When the setting value is 0, the limits are automatically set to: • CW = 8,388,607 • CCW = 8,388,608.

74 x100

Page 82

Section 4-1

Setting Up Data Memories Internal CW/CCW Limits

Limits on the CW and CCW sides of the origin can be set internally to restrict Unit operation to within these limits. Internally set value of CCW limit CCW

Internally set value of CW limit 0

Internal CW Limit

X: Words m+6 to m+5 Y: Word m+106 to m+105

Internal CCW Limit

X: Words m+8 to m+7 Y: Word m+108 to m+107

Positioning axis

CW

Operation Positioning Actions If either of these limits is reached during execution of positioning actions, pulse output will stop, and an error code, either 5030 or 5031, will be generated. Manual Operation If either of these limits is reached during execution of LOW-SPEED JOG, HIGHSPEED JOG, or INCH, pulse output will stop, and an error code, either 5070 or 5071, will be generated. Note When X axis and Y axis START are initiated simultaneously, X axis START receives priority. Since X axis processing takes 10-50 ms, Y axis START is delayed by this period. START will not occur during STOP even if the START command is given. If an interpolation START command is initiated for the X or Y axis during STOP, START will not occur and the command will be ignored.

75

Page 83

Section 4-1

Setting Up Data Memories Zones

Up to three zones can be set in the DM area. If one or more zones have been set, zone flags in the IR area can be used to determine if the present position is within any established zones. A zone flag is ON (1) when the present position is within the zone; OFF (0) when it is not. Zones can be set to cover a wide range of positions or narrowed to cover only part of a single positioning action. Zones can also be set to overlap, if target. For application example, see programming Example 8 in Section 9. This explanation is made with respect to the X-axis. The case of the Y axis is essentially the same. Origin

CCW

CW Position axis

0 Zone 0 Zone Flag 0

Zone 1 Zone Flag 1

Zone 2 Zone Flag 2

Positioning Data

Regions spanning multiple positioning data, or some small regions and the like may be set freely using positioning data and independent regions. Whether the current position lies inside or outside the region is indicated.

76