beautypg.com

Rockwell Automation 1769-SM2 Compact I/O DSI/Modbus Communication Module User Manual

Page 85

background image

MicroLogix 1500 Example Ladder Programs

6-5

Figure 6.3 Example MicroLogix 1500 Single Mode Ladder Logic CH1 Subroutine

1769-SM2 Channel 1 Subroutine

The following rungs display some of the Logic Status bits from the drive. Refer to Appendix D in the 1769-SM2 user manual for additional

information about the Logic Status word.

0000

I:1

16

1769-SM2

CH1 Drv0

Logic Sts

Bit 00

B3:1

0

CH1

Drive 0

Ready

0001

I:1

17

1769-SM2

CH1 Drv0

Logic Sts

Bit 01

B3:1

1

CH1

Drive 0

Active

0002

I:1

19

1769-SM2

CH1 Drv0

Logic Sts

Bit 03

B3:1

3

CH1

Drive 0

Running Fwd

0003

I:1

23

1769-SM2

CH1 Drv0

Logic Sts

Bit 07

B3:1

7

CH1

Drive 0

Fault

0004

I:1

24

1769-SM2

CH1 Drv0

Logic Sts

Bit 08

B3:1

8

CH1

Drive 0

At Speed

This rung displays the Feedback from the drive. An integer represents the xxx.x Hz format (decimal is implied) used by the drive, so a displayed

value of "300" equates to 30.0 Hz.

0005

MOV

Move

Source

I:1.2

0<

Dest

N7:1

0<

MOV

CH1

Drive 0

Feedback

The following rungs display some of the Logic Command bits sent to the drive. Refer to Appendix D in the 1769-SM2 user manual for additional

information about the Logic Command word.

0006

B3:2

0

CH1

Drive 0

Stop

O:1

16

1769-SM2

CH1 Drv0

Logic Cmd

Bit 00