10ć8 – Rockwell Automation 1771-QB Linear Pos. User Manual

Page 152

Advertising
background image

Sample Application Programs

Chapter 10

10Ć8

Figure 10.6

Data Table Contents for Application Program #1 Ć Command Block

1
2
3
4
5
6
7

Project Name:

Page

of

Designer:

Address

of

Date:

Block Description:

Axis No.

Position

Data Table Address File Data

E

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

4

0

0

0

0

0

0

Application Progam #1 - Axis 1

1 Command

N45: 131

132

133

134

135

136

137

Description

Axis control word 1 (Diagnostic, auto)
Axis control word 2
(MS) Setpoint 13 position
(LS) Setpoint 13 position

Setpoint 13 velocity

Setpoint 13 acceleration

Setpoint 13 deceleration

Figure 10.7

Data Table Contents for Application Program #1 Ć Sequencer Data

1
2
3
4
5

Project Name:

Page

of

Designer:

Address

of

Date:

Block Description:

Axis No.

Position

Data Table Address File Data

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

2

3

4

Application Program #1 - Axis 1

N/A Sequencer Data

D9: 0

1

2

3

4

Description

Axis 1 setpoint sequence

Program Rungs for Application Program #1

Figure 10.8 shows the ladder diagram programming for this application on a
PLC-5/15 system. The rungs perform the following functions:

Rung 2:0

Rung 2:0 reads the module’s status block and, in conjunction with rung 2:4,
performs bidirectional block transfers to and from the module.

Advertising