A - plc-2 family processors, Complete getting started program, Plcć2 family processors – Rockwell Automation 1771-DA,D17716.5.13 U MNL 1771-DA ASCII I/O MODULE User Manual

Page 169

Advertising
background image

Appendix

A

AĆ1

PLCĆ2 Family Processors

The complete Getting Started Program with rung desriptions is described
in Figure A.1.

Figure A.1

Complete Getting Started Program (PLCĆ2 Family)

035

00

252

15

020

02

G

327

000

PUT

200

000

START

Loads zeros into command word one,

CW1, on first program scan

252

07

200

07

Sets/resets power-up initialization bit CW1(07)

252

07

020

OFF 10

Set at power-up to load initialization words

L

into BT write file, and allows initialization
using processor mode select switch

020

10

062

0.1

Energizes initialization timer at power-up

TON

PR 005

AC 000

062

15

020

OFF 10

U

Resets timer after transfer of initialization words

020

02

063

.01

TON

PR 300

AC 000

063

17

063

15

One-shot energizes timer for write handshaking

200

15

252

15

035

00

252

15

200

15

Read handshaking, CW1-SW1

Module toggles SW1(15) when it sends new status

or ASCII string. Then program toggles CW1(15)

in either of next two rungs to acknowledge receipt

of data.

200

ON 15

Read BT handshaking, acknowledgment of new data

L

LADDER DIAGRAM DUMP

~

~

Complete Getting Started

Program, PLCĆ2 Family

Advertising