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

The text of a manual · part 14 of 32

SYSMAC C200H-NC211 Position Control Unit Operation Manual: SECTION 5 IR Area Allocation, pages 104 to 113

Pages 104 to 113 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 104

SECTION 5 IR Area Allocation 5-1 5-2 5-3 5-4 5-5 5-6

IR Area Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IR Area Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IR Area Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Execution Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ORIGIN SEARCH Completion Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Start/Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

98 100 105 106 119 122

97

Page 105

Section 5-1

IR Area Allocation Section Overview

5-1

This section presents the IR Area allocation and data formats. It also provides some execution examples to illustrate how the Position Control Unit is used in different configurations.

IR Area Allocation Here n represents the first IR word allocated to the Unit and equals 100 plus 10 times the unit number. These tables list the X axis allocations. The Y axis allocations are analogous, but are offset 5 words from the X axis locations. For example, bit 00 of word n is the START command bit for the X axis, while bit 00 of word n+5 is the START command bit for the Y axis.

Word Bit

98 n 00 01 02 03 04 05 06 07

START Valid initial positioning action number ORIGIN SEARCH ORIGIN RETURN RELEASE PROHIBIT READ ERROR CHANGE SPEED Valid speed coefficient

08 09 10 11 12 13 14 15

RESET ORIGIN TEACH TRANSFER DATA HIGH-SPEED JOG JOG direction LOW SPEED JOG INCH STOP n+1 Initial positioning action no. 00-52 (BCD)

n+2 Speed coefficients (05 to 00) Deviation counter reset (06)

n+3 Beginning word no. (for TRANSFER DATA)

n+4 PC data area (for TRANSFER DATA) 0-4 (BCD)

Origin adjustment (07) CHANGE SPEED COEFFICIENT TEACH positioning action no. 00-52 (BCD)

Buffer transfer

Beginning transfer no. 00-58 (BCD)

TRANSFER DATA type

Number of transfers (for TRANSFER DATA) 01-59 (BCD)

Page 106

Section 5-1

IR Area Allocation Continued Word Bit n+10 00 01 02 03 04 05 06 07

Positioning completed flag Bank completed flag At-origin flag Alarm flag Emergency stop flag Error flag Zone 0 flag Zone 1 flag

08 09 10 11 12

Zone 2 flag Teaching completed flag Transfer completed flag No-origin flag Busy flag

13

CW limit flag

14 15

CCW limit flag STOP flag n+11 Error code n+12 Positioning action no. 00-52 (BCD)

n+13 Present position (rightmost 4 digits)

n+14 Direction digit Present position (leftmost 3 digits)

Positioning completed signal Output code 0-F

Emergency stop signal External interrupt signal Origin signal Origin proximity signal

99

Page 107

IR Area Data Format

5-2

Section 5-2

IR Area Data Format Data is allocated either by bit or by word, though it is often input and output by decimal digit, i.e., four bits (BCD). Position data is held in two adjacent words, generally with a direction digit, in the following format. lowest word highest word direction

106

105

104

0

CW

1

CCW

103

102

101

100

Note that the rightmost word is always the lowest word. If the two words were n+8 and n+9, for example, the rightmost word would be n+8 and the leftmost would be n+9. Furthermore, the rightmost digit in each word begins in the lowest bits. Thus, the digits x104 and x100 above would be held in bits 00 through 03 of their respective words. The direction digit also provides other information when required.

100

Page 108

IR Area Data Format

Section 5-2

IR Allocation X-axis Output Word Outputs (n = 100 x10 x unit no.) n

Bit 00 01

START: At the leading edge ( ) of this bit, the Position Control Unit references bits 01 and 07 of word n+1 and begins positioning. Valid initial positioning no.: When set to 1, the initial positioning no. set in bits 07 to 00 of word n+1 is valid. When set to 0, the initial positioning no. set in bits 07 to 00 of DM word m is valid. ) Searches for origin proximity signals and origin signals, and

03

ORIGIN RETURN: ( determined).

) Returns to the origin (as long as the origin has already been

04

RELEASE PROHIBIT: (

05

READ ERROR: (

06

CHANGE SPEED: ( ) if DIP switch pin no. 2 is ON. If pin no. 2 is OFF, then this bit executes CHANGE SPEED when set to 1 and STOP when set to 0. Valid speed coefficient: When set to 1, the speed coefficient set in bits 05 to 00 of word n+2 is valid. When set to 0, the speed coefficient of the target speed is set at 1.0.

) )

08

RESET ORIGIN: (

09

TEACH: (

10

TRANSFER DATA: ( ) References words n+2 to n+4 and begins the transfer of data. HIGH-SPEED JOG: (0: stops, 1: operates) in the direction indicated by bit 12 of word n. INCH/JOG direction: (0: CW, 1: CCW) LOW-SPEED JOG: (0: stops, 1: operates) in the direction indicated by bit 12 of word n.

15 n+3 n+4

: trailing edge)

ORIGIN SEARCH: ( determines the origin.

11 12 13 14 n+2

: leading edge;

02

07 n+1

Function (

00 to 06 07 08 to 14 15

INCH: (

)

) References bits 15 to 08 of word n+1 and registers the present position.

) Outputs one pulse.

STOP: ( ) The Positioning cannot be restarted while this bit is set to 1. Initial positioning action number: 00 to 52 (BCD) Target speed/coefficient change TEACH positioning action number: 00 to 52 (BCD)

06 07 08 to 14 15 00 to 15

BUFFER TRANSFER: ( ) Speed coefficient: 00 to 20 (BCD) in units of x 0.1 Speed numbers for CHANGE SPEED: 00 to 15 (00: current number + 1) Deviation counter reset output (A6-B6) forced ON/OFF bit (1: ON) Origin adjustment command output (A7-B7) forced ON/OFF bit (1: ON) Beginning transfer number: 00 to 58 (BCD) When set to 1, presets the present position during DATA TRANSFER. Beginning word number for DATA TRANSFER (4 digits BCD)

00 to 07 08 to 15

DATA TRANSFER relay area 0-4 (BCD) (00: DM, 01: I/O, 02: LR, 03: HR, 04: AR) Quantity of data transmitted 01-59 (BCD)

00 to 05

101

Page 109

IR Area Data Format

Section 5-2

IR Allocation X-axis Input Word

Bit

Function (

: leading edge;

Inputs (n = 100 x unit no.

00

Positioning completed flag: (

01 n+10

02 03 04

Bank completed flag: ( : bank completed, At-origin flag: (1: stopped at origin) Alarm flag: (1: alarm)

05 06 07 08 09 10 11 12 13 14 15 n+11 n+12 n+13

: completed,

: starting) : starting)

Emergency stop flag: :Emergency stop, Error flag: (1: error) Zone 0 flag: (0: outside zone 0, 1: inside zone 0) Zone 1 flag: (0: outside zone 1, 1: inside zone 1) Zone 2 flag: (0: outside zone 2, 1: inside zone 2) Teaching completed flag: (

:pulse output enabled word n+5 of bit 4

: completed,

: starting)

Transfer BUFFER TRANSFER also completed flag: ( : completed, : starting) No-origin flag: (1: no origin) Busy flag: (1: busy) during transfer or pulse output (See note.) CW limit flag: (1: CW limit signal has been detected.) For external input monitoring CCW limit flag: (1: CCW limit signal has been detected.)

00 to 15

STOP flag: ( : STOP executed, Error code: 4 digits (BCD)

00 to 06 07

Positioning action number: 00 to 52 (BCD) Positioning completed flag: (1: positioning completed)

08 to 11 12 13 14 15 00 to 15

Output code: 0 to F (hexadecimal) Emergency stop signal: (1: Emergency stop signal is being input.) External interrupt signal: (1: External interrupt signal is being input.) Origin signal: (1: Origin signal is being input.) Origin proximity signal: (1: Origin proximity signal is being input.) Present position x103 n+14

: trailing edge)

00 to 15

Code 0 CW 1 CCW

: operation begins)

x102 x101

For external input monitoring For external input monitoring x100

Present position x106 x105 x104

Note If the positioning time is very short, it may not be possible to read the busy flag’s ON status in a ladder program cycle.

102

Page 110

IR Area Data Format

Section 5-2

IR Allocation Y-axis Output Word Outputs (n = 100 x10 x unit no.)

Bit 00 01 n+5

START: At the leading edge ( ) of this bit, the Position Control Unit references bits 01 and 07 of word n+1 and begins positioning. Valid initial positioning no.: When set to 1, the initial positioning no. set in bits 07 to 00 of word n+6 is valid. When set to 0, the initial positioning no. set in bits 07 to 00 of DM word m is valid. ) Searches for origin proximity signals and origin signals, and

03

ORIGIN RETURN: ( determined).

) Returns to the origin (as long as the origin has already been

04

RELEASE PROHIBIT: (

05

READ ERROR: (

06

CHANGE SPEED: ( ) if DIP switch pin no. 5 is ON. If pin no. 5 is OFF, then this bit executes CHANGE SPEED when set to 1 and STOP when set to 0. Valid speed coefficient: When set to 1, the speed coefficient set in bits 05 to 00 of word n+7 is valid. When set to 0, the speed coefficient of the target speed is set at 1.0.

) )

08

RESET ORIGIN: (

09

TEACH: (

10

TRANSFER DATA: ( ) References words n+2 to n+4 and begins the transfer of data. HIGH-SPEED JOG: (0: stops, 1: operates) in the direction indicated by bit 12 of word n. INCH/JOG direction: (0: CW, 1: CCW) LOW-SPEED JOG: (0: stops, 1: operates) in the direction indicated by bit 12 of word n.

15 00 to 06 07 08 to 14 15 n+8 n+9

: trailing edge)

ORIGIN SEARCH: ( determines the origin.

11 12 13 14 n+7

: leading edge;

02

07 n+6

Function (

00 to 05

INCH: (

)

) References bits 15 to 08 of word n+1 and registers the present position.

) Outputs one pulse.

STOP: ( ) The Positioning cannot be restarted while this bit is set to 1. Initial positioning action number: 00 to 52 (BCD) Target speed/coefficient change: ( ) TEACH positioning action number: 00 to 52 (BCD) BUFFER TRANSFER: (

)

06 07 08 to 14 15 00 to 15

Speed coefficient: 00 to 20 (BCD) in units of x 0.1 Speed numbers for CHANGE SPEED: 00 to 15 (00: current number + 1) Deviation counter reset output (A6-B6) forced ON/OFF bit (1: ON) Origin adjustment command output (A7-B7) forced ON/OFF bit (1: ON) Beginning transfer number: 00 to 59 (BCD) When set to 1, presets the present position during DATA TRANSFER. Beginning word number for DATA TRANSFER (4 digits BCD)

00 to 07 08 to 15

DATA TRANSFER relay area 0-4 (BCD) (00: DM, 01: I/O, 02: LR, 03: HR, 04: AR) Quantity of data transmitted 01-59 (BCD)

103

Page 111

IR Area Data Format

Section 5-2

IR Allocation Y-axis Input Word

Bit

Function (

: leading edge;

Inputs (n = 100 x unit no.

00

Positioning completed flag: (

01 n+15

02 03 04

Bank completed flag: ( : bank completed, At-origin flag: (1: stopped at origin) Alarm flag: (1: alarm)

05 06 07 08 09 10 11 12 13 14 15 n+16 n+17 n+18

: completed,

: starting) : starting)

Emergency stop flag: :Emergency stop, Error flag: (1: error) Zone 0 flag: (0: outside zone 0, 1: inside zone 0) Zone 1 flag: (0: outside zone 1, 1: inside zone 1) Zone 2 flag: (0: outside zone 2, 1: inside zone 2) Teaching completed flag: (

:pulse output enabled word n+5 of bit 4

: completed,

: starting)

Transfer completed flag: ( : completed, : starting) BUFFER TRANSFER:( ) No-origin flag: (1: no origin) Busy flag: (1: busy) during transfer or pulse output (See note.) CW limit flag: (1: CW limit signal has been detected.) For external input monitoring CCW limit flag: (1: CCW limit signal has been detected.)

00 to 15

STOP flag: ( : STOP executed, Error code: 4 digits (BCD)

00 to 06 07

Positioning action number: 00 to 52 (BCD) Positioning completed flag: (1: positioning completed)

08 to 11 12 13 14 15 00 to 15

Output code: 0 to F (hexadecimal) Emergency stop signal: (1: Emergency stop signal is being input.) External interrupt signal: (1: External interrupt signal is being input.) Origin signal: (1: Origin signal is being input.) Origin proximity signal: (1: Origin proximity signal is being input.) Present position x103 n+19

: trailing edge)

00 to 15

Code 0 CW 1 CCW

: operation begins)

x102 x101

For external input monitoring For external input monitoring x100

Present position x106 x105 x104

Note If the positioning time is very short, it may not be possible to read the busy flag’s ON status in a ladder program cycle.

104

Page 112

IR Area Settings

5-3

Section 5-3

IR Area Settings

ORIGIN SEARCH

X: Bit 02 of word n Y: Bit 02 of word n+5 In C200H PCs, IR words 100 to 199 are used for Special I/O Units. When a Position Control Unit is used, some of these are allocated as I/O refresh areas. For a detailed explanation, refer to Section 3-2 Data Configuration and Allocation. For a detailed list of the words and bits in the IR area, refer to Section 5-1 IR Area Allocations. 02 n

(n = 100 + 10 x unit number) ORIGIN SEARCH command bit (ORIGIN SEARCH begins at the rising edge of this bit.)

105

Page 113

Execution Examples

5-4

Section 5-4

Execution Examples The following examples illustrate the relationship between the mode number, presence or absence of a proximity signal, presence or absence of proximity reverse, and the execution of positioning actions. The origin and proximity signals both use N.O. inputs (bits 02 and 03 of DM word m+21 ON). An abbreviated explanation is given for the case with N.C. inputs.

Mode 0 Connect the open collector signals of the sensor, etc., to the origin line driver input (10 and 11 for X, 32 and 33 for Y) of the Position Control Unit. Origin response time is 1.0 ms. Refer to Section 2-4 Wiring. Example 1: When Origin Proximity Reverse is Enabled

106

X: DM word m+21 Y: DM word m+121 (bit 01 ON, bit 04 ON) As illustrated on the following page, use the origin proximity signal to ensure sufficient deceleration time when using a slit disc for the origin signal.