• No results found

CONTROLLOGIX

N/A
N/A
Protected

Academic year: 2021

Share "CONTROLLOGIX"

Copied!
246
0
0

Loading.... (view fulltext now)

Full text

(1)

Student Manual

Student Manual

ControlLogix

ControlLogix

Essentials with

Essentials with

RSLogix5000

RSLogix5000

Software

Software

Rockwell Automation (SEA)

Rockwell Automation (SEA)

(2)

Important User Information

Important User Information

This documentation, whether, illustrative, printed, “online” or electronic (hereinafter “Documentation”) is intended for use only as a learning aid when using Rockwell Automation approved demonstration hardware, software and firmware. The Documentation should only be used as a learning tool by qualified professionals.

The variety of uses for the hardware, software and firmware (hereinafter “Products”) described in this Documentation, mandates that those responsible for the application and use of those Products must satisfy themselves that all necessary steps have been taken to ensure that each application and actual use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards in addition to any applicable technical documents. In no event will Rockwell Automation, Inc., or any of its affiliate or subsidiary companies (hereinafter “Rockwell Automation”) be responsible or liable for any indirect or consequential damages resulting from the use or application of

the Products described in this Documentation. Rockwell Automation does not assume responsibility or liability for damages of any kind based on the alleged use of, or reliance on, this Documentation.

No patent liability is assumed by Rockwell Automation with respect to use of information, circuits, equipment, or software described in the Documentation.

Except as specifically agreed in writing as part of a maintenance or support contract, equipment users are responsible for: • properly using, calibrating, operating, monitoring and maintaining all Products consistent with all Rockwell

Automation or third--party provided instructions, warnings, recommendations and documentation; • ensuring that only properly trained personnel use, operate and maintain the Products at all times; • staying informed of all Product updates and alerts and implementing all updates and fixes; and • all other factors affecting the Products that are outside of the direct control of Rockwell Automation. Reproduction of the contents of the Documentation, in whole or in part, without written permission of Rockwell Automation is prohibited.

Throughout this manual we use the following notes to make you aware of safety considerations:

Identifies information about practices or circumstances that can cause an explosion in a hazardous environment, which may lead to personal injury or death, property

damage, or economic loss.

Identifies information that is critical for successful application and understanding of the product.

Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss. Attentions help you:

•identify a hazard

•avoid a hazard

(3)

Important User Information

Important User Information

Labels may be located on or inside the drive to alert people that dangerous voltage may be present.

Labels may be located on or inside the drive to alert people that surfaces may be dangerous temperatures.

(4)
(5)

Comme

Comment

nt Form

Form

Email: ratps

Email: ratps

@@

ra.rockwell.com

ra.rockwell.com

or Fax: 440.646.4425 Page 1 of Date:

Contact Information:

Contact Information:

Name:

Company and Location:

Phone: Email:

Comments (include lesson title, if applicable):

Comments (include lesson title, if applicable):

(6)
(7)
(8)
(9)

Lessons

Lessons

IId

deen

nttiiffyyiin

ng

g L

Lo

og

giixx5500000

0 S

Syysstteem

m C

Co

om

mp

po

on

neen

ntts

s

. . .

. . . . . .

. . . . . .

. . . . . . . .

. . . . .

11-- 11

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . . .. . . 11----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 11----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 11----11 LLooggiixx5500000 0 CCoonnttrrool l DDiisscciipplliinnees s . . . . . . . . . . . . . . . . . . .. . . . 11----22 E

Exxaammppllee: : BBoottttlliinng g LLiinne e . . . . . . . . . . . . . . . . . . .. . . 11----22 C

CoonnttrroollLLooggiix x PPllaattffoorrm m aannd d CCoommppoonneenntts s . . . . . . . . . . . . . . . .. . . 11----33 C CoonnttrroollLLooggiix x CChhaassssiis s . . . . . . . . . . . . . . . . . . .. 11----33 C CoonnttrroollLLooggiix x BBaacckkppllaanne e . . . . . . . . . . . . . . . . . . .. . . 11----44 C CoonnttrroollLLooggiix x CCoonnttrroolllleer r . . . . . . . . . . . . . . . . . . .. . . 11----55 S Saaffeetty CCoonnttrroolllleerrs y s . . . . . . . . . . . . . . . . . . . . . .. . . . 11----55 C

CoonnttrroollLLooggiix x II//O O MMoodduullees s . . . . . . . . . . . . . . . . . . .. . . 11----66 C

CoonnttrroollLLooggiix x CCoommmmuunniiccaattiioonns s MMoodduullees s . . . . . . . . . . . . . . . . .. . . 11----66 C

CoonnttrroollLLooggiix x PPllaattffoorrm m MMoodduullaarriitty y . . . . . . . . . . . . . . . .. 11----77 E

Exxaammppllee: : PPllaattffoorrm m MMoodduullaarriitty y . . . . . . . . . . . . . . . . . . .. . . . 11----77 F

FlleexxLLooggiix x PPllaattffoorrm m aannd d CCoommppoonneenntts s . . . . . . . . . . . . . . . .. . . 11----88 D DIIN N R Raaiil l . . . . . . . . . . . . . . . . . . . . . .. 11----88 F FlleexxLLooggiix CCoonnttrroolllleer r x . . . . . . . . . . . . . . . . . . .. 11----88 F

FlleexxLLooggiix II//O x O MMoodduullees s . . . . . . . . . . . . . . . . . . .. . . 11----99 F

FlleexxLLooggiix x CCoommmmuunniiccaattiioonns s CCaarrdds s . . . . . . . . . . . . . . . .. . . 11----99 C

CoommppaaccttLLooggiix x PPllaattffoorrm m aannd d CCoommppoonneenntts s . . . . . . . . . . . . . . . . .. . . 11----1100 C

CoommppaaccttLLooggiix x CCoonnttrroolllleer r . . . . . . . . . . . . . . . . . . .. . . 11----1100 C

CoommppaaccttLLooggiix x II//O O MMoodduullees s . . . . . . . . . . . . . . . . . . . .. . . 11----1111 C

CoommppaaccttLLooggiix x CCoommmmuunniiccaattiioonns s MMoodduulleess//CCoonnvveerrtteerrs s . . . . . . . . . . . . . .. . . 11----1111 D

DrriivveeLLooggiix x PPllaattffoorrm m aannd d CCoommppoonneenntts s . . . . . . . . . . . . . . . .. . . 11----1122 S

SooffttLLooggiix x PPllaattffoorrm m aannd d CCoommppoonneenntts s . . . . . . . . . . . . . . . .. . . 11----1122

E

Exxeerrcciissee: : IId

deen

nttiiffyyiin

ng

g L

Lo

og

giixx5500000

0 S

Syysstteem

m C

Co

om

mp

po

on

neen

ntts

s

. . .

. . . . . .

. . . . . . . .

. . . . .

11-1

-1 55

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 11----1155 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 11----1177 E

Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . . . .. . . 11----1177 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 11----1199 Answers

Answers . . . . . . . . . . . . . . . . . . . . . . . .. . . 1-1--20-20 E

Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . .. 11----2211

IId

deen

nttiiffyyiin

ng

g R

RS

SL

Lo

og

giix

x 5500000

0 S

So

offttw

waarre

e C

Co

om

mp

po

on

neen

ntts

s

. . .

. . . . . .

. . . . . .

. . . ..

22-1

-1

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . . .. . . 22----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 22----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 22----11

Table of Contents

Table of Contents

(10)

Table of Contents iiii

R

RSSLLooggiix x 5500000 0 PPrrooggrraammmmiinng g SSooffttwwaarre e . . . . . . . . . . . . . . . .. . . 22----11 S

Sooffttwwaarre Beenneeffiitts Be s . . . . . . . . . . . . . . . . . . . . .. . . 22----11 IIddeennttiiffyyiinng g RRSSLLooggiix x 5500000 0 SSooffttwwaarre e CCoommppoonneenntts s . . . . . . . . . . . . .. 22----22

T Toooollbbaarrs s . . . . . . . . . . . . . . . . . . . . . .. . . 22----22 C Coonnttrroolllleer r Orrggaanniizzeer r O . . . . . . . . . . . . . . . . . . .. 22----44 H Heellp SSyysstteem p m . . . . . . . . . . . . . . . . . . . . . .. . . 22----66 C

Coonnffiigguurriinng g tthhe e RRSSLLooggiix x 5500000 0 SSooffttwwaarre e DDiissppllaay y . . . . . . . . . . . . .. 22----88 H

Heerree’’s HHoow s w . . . . . . . . . . . . . . . . . . . . . . . .. . . 22----99

E

Exxeerrcciissee: : IId

Exxeerrcciisse E

deen

A A e

nttiiffyyiin

. . . . . .

ng

g R

RS

SL

. . . . . .

Lo

og

giix

x 5500000

. . . . . .

0 S

So

offttw

waarre

. . . . . .

e C

Co

om

mp

po

. . . . . .

on

neen

ntts

s

. . . . . .

. . . . . .

. . .

. . . . . .

. . . . .

. . .

. .

22----1111

2-1 11

2-1

H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 22----1133 Answers

Answers . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 2-2--14-14 E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . .. 22----1144

C

Crreeaattiin

ng

g aan

nd

d M

Mo

od

diiffyyiin

ng

g aan

n R

RS

SL

Lo

og

giix

x 5500000

0 P

Prro

ojjeecct t

. . .

. . . . . .

. . . . . . .

. . . .

33-1

-1

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . .. . . 33----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 33----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 33----11 R

RSSLLooggiix x 5500000 0 PPrroojjeecct t FFiillees s . . . . . . . . . . . . . . . . . . .. . . 33----11 P

Prroojjeecct t CoomCmppoonneenntts s . . . . . . . . . . . . . . . . . . . . .. . . 33----11 T Taasskks s . . . . . . . . . . . . . . . . . . . . . . . .. . . 33----22 P Prrooggrraamms s . . . . . . . . . . . . . . . . . . . . . .. . . 33----33 R Roouuttiinnees s . . . . . . . . . . . . . . . . . . . . . .. . . 33----33 H Heerree’’s HHoow s w . . . . . . . . . . . . . . . . . . . . . . . .. . . 33----55

E

Exxeerrcciissee: : C

Crreeaattiin

ng

g aan

nd

d M

Mo

od

diiffyyiin

ng

g aan

n R

RS

SL

Lo

og

giix

x 5500000

0 P

Prro

ojjeecct t

. . .

. . . . . .

. . . . .

. .

33-7

-7

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 33----77 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 33----77 E

Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . . . .. . . 33----88 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 33----99 Answers Answers . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 3-3--10-10 E Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . .. 33----1100 E Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . .. 33----1100 E Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . .. 33----1100

T

Trraan

nssffeerrrriin

ng

g a

a P

Prro

ojjeecct t F

Fiille

e tto

o a

a L

Lo

og

giixx5500000

0 C

Co

on

nttrro

olllleer

r

. . .

. . . . . .

. . . . . . .

. . . .

44-1

-1

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . .. . . 44----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 44----11 B

Beeffoorre UUppllooaaddiinngg, , DYoou Ye BBeeggiin u n Doowwnnllooaaddiinngg, , aannd . . . . . . . . . d GGooiinng g OOnnlliinne . . . . . . e tto o a a LLooggiixx5500000 . . . . . . 0 CCoonnttrroolllleer r . . . . . . . . . . . . . . . . . . . . . .. . . . . . .. . . .. . . . 44----11 44---1-1 R

RSSLLiinnx x CCllaassssiic c SSooffttwwaarre e . . . . . . . . . . . . . . . . . . .. . . 44----33 C

Coommmmuunniiccaattiioonns PPaatth s h . . . . . . . . . . . . . . . . . . .. . . 44----44 C

(11)

Table of Contents iiiiii

S

Seelleeccttiinng g aannd d CChhaannggiinng g a a CCoonnttrroolllleerr’’s s OOppeerraattiinng g MMoodde e . . . . . . . . . . . . . .. . . 44----66 R

Reemmootteelly y CChhaannggiinng g CCoonnttrroolllleer r OOppeerraattiinng g MMoodde e . . . . . . . . . . . . .. . . 44----77 H

Heerree’’s HHoow s w . . . . . . . . . . . . . . . . . . . . . . .. . 44----88

E

Exxeerrcciissee: : T

Trraan

nssffeerrrriin

ng

g a

a P

Prro

ojjeecct t F

Fiille

e tto

o a

a L

Lo

og

giixx5500000

0 C

Co

on

nttrro

olllleer

r

. . . . . . .

. . .

. . . .

4-9

4-9

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 44----99 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 44----1100 E

Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . . . .. . . 44----1100 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 44----1111 Answers Answers Exxeerrcciisse E A A e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . ... . . 44----1122 4--124--12 E Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . .. 44----1133 E Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . .. 44----1133

C

Co

on

nffiig

gu

urriin

ng

g L

Lo

occaal l 11775566--II//O

O M

Mo

od

du

ullees

s

. . . . . .

. . .

. . . . . .

. . . . . .

. . . . . .

. . .

55-- 11

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . . .. . . 55----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 55----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 55----11 11775566--II//O O MMoodduulle e CCoommppoonneenntts s . . . . . . . . . . . . . . . . . . . .. . . 55----11 R

RIIUUP P ((RReemmoovvaal l aannd d IInnsseerrttiioon n UUnnddeer r PPoowweerr) ) . . . . . . . . . . . . . . . .. . . . 55----22 LLEED D SSttaattuus s IInnffoorrmmaattiioon n . . . . . . . . . . . . . . . . . . .. 55----33 D

Diiggiittaal l aannd d AAnnaalloog g II//O O MMoodduullees s . . . . . . . . . . . . . . . . . . .. . . . 55----33 D

Diiggiittaal l 11775566--II//O O MMoodduullees s . . . . . . . . . . . . . . . . . . .. . . 55----33 Analog 1756-I/O Modules

Analog 1756-I/O Modules . . . . . . . . . . . . . . . . . . .. . . 5-5--4-4 LLooccaal l aannd d RReemmootte e II//O O MMoodduullees s . . . . . . . . . . . . . . . . . . .. . . . 55----55

LLooccaal l II//O O MMoodduullees s . . . . . . . . . . . . . . . . . . . .. . 55----55 R

Reemmootte II//O e O MMoodduullees s . . . . . . . . . . . . . . . . . . .. 55----55 11775566--II//O O MMoodduulle e IIddeennttiiffiiccaattiioon n . . . . . . . . . . . . . . . . . . . .. . . 55----66 II//O O CCoonnffiigguurraattiioon n . . . . . . . . . . . . . . . . . . . . . . .. . . 55----66 G Geenneerraal l TTaab b . . . . . . . . . . . . . . . . . . . . . .. 55----77 E Elleeccttrroonniic KKeeyyiinng c g . . . . . . . . . . . . . . . . . . . . . .. . . . 55----88 C

Coommmmuunniiccaattiioonns s FFoorrmmaat t ((OOwwnneerrsshhiipp) ) . . . . . . . . . . . . . . . .. . . 55----88 C Coonnnneeccttiioon TTaab n b . . . . . . . . . . . . . . . . . . . . . .. . . 55----88 C Coonnffiigguurraattiioon TTaab n b . . . . . . . . . . . . . . . . . . . . . . .. . . 55----99 Asynchronous Updates Asynchronous Updates . . . . . . . . . . . . . . . . . . .. 5-5--10-10 IIddeennttiiffyyiinng g aan n II//O O MMoodduulle e TTaag g . . . . . . . . . . . . . . . . . . . .. . . 55----1111

E

Exxaammppllee: : IInnppuut t BBaasse e TTaag g . . . . . . . . . . . . . . . . . . .. . . 55----1122 E

Exxaammppllee: : OOuuttppuut t BBaasse e TTaag g . . . . . . . . . . . . . . . . . . . .. . . 55----1122 H

Heerree’’s HHoow s w . . . . . . . . . . . . . . . . . . . . . . .. . 55----1122

E

Exxeerrcciissee: : C

Co

on

nffiig

gu

urriin

ng

g L

Lo

occaal l 11775566--II//O

O M

Mo

od

du

ullees

s

. . .

. . . . . .

. . . . . .

. . . . . .

. . .

55-1

-1 33

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 55----1133 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 55----1144 E

Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . . . .. . . 55----1155 H

(12)

Table of Contents iv iv Answers Answers . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 5-5--18-18 E Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . .. 55----1188 E Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . .. 55----1199

C

Crreeaattiin

ng

g T

Taag

gs

s aan

nd

d M

Mo

on

niitto

orriin

ng

g D

Daatta

a iin

n aan

n R

RS

SL

Lo

og

giix

x 5500000

0 P

Prro

ojjeecct t

. . .

. . . . . . .

. . . .

6-1

6-1

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . .. . . 66----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 66----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 66----11 T

Taaggs s . . . . . . . . . . . . . . . . . . . . . . . . . .. . . 66----11 D

Daatta Tyyppees Ta s . . . . . . . . . . . . . . . . . . . . . .. . . 66----22 Alias T

Alias Tags ags . . . . . . . . . . . . . . . . . . . . . .. 6-6--3-3 S

Sccooppe e . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 66----44 M

Moonniittoor r TTaaggs TTaab s b . . . . . . . . . . . . . . . . . . . . .. . . 66----55 T

Taaggs aannd s MMeemd mbbeerrs s . . . . . . . . . . . . . . . . . . . . .. . . 66----55 D

Diissppllaay SSttyylle y e . . . . . . . . . . . . . . . . . . . . . . .. . . 66----55 E

Exxaammppllee: : DDIINNT T DDiissppllaay y SSttyylle e . . . . . . . . . . . . . . . . . . .. . . . 66----55 E

Eddiit t TTaaggs TTaab s b . . . . . . . . . . . . . . . . . . . . . . .. . . 66----66 M

Moonniittoorriinng g aannd d EEddiittiinng g TTaag g VVaalluuees s tthhrroouuggh h a a RRoouuttiinne e . . . . . . . . . . . . .. . . 66----77 H

Heerree’’s HHoow s w . . . . . . . . . . . . . . . . . . . . . . . .. . . 66----77

Ex

Exer

erci

cise

se: : Cr

Crea

eati

ting

ng T

Tag

ags

s an

and

d Mo

Moni

nito

tori

ring

ng Da

Data

ta in

in an

an RS

RSLo

Logi

gix

x 50

5000

00 Pr

Proj

ojec

ect t

. . . .

. . . .

6-

6- 99

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 66----99 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 66----1111 E

Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . . . .. . . 66----1111 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 66----1111 E

Exxeerrcciisse C C e . . . . . . . . . . . . . . . . . . . . . . . .. . . 66----1122 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 66----1133 Answers Answers . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 6-6--14-14 E Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . .. 66----1144 E Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . .. 66----1155 E Exxeerrcciisse C C e . . . . . . . . . . . . . . . . . . . . . .. 66----1155

Monitoring Arrays and Tags of

Monitoring Arrays and Tags of

U

Usseerr--D

Deeffiin

need

d D

Daatta

a T

Tyyp

pees

s iin

n aan

n R

RS

SL

Lo

og

giix

x 5500000

0 P

Prro

ojjeecct t

. . .

. . . . . .

. . . . . . .

. . . .

77-1

-1

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . .. . . 77----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 77----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 77----11 K

Keey TTeerrmy ms s . . . . . . . . . . . . . . . . . . . . . .. 77----11 E

Exxaammppllee: : Arrrraay A y . . . . . . . . . . . . . . . . . . . . . .. . . . 77----11 Array Addressing

Array Addressing . . . . . . . . . . . . . . . . . . . . . .. . . 7-7--2-2 E

Exxaammppllee: : TThhrreee e DDiimmeennssiioonnaal l AArrrraayys s . . . . . . . . . . . . . . . .. . . 77----22 Advanced Array Addressing

Advanced Array Addressing . . . . . . . . . . . . . . . . . . .. . . . 7-7--3-3 U

Usseerr--DDeeffiinneed d DDaatta a TTyyppees s . . . . . . . . . . . . . . . . . . .. . . 77----33 E

Exxaammppllee: : UUsseerr--DDeeffiinneed d DDaatta a TTyyppe e . . . . . . . . . . . . . . . .. . . 77----33 U

(13)

Table of Contents vv

E

Exxaammpplleess: : UUsseerr--DDeeffiinneed d DDaatta a TTyyppe e AAddddrreessssiinng g . . . . . . . . . . . . .. . . 77----44 E

Exxaammppllee: : AArrrraayys s aannd d UUsseerr--DDeeffiinneed d DDaatta a TTyyppees s . . . . . . . . . . . . .. . . 77----44 E

Exxaammppllee: : AAddddrreessssiinng g . . . . . . . . . . . . . . . . . . .. 77----55 H

Heerree’’s HHoow s w . . . . . . . . . . . . . . . . . . . . . . .. . 77----55

Exercise: Monitoring Arrays and Tags of

Exercise: Monitoring Arrays and Tags of

U

Usseerr--D

Deeffiin

need

d D

Daatta

a T

Tyyp

pees

s iin

n aan

n R

RS

SL

Lo

og

giix

x 5500000

0 P

Prro

ojjeecct t

. . .

. . . . . .

. . . . . . . .

. . . . .

77-7

-7

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . .. . 77----77 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 77----1111 Answers

Answers Exxeerrcciisse E A A e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . ... . . 77----1122 7--127--12

Se

Sele

lect

ctin

ing

g Ba

Basi

sic

c La

Ladd

dder

er Lo

Log

gic

ic In

Inst

stru

ruct

ctio

ions

ns fo

for

r an

an RS

RSL

Log

ogix

ix 50

5000

00 Ro

Rout

utin

ine

e

. . . .

. . . .

8-

8- 11

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . . .. . . 88----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 88----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 88----11 B

Baassiic IInnssttrruuccttiioonns c s . . . . . . . . . . . . . . . . . . . . . . .. . . 88----11 C

Coonnddiittiioonnaal l BBiit t IInnppuut t IInnssttrruuccttiioonns s . . . . . . . . . . . . . . . .. 88----11 C

Coonnddiittiioonnaal l BBiit t OOuuttppuut t IInnssttrruuccttiioon n . . . . . . . . . . . . . . . .. 88----22 E

Exxaammppllee: : CCoonnddiittiioonnaal l IInnppuut t aannd d OOuuttppuut t IInnssttrruuccttiioonns s . . . . . . . . . . . . . .. . . 88----22 O

Onne e SShhoot t IInnssttrruuccttiioon n . . . . . . . . . . . . . . . . . . .. 88----33 E

Exxaammppllee: : OONNS S IInnssttrruuccttiioon n . . . . . . . . . . . . . . . . . . .. . . 88----33 R

Reetteennttiivve e BBiit t OOuuttppuut t IInnssttrruuccttiioonns s . . . . . . . . . . . . . . . .. 88----33 E

Exxaammppllee: : OOTTL L aannd d OOTTU U IInnssttrruuccttiioonns s . . . . . . . . . . . . . . . .. . . 88----44 T

Tiimmeer r IInnssttrruuccttiioonns s . . . . . . . . . . . . . . . . . . . . . .. . . . 88----44 T

TOON N ((TTiimmeer r OOn Deellaayy) ) Dn . . . . . . . . . . . . . . . . . . .. . . 88----55 E

Exxaammppllee: : TTOON N IInnssttrruuccttiioon n . . . . . . . . . . . . . . . . . . .. . . 88----66

Exercise: Selecting Basic Ladder Logic Instructions

Exercise: Selecting Basic Ladder Logic Instructions

ffo

or

r aan

n R

RS

SL

Lo

og

giix

x 5500000

0 R

Ro

ou

uttiin

ne

e

. . .

. . . . . .

. . . . . .

. . . . . .

. . . . . . .

. . . .

88-- 77

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 88----77 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 88----88 Answers

Answers . . . . . . . . . . . . . . . . . . . . . . . .. . . 8-8--10-10 E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . .. 88----1100

E

En

ntteerriin

ng

g L

Laad

dd

deer

r L

Lo

og

giic

c C

Co

om

mp

po

on

neen

ntts

s iin

n aan

n R

RS

SL

Lo

og

giix

x 5500000

0 R

Ro

ou

uttiin

ne

e

. . .

. . . . . . .

. . . .

9-1

9-1

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . . .. . . 99----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 99----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 99----11 E

Enntteerriinng WiinnddoowW g aannd wss--Bd EEddiittiinng Baasseed d Mg LLaaddddeer r LLooggiic Meetthhoodds s ((DDrraaggggiinngg) ) c CCoommppoonneenntts . . . . . . . . . s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . ... . . . 99----1199----22 IInnsseerrt t KKeey y . . . . . . . . . . . . . . . . . . . . . .. . . 99----22 Assigning a Tag to an Instruction

Assigning a Tag to an Instruction . . . . . . . . . . . . . . . . . . .. . . . 9-9--3-3 V

(14)

Table of Contents vi

vi

Ex

Exer

erci

cise

se: : En

Ente

teri

ring

ng La

Ladd

dder

er Lo

Logi

gic

c Co

Comp

mpon

onen

ents

ts in

in an

an RS

RSLo

Logi

gix

x 50

5000

00 Ro

Rout

utin

ine

e

. . . .

. . . .

9-

9- 77

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 99----77 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 99----99 Answers

Answers . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 9-9--10-10 E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . .. 99----1100

Mo

Modi

dify

fyin

ing

g T

Tim

imer

er an

and

d Co

Coun

unte

ter

r In

Inst

stru

ruct

ctio

ion

ns

s in

in an

an RS

RSL

Log

ogix

ix 50

5000

00 Pr

Pro

oje

jecct t

. . .

. . . ..

10-1

10-1

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . .. . . 1100----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 1100----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 1100----11 T

TIIMMEER DDaatta R TTyyppe a e . . . . . . . . . . . . . . . . . . . . . .. . . 1100----11 T

Tiimmeer r IInnssttrruuccttiioon n CCoommppoonneenntts s . . . . . . . . . . . . . . . . . . .. . . 1100----22 T

Tiimmeer r IInnssttrruuccttiioonns s . . . . . . . . . . . . . . . . . . . . . .. . . 1100----33 T

TOON N ((TTiimmeer r OOn n DDeellaayy) ) IInnssttrruuccttiioon n . . . . . . . . . . . . . . . .. . . 1100----33 T

TOOF F ((TTiimmeer r OOfff f DDeellaayy) ) IInnssttrruuccttiioon n . . . . . . . . . . . . . . . .. . . 1100----44 R

RTTO O ((RReetteennttiivve e TTiimmeer r OOn n DDeellaayy) ) IInnssttrruuccttiioon n . . . . . . . . . . . . .. 1100----55 C

COOUUNNTTEER R DDaatta Tyyppe Ta e . . . . . . . . . . . . . . . . . . . . .. . . 1100----66 C

Coouunntteer r IInnssttrruuccttiioon n CCoommppoonneennt t . . . . . . . . . . . . . . . .. 1100----77 C

Coouunntteer r IInnssttrruuccttiioonns s . . . . . . . . . . . . . . . . . . . . .. . . 1100----77 C

CTTU U ((CCoouunnt t UUpp) ) IInnssttrruuccttiioon n . . . . . . . . . . . . . . . . . . .. . . 1100----77 C

CTTD D ((CCoouunnt t DDoowwnn) ) IInnssttrruuccttiioon n . . . . . . . . . . . . . . . . . .. . . 1100----88 R REES S ((RReesseett) ) IInnssttrruuccttiioon n . . . . . . . . . . . . . . . . . . .. . . 1100----88 H Heerree’’s HHoow s w . . . . . . . . . . . . . . . . . . . . . . . .. . . 1100----99 E Exxaammpplle e . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 1100----1100

Exercise: Modifying Timer and Counter Instructions

Exercise: Modifying Timer and Counter Instructions

iin

n aan

n R

RS

SL

Lo

og

giix

x 5500000

0 P

Prro

ojjeecct t

. . .

. . . . . .

. . . . . .

. . . . . .

. . . . . . .

. . . .

1100-- 1177

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 1100----1177 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 1100----2211 Answers

Answers . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 10-10--22-22

Mo

Mod

diify

fyiin

ng

g P

Prro

og

grraam

m C

Co

on

nttrro

ol l In

Insstr

tru

uccttio

ion

ns

s in

in aan

n R

RS

SL

Lo

og

gix

ix 5500000

0 P

Prro

ojjeecct t

. . .

. . . . . .

. . .

111-

1- 11

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . .. . . 1111----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 1111----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 1111----11 S

Suubbrroouuttiinne UUssaagge e e . . . . . . . . . . . . . . . . . . . . .. . . 1111----22 JJSSR R ((JJuummp p tto o SSuubbrroouuttiinnee) ) IInnssttrruuccttiioon n . . . . . . . . . . . . . . . .. . . 1111----22 S

SBBR R ((SSuubbrroouuttiinnee) ) IInnssttrruuccttiioon n . . . . . . . . . . . . . . . . . . .. . . . 1111----22 R

REET T ((RReettuurrn n ffrroom m SSuubbrroouuttiinnee) ) IInnssttrruuccttiioon n . . . . . . . . . . . . . . . .. . . . 1111----33 JJMMP P ((JJuummp p tto o LLaabbeell) ) aannd d LLBBL L ((LLaabbeell) ) IInnssttrruuccttiioonns s . . . . . . . . . . . . .. . . 1111----44 M

MCCR R ((MMaasstteer r CCoonnttrrool l RReesseett) ) IInnssttrruuccttiioon n . . . . . . . . . . . . . . . .. . . . 1111----55 M

MCCR R IInnssttrruuccttiioon n UUssaagge e . . . . . . . . . . . . . . . . . . .. . . 1111----55 U

UIID D ((UUsseer r IInntteerrrruuppt t DDiissaabbllee) ) aannd d UUIIE E ((UUsseer r IInntteerrrruuppt t EEnnaabbllee) ) IInnssttrruuccttiioonns s . . . . . . .. . . 111-1--6-6 U

UIID D aannd UUIIE d UUssaagge E e . . . . . . . . . . . . . . . . . . .. 1111----77 T

(15)

Table of Contents viivii

AFI (Always False Instruction)

AFI (Always False Instruction) . . . . . . . . . . . . . . . . . . .. . . . 11-11--7-7 N NOOP P ((NNo o OOppeerraattiioon n IInnssttrruuccttiioonn) ) . . . . . . . . . . . . . . . . .. . 1111----88 H Heerree’’s HHoow s w . . . . . . . . . . . . . . . . . . . . . . .. . 1111----88 E Exxaammpplle e . . . . . . . . . . . . . . . . . . . . . . . .. . . 1111----88 JJSSR R IInnssttrruuccttiioon n GGuuiiddeelliinnees s . . . . . . . . . . . . . . . . . . . .. . . 1111----99 E Exxaammpplle e . . . . . . . . . . . . . . . . . . . . . . . .. . . 1111----1100

Exercise: Modifying Program Control Instructions

Exercise: Modifying Program Control Instructions

iin

n aan

n R

RS

SL

Lo

og

giix

x 5500000

0 P

Prro

ojjeecct t

. . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . ..

1111-- 1155

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 1111----1155 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 1111----1199 Answers

Answers . . . . . . . . . . . . . . . . . . . . . . . .. . . 11-11--20-20 P

Prroojjeecct t EExxaammpplle e . . . . . . . . . . . . . . . . . . . . . .. . . 1111----2211

M

Mo

on

niitto

orriin

ng

g G

GS

SV

V//S

SS

SV

V IIn

nssttrru

uccttiio

on

ns

s iin

n aan

n R

RS

SL

Lo

og

giix

x 5500000

0 P

Prro

ojjeecct t

. . .

. . . . . . .

. . . .

112-1

2-1

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . . .. . . 1122----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 1122----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 1122----11 M

Moonniittoorriinng g CCoonnttrroolllleer r SSyysstteem m DDaatta a . . . . . . . . . . . . . . . . .. . 1122----11 G GSSVV//SSSSV V PPaarraammeetteerrs s . . . . . . . . . . . . . . . . . . .. 1122----22 C Cllaasss s . . . . . . . . . . . . . . . . . . . . . . . .. . . 1122----22 IInnssttaanncce e . . . . . . . . . . . . . . . . . . . . . .. 1122----33 Attribute Attribute . . . . . . . . . . . . . . . . . . . . . .. 12-12--3-3 S

Soouurrcce e oor r DDeessttiinnaattiioon n . . . . . . . . . . . . . . . . . . .. 1122----33 E

Exxaammppllee: : GGSSV V IInnssttrruuccttiioon n . . . . . . . . . . . . . . . . . . .. . . 1122----44 S

Sttaattuus FFllaaggs s s . . . . . . . . . . . . . . . . . . . . . .. . . 1122----55 C

Coonnttrroolllleer r SSttaattuus s FFllaaggs s . . . . . . . . . . . . . . . . . . .. . . 1122----55 Arithmetic Status Flags

Arithmetic Status Flags . . . . . . . . . . . . . . . . . . .. . . 12-12--6-6

Ex

Exer

erci

cise

se: : Mo

Moni

nito

tori

ring

ng GS

GSV/

V/SS

SSV

V In

Inst

stru

ruct

ctio

ions

ns in

in an

an RS

RSLo

Logi

gix

x 50

5000

00 Pr

Proj

ojec

ect t

. . . .

. . . .

12-

12- 77

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 1122----77 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 1122----99 Answers

Answers . . . . . . . . . . . . . . . . . . . . . . . .. . . 12-12--10-10 E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . .. 1122----1100

F

Fo

orrcciin

ng

g II//O

O aan

nd

d T

To

og

gg

glliin

ng

g B

Biitts

s iin

n R

RS

SL

Lo

og

giix

x 5500000

0 S

So

offttw

waarre

e

. . .

. . . . . .

. . . . . . .

. . . .

1133-1

-1

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . . .. . . 1133----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 1133----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 1133----11 F

Foorrcce RRuullees Fuunnccttiioonns Fe ffoor r s Foorrcciinng F s g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . .. . . .. . . . 1133----221133----11 S

Saaffeetty PPrreeccaauuttiioonns y s . . . . . . . . . . . . . . . . . . . .. . 1133----22 S

Sttaatte oof f FFoorrccees e s . . . . . . . . . . . . . . . . . . . . . .. . . 1133----33 T

(16)

Table of Contents viii

viii

Ex

Exeerrccis

isee: : F

Fo

orrccin

ing

g II/O

/O aan

nd

d T

To

og

gg

gllin

ing

g B

Biitts

s iin

n R

RSL

SLo

og

gix

ix 5500000

0 S

So

offttw

waarre

e

. . .

. . . . . .

. . .

113-

3- 77

E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . . . .. . . 1133----77 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 1133----99 Answers

Answers . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 13-13--10-10 E

Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . .. 1133----1100

T

Trro

ou

ub

blleessh

ho

oo

ottiin

ng

g L

Lo

og

giixx5500000

0 C

Co

on

nttrro

olllleer

r P

Prro

ob

blleem

ms

s

. . .

. . . . . .

. . . . . .

. . . . .

. .

1144-1

-1

W

Whhaat t Yoou YWWiilll l u LLeeaarrn n . . . . . . . . . . . . . . . . . . . . . .. . . 1144----11 W

Whhy y TThheesse e SSkkiilllls s AArre e IImmppoorrttaannt t . . . . . . . . . . . . . . . . . . .. . . . 1144----11 B

Beeffoorre YYoou e BBeeggiin u n . . . . . . . . . . . . . . . . . . . . . .. . . 1144----11 C

Coonnttrroolllleer r LLEEDDs s . . . . . . . . . . . . . . . . . . . . . .. . . 1144----11 IIddeennttiiffyyiinng g FFaauullt t TTyyppees s . . . . . . . . . . . . . . . . . . .. 1144----22 N

Noonn--RReeccoovveerraabblle e MMaajjoor r FFaauullt t . . . . . . . . . . . . . . . . . . .. . . 1144----22 R

Reeccoovveerraabblle e MMaajjoor r FFaauullt t . . . . . . . . . . . . . . . . . . .. . . 1144----33 R

Reeccoovveerraabblle e MMaajjoor r FFaauullt t PPrroocceessssiinngg: : LLeevveel l 1 1 . . . . . . . . . . . . .. 1144----33 F

Faauullt t RRoouuttiinne e . . . . . . . . . . . . . . . . . . . . . .. . . 1144----33 C

Coonnttrroolllleer r FFaauullt t HHaannddlleer r . . . . . . . . . . . . . . . . . . .. . . 1144----33 R

Reeccoovveerraabblle e MMaajjoor r FFaauullt t PPrroocceessssiinngg: : LLeevveel l 2 2 . . . . . . . . . . . . .. 1144----44 M

Muullttiipplle e RReeccoovveerraabblle e MMaajjoor r FFaauulltts s . . . . . . . . . . . . . . . .. . . 1144----55 C

Coommmmoon n MMaajjoor r FFaauulltts s . . . . . . . . . . . . . . . . . . . . .. . . 1144----55 M

Miinnoor r FFaauullt t . . . . . . . . . . . . . . . . . . . . . .. . . 1144----55 R

Reessoollvviinng g a a NNoonn--RReeccoovveerraabblle e MMaajjoor r FFaauullt t . . . . . . . . . . . . . . . .. . . . 1144----66 F

Fiinnddiinng g aannd d CClleeaarriinng g a a RReeccoovveerraabblle e MMaajjoor r oor r MMiinnoor r FFaauullt t . . . . . . . . . . . . .. . . . 1144----77

E

Exxeerrcciissee: : T

Exxeerrcciisse E

Trro

A A

ou

e

ub

blleessh

. . . . . . . . .

ho

oo

ottiin

ng

. . . . . .

g L

Lo

og

giixx5500000

. . . . . .

0 C

Co

on

nttrro

. . . . . .

olllleer

r P

Prro

. . . . . .

ob

blleem

ms

s

. . . . . .

. . . . . .

. . .

. . . . . .

. . . . .

. . .

. .

1144----99

114-9

4-9

H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 1144----1100 E

Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . . . .. . . 1144----1100 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 1144----1111 E

Exxeerrcciisse C C e . . . . . . . . . . . . . . . . . . . . . . . .. . . 1144----1122 H

Hoow DDiid w YYoou d DDoo? u ? . . . . . . . . . . . . . . . . . . . . . .. . . 1144----1133 Answers Answers . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 14-14--14-14 E Exxeerrcciisse A A e . . . . . . . . . . . . . . . . . . . . . .. 1144----1144 E Exxeerrcciisse B B e . . . . . . . . . . . . . . . . . . . . . .. 1144----1144 E Exxeerrcciisse C C e . . . . . . . . . . . . . . . . . . . . . .. 1144----1155

Appendix

Appendix

II//O

O

W

Wiirriin

ng

g

Diiaag

D

grraam

ms

s

. . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . . .

. . . .

A

A-- 11

S

Slloot t 0 0 --- - 11775566--OOBB1166D D DDiiggiittaal l OOuuttppuut t MMoodduulle e . . . . . . . . . . . . . . . .. . . . AA----11 S

Slloot t 2 2 --- - 11775566--IIBB1166D D DDiiggiittaal l IInnppuut t MMoodduulle e . . . . . . . . . . . . . . . .. . . AA----22 S

Slloot t 4 4 --- - 11775566--OOBB1166D D OOuuttppuut t MMoodduulle e . . . . . . . . . . . . . . . .. . . AA----33 S

Slloot t 7 7 --- - 11775566--OOFF66VVI I AAnnaalloog g OOuuttppuut t . . . . . . . . . . . . . . . .. AA----44 S

(17)

Table of Contents ixix

C

Co

on

nttrro

ollL

Lo

og

giix

x W

Wo

orrkkssttaattiio

on

n II//O

O D

Deevviicce

e A

Assssiig

gn

nm

meen

ntts

s

. . .

. . . . . .

. . . . . . .

. . . .

B

B-1

-1

LLooccaal l II//O TTaaggs O s . . . . . . . . . . . . . . . . . . . . . .. BB----22

N

(18)

Table of Contents xx

(19)

Lesson

Lesson

1

1

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved. Rev. February 2007

Rev. February 2007

CM3sb56r

Identifying Logix5000 System

Identifying Logix5000 System

Components

Components

After completing this lesson, you should be able to identify Logix5000 system components by performing the following tasks: • Identify the Logix5000 platforms

• Identify the hard ware components of each Logix5000 platf orm

Why These Skills Are Important Why These Skills Are Important

These skills are important for the following reasons:

• Understanding control sys tem products will help you identify those that most efficiently meet your application needs. • The ability to identify Logix5000 sys tem components pr ovides a

solid base for learning programm ing or maintenance tasks.

Logix5000 System Logix5000 System

Logix Control Engine:

Logix Control Engine: The operating system common to all Logix5000 controller s. It is avaialable in several platforms or physical formats:

• ControlLogix ControlLogixr: High-performance, multi-controller system in a modular chassis format.

• FlexLogix FlexLogixt: System for distributed control (i.e., control platform is located at or close to the process/machine). • CompactLogix CompactLogixt: Small modular system for small stand-alone to

medium-sized connected systems.

• DriveLogix DriveLogixt: System for distributed drive control. • SoftLogix SoftLogixt: System that combines control , information, and

visualization on an open-control system (e.g., the control engine is housed in a computer or other terminal).

DriveLogix System DriveLogix System

FlexLogix FlexLogix System

System CompactLogixCompactLogixSystemSystem SoftLogix System SoftLogix System ControlLogix ControlLogix System System

What You Will Learn

What You Will Learn

Before You Begin

Before You Begin

Clarify that the control engine is an Clarify that the control engine is an operating system for Logix5000 operating system for Logix5000 platforms. Compare this to Microsoft platforms. Compare this to Microsoft Windows which is an operating system Windows which is an operating system for most personal computers. for most personal computers. Note that the GuardLogix safety Note that the GuardLogix safety controller is an optional feature of the controller is an optional feature of the ControlLogix system. The GuardLogix ControlLogix system. The GuardLogix controller door is red.

controller door is red.

Explain the SoftLogix platform as a Explain the SoftLogix platform as a system in which all the hardware system in which all the hardware modules and their tasks are modules and their tasks are in software form. in software form.

(20)

1--2

1--2 Identifying Logix5000 System Components

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved. Rev. Rev. February February 20072007 CM3sb56r

Because all Logix5000 platforms have the same control engine, they are all programmed in a similar manner using the same software. Logix5000 Control Disciplines

Logix5000 Control Disciplines

The Logix5000 family of controller is capable of supporting the following control disciplines:

• Sequential Sequential Control:Control: To sequence process units through a series of discrete states (e.g., conveyor systems).

• Motion Motion Control:Control: To direct movement by controlling current, acceleration, position, and speed (e.g., labeling, packaging, picking and placing).

• Drive Drive Control:Control: To manage the speed, torque, horsepower, and direction of a motor (e.g., mixing, winding).

• Process Process Control:Control: To operate a machine or manufacturing environment using regulated parameters (e.g., batching, filling). • Safety Safety Control:Control: To monitor safety circuitry and safety devices,

like light curtains, to minimize risks . Example: Bottling Line

Example: Bottling Line

The various tasks in a bottling line can all be controlled using Logix5000 platforms:

• Sequential control - high speed counting • Motion control - capping and labeling • Process control - batch ing and filling • Drive control - conveyor motor • Safety -- operator safety

High Speed Bottling Line High Speed Bottling Line

"

Tip

Tip

Note that Logix5000 controllers can Note that Logix5000 controllers can communicate with PLC, SLC, and other communicate with PLC, SLC, and other traditional controllers.

traditional controllers.

Explain that motion and process Explain that motion and process controlcontrol are handled by modules developed are handled by modules developed specifically for Logix5000 systems. Drive specifically for Logix5000 systems. Drive control is managed by

control is managed by integratingintegrating existing drive devices (i.e., devices not existing drive devices (i.e., devices not developed specifically for Logix5000 developed specifically for Logix5000 systems) into Logix5000 systems. systems) into Logix5000 systems.

Note that safety is addressed through Note that safety is addressed through GuardLogix controllers in the GuardLogix controllers in the ControlLogix platform. ControlLogix platform.

Point out that the different parts of the Point out that the different parts of the system communicate to act as one system communicate to act as one system, rather than separate systems. system, rather than separate systems.

(21)

1 1 ---- 33 Identifying Logix5000 System Components

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved. Rev. February 2007

Rev. February 2007

CM3sb56r

ControlLogix Platform and Components ControlLogix Platform and Components

The ControlLogix platform is a high-performance, multi-controller system in a modular chassis format. ControlLogix systems have the following capabilities:

• Enable easy integration with any exis ting systems (i.e., PLC-5 r, SLCt)

• Are capable of high-sp eed communications and data transfer s • Allow multiple cont rollers, I/O module s, and communicatio ns

modules in any order and location within the chassis The main components of a ControlLogix system are shown in the following graphic: Controllers Controllers Chassis Chassis Power Power Supply Supply

I/O and Communication I/O and Communication

Modules Modules

ControlLogix Chassis ControlLogix Chassis Chassis:

Chassis: A hardware assembly that houses devices such as controllers, I/O, and communications modules:

Chassis Chassis

Slots are the openings in a chassis that hold individual modules.

Note that the ControlLogix platform is Note that the ControlLogix platform is similar to the modular format of PLC similar to the modular format of PLC systems.

systems.

If you are teaching the standard course, If you are teaching the standard course, point out to students that their point out to students that their workstation utilizes the ControlLogix workstation utilizes the ControlLogix platform and that they will be working platform and that they will be working with this platform throughout the rest of with this platform throughout the rest of the course.

the course.

?

?

Are you familiar with the terms called Are you familiar with the terms called out in the graphic from your own out in the graphic from your own experience?

experience?

Several of these components will be Several of these components will be described in the following sections. described in the following sections.

Point out that

Point out that communications modulescommunications modules all have purple labels.

all have purple labels.

Inform students that not all Inform students that not all Logix5000Logix5000 platforms have a chassis. platforms have a chassis. SoftLogixSoftLogix platform has a “virtual chassis” rather platform has a “virtual chassis” rather than a hardware chassis and the than a hardware chassis and the FlexLogix platform sits on a DIN rail. FlexLogix platform sits on a DIN rail.

"

Tip

Tip

(22)

1--4

1--4 Identifying Logix5000 System Components

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved. Rev. Rev. February February 20072007 CM3sb56r

The following ControlLogix chassis sizes are available: • 4-slot

• 7-slot • 10-slot • 13-slot • 17-slot

Slots are numbered from left to right starting with 0:

0 0 1 1 3 3 22 5 66445 Slots Slots 7 7 8 8 99

1756 (ControlLogix) modules are not slot-dependent (i.e., any 1756 module can be placed in any slot in the chassis).

ControlLogix Backplane ControlLogix Backplane

The ControlLogix backplane, or ControlBus t backplane, is a printed circuit board at the back of the chassis that provides electrical interconnection between modules:

Backplane Backplane Module Module Connectors Connectors

The backplane allows data to be multicast (i.e., an input module sends data once that is received by multiple controllers simultaneously).

?

?

How many slots does theHow many slots does the ControlLogix chassis in the classroom ControlLogix chassis in the classroom have?

have?

Note that the last slot number is always Note that the last slot number is always one less than the total number of slots in one less than the total number of slots in the chassis (e.g., a 4-slot chassis is the chassis (e.g., a 4-slot chassis is numbered

0-numbered 0--3, a -3, a 7-slot chassis is7-slot chassis is numbered 0--6).

numbered 0--6).

Point out that this backplane has seven Point out that this backplane has seven module connectors.

module connectors.

Note that the multicast capability is Note that the multicast capability is thethe key to communications between key to communications between modules and between the chassis and modules and between the chassis and other devices.

(23)

Review the flow of information in a Review the flow of information in a controller:

controller: 1.

1. Measures Measures and receives data from and receives data from input devices via input modules input devices via input modules 2.

2. Executes Executes user programs and makes user programs and makes decisions based on input data decisions based on input data 3.

3. Send Send infoinformatirmation bason based on ed on itsits decisions to output modules to decisions to output modules to control

control output devices output devices Remove a controller from a chassis and Remove a controller from a chassis and allow the students to examine it as you allow the students to examine it as you point out the components. point out the components. Note that on the door there is space to Note that on the door there is space to write the date when the battery was last write the date when the battery was last changed.

changed. This graphic shows a

This graphic shows a Series A controller.Series A controller. Students with new

Students with new ControlLogixControlLogix applications may use L63 Series B (or applications may use L63 Series B (or newer) controllers. If asked, point out the newer) controllers. If asked, point out the physical differences in Series B physical differences in Series B controllers:

controllers:

S The door The door swings opswings open in en in thethe opposite direction. opposite direction. S. . The rThe redesiedesigned gned battbattery iery is in s in aa

different location. different location. S The serial The serial port is location.location. port is in a in a differentdifferent S A A CompactFlash CompactFlash memorymemory

card is available for storing backup card is available for storing backup programs.

programs.

1 1 ---- 55 Identifying Logix5000 System Components

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved. Rev. February 2007

Rev. February 2007

CM3sb56r

ControlLogix Controller ControlLogix Controller

The ControlLogix controller is a 32-bit controller that combines logic and data in modular memory:

LEDs LEDs Keyswitch Keyswitch Battery Battery Door Door Locking Tab Locking Tab Backplane Backplane Connecter Connecter Labels Labels RS-232 Serial Port RS-232 Serial Port Battery Label Battery Label Locking Tab Locking Tab

All controllers have two main internal components: • Central PrCentral Processing Uniocessing Unit (CPU):t (CPU): The decision-making

component that executes the program stored in memory. • Memory: Memory: A group of circuit elements where programs and data

are stored.

A battery will maintain controller memory when power is turned off. There are also controllers that support nonvolatile memory. Safety Controllers

Safety Controllers

A GuardLogix safety controller is a ControlLogix controller capable of SIL 3, CAT 4 safety control:

• Primary controller:

---- 1756-L61S (2 MB s tandard memory and 1 MB safe ty memory)

---- 1756-L62S (4 MB s tandard memory and 1 MB safe ty memory)

• Safety partner (1756-LSP -- safety memory only)

The primary controller and safety partner are located side-by-s ide in a ControLogix chassis:

"

Tip

Tip

Mention that safety controllers Mention that safety controllers are not are not used in the exercise for this lesson. used in the exercise for this lesson.

(24)

1--6

1--6 Identifying Logix5000 System Components

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved. Rev. Rev. February February 20072007 CM3sb56r

ControlLogix I/O Modules ControlLogix I/O Modules

ControlLogix I/O modules (1756-I/O ) provide input and output capability to span many applications, from high-speed sequentia l to process control.

These I/O modules offer the following capabilities: • Easy configuration using a wizard

Electronic keying (module ide ntification) • Scaling of analog values

• Diagnostics (depending on the module)

The wiring from the process/machine is connected to I/O modules through one of the following special devices:

• RTB (RemoRTB (Removable Tvable Terminal Block):erminal Block): A field wiring connector for I/O modules. Field wiring is connected to an RTB rather than directly to a module terminal block.

• IFM (PrIFM (Prewired Iewired Interface Module):nterface Module): A field wiring arm that uses prewired/factory-wired cable to connect to an I/O module. RTBs and IFMs allow for easy replacement or interchanging of I/O modules without rewiring them.

RTBs and IFMs are not included with I/O modules. They must be purchased separately.

ControlLogix Communications Modules ControlLogix Communications Modules Communications Modules:

Communications Modules: Modules used for creating communications between a controller and a network:

N

Neettwwoorrk k RReeqquuiirreed d CCoommmmuunniiccaattiioonns s MMoodduullee EtherNet/IP

EtherNet/IPt 1756-ENBT1756-ENBT ControlNet

ControlNett 1756-CNB, 1756-CNB, 1756-CNBR, 1756-CNBR, 1756-CN2, 1756-CN2, 1756-CN2R1756-CN2R DeviceNet

DeviceNett 1756-DNB1756-DNB Data Highway Plus

Data Highway Plust (DH+(DH+t) or) or Universal Remote I/O

Universal Remote I/O 1756-DHRIO1756-DHRIO

For serial communicatio ns, the computer connects direct ly to the controller.

Clarify that digital modules are often also Clarify that digital modules are often also called “discrete” modules, however, the called “discrete” modules, however, the term digital is correct.

term digital is correct.

Define electronic keying as a software Define electronic keying as a software safety feature that compares software safety feature that compares software descriptions of the modules to the actual descriptions of the modules to the actual inserted modules.

inserted modules.

Emphasize that the module must be Emphasize that the module must be unlocked. Show the locking tab to the unlocked. Show the locking tab to the students.

students.

Remove a digital I/O module from a Remove a digital I/O module from a chassis, detach the RTB, and chassis, detach the RTB, and show the students the device. show the students the device.

"

Tip

Tip

Identify each module in the Identify each module in the workstationworkstation as you review them in the table. as you review them in the table. If you are teaching the standard course, If you are teaching the standard course, mention that these networks will be mention that these networks will be discussed in later lessons. discussed in later lessons. If students ask, mention that the If students ask, mention that the 1756-CN2 and 1756-CN2R are 1756-CN2 and 1756-CN2R are enhanced versions of the CNB. enhanced versions of the CNB. Mention that modem combinations, for Mention that modem combinations, for those migrating from SLC systems, is those migrating from SLC systems, is also possible.

also possible.

"

Tip

Tip

Remind students that the Remind students that the

RS-232 serial port is on the Logix55xx RS-232 serial port is on the Logix55xx controller module.

(25)

1 1 ---- 77 Identifying Logix5000 System Components

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved. Rev. February 2007

Rev. February 2007

CM3sb56r

ControlLogix Platform Modularity ControlLogix Platform Modularity

The modular format of the ControlLogix platform allows users to design, build, and modify flexible systems by performing the following tasks:

Select the numbe r of controllers an d appropriate me mory size • Select the number and type of I/O m odules

Select the number and type of com munications modules Modularity allows for easy reconfigura tion and repair by replacing individual units.

A ControlLogix system can range in complexity:

• A simple stand-alone controller and I/O modules in a single chassis

• A complex system wit h multiple controller s, chassis, and networks in different locations

Example: Platform Modularity Example: Platform Modularity

The following system uses three different networks to communicate with various devices, including another chassis:

PanelView PanelView PlusPlus

Terminal Terminal Flex I/O

Flex I/O SystemSystem

1336 FORCE 1336 FORCE DriveDrive

DeviceNet Network DeviceNet Network ControlNet ControlNet Network Network ControlLogix Chassis ControlLogix Chassis PLC-5 PLC-5 SystemSystem EtherNet/IP Network EtherNet/IP Network ControlLogix Chassis ControlLogix Chassis CompactBlock CompactBlock I/O I/O RediSTATION RediSTATION

The ControlLogix system is ideal for network bridging, or sharing information between different networks.

Clarify that modularity refers to the Clarify that modularity refers to the modules within a chassis and the modules within a chassis and the different devices throughout a system. different devices throughout a system.

"

Tip

Tip

Note that a remote chassis may contain Note that a remote chassis may contain a controller, but it does not a controller, but it does not require one.require one. It requires a

It requires a communications module tocommunications module to connect to the network.

connect to the network. In the example graphic, one chassis In the example graphic, one chassis (top) contains controllers, while the other (top) contains controllers, while the other chassis does not.

chassis does not.

"

Tip

Tip

(26)

1--8

1--8 Identifying Logix5000 System Components

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved. Rev. Rev. February February 20072007 CM3sb56r

FlexLogix Platform and Components FlexLogix Platform and Components

The FlexLogix platform is a system for distributed control (i.e., control platform is located at or close to the process/machine). This allows the application to be simplified by dividing it.

Distributed control application examples include machine control, small processes, SCADA (Supervisory Control and Data Acquisition), assembly line, oven control, and filling stations.

This system has the following characteristics: • Is reduced size for smaller spaces • Can be mounted on a DIN rail or in panels • Can be mounted ve rtically or horizontally • Is modular

The size and number of modules varies according to the application:

DIN Rail DIN Rail I/O System I/O System Controller Controller Communications Card Communications Card DIN Rail DIN Rail

DIN rails are devices that provide convenient and simple mounting of components for easy access.

A DIN rail allows a FlexLogix controller and I/O to be placed in a close proximity to the process or machine.

FlexLogix Controller FlexLogix Controller

The main components of a FlexLogix controller are shown in the following graphic: Three-Position Keyswitch Three-Position Keyswitch 8 Status and 8 Status and Diagnostic Diagnostic LEDs LEDs RS-232 Port RS-232 Port Battery Backup Battery Backup

Two Optional Communications Daughtercard Slots Two Optional Communications Daughtercard Slots

FlexBus Local 1 FlexBus Local 1 Connector (For Up to Connector (For Up to 8 Local FLEX I/O 8 Local FLEX I/O

Modules) Modules) FlexBus Local 2 Connector

FlexBus Local 2 Connector (For up to 8 FLEX I/O Modules (For up to 8 FLEX I/O Modules

via an Adapter) via an Adapter)

24 V Power 24 V Power

DIN Rail or Panel Mount DIN Rail or Panel Mount

"

Tip

Tip

Clarify that although the FlexLogix Clarify that although the FlexLogix controller is in a different format, it holds controller is in a different format, it holds the same high-performance control the same high-performance control engine as the other platforms. engine as the other platforms. Note that the term “card” is sometimes Note that the term “card” is sometimes used for “modules” in FlexLogix, used for “modules” in FlexLogix, SoftLogix, and CompactLogix platforms. SoftLogix, and CompactLogix platforms.

If available, show a DIN rail If available, show a DIN rail and how components slide on and off. and how components slide on and off.

"

Tip

Tip

References

Related documents

The government agencies and rail stakeholders will participate in the development of a Border Master Plan – a comprehensive approach for coordinating planning

hecho de vivir, se han convertido en otros de los grandes supuestos de hecho, objeto de estudio de la responsabilidad civil; siendo al mismo tiempo polémico su abordaje, pues se

All of the participants were faculty members, currently working in a higher education setting, teaching adapted physical activity / education courses and, finally, were

The goal of this thesis is to develop a convolutional neural network (CNN) to perform vehicle detection and classification on vehicle and background images.. More precisely

acknowledgement of advisory messages; reducing the amount of time a CMV is stationary before the EOBR defaults to on-duty not driving duty status; removing the daily ceiling on

In large horsepower (hp) applications (greater than 100 hp), gear systems tend to be designed for greater efficiency because of the costs, heat, and noise problems that result

(For allowable codes, see the Delinquency Reason Codes Appendix 2 to this Exhibit.) Required, cannot be left blank Can include alpha and numeric characters