Example #1 - ladder logic program – Rockwell Automation 150 USE MN/SMC DIALOG + CONTROLLER User Manual

Page 118

Advertising
background image

Serial Communications

8-9

Example #1 - Ladder Logic Program

Machine

START
Push Button

: 1.8

SMC

START
Command

: 1.16

0

1

Machine
STOP

Push Button

: 1.8

SMC
STOP
Command

: 1.16

First Rung: When the Machine START push button is pressed, the SLC sends a START command to the SMC Dialog Plus controller. The SMC Dialog
Plus controller will start if no STOP command is being issued by the SLC or any other control device. (The start button is a normally open contact in this
example.)

0 1

0

Second Rung: When the Machine STOP push button is pressed, the SLC sends a STOP command to the SMC Dialog Plus controller. (The stop
button is a normally closed contact in this example.) The branch provides a logic latched" circuit which exerts the STOP command until the feedback

from the SMC Dialog Plus controller indicates that it has received the command and has responded appropriately.

SMC

STOP

Command

: 1.16

SMC
Running
Bit

: 1.16

1

Third Rung: The SMC Dialog Plus controller's Current Phase A value returned by the analog feedback word (I:1.17 in this example) is moved every
scan to integer file 7, element 2

.

MOVE

Source:

Dest:

MOV

I:1.17

N7:2

Advertising