Rockwell Automation 22-SCM-232 Serial Converter Module User Manual

Page 56

Advertising
background image

D-6

MicroLogix 1000 Example Ladder Program

Figure D.1 Example MicroLogix 1000 Ladder Logic Program (Continued)

This rung resets all MSG instructions when the last MSG instruction has completed. Since the Parameter
39 Write and Read MSG's are on demand and not continuous, the "last" MSG in the sequence can vary.

The Write (B3:0/0) and Read (B3:0/1) requests are also reset. This prevents these MSG's from operating
continuously while providing feedback to the user program that they have completed.

0009

B3:0

0

Pr. 39
Write
Request

B3:0

1

Pr. 39
Read
Request

N7:60

13

Done
(DN)

N7:60

12

Error
(ER)

B3:0

0

Pr. 39
Write
Request

B3:0

1

Pr. 39
Read
Request

N7:70

13

Done
(DN)

N7:70

12

Error
(ER)

N7:80

13

Done
(DN)

N7:80

12

Error
(ER)

U

N7:50

15

Enable
(EN)

Advertising