beautypg.com

Rockwell Automation 1395 ControlNet Communication Board User Manual

Page 22

background image

3–8

Configuration & PLC Interfacing

Publication 1395–5.37– March, 1999

Figure 3.5. Example PLC Controller Discrete I/O Program

O:020

Start

Parameter 150
Logic Command Start Bit

0000

14

1

N7 :1

0001

Stop

13

2

N7 :1

Current Limit Stop

3

N7 :1

O:020

Parameter 150
Logic Command Stop Bit

0002

Current Limit Stop

4

N7 :1

Parameter 150
Logic Command Ramp Disable Bit

5

O:020

O:020

0003

Start

1

N7:1

0

1

N7:2

Parameter 150
Logic Command Speed Reference
Select A

2

N7:2

3

N7:2

Parameter 150
Logic Command Speed Reference
Select B

Parameter 150
Logic Command Speed Reference
Select C

O:020

0004

Current Limit Stop

4

N7 :1

16

1

2

0005

Start

1

N7 :1

MOV

Move
Source

Dest

N10:1

0<

O:021

0<

0006

END

Parameter 150
Logic Command Clear Fault Bit

Parameter 154
External Velocity Reference