Plc programming considerations appendix a – Rockwell Automation 2711 PANELBUILDER SOFTWARE USER MANUAL User Manual

Page 398

Advertising
background image

PLC Programming Considerations

Appendix A

A-34

Create the Toggle Command Rungs

Rung 2:5 handles the toggle command variables when a cursor change or
mode change occurs.

Figure A.19

Toggle Command Rung (Rung 2:5)

23719

Rung 2:5

PRE-TOGGLE

LATCH

B40

] [

6

AUTOMODE

B40

] [

1

MOV

MOVE

Source

Dest

N31:202

1

N34[N31:200]

3

MOV

MOVE

Source

Dest

N30:1

1

N31:200

3

MOV

MOVE

Source

Dest

N34[N30:1]

1

N31:202

1

PRE-TOGGLE

LATCH

B40

( U )

6

NEQ

NOT EQUAL

Source A

Source B

N30:1

1

N31:200

3

CURSOR

CHANGE

Rung 2:6 toggles the command between “Select” and “Bypass” for the
currently selected station.

Advertising