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

Page 149

Advertising
background image

Sample Application Programs

Chapter 10

10Ć5

Planning the Data Blocks for Application Program #1

For this example, we assume a PLC-5/15 controller and assign the data blocks
shown in Table 10.A. The files used are shown in Table 10.B.

Table 10.A

Data Blocks for Application Program #1

Block

Starting Addres

s

Status

N44:1

Parameter

N45:1

Setpoint

N45:61

Command

N45:131

Table 10.B

Files for Application Program #1

Fil

e

Size

(Elements)

Usage

R

6

1

sequencer control

N7

10

block transfer control

D9

5

sequencer data

N44

34

status block

N45

145

parameter, setpoint, command

blocks

Figure 10.4 to Figure 10.7 show the hexadecimal values for the parameter,
setpoint and command blocks, and necessary sequencer data for this example.

Advertising