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

The text of a manual · part 29 of 32

SYSMAC C200H-NC211 Position Control Unit Operation Manual: Appendices

Pages 237 to 247 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 237

Appendix A Application in CS1-series PCs Precautions for Application in CS1-series PCs Observe the following precautions when using the C200H-NC211 in a CS1-series PC.

Changes in IR/CIO Area and DM Area Allocation • In C200H-series PCs, the allocated IR Area begins with word n = 100 + 10 × unit number. In CS1-series PCs, the allocated CIO Area begins with word n = 2000 + 10 × unit number. • In C200H-series PCs, the allocated DM Area begins with word m = DM 1000 + 100 × unit number. In CS1-series PCs, the allocated CIO Area begins with word m = DM20000 + 100 × unit number.

DATA TRANSFER through a Data Area The following table shows how to specify the data area region that will contain the position data and speed data. The leading address of this region is specified in words n+3 and n+4 (X axis) or n+8 and n+9 (Y axis).

Specifying the Data Area Words Containing Position and Speed Data n = 2000 + 10 × unit number Data area

Specifying the DATA TRANSFER region

Specifiable addresses in CS1-series PCs (See note 1.)

Data area (2-digit BCD)

Leading address (4-digit BCD)

X axis: n+4 bits 00 to 07 Y axis: n+9 bits 00 to 07

X axis: n+3 bits 00 to 15 Y axis: n+8 bits 00 to 15

DM Area (general-purpose area) DM Area (Special I/O Unit area) CIO Area (I/O Area)

DM00000 to DM00999

00

0000 to 0999

DM20000 to DM20999

00

1000 to 1999 (See note 2.)

CIO0000 to CIO0255

01

0000 to 0255

CIO Area (Link Area)

CIO1000 to CIO1063

02

0000 to 0063

HR Area 1

HR000 to HR099

03

0000 to 0099

HR Area 2

HR100 to HR127 (Word HR101 cannot be specified)

04

0000 to 0027 (Address 0001 cannot be specified)

Note 1. CS1 data area addresses that are not listed in the table cannot be specified. 2. When specifying words in the DM area that are allocated to Special I/O Units (DM20000 to DM20999), you must specify word addresses used for the Special I/O Unit area in C200HX/HG/HE, C200HS, and C200H PCs (1000 to 1999) rather than the CS1-series word addresses (20000 to 20999).

Expanded DM Area (I to I+199) Settings Part of the DM Area can be allocated for expanded positioning data storage with DIP Switch pins 7 to 9. The following table shows the expanded DM area specified with the 7 possible settings (binary) of these three pins. (Pin 7 is 20, pin 8 is 21, and pin 9 is 22.) Settings on pins 7 to 9

Expanded DM area

1

D00100 to D00299

2

D00200 to D00399

3

D00300 to D00499

4

D00400 to D00599

5

D00500 to D00699

6

D00600 to D00799

7

D00700 to D00899

233

Page 238

Appendix A

Application in CS1-series PCs

Data Configuration Allocated CIO Area n = 2000 + 10 × unit number X axis

Y axis n to n+4 n+10 to n+14 n+5 to n+9 n+15 to n+19

15

0

Content

Direction

Commands from CPU Unit

START, ORIGIN SEARCH, TRANSFER DATA, etc.

CPU → C200H-NC211

Position Control Unit status

Present position, zones, error flags, etc.

C200H-NC211 → CPU

Content

Direction

Allocated DM Area M = DM20000 + 100 × unit number 15

0

X axis

Y axis m to m+20 m+100 to m+120

Parameters

Initial position no., Initial speed no., Backlash compensation

CPU → C200H-NC211 m+22 to m+81 m+122 to m+181

Positioning data

Positioning action data #0 to #19

CPU → C200H-NC211 m+82 to m+99 m+182 to m+199

Speed and Acceleration/Deceleration data

Speed #0 to #15 data, Acceleration data, Deceleration data

CPU → C200H-NC211

Expanded DM Area for Positioning Action Data I = DM00100 + 200 × unit number X axis

Y axis

I to I+99

I+100 to I+199

15 Positioning data

0

Content Positioning action data #20 to #52

Direction CPU → C200H-NC211

Operating Procedures Initial Settings (Hardware) 1, 2, 3...

1. Set the unit number (Machine no.) and operation mode with the rotary switches on the Position Control Unit’s front panel. Refer to 2-2 Switch Settings for details. 2. Set the DIP switch on the Position Control Unit’s back panel to select the output pulse format, external interrupt signal, external interrupt function, and Expanded DM Area settings. Refer to 2-2 Switch Settings for details. 3. Install the Position Control Unit in a CS1 CPU Rack, C200H Expansion I/O Rack, CS1 Expansion Rack, or SYSMAC Bus Remote Slave I/O Rack. Up to 5 Units can be mounted in a basic system. (The mounting location is not restricted.) 4. Connect the I/O connector. 5. Connect a Programming Device to the PC. 6. Turn ON the PC’s power supply. 7. Create the I/O table.

Initial Settings (Software) 1, 2, 3...

234

1. Set the parameters, position, speed, and acceleration/deceleration data in the allocated DM area (m to m+99.) 2. If the allocated DM area (m to m+99) isn’t large enough to contain all of the position, speed, and acceleration/deceleration data, set the extra position data in the Expansion DM Area. (The first ad-

Page 239

Application in CS1-series PCs

Appendix A dress of the Expansion DM Area is set with pins 7, 8, and 9 of the DIP switch on the back of the Position Control Unit.) 3. Turn the power supply OFF and ON again or turn the Unit’s Restart Bit OFF and ON again.

TRANSFER DATA Command This command can be used during operation if it is necessary to change the position, speed, and acceleration/deceleration data that was set in the initial settings. 1, 2, 3...

1. Turn the TRANSFER DATA Bit (bit 10 of n or n+5) from OFF to ON to transfer the data in the specified words (specified in words n+3 and n+4 or n+8 and n+9) beginning with the specified beginning transfer number (00 to 58, specified in bits 08 to 14 of n+2 or n+7.) 2. When the data transfer operation is completed, turn the BUFFER TRANSFER Bit (bit 15 of n+1 or n+6) from OFF to ON to execute the buffer transfer operation.

Note If the buffer transfer is not executed after the data transfer, the data cannot be used as positioning data. The buffer transfer operation is an internal process that transfers the data from the CPU Unit’s data exchange buffer to the RAM area used for operation.

START Command 1, 2, 3...

1. Use an instruction such as MOV(021) to set the initial positioning action number in bits 00 to 06 of n+1 or n+6. 2. Use an instruction such as OUT to turn the START Bit (bit 00 of n or n+5) from OFF to ON.

Programming Considerations Transferring Data to the Expanded DM Area 1, 2, 3...

1. Program the Busy Flag (bit 12 of n+10 or n+15) as a normally closed input condition and use an instruction such as MOV(021) to set the data transfer area information (parameters defining the data transfer area) in n+3 and n+4 or n+8 and n+9. 2. Use the same input condition from step 1 and use an instruction such as OUT to turn the TRANSFER DATA Bit (bit 10 of n or n+5) from OFF to ON. 3. Program the Transfer Completed Flag (bit 10 of n+10 or n+15) as a normally open input condition and the Busy Flag (bit 12 of n+10 or n+15) as a normally closed input condition and use an instruction such as OUT to turn the BUFFER TRANSFER Bit (bit 15 of n+1 or n+6) from OFF to ON.

Setting Data in the Allocated DM Area and Starting Operation Program the Busy Flag (bit 12 of n+10 or n+15) as an input condition and use an instruction such as MOV(021) to set the initial positioning action number in bits 00 to 06 of n+1 or n+6. At the same time, turn the START Bit (bit 00 of n or n+5) and Enable Initial Positioning Action Number Bit (bit 01 of n or n+5) from OFF to ON.

235

Page 240

Appendix A

Application in CS1-series PCs

Programming Examples Two-axis Operation (Point-to-Point Operation) Start operation after performing an ORIGIN SEARCH, Present Position Reset, or Present Position Preset operation on both axes.

Example 1: Independent Two-axis Operation Operation

Y axis (pulses)

0 (Origin)

X axis (pulses)

This example program performs positioning from the origin (0, 0) to point B (0, 5,000) with independent Y-axis operation and performs positioning from point B (0, 5,000) to point A (10,000, 5,000) with independent X-axis operation. The Y-axis’ Positioning Completed Flag (bit 00 of n+15) is used to start the X-axis operation. If both axes are started simultaneously with the same DM Area settings, the X axis starts first and the Y-axis startup will be delayed by 10 to 50 ms while internal startup processing is being performed. (The dashed line shows simultaneous operation of both axes.) DM Area Settings X axis

Y axis ORIGIN RETURN speed no. (1 to F)

D20000

1

0

0

0

D20100

1

0

0

0

D20001

1

2

1

2

D20101

1

2

1

2

D20022

1

0

0

3

D20122

1

0

0

3

D20023

0

0

0

0

D20123

5

0

0

0

D20024

0

0

0

1

D20124

0

0

0

0

D20082

1

0

0

0

D20182

1

0

0

0

Speed data #1

D20083

0

1

0

0

D20183

0

1

0

0

Speed data #2

D20098

0

0

0

5

D20198

0

0

0

5

Acceleration data

D20099

0

0

0

5

D20199

0

0

0

5

Deceleration data

Initial speed no. (0 to F)

Initial position no. (0 to 52)

HIGH-SPEED JOG LOW-SPEED JOG Origin Search high Origin Search prox. speed no. (1 to F) speed no. (1 to F) speed no. (1 to F) speed no. (1 to F)

Positioning action data #0

236

Target speed no. Output code (1 to F) (0 to F) Target position

Dwell time (0 to F)

Completion code (0 to F)

Page 241

Appendix A

Application in CS1-series PCs Ladder Program Examples • Operating One Axis at a Time START switch

201500 201512 201012 (n+15 bit 00) (n+15 bit 12) (n+10 bit 12)

Y-axis Positioning Completed Flag

Y-axis Busy Flag n+5 bit 00 (Y-axis START Bit)

When the Y-axis Positioning Completed Flag (bit 00 of n+15) goes ON, the X-axis START Bit (bit 00 of n) is turned ON for one cycle as long as the X-axis and Y-axis Busy Flags are both OFF.

n bit 00 (X-axis START Bit)

X-axis Busy Flag

When the START switch goes ON, the Yaxis START Bit (bit 00 of n+5) is turned ON for one cycle.

• Operating Both Axes Simultaneously START switch n bit 00 (X-axis START Bit)

When the START switch goes ON, the Xaxis START Bit (bit 00 of n) and Y-axis START Bit (bit 00 of n+5) are turned ON for one cycle. Note When both axes are started at the same time, the X axis starts first and the Y-axis startup will be delayed by 10 to 50 ms while internal startup processing is being performed.

n+5 bit 00 (Y-axis START Bit)

Example 2: Interpolation (Operating One Axis at a Time) Operation

X axis Y axis (pulses) Interpolation starts

(Point B)

Point B

(Point A)

Point A

Y axis 0 (Origin)

X axis (pulses)

Interpolation can be used to perform the same operation as example 1. There are more DM Area settings with interpolation operation, but there is less ladder programming. The completion code in DM01022 changes from 1 (Single) to 2 (Continuous), allowing continuous operation (indicated by the dashed lines in the diagram). For interpolation START, use X axis START.

237

Page 242

Appendix A

Application in CS1-series PCs DM Area Settings X axis

Y axis

D20000

1

0

0

0

D20100

1

0* 0* 0 *

D20001

1

2

1

2

D20101

1

2

1

2

ORIGIN RETURN speed no. (1 to F)

Initial speed no. (0 to F)

Initial position no. (0 to 52)

HIGH-SPEED JOG LOW-SPEED JOG Origin Search high Origin Search prox. speed no. (1 to F) speed no. (1 to F) speed no. (1 to F) speed no. (1 to F)

Positioning action data #0 D20022

1

0

0

1

D20122

1* 0* 0 * 1

D20023

0

0

0

0

D20123

5

0

0

0

D20024

4

0

0

0

D20124

0

0

0

0

D20025

1

1

0

3

D20125

1* 1* 0 * 3

D20026

0

0

0

0

D20126

0

0

0

0

D20027

4

0

0

1

D20127

0

0

0

0

D20082

1

0

0

0

D20182

1

0

0

0

*Speed data #1

D20083

0

1

0

0

D20183

0

1

0

0

*Speed data #2

D20098

0

0

0

5

D20198

0

0

0

5

*Acceleration data

D20099

0

0

0

5

D20199

0

0

0

5

*Deceleration data

Target speed no. Output code (1 to F) (0 to F)

Dwell time (0 to F)

Completion code (0 to F)

Target position Direction Positioning action data #1

Ladder Program Example START switch n bit 00 X-axis START Bit (Interpolation Start Bit)

Interpolation Settings When the direction of the X axis positioning action is set to a value between 4 and 7, the settings are interpreted as interpolation data. The speed, acceleration, deceleration, output code, and dwell time settings for interpolation are determined by the X axis values only. Y axis settings (marked with an asterisk *) are ignored, but data must be input to prevent an alarm from being generated.

Example 3: Linear Interpolation This example program performs positioning from the origin (0, 0) to point A (10000, 5000) using linear interpolation. The speed of interpolation is determined by the speed set for the X axis. Operation

X axis Y axis (pulses) Interpolation starts Y axis 0 (Origin)

238

X axis (pulses)

Point A

Page 243

Appendix A

Application in CS1-series PCs DM Area Settings X axis

Y axis

D20000

1

0

0

0

D20100

1

0* 0* 0 *

D20001

1

2

1

2

D20101

1

2 to

1

ORIGIN RETURN speed no. (1 to F)

2

Initial speed no. (0 to F)

Initial position no. (0 to 52)

HIGH-SPEED JOG LOW-SPEED JOG Origin Search high Origin Search prox. speed no. (1 to F) speed no. (1 to F) speed no. (1 to F) speed no. (1 to F)

to Positioning action data #0

D20022

1

0

0

3

D20122

1* 0* 0* 3

D20023

0

0

0

0

D20123

5

0

0

0

D20024

4

0

0

1

D20124

0

0

0

0

D20082

1

0

0

0

D20182

1

0

0

0

*

D20083

0

1

0

0

D20183

0

1

0

0

*

D20098

0

0

0

5

D20198

0

0

0

5

*

D20099

0

0

0

5

D20199

0

0

0

5

*

Target speed no. Output code (1 to F) (0 to F)

Dwell time (0 to F)

Completion code (0 to F)

Target position Direction

Ladder Program Example START switch n bit 00 X-axis START Bit (Interpolation Start Bit)

239

Page 244

Appendix B Specifications General The unit conforms to C-series specifications.

Performance Specifications Item

Specification

Number of control axes

2 axes/Unit

Control system Position Data

Automatic trapezoidal acceleration/deceleration

Data points Range Data points Speed adjustment rate Speed

Origin search

–8,388,607 to +8,388,606 pulses 53/axis 1 to 250,000 pps (pulses/second) 15 2 to 2,000 pps/1ms Origin proximity: selectable (absent, N.O. input, or N.C. input). Origin signal: selectable (N.O. input or N.C. input) Origin compensation: 0 to ±9,999 pulses. Origin search speed: may be set to high speed or proximity speed. Origin search method: may be set to stop upon origin signal after proximity signal has turned ON, or to stop upon receiving the origin signal after the proximity signal has turned OFF. N.O. = Normally open N.C. = Normally closed

Backlash compensation

0 to 9,999 pulses

Manual operation

HIGH-SPEED JOG, LOW-SPEED JOG, INCH

Internal current

500 mA max at 5 VDC (consumption from Rack).

Dimensions (mm)

35 (W) x 130 (H) x 100.5 (D)

Weight

500g max. (excluding connectors)

241

Page 245

Appendix B

Specifications

Input Specifications Item

Specification

Voltage

12 to 24 VDC ±10%

Current

5 mA (at 12 V) to 11 mA (at 24V )

ON voltage

10.2 VDC min.

OFF voltage

3.0 VDC max.

ON response time

1 ms max.

OFF response time

1 ms max.

Origin-signal Input Specifications Item External signal is open-collector signal External signal is line-driver signal

Connection Terminal X Axis 10 11 Y Axis 32 33 X Axis 9 11 Y Axis 31 33

Specification Input current is 6 mA (at 12 V) to 13 mA (at 24 V); other specifications remain the same Signal is a line-driver signal corresponding to Am26LS31

Response Time Mode 0: < 1 ms Mode 1, 2: < 0.1 ms Mode 3: Not used

Output Specifications Item

242

Specification

Maximum switching capacity Minimum switching capacity Leakage current

30 mA at 5 to 24 VDC ±10%\(NPN open collector)

Residual voltage

0.6 V max.

External power supply

24 VDC +10% (maximum 30 mA)

7 mA at 5 to 24 VDC ±10% (NPN open collector) 0.1 mA max.

Page 246

Appendix B

Specifications

CW/CCW Pulse Output Specifications Minimum Pulse Width B OFF

90% 10%

ON

A Note: The OFF/ON refers to the transistor. The output transistor is ON at level “L.”

Open or close current/loaded power-source voltage

Pulse Frequency

__7–30 mA__ 5 VDC ± 10%

__7–30 mA__ 12 VDC ± 10%

A

A

B

B

__7–30 mA__ 24 VDC ± 10%

A

B

<50 Kpps

>9.9 µs >9.5 µs

>9.9 µs >9.8 µs

>9.9 µs >9.8 µs

<100 Kpps

>4.6 µs >4.9 µs

>4.9 µs >4.8 µs

>4.9 µs >4.8 µs

<200 Kpps

>2.4 µs >2.1 µs

>2.4 µs >2.3 µs

>2.4 µs >2.4 µs

<250 Kpps

>1.9 µs >1.5 µs

>1.9 µs >1.8 µs

>1.9 µs >1.9 µs

Note Specifications other than those above correspond to the output specifications of the preceding page.

243

Page 247

Appendix C Standard Models Product Name Position Control Unit

Description 2 Axis

Model No. C200H-NC211

245