Vous êtes sur la page 1sur 36

ControlNet Training Lab Exercises

What’s in These Lab Exercises? 7KLVGRFXPHQWFRQWDLQVHLJKWODEH[HUFLVHVWKDWH[SODLQWKHIHDWXUHV


RI&RQWURO1HWUHOHDVH7KHIROORZLQJWDEOHGHVFULEHVZKHUHWR
ILQGVSHFLILFLQIRUPDWLRQ

For information about See page


hardware setup 3
configuring the ControlNet network 9
assigning I/O devices to processors 14
multicast discrete inputs 23
analog I/O 25
multicast analog 26
scheduled peer communications 27
communicating on ControlNet using ladder instructions 31

What We Assume :HDVVXPHWKDW\RXDUHXVLQJWKHKDUGZDUHVHWXSDVVKRZQLQODEWR


FRPSOHWHWKHVHODEH[HUFLVHV:HDOVRDVVXPH\RXKDYHDFRPSXWHU
ZLWK56/LQ[Œ561HWZRU[DQG56/RJL[VRIWZDUHORDGHG

Prepare for the Lab 0DNHQRWHRIWKHIROORZLQJFRQGLWLRQVLQSUHSDUDWLRQIRUWKHODE


H[HUFLVHV

‡ 7KHFRPSXWHULVDWWDFKHGWRWKH&RQWURO1HWQHWZRUNWKURXJKD
.7&;,6$EXVFDUG

‡ 7KH3/&ŠFKDVVLVLVVHWWRVORWDGGUHVVLQJ7KH
$&1 5 ,2FKDVVLVLVVHWWRòVORWDGGUHVVLQJ
,PSRUWDQW<RXUODEPD\EHHTXLSSHGZLWKHLWKHUD
$&1DQG$&1RUD
$&15DQG$&15,2DGDSWHU
7KHVHPRGXOHVDUHLGHQWLFDOH[FHSWWKH
$&15DQGWKH$&15SHUPLW
UHGXQGDQWPHGLDRSHUDWLRQDQRSHUDWLRQQRW
FRYHUHGLQWKHVHH[HUFLVHV7KURXJKRXWWKHVHODE
H[HUFLVHV$&1 5 DQG$&1 5 
UHIHUWRERWKWKHVLQJXODUDQGUHGXQGDQWDGDSWHUV
ZKLFKHYHULVDSSOLFDEOHWR\RXUODE

‡ 7KH,(;2()/(;,2ŒDQDORJPRGXOHLVXVHGIRUWKHVH
ODEH[HUFLVHV7KHUHDUHWZRVHULHVRIWKLVPRGXOH $DQG% 
ZKLFKEHKDYHGLIIHUHQWO\7KHODGGHUORJLFLQWKH12'(563
ILOHDOORZVWKHODEWRZRUNZLWKHLWKHUDVHULHV$ ,(;2(
$ RUVHULHV% ,(;2(% PRGXOH+RZHYHU\RXPXVW
VHOHFWWKHFRUUHFWPRGXOHIURPWKHPRGXOHOLVWZKHQHQWHULQJWKH
&RQWURO1HWFRQILJXUDWLRQRUWKHPRGXOHZLOOQRWFRPPXQLFDWH
:HZLOOLQGLFDWHZKHQWRVHOHFWWKHDSSURSULDWHPRGXOH<RXUODE
LQVWUXFWRUZLOOKDYHWRWHOO\RXZKLFKPRGXOHVDUHEHLQJXVHGLQ
WKLVSDUWLFXODUFODVV

3XEOLFDWLRQ±-XO\
2 ControlNet Training Lab Exercises

‡ 7ZR56/RJL[SURMHFWILOHVDUHXVHGWRORDGODGGHUORJLFLQWRWKH
SURFHVVRUV7KHODGGHUORJLFKHOSVGLVSOD\WKHIHDWXUHVRI
&RQWURO1HW:HSUHSURJUDPPHGWKHODGGHUORJLFIRU\RXVLQFH
WKHIRFXVRIWKLVODELVRQWKH&RQWURO1HWQHWZRUN7KHODGGHU
ILOHVGRQRWQHHGWREHSUHORDGHGLQWRWKH3/&SURFHVVRU:HZLOO
LQVWUXFW\RXWRORDGWKHILOHVDWWKHDSSURSULDWHWLPH7KHWZRILOHV
DUH
‡12'(563 IRUSURFHVVRUDWQRGH
‡12'(563 IRUSURFHVVRUDWQRGH

Common Techniques Used in 7KHIROORZLQJFRQYHQWLRQVDUHXVHGWKURXJKRXWWKHVHH[HUFLVHV


These Lab Exercises
‡ %XOOHWHGOLVWVSURYLGHLQIRUPDWLRQQRWSURFHGXUDOVWHSV
‡ 1XPEHUHGOLVWVSURYLGHVHTXHQWLDOVWHSV
‡ ,QIRUPDWLRQLQEROGFRQWDLQHGZLWKLQWH[WLGHQWLI\PHQXRSWLRQV
VFUHHQQDPHVDQGDUHDVRIWKHVFUHHQVXFKDVGLDORJER[HVVWDWXV
EDUVUDGLREXWWRQVDQGSDUDPHWHUV
‡ 7H[WLQthis fontLGHQWLI\DFWLRQV\RXSHUIRUP
‡ 7H[WLQWKLVIRQWLGHQWLI\QRGHDGGUHVVHVDQGRWKHUYDOXHV
DVVLJQHGWRGHYLFHV
‡ 7H[WLQthis fontLGHQWLI\NH\ERDUGNH\V\RXVKRXOGSUHVV
‡ 3LFWXUHVRIVFUHHQVUHSUHVHQWWKHDFWXDOVFUHHQV\RXXVH

ATTENTION: Identifies information about practices


or circumstances that can lead to personal injury or
! death, property damage or economic loss.

$WWHQWLRQVWDWHPHQWVKHOS\RXWR

‡ LGHQWLI\DKD]DUG
‡ DYRLGWKHKD]DUG
‡ UHFRJQL]HWKHFRQVHTXHQFHV

:HXVHWKLVFRQYHQWLRQWRFDOODWWHQWLRQWRKHOSIXOLQIRUPDWLRQ

,PSRUWDQW,GHQWLILHVLQIRUPDWLRQWKDWLVFULWLFDOIRUVXFFHVVIXO
DSSOLFDWLRQDQGXQGHUVWDQGLQJRIWKHSURGXFW

Publication 1786-6.1 - July 1998


ControlNet Training Lab Exercises 3

Lab 1: Hardware Setup What Your System Will Look Like


$WWKHFRPSOHWLRQRIWKLVODE\RXUV\VWHPZLOOORRNOLNHWKLVGUDZLQJ

Terminator Tap Tap ControlNet RG6 coax Tap Tap Tap Terminator

1771- 1771-IBD 1794- 1794-


1771-SIM 1771-SIM ACN(R)15 ACN(R)15 IE4C0E2

Mexer
IE4XOE2 CH0-OUT
SS-0 PB-0
PL-0
SS-1 PB-1
PL-1
Pot
SS-2 PB-2 IE4XO32 CH0-IN
PL-2
SS-3 PB-3
PL-3 Min Max

1771-SIM 1794-OB16
PLC-5 Power PLC-5 Power Power
supply supply supply 30632-M

Personal computer used


with 1784-KTCX15 card

Describe the Hardware )ROORZLQJLVDEULHIGHVFULSWLRQRIHDFKSLHFHRIKDUGZDUH

‡ &RQWURO1HW3/&3URFHVVRU
7KH3/&LVXVHGIRUFRQWUROLQIRU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GHUORJLF
SURJUDPPLQJ
41264
(DFKVWDWLRQZLOOKDYHLWVRZQQHWZRUNRIWZR3/&VRQH
$&1 5 DGDSWHURQH)/(;,2DGDSWHUDQGRQH
.7&;FDUG7KHIROORZLQJVWHSVVKRZ\RXKRZWRVHWXS
\RXUV\VWHPVRLWPDWFKHVWKHGUDZLQJ

$77(17,21 3OHDVHIROORZWKHVWHSVOLVWHGLQWKHODE
7KHUHZLOOEHVHYHUDOLWHPVSRLQWHGRXWDV\RXJR
! WKURXJKWKHODEZKLFK\RXPD\QRWQRWLFHLI\RXMXVW
ZRUNIURPWKHGUDZLQJRUDWWHPSWWRFRPSOHWHWKHODE
RQ\RXURZQ

Publication 1786-6.1 - July 1998


6 ControlNet Training Lab Exercises

Set Up Your System


Terminator Tap Tap ControlNet RG6 coax Tap Tap Tap Terminator

1771- 1771-IBD 1794- 1794-


1771-SIM 1771-SIM ACN(R)15 ACN(R)15 IE4C0E2

Mexer
IE4XOE2 CH0-OUT
SS-0 PB-0
PL-0
SS-1 PB-1
PL-1
Pot
SS-2 PB-2 IE4XO32 CH0-IN
PL-2
SS-3 PB-3
PL-3 Min Max

1771-SIM 1794-OB16
Node 1 Power Node 2 Power
Power
PLC-5 supply PLC-5 supply supply 30632-M

Personal
computer used with
7KHGUDZLQJKDVEHHQUHSHDWHGKHUHWRDLG\RXLQVHWWLQJXS\RXU
V\VWHP0DNHVXUH\RXKDYHDOOWKHHTXLSPHQWDVVKRZQLQWKH
GUDZLQJ

,PSRUWDQW7XUQSRZHURIIDOOFKDVVLV

 5HPRYHWKH3/&VDQG$&1 5 IURPWKHFKDVVLV6HW
WKHURWDU\VZLWFKHVRQWKHWRSRIWKHPRGXOHVWRWKHIROORZLQJ
QRGHQXPEHUV
‡3/& OHIWFKDVVLV QRGH
‡3/& ULJKWFKDVVLV QRGH
‡$&1 5 QRGH
,PSRUWDQW1RWLFHWKDWWKHURWDU\VZLWFKZKLFKUHSUHVHQWVWKH
WHQWKGLJLWRIWKHV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LQJ:KHQSHUIRUPLQJHGLWVWKHVRIWZDUHPXVW
REWDLQWKHHGLWUHVRXUFH7KHHGLWUHVRXUFHFDQRQO\EH
REWDLQHGLIWKH3/& RU3/&V DUHLQSURJUDPPRGH

 'RXEOHFOLFNRQWKHVKRUWFXWWR561HWZRU[LFRQLQWKH
&RQWURO1HWIROGHURQWKHGHVNWRSWRVWDUWWKH561HWZRU[
VRIWZDUH7KHLFRQLVVKRZQEHORZ

Publication 1786-6.1 - July 1998


10 ControlNet Training Lab Exercises

<RXVHHWKLVVFUHHQ

toolbar

QHWZRUNFDEOH

left window right network window

7KHVFUHHQRQWKHOHIWVKRZVWKHQHWZRUNV\RXFXUUHQWO\KDYH
FRQILJXUHG6LQFHZHKDYHQRWFRQILJXUHGDQHWZRUN\HWZHRQO\
KDYHDGHIDXOW&RQWURO1HWQHWZRUN7KHVFUHHQRQWKHULJKW WKH
1HWZRUN:LQGRZ VKRZVDJUDSKLFDOYLHZRIWKHQHWZRUN$WWKLV
WLPHZHRQO\KDYHWKHQHWZRUNFDEOHLWVHOIWKHUHDUHQRGHYLFHV

Establish a Path to Go On Line


7KHILUVWWKLQJ\RXZDQWWRGRLVJRRQOLQH WKHVRIWZDUHFRPHVXSLQ
RIIOLQHPRGHZLWKWKHODVWILOHRSHQZKLFKLQRXUFDVHLVDGHIDXOW
ILOH 7RJRRQOLQHWKHILUVWWLPH\RXKDYHWRWHOO561HWZRU[WKH
³SDWK´\RXZDQWWRXVHWRJRRQOLQH$SDWKLVHVWDEOLVKHGE\WHOOLQJ
561HWZRU[ZKLFKFRPPXQLFDWLRQGULYHU\RXZLVKWRFRPPXQLFDWH
WKURXJKLQ56/LQ[ QRWHWKHGULYHUVPXVWDOUHDG\EHVHWXSLQ
56/LQ[ /HW¶VHVWDEOLVKWKHSDWK

 &OLFNRQWKH2QOLQHFKHFNER[WRWKHULJKWRIWKHWRROEDU

Publication 1786-6.1 - July 1998


ControlNet Training Lab Exercises 11

<RXVHHWKH%URZVHIRU1HWZRUNVFUHHQ

<RXUFRPSXWHU¶VQDPHGLVSOD\VLQWKH%URZVHIRU1HWZRUN
VFUHHQ WKHDFWXDOQDPHRI\RXUFRPSXWHUDSSHDUVLQVWHDGRI
³FRPSXWHUQDPH´ 7KLVLVWKHFRPSXWHUQDPHHQWHUHGLQWKH
QHWZRUNFRQILJXUDWLRQRI\RXURSHUDWLQJV\VWHP

 &OLFNRQWKH³´QH[WWRWKHFRPSXWHULQWKH%URZVHIRU1HWZRUN
VFUHHQ
7KHDYDLODEOHGULYHUVFRQILJXUHGLQ56/LQ[DSSHDUEHORZWKH
FRPSXWHUQDPHDVVKRZQEHORZ $GGLWLRQDOGULYHURSWLRQVPD\
DSSHDURQ\RXVFUHHQ

Publication 1786-6.1 - July 1998


12 ControlNet Training Lab Exercises

 &OLFNRQWKHGULYHU$%B.7& &RQWURO1HW  :LQGRZV17 RU


$%B.7& &RQWURO1HW  :LQGRZV DQGWKHQFOLFNRQOK
WRHVWDEOLVKWKHFRPPXQLFDWLRQSDWK
7KHFRPSXWHUJRHVRQOLQHDQGDOOQRGHVFXUUHQWO\FRQQHFWHGWR
WKHQHWZRUNDSSHDULQWKHQHWZRUNVFUHHQ

Edits
Enabled
check box

plus signs

1RWHWKHQRGHVZLWKWKH³´7KH³´LQGLFDWHVDQRGHZKLFKLVRQ
WKHQHWZRUNEXWKDVQRW\HWEHHQVDYHGWRWKHFRQILJXUDWLRQILOH
<RXDUHQRZUHDG\WRFRQILJXUHWKHQHWZRUNSDUDPHWHUV

Configure Network Parameters


7RFRQILJXUHWKHQHWZRUN\RXHQWHUYDOXHVIRUSDUDPHWHUVVXFKDVWKH
1HWZRUN8SGDWH7LPH 187 0D[LPXP6FKHGXOHG$GGUHVV0D[
8QVFKHGXOHG$GGUHVVDQG0HGLD5HGXQGDQF\

)ROORZWKHVHVWHSVWRFRQILJXUHWKHQHWZRUNSDUDPHWHUV

 3ODFHWKHFXUVRURYHUWKH1HWZRUNVFUHHQ WKHVFUHH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PLGGOHRIWKHVFUHHQ
ZLWKWKHZKLWHEDFNJURXQG7KHERWWRPRIWKHVFUHHQFRQWDLQV
XVHULQSXWILHOGVZKLFKDOORZ\RXWRLGHQWLI\ZKLFKILOHVWRXVHIRU
HQWULHVLQWKHPDSWDEOH:HZLOOWDNHDFORVHUORRNDWWKHYDULRXV
SDUWVRI7KH&RQWURO1HWFRQILJXUDWLRQWRROGXULQJWKHODEV

Publication 1786-6.1 - July 1998


16 ControlNet Training Lab Exercises

<RXDUHQRZUHDG\WREHJLQHGLWLQJWKHPDSWDEOH

Edit the Node 1 PLC-5 ControlNet Configuration


)ROORZWKHVHVWHSVWRHGLWWKH3/&&RQWURO1HWFRQILJXUDWLRQ

 &OLFNRQWKH1HWZRUNRSWLRQ XSSHUOHIWFRUQHU RIWKHPDLQ


PHQX
1RWLFHWKH³0RQLWRU´VWDWXVRQWKHERWWRPULJKWSDUWRIWKHVFUHHQ

 &OLFNRQWKH(QDEOH(GLWVRSWLRQRQWKH1HWZRUNPHQX1RWLFH
WKDWWKHVWDWXVLQWKHORZHUULJKWRIWKHVFUHHQFKDQJHGIURP
³0RQLWRU´WR³(GLW´
7KHILUVWWKLQJZHZDQWWRGRLVLGHQWLI\WKHILOHVZKLFKZLOOVWRUH
WKHYDULRXVW\SHVRIGDWDXVHGLQWKHPDSWDEOH

 0RYHWKHFXUVRUGRZQWRWKH6WDWXV)LOHER[LQWKHORZHUOHIWRI
WKHVFUHHQ
 &OLFNLQWKH6WDWXV)LOHER[DQGWKHQHQWHU17KLVVHOHFWV1
DVWKHILOHWRVWRUHWKHVWDWXVLQIRUPDWLRQLQWKH3/&IRUHDFKRI
WKHHQWULHVLQWKHPDSWDEOH7KHVWDWXVILOHFRQWDLQVLQIRUPDWLRQ
RQWKHVWDWHRIFRPPXQLFDWLRQV HJVXFFHVVIDXOWHG 
:HZLOODOVRFKRRVH&RQILJXUDWLRQ'DWD,QSXWDQG'DWD2XWSXW
ILOHV

‡7KHFRQILJXUDWLRQ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E\VHOHFWLQJGRZQORDGIURPWKHPRGHER[LQ
WKHXSSHUOHIWFRUQHURIWKHVFUHHQ FXUUHQWO\WKHPRGHVD\V
RIIOLQH 

<RXVHHDZDUQLQJPHVVDJHDERXWSURFHVVRUPLVPDWFK

 &OLFNRQYesWRSURFHHGZLWKWKHGRZQORDG
,PSRUWDQW&OLFNRQYesWRNHHSWKHH[LVWLQJ&RQWURO1HW
FRQILJXUDWLRQLQIRUPDWLRQ

 ,IWKHGLDORJER[WRFRQILUPFKDQJHSURFHVVRUW\SHDSSHDUVFOLFN
RQOK

Publication 1786-6.1 - July 1998


22 ControlNet Training Lab Exercises

 &OLFNRQYesWRFRQWLQXHWKHGRZQORDGZLWKWKHFKRVHQ
&RQWURO1HWILOHV
 &OLFNRQCancel LQWKH6DYH3URJUDP$VGLDORJER[
 :KHQ\RXVHHWKHGRZQORDGFRPSOHWHPHVVDJHFOLFNRQYesWRJR
RQOLQH
7KHUHDUHQRZUXQJVLQWKHSURFHVVRUZKLFKZLOODOORZ\RXWR
FRQILUP\RXKDYHHQWHUHGWKH&RQWURO1HWLQIRUPDWLRQFRUUHFWO\
1RZ\RXFDQDOVRGRZQORDGUXQJVWRQRGH3/&

Download Ladder Logic Code to Node 2 PLC-5


 &OLFNRQ)LOHIURPWKHPDLQPHQXDQGWKHQFOLFNRQ2SHQ
 2SHQQRGHUVS PDNHVXUH\RXDUHORRNLQJLQWKH&RQWURO1HW
IROGHURQWKHGHVNWRS 
 &OLFNRQ YesWRFORVHQRGHDUVSDQGNoLISURPSWHGWRVDYHDQ\
FKDQJHV
 'RZQORDGWKHILOHE\VHOHFWLQJGRZQORDGIURPWKHPRGHER[LQ
WKHXSSHUOHIWFRUQHURIWKHVFUHHQ FXUUHQWO\WKHPRGHVD\V
RIIOLQH 
<RXVHHDZDUQLQJPHVVDJHDERXWSURFHVVRUPLVPDWFK

 &OLFNRQYesWRSURFHHGZLWKWKHGRZQORDG
,PSRUWDQW&OLFNRQYesWRNHHSWKHH[LVWLQJ&RQWURO1HW
FRQILJXUDWLRQLQIRUPDWLRQ

 ,IWKHGLDORJER[WRFRQILUPFKDQJHSURFHVVRUW\SHDSSHDUV
FKRRVHOK
 &OLFNRQYesWRFRQWLQXHWKHGRZQORDGXVLQJWKHFXUUHQW
&RQWURO1HWILOHV
 &OLFNRQCancelWRWKH6DYH3URJUDP$VGLDORJER[
 :KHQWKHGRZQORDGLVFRPSOHWHFOLFNRQYesWRJRRQOLQH
7KHUHDUHQRZUXQJVLQWKHSURFHVVRUZKLFKZLOODOORZ\RXWR
FRQILUP\RXKDYHHQWHUHGWKH&RQWURO1HWLQIRUPDWLRQFRUUHFWO\

Test the Configuration after Download


<RXDUHQRZUHDG\WRWHVW\RXUFRQILJXUDWLRQ,I\RXKDYHVHWXSWKH
LEDs
V\VWHPFRUUHFWO\WKH6,0FDUGPRGXOH WKHPRGXOHZLWKWKH
VZLWFKHVDQG/('VRQWKHIURQW /('VVKRXOGVWDUWIODVKLQJZKHQ
3/&QRGHLVSXWLQUXQPRGH

40940

Publication 1786-6.1 - July 1998


ControlNet Training Lab Exercises 23

 8VHWKHNH\VZLWFKWRSXW3/&QRGHLQUXQPRGH2EVHUYHWKH
6,0FDUG/('VLQWKH$&1 5 FKDVVLV,IWKH/('VDUH
QRWIODVKLQJDVNDQLQVWUXFWRUIRUDVVLVWDQFH
,IQRGHLVFRQILJXUHGSURSHUO\WKHSLORWOLJKWVDERYHWKH
)/(;,2FKDVVLV 3/BWR3/B VKRXOGVWDUWIODVKLQJZKHQ
3/&QRGHLVSXWLQUXQPRGH

 3XW3/&QRGH WKH3/&RQWKHULJKW LQUXQPRGH2EVHUYH


WKHSLORWOLJKWV,IWKHSLORWOLJKWVDUHQRWIODVKLQJDVNDQ
LQVWUXFWRUIRUDVVLVWDQFH
,I\RXUV\VWHPLVEHKDYLQJFRUUHFWO\DVGHVFULEHG\RXKDYH
VXFFHVVIXOO\FRPSOHWHGWKHQHWZRUNFRQILJXUDWLRQODE

LAB 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URORXWSXWVLQD,2FKDVVLV
)RUQRGH\RXSUHYLRXVO\VHWXSQRGHDVWKHH[FOXVLYHRZQHU
RIWKHRXWSXWV:KHQ\RXFRQILJXUHGQRGHWRFRPPXQLFDWHZLWK
QRGHLWFRXOGRQO\³OLVWHQ´WRWKHLQSXWV,QSXWVFDQEHUHDGE\
PRUHWKDQRQH3/&7KLVLVNQRZQDV³PXOWLFDVW´LQSXWV
7KHUHIRUHVLQFHWKHVHFRQG3/&GRHVQRWFRQWUROWKHRXWSXWVEXW
RQO\³OLVWHQV´WRWKHLQSXWVDOUHDG\EHLQJSURGXFHGIRUWKHILUVW
3/&WKHFRQQHFWLRQW\SHIRUWKHVHFRQG3/&LV³PXOWLFDVW´

Test the Configuration


1RZOHW¶VYHULI\WKDW\RXUV\VWHPLVFRQILJXUHGFRUUHFWO\

,PSRUWDQW0DNHVXUHWKHUHLVQREOXHWH[W7KLVLQGLFDWHVWKDWWKH
HGLWVKDYHEHHQDFFHSWHG,IWKHUHLVEOXHWH[WFOLFNRQ
SaveWRVDYH\RXUHGLWVDJDLQRUDVNDQDVVLVWDQWIRUKHOS
First  3ODFHERWKSURFHVVRUVLQUXQPRGH
SIM
card  )OLSXSWKHILUVW6,0FDUGVZLWFKLQWKH$&1 5 FKDVVLV
7KHILUVW6,0/('LQERWK3/&FKDVVLVVKRXOGOLJKW,I\RXU
V\VWHPLVQRWEHKDYLQJLQWKLVPDQQHUDVNDQLQVWUXFWRUIRU
DVVLVWDQFH

40940 ,I\RXUV\VWHPLVEHKDYLQJFRUUHFWO\DVGHVFULEHG\RXKDYH
FRPSOHWHGWKHPXOWLFDVWGLVFUHWHODE

Publication 1786-6.1 - July 1998


ControlNet Training Lab Exercises 25

LAB 5: Analog I/O &RQWURO1HWDOORZVPDSSLQJRIDQDORJ,2LQWKHVDPHPDQQHUDV


GLVFUHWH,2,QWKLVODE\RXZLOOFRQILJXUHWKHQRGH3/&WR
FRQVXPH UHDG WKHDQDORJLQSXWGDWDEHLQ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
XVHV1DVWKHLQSXWDGGUHVV6HOHFWWKHLQSXWDGGUHVVILHOG
DQGFKDQJHLWWR1
 &OLFNRQWKH6DYHLFRQRQWKHWRROEDUDQGWKHQFKRRVHOKIRUDQ
RSWLPL]HVFKHGXOHIRUDOOFRQQHFWLRQVVDYH
7KDW¶VLW<RXQRZKDYHDVHFRQG3/&OLVWHQLQJWRWKHDQDORJ
GDWDIURPWKH,(;2(PRGXOH/HW¶VWHVW\RXUV\VWHP

Test System Configuration


LEDs
 3XWQRGH3/&LQUXQPRGH
 7XUQWKHSRWHQWLRPHWHUDQGREVHUYHWKH/('VRQWKH6,0FDUGLQ
WKH3/&QRGHFKDVVLV7KHODVWUXQJRIWKHSURJUDPPRYHV
1WRWKH6,0/('V,I\RXUV\VWHPLVVHWXSFRUUHFWO\WKH
6,0/('VZLOOWRJJOHDV\RXPRYHWKHSRWHQWLRPHWHU

40940
,I\RXUV\VWHPLVQRWUXQQLQJDVGHVFULEHGDVNDQLQVWUXFWRUIRU
KHOS

LAB 7: Scheduled &RQWURO1HWDOORZVPDSSLQJRISHHUGHYLFHVVXFKDVRWKHU3/&VLQ


Peer Communications WKHVDPHPDQQHUDVGLVFUHWH,2IRUKLJKVSHHG3/&WR3/&
FRPPXQLFDWLRQ,QWKLVODEZHZLOOFRQILJXUHWKHWZR3/&VWR
H[FKDQJHVFKHGXOHGPHVVDJHVZLWKHDFKRWKHUDXWRPDWLFDOO\

 3XWQRGH3/&EDFNLQSURJUDPPRGH
 2SHQWKH1RGH3/&&RQWURO1HW&RQILJXUDWLRQVFUHHQ
 0RYHWKHFXUVRURYHUWKH3/&HQWU\IRUQRGHLQWKHPDS
WDEOH
 &OLFNWKHULJKWPRXVHEXWWRQ$SRSXSPHQXDSSHDUV

Publication 1786-6.1 - July 1998


28 ControlNet Training Lab Exercises

 &OLFNRQ,QVHUW5HFHLYH6FKHGXOHG0HVVDJHIURPWKHSRSXS
PHQX
 &OLFNRQYesWRWKHSURPSWWRVZLWFKWKHVRIWZDUHWRHGLWPRGH
7KH5HFHLYH6FKHGXOHG0HVVDJHZLQGRZDSSHDUV

7KH1RGH1XPEHUILHOGDOUHDG\FRQWDLQVQRGH\RXGRQ¶WKDYH
WRFKDQJHLW7KHQRGHQXPEHUGHIDXOWHGWRVLQFH\RXSUHVVHG
WKHULJKWPRXVHEXWWRQZKLOHWKHFXUVRUUHVWHGRQQRGH

7KH0HVVDJH1XPEHUILHOGDOORZV\RXWRXQLTXHO\LGHQWLI\D
PHVVDJH$V\VWHPPD\KDYHPDQ\VFKHGXOHGPHVVDJHV
FRQILJXUHG7KHZD\WRLGHQWLI\HDFKPHVVDJHLVE\LWVQRGHDQG
PHVVDJHQXPEHU/HW¶VLGHQWLI\WKLVPHVVDJHDVPHVVDJH \RX
FRXOGDUELWUDULO\FKRRVHDQ\QXPEHUIURPWR 

 &KDQJHWKH0HVVDJH1XPEHUILHOGWR
 &KDQJHWKH0HVVDJH6L]HILHOGWR ZRUGV 

Publication 1786-6.1 - July 1998


ControlNet Training Lab Exercises 29

 &OLFNOKWRDFFHSWWKHPHVVDJHSDUDPHWHUV$³5HFHLYH'DWD
)URP´HQWU\DSSHDUVLQWKHPDSWDEOH

1RWHWKDWWKHPHVVDJHDSSHDUVXQGHUQRGHDQGKDVDPHVVDJH
QXPEHURI%\HQWHULQJWKH³5HFHLYH'DWD)URP´LQQRGH
IURPQRGH WKHVRIWZDUHNQRZVWKDWQRGHPXVW³SURGXFH´
WKHGDWDDQGWKHUHIRUHDXWRPDWLFDOO\HQWHUVD³6HQG'DWD´
PHVVDJH VHHEHORZVFUHHQ LQQRGH/HW¶VH[DPLQHQRGH

 &OLFNRQQRGH3/&IURPWKHWDVNEDURQWKHERWWRPRIWKH
VFUHHQ

Publication 1786-6.1 - July 1998


30 ControlNet Training Lab Exercises

1RWLFHWKDWWKHUHLVD³6HQG'DWD´PHVVDJHXQGHUQRGHXVLQJ
PHVVDJHQXPEHU WKLVVHQGGDWDPDWFKHVWKHUHFHLYHG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WR0DS$OO(QWULHVLFRQRQWKHWRROEDU
1RZWKDWERWKSURFHVVRUVDUHPDSSHGOHW¶VDFFHSWWKHHGLWV

 &OLFNRQWKH6DYHLFRQRQWKHWRROEDU
 &OLFNRQOKIRUDQRSWLPL]HVFKHGXOHIRUDOOFRQQHFWLRQVVDYH
1RWHWKDWHGLWVLQERWKSURFHVVRUVZLOOEHDFFHSWHG/HW¶VWHVWWKH
PHVVDJHV

,PSRUWDQW0DNHVXUHWKHUHLVQREOXHWH[W7KLVLQGLFDWHVWKDWWKH
HGLWVKDYHEHHQDFFHSWHG,IWKHUHLVEOXHWH[WFOLFN
RQSaveWRVDYH\RXUHGLWVDJDLQRUDVNDQDVVLVWDQW
IRUKHOS

Publication 1786-6.1 - July 1998


ControlNet Training Lab Exercises 31

 3XWERWKSURFHVVRUVLQ581PRGH
 7RJJOHWKHORZHUVZLWFKRQWKH6,0FDUGLQERWKSURFHVVRU
LEDs
FKDVVLVDQGZDWFKWKH/('RQWKHRSSRVLWH6,0FDUGWRJJOH
,PSRUWDQW,IQRGH6,0VVWLOOUHIOHFWWKHSRWHQWLRPHWHUWKHQ
WXUQWKHSRWHQWLRPHWHUDOOWKHZD\GRZQ:KHQWKH
SRWHQWLRPHWHULVDWWKHPLQVHWWLQJLWLVGLVDEOHGLQ
Lower ODGGHUORJLF
switch
40940 ,I\RXUV\VWHPLVQRWEHKDYLQJDVGHVFULEHGDVNDQLQVWUXFWRUIRU
DVVLVWDQFH

,I\RXV\VWHPLVEHKDYLQJDVGHVFULEHG\RXKDYHFRPSOHWHGWKH
SHHUPHVVDJLQJODE

BONUS LAB: &RQWURO1HWDOORZV\RXWRSURJUDPHYHQWEDVHGFRPPXQLFDWLRQVLQ


Communicate on ControlNet DGGLWLRQWRVFKHGXOHGFRPPXQLFDWLRQV(YHQWEDVHGFRPPXQLFDWLRQV
DUHSURJUDPPHGXVLQJODGGHUORJLF
Using Ladder Instructions
,PSRUWDQW6LQFHODGGHUORJLFLQVWUXFWL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PEHUWRKLJKOLJKWLW

Publication 1786-6.1 - July 1998


34 ControlNet Training Lab Exercises

 3UHVVWKHULJKWPRXVHEXWWRQDQGFOLFNRQ$FFHSW5XQJ(GLWV
IURPWKHSRSXSPHQX

Test the MSG Rung


SS_O switch  3XWQRGH3/&LQUXQPRGH

SS-0 PB-0
Mexer
IE4XOE2 CH0-OUT  7XUQWKHILUVWVZLWFK 66B DERYHWKH)/(;DGDSWHULQWKH,2
ER[
PL-0
SS-1 PB-1
PL-1
Pot
SS-2 PB-2 IE4XO32 CH0-IN
PL-2
SS-3 PB-3

 2EVHUYHWKHPHVVDJHLQVWUXFWLRQ<RXVKRXOGVHHWKH± '1 ELW


PL-3 Min Max

KLJKOLJKW
 'RXEOHFOLFNRQILOH1LQWKHOHIWSDQHOWRRSHQLW
 7RJJOHVZLWFK66BDQGREVHUYHWKDWWKHGDWDLQ1XSGDWHV
41266
,I\RXUV\VWHPLVQRWEHKDYLQJDVGHVFULEHGDVNDQLQVWUXFWRUIRU
DVVLVWDQFH

1RZWKDWZHKDYHDPHVVDJHLQVWUXFWLRQZRUNLQJOHW¶VDGGD&,2
LQVWUXFWLRQWRUHDGWKHGDWDLQWKH'%PRGXOH

Enter the CIO Instruction


 3XWQRGH3/&EDFNLQSURJUDPPRGH
 'RXEOHFOLFNRQWKH WKHUXQJQXPEHU WRWKHOHIWRIWKH
(1'UXQJ WKHODVWUXQJ 7KLVZLOOLQVHUWDQHZUXQJ
 :LWKWKHSURPSWDWWKHVWDUWRIWKHUXQJWH[WHGLWER[W\SH
WKHIROORZLQJ
XIC I:012/I CIO CT27:0

 3UHVVEnter
$QHGLWUXQDSSHDUVDVVKRZQEHORZ

Publication 1786-6.1 - July 1998


ControlNet Training Lab Exercises 35

 'RXEOHFOLFNRQWKH6HWXS6FUHHQLQVLGHWKH&,2LQVWUXFWLRQ
<RXVHHWKLVVFUHHQ

 )LOOLQWKH&,2ZLQGRZVRWKDWLWPDWFKHVWKHYDOXHVVKRZQLQWKH
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DUNRI5RFNZHOO$XWRPDWLRQ

56 /LQ[LVDWUDGHPDUNRI5RFNZHOO6RIWZDUH,QF

0LFURVRIWDQG:LQGRZVDUHUHJLVWHUHGWUDGHPDUNVRI0LFURVRIW&RUSRUDWLRQ

:LQGRZV17LVDWUDGHPDUNRI0LFURVRIW&RUSRUDWLRQ

Publication 1786-6.1 July 1998 955131-29


 1998 Rockwell International. All Rights Reserved. Printed in USA