Rockwell Automation 1395 Multi-Comm Hardware/Software User Manual

Page 30

Advertising
background image

Chapter 3

Configuration & Interfacing

3–19

Figure 3-14. Example PLC Controller Discrete I/O Program

O :21

Start

Start

bit 12
P150

14

01

N7 :01

Rung

1

O :21

Stop

Stop

bit 11
P150

13

02

N7 :01

N7 :01

03

O :21

Current Limit Stop

Ramp

Disable

bit 5
P150

05

03

N7 :01

2

3

O :21

Speed Ref Select

Speed Ref

Select A

bit 0
P150

00

01

N7 :01

4

01

N7 :02

O :21

Speed Ref

Select B

bit 1
P150

01

02

N7 :02

O :21

Speed Ref

Select C

bit 2
P150

02

03

N7 :02

O :21

Fault Reset

Clear

Fault

bit 14
P150

16

04

N7 :01

5

Run Speed Ref

01

N7 :01

6

MOV

MOVE

SOURCE

DEST

N10 : 01

0 : 22

Advertising