Rockwell Automation 1771-QB Linear Pos. User Manual

Page 157

Advertising
background image

Sample Application Programs

Chapter 10

10Ć13

Figure 10.10 to Figure 10.14 show the hexadecimal values for the motion and
command blocks, and necessary sequencer data for this example.

Figure 10.10

Data Table Contents for Application Program #2 Ć Motion Block 1

1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Project Name:

Page

of

Designer:

Address

of

Date:

Block Description:

Axis No.

Position

Data Table Address File Data

N80:1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

2

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

0

0

0

0

0

0

0

0

1

E

0

0

0

5

0

0

0

0

F

0

0

0

3

0

0

1

0

0

0

0

0

2

0

0

0

0

0

0

3

0

0

0

4

1

0

0

1

1

1

0

0

1

1

0

0

1

4

1

0

0

2

1

0

0

3

F

7

5

0

0

0

0

3

0

0

0

0

0

0

0

0

0

0

1

0

4

0

0

0

0

0

0

Application Program #2 - Axis 1

1

Motion Block 1

Description

Motion block control word (3 motion segments)

#14 Motion segment control word 1 (next motion segment: #15)

Motion segment control word 2 (absolute position trigger)

(MS) Desired position (5.000 inches)

(LS) Desired position

Local velocity (5.00 ips)

Local acceleration (4.0 ips/s)
Local deceleration (1.0 ips/s)

Trigger velocity or (MS) trigger position (3.000 inches)
(LS) Trigger position

#15 Motion segment control word 1 (next motion segment: #16)

Motion segment control word 2 (velocity trigger)

(MS) Desired position (10.000 inches)

(LS) Desired position

Local velocity (3.00 ips)

Local acceleration (1.0 ips/s)
Local deceleration (1.0 ips/s)

Trigger velocity or (MS) trigger position (1.00 ips)

(LS) Trigger position

#16 Motion segment control word 1 (next motion segment: #17)

Motion segment control word 2 (input 1 trigger)

(MS) Desired position (14.000 inches)

(LS) Desired position

Local velocity (2.00 ips)
Local acceleration (2.0 ips/s)

Local deceleration (1.0 ips/s)

Trigger velocity or (MS) trigger position

(LS) Trigger position

Advertising