0% found this document useful (0 votes)
112 views36 pages

Introduccion A ControlNet

Uploaded by

neutron33
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views36 pages

Introduccion A ControlNet

Uploaded by

neutron33
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 36

ControlNet Training Lab Exercises

Whats in These Lab Exercises?


7KLV GRFXPHQW FRQWDLQV HLJKW ODE H[HUFLVHV WKDW H[SODLQ WKH IHDWXUHV RI &RQWURO1HW UHOHDVH  7KH IROORZLQJ WDEOH GHVFULEHV ZKHUH WR ILQG VSHFLILF LQIRUPDWLRQ
For information about hardware setup configuring the ControlNet network assigning I/O devices to processors multicast discrete inputs analog I/O multicast analog scheduled peer communications communicating on ControlNet using ladder instructions See page 3 9 14 23 25 26 27 31

What We Assume

:H DVVXPH WKDW \RX DUH XVLQJ WKH KDUGZDUH VHWXS DV VKRZQ LQ ODE  WR FRPSOHWH WKHVH ODE H[HUFLVHV :H DOVR DVVXPH \RX KDYH D FRPSXWHU ZLWK 56/LQ[ 561HWZRU[ DQG 56/RJL[ VRIWZDUH ORDGHG 0DNH QRWH RI WKH IROORZLQJ FRQGLWLRQV LQ SUHSDUDWLRQ IRU WKH ODE H[HUFLVHV 7KH FRPSXWHU LV DWWDFKHG WR WKH &RQWURO1HW QHWZRUN WKURXJK D .7&; ,6$ EXV FDUG 7KH 3/& FKDVVLV LV VHW WR VORW DGGUHVVLQJ 7KH $&1 5  ,2 FKDVVLV LV VHW WR VORW DGGUHVVLQJ ,PSRUWDQW <RXU ODE PD\ EH HTXLSSHG ZLWK HLWKHU D $&1 DQG $&1 RU D $&15 DQG $&15 ,2 DGDSWHU 7KHVH PRGXOHV DUH LGHQWLFDO H[FHSW WKH $&15 DQG WKH $&15 SHUPLW UHGXQGDQW PHGLD RSHUDWLRQ DQ RSHUDWLRQ QRW FRYHUHG LQ WKHVH H[HUFLVHV 7KURXJKRXW WKHVH ODE H[HUFLVHV $&1 5  DQG $&1 5  UHIHU WR ERWK WKH VLQJXODU DQG UHGXQGDQW DGDSWHUV ZKLFKHYHU LV DSSOLFDEOH WR \RXU ODE 7KH ,(;2( )/(; ,2 DQDORJ PRGXOH LV XVHG IRU WKHVH ODE H[HUFLVHV 7KHUH DUH WZR VHULHV RI WKLV PRGXOH $ DQG % ZKLFK EHKDYH GLIIHUHQWO\ 7KH ODGGHU ORJLF LQ WKH 12'(563 ILOH DOORZV WKH ODE WR ZRUN ZLWK HLWKHU D VHULHV $ ,(;2( $ RU VHULHV % ,(;2(% PRGXOH +RZHYHU \RX PXVW VHOHFW WKH FRUUHFW PRGXOH IURP WKH PRGXOH OLVW ZKHQ HQWHULQJ WKH &RQWURO1HW FRQILJXUDWLRQ RU WKH PRGXOH ZLOO QRW FRPPXQLFDWH :H ZLOO LQGLFDWH ZKHQ WR VHOHFW WKH DSSURSULDWH PRGXOH <RXU ODE LQVWUXFWRU ZLOO KDYH WR WHOO \RX ZKLFK PRGXOHV DUH EHLQJ XVHG LQ WKLV SDUWLFXODU FODVV

Prepare for the Lab

3XEOLFDWLRQ-XO\

ControlNet Training Lab Exercises

7ZR 56/RJL[ SURMHFW ILOHV DUH XVHG WR ORDG ODGGHU ORJLF LQWR WKH SURFHVVRUV 7KH ODGGHU ORJLF KHOSV GLVSOD\ WKH IHDWXUHV RI &RQWURO1HW :H SUHSURJUDPPHG WKH ODGGHU ORJLF IRU \RX VLQFH WKH IRFXV RI WKLV ODE LV RQ WKH &RQWURO1HW QHWZRUN 7KH ODGGHU ILOHV GR QRW QHHG WR EH SUHORDGHG LQWR WKH 3/& SURFHVVRU :H ZLOO LQVWUXFW \RX WR ORDG WKH ILOHV DW WKH DSSURSULDWH WLPH 7KH WZR ILOHV DUH 12'(563 IRU SURFHVVRU DW QRGH  12'(563 IRU SURFHVVRU DW QRGH 

Common Techniques Used in These Lab Exercises

7KH IROORZLQJ FRQYHQWLRQV DUH XVHG WKURXJKRXW WKHVH H[HUFLVHV %XOOHWHG OLVWV SURYLGH LQIRUPDWLRQ QRW SURFHGXUDO VWHSV 1XPEHUHG OLVWV SURYLGH VHTXHQWLDO VWHSV ,QIRUPDWLRQ LQ EROG FRQWDLQHG ZLWKLQ WH[W LGHQWLI\ PHQX RSWLRQV VFUHHQ QDPHV DQG DUHDV RI WKH VFUHHQ VXFK DV GLDORJ ER[HV VWDWXV EDUV UDGLR EXWWRQV DQG SDUDPHWHUV 7H[W LQ this font LGHQWLI\ DFWLRQV \RX SHUIRUP 7H[W LQ WKLV IRQW LGHQWLI\ QRGH DGGUHVVHV DQG RWKHU YDOXHV DVVLJQHG WR GHYLFHV 7H[W LQ this font LGHQWLI\ NH\ERDUG NH\V \RX VKRXOG SUHVV 3LFWXUHV RI VFUHHQV UHSUHVHQW WKH DFWXDO VFUHHQV \RX XVH ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property damage or economic loss.

$WWHQWLRQ VWDWHPHQWV KHOS \RX WR LGHQWLI\ D KD]DUG DYRLG WKH KD]DUG UHFRJQL]H WKH FRQVHTXHQFHV :H XVH WKLV FRQYHQWLRQ WR FDOO DWWHQWLRQ WR KHOSIXO LQIRUPDWLRQ

,PSRUWDQW ,GHQWLILHV LQIRUPDWLRQ WKDW LV FULWLFDO IRU VXFFHVVIXO DSSOLFDWLRQ DQG XQGHUVWDQGLQJ RI WKH SURGXFW

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

Lab 1: Hardware Setup

What Your System Will Look Like


$W WKH FRPSOHWLRQ RI WKLV ODE \RXU V\VWHP ZLOO ORRN OLNH WKLV GUDZLQJ

Terminator

Tap

Tap

ControlNet RG6 coax 1771-SIM

Tap

Tap 1771- 1771-IBD ACN(R)15

Tap

Terminator

1771-SIM

17941794ACN(R)15 IE4C0E2
SS-0 SS-1 SS-2 SS-3 PB-0 PL-0 PB-1 PL-1 PB-2 PL-2 PB-3 PL-3 Pot IE4XO32 CH0-IN Mexer IE4XOE2 CH0-OUT

Min

Max

PLC-5

Power supply

PLC-5

Power supply Personal computer used with 1784-KTCX15 card

1771-SIM Power supply

1794-OB16

30632-M

Describe the Hardware

)ROORZLQJ LV D EULHI GHVFULSWLRQ RI HDFK SLHFH RI KDUGZDUH &RQWURO1HW 3/& 3URFHVVRU 7KH 3/& LV XVHG IRU FRQWURO LQIRUPDWLRQ SURFHVVLQJ ,W RIIHUV KLJKVSHHG FRPPXQLFDWLRQ WKURXJK D &RQWURO1HW SRUW <RX FDQ KDYH PXOWLSOH &RQWURO1HW 3/& SURFHVVRUV RQ D &RQWURO1HW QHWZRUN (DFK SURFHVVRU FRQWUROV LWV RZQ ,2 RQ WKH QHWZRUN DQG DW WKH VDPH WLPH FRPPXQLFDWHV ZLWK WKH RWKHU SURFHVVRUV $OVR LQSXW GDWD PD\ EH VKDUHG DPRQJ PXOWLSOH SURFHVVRUV

40939

6LPXODWRU 0RGXOH 6,0 7KH 6LPXODWRU 0RGXOH KDV HLJKW GHGLFDWHG LQSXWV IRU HLJKW WRJJOH VZLWFKHV DQG HLJKW GHGLFDWHG RXWSXWV IRU HLJKW LQGLFDWRUV EXLOW LQWR LWV IURQW SDQHO 8VH WKH HLJKW SDQHOV WR VLPXODWH RWKHU RSHQFORVH GHYLFHV

40940

36 3RZHU 6XSSO\ 7KH 36 SRZHU VXSSO\ LV XVHG LQ  8QLYHUVDO ,2 FKDVVLV ,W SURYLGHV 9 GF SRZHU GLUHFWO\ WR WKH FKDVVLV EDFNSODQH 7KHVH SRZHU VXSSOLHV RFFXS\ RQH RU WZR VORWV DQG FDQ SURYLGH XS WR  DPSV SHU VXSSO\ WR WKH ,2 FKDVVLV 7KH PRGXOHV FDQ EH SDUDOOHOHG WR SURYLGH XS WR  DPSV SHU FKDVVLV DW  GHJUHHV FHOVLXV RU XS WR  DPSV SHU FKDVVLV DW  GHJUHHV FHOVLXV

40941

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

40942

$&1 5 DGDSWHU 7KH &RQWURO1HW )/(; ,2 DGDSWHU FRQWDLQV D EXLOWLQ SRZHU VXSSO\ WKDW FRQYHUWV 9 GF WR 9 GF IRU WKH EDFNSODQH WR SRZHU WKH )/(; ,2 PRGXOHV $OO )/(; ,2 PRGXOHV DUH VXSSRUWHG E\ WKH &RQWURO1HW )/(; ,2 DGDSWHU 7KH $&15 KDV D VHFRQG %1& FRQQHFWRU WKDW SHUPLWV UHGXQGDQW PHGLD RSHUDWLRQ ,(;2( 7KH ,(;2( LV DQ DQDORJ ,2 PRGXOH ,W KDV IRXU VLQJOHHQGHG LQSXWV DQG WZR VLQJOHHQGHG RXWSXWV D EDFNSODQH FXUUHQW ORDG RI P$ DQG LW UHTXLUHV 9 GF H[WHUQDO SRZHU

41259

41260

2% )/(;  SW RXWSXW PRGXOH 7KLV  RXWSXW PRGXOH KDV P$ PLQLPXP DQG P$ PD[LPXP FRQWLQXRXV FXUUHQW SHU RXWSXW ,W KDV $ PD[LPXP FXUUHQWV SHU PRGXOH DQG DQ P$ EDFNSODQH FXUUHQW ORDG

$&1 5  7KLV &RQWURO1HW  ,2 DGDSWHU PRGXOH LQWHUIDFHV WKH  ,2 PRGXOHV ZLWK WKH 3/& DFURVV WKH &RQWURO1HW QHWZRUN 7KH $&15 KDV D VHFRQG %1& FRQQHFWRU WKDW SHUPLWV UHGXQGDQW PHGLD RSHUDWLRQ

41261

,%' 7KH  GLJLWDO GF LQSXW PRGXOH LV FRPSDWLEOH ZLWK VRXUFHVZLWFKLQJ GHYLFHV ,W KDV D  RSHUDWLQJ YROWDJH PD[LPXP RIIVWDWH FXUUHQW RI P$  LQSXWV DQG D EDFNSODQH FXUUHQW ORDG RI P$

41262

.7&; &RPPXQLFDWLRQ ,QWHUIDFH &DUG 7KH &RQWURO1HW ,6$ DQG (,6$ EXV LQWHUIDFHV OHW \RXU ELW ,6$ RU ELW (,6$FRPSDWLEOH FRPSXWHU FRPPXQLFDWH RQ D &RQWURO1HW QHWZRUN 7KLV LQWHUIDFH FDUG KDV GLDJQRVWLF VWDWXV LQGLFDWRUV UHGXQGDQW PHGLD %1& FRQQHFWRUV DQG DQ 5- FRQQHFWRU

41263

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

561HWZRU[ 56/LQ[ DQG 56/RJL[ 6RIWZDUH XVHG WR FRQILJXUH &RQWURO1HW DQG &RQWURO1HW GHYLFHV FRPPXQLFDWH RYHU WKH QHWZRUN DQG FUHDWH ODGGHU ORJLF SURJUDPPLQJ

41264

(DFK VWDWLRQ ZLOO KDYH LWV RZQ QHWZRUN RI WZR 3/&V RQH $&1 5  DGDSWHU RQH  )/(; ,2 DGDSWHU DQG RQH .7&; FDUG 7KH IROORZLQJ VWHSV VKRZ \RX KRZ WR VHW XS \RXU V\VWHP VR LW PDWFKHV WKH GUDZLQJ $77(17,21 3OHDVH IROORZ WKH VWHSV OLVWHG LQ WKH ODE 7KHUH ZLOO EH VHYHUDO LWHPV SRLQWHG RXW DV \RX JR WKURXJK WKH ODE ZKLFK \RX PD\ QRW QRWLFH LI \RX MXVW ZRUN IURP WKH GUDZLQJ RU DWWHPSW WR FRPSOHWH WKH ODE RQ \RXU RZQ

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

Set Up Your System


Terminator Tap Tap ControlNet RG6 coax 1771-SIM Tap Tap 1771- 1771-IBD ACN(R)15 Tap Terminator

1771-SIM

17941794ACN(R)15 IE4C0E2
SS-0 SS-1 SS-2 SS-3 PB-0 PL-0 PB-1 PL-1 PB-2 PL-2 PB-3 PL-3 Pot IE4XO32 CH0-IN Mexer IE4XOE2 CH0-OUT

Min

Max

Node 1 PLC-5

Power supply

Node 2 PLC-5

Power supply Personal computer used with

1771-SIM Power supply

1794-OB16

30632-M

7KH GUDZLQJ KDV EHHQ UHSHDWHG KHUH WR DLG \RX LQ VHWWLQJ XS \RXU V\VWHP 0DNH VXUH \RX KDYH DOO WKH HTXLSPHQW DV VKRZQ LQ WKH GUDZLQJ ,PSRUWDQW 7XUQ SRZHU RII DOO FKDVVLV  5HPRYH WKH 3/&V DQG $&1 5  IURP WKH FKDVVLV 6HW WKH URWDU\ VZLWFKHV RQ WKH WRS RI WKH PRGXOHV WR WKH IROORZLQJ QRGH QXPEHUV 3/& OHIW FKDVVLV  QRGH  3/& ULJKW FKDVVLV  QRGH  $&1 5  QRGH  ,PSRUWDQW 1RWLFH WKDW WKH URWDU\ VZLWFK ZKLFK UHSUHVHQWV WKH WHQWK GLJLW RI WKH VWDWLRQ QXPEHU KDV WZR GLJLWV GLVSOD\HG 7KLV SUHYHQWV DQ\ FRQIXVLRQ DV WR ZKLFK VZLWFK UHSUHVHQWV WKH WHQWKV GLJLW RI WKH DGGUHVV 7KH VWDWLRQ QXPEHU FDQ EH UHDG GLUHFWO\ DV \RX VHW WKH VZLWFKHV 7KHUH LV QR QHHG WR KXQW IRU PDQXDOV RU GHFLSKHU GLS VZLWFK FRQYHUVLRQ FKDUWV  7KH )/(; ,2 DGDSWHU VKRXOG EH VHW WR DGGUHVV  ([DPLQH WKH IURQW RI WKH )/(; DGDSWHU WR EH VXUH WKH DGGUHVV LV VHW WR  ,I LW LV QRW VHW WKH DGGUHVV WR  DQG F\FOH SRZHU RQ WKH )/(; DGDSWHU E\ UHPRYLQJ WKH SRZHU FRUG IURP WKH FRRUGLQDWHG GHPR FKDVVLV

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

7KH 3/& ZLWK QRGH DGGUHVV  VWRUHV DOO WKH QHWZRUN LQIRUPDWLRQ FRQILJXUHG LQ 561HW:RU[ &XUUHQWO\ D 3/& LV WKH RQO\ GHYLFH ZKLFK LV FDSDEOH RI VWRULQJ WKH QHWZRUN LQIRUPDWLRQ 7KHUHIRUH D 3/& PXVW H[LVW DW QRGH  RQ D &RQWURO1HW QHWZRUN 7KLV PHDQV WKDW D 3/& DW QRGH  PXVW H[LVW RQ WKH QHWZRUN ZKHQHYHU QHWZRUN FKDQJHV DUH PDGH ,I D QHWZRUN LV UXQQLQJ DQG WKH 3/& DW QRGH  IDXOWV WKH QHWZRUN ZLOO FRQWLQXH WR UXQ +RZHYHU QRGH  PXVW EH EURXJKW EDFN RQ OLQH WR PDNH DQ\ QHWZRUN FKDQJHV ,Q WKH QHDU IXWXUH GHYLFHV RWKHU WKDQ D 3/& ZLOO EH FDSDEOH RI VWRULQJ WKH QHWZRUN LQIRUPDWLRQ )RU H[DPSOH WKH &1% PRGXOH &RQWURO/RJL[ &RQWURO1HW LQWHUIDFH ZLOO VXSSRUW QRGH  FDSDELOLW\ DW UHOHDVH  3OXJ WKH 3/&V DQG $&1 5  DGDSWHU LQWR WKHLU UHVSHFWLYH FKDVVLV  &RQQHFW D WDS WR WKH 3/&V $&1 5  DGDSWHU DQG )/(; DGDSWHU  &RQQHFW WKH FRD[ FDEOH WR WKH WDSV WR IRUP D WUXQNOLQHGURSOLQH FRQILJXUDWLRQ :LUH WKH V\VWHP DV VKRZQ LQ WKH GUDZLQJ RQ WKH SUHYLRXV SDJH  &RQQHFW D WDS WR WKH .7&; FDUG LQ WKH FRPSXWHU DQG FRQQHFW WKH WDS WR WKH WUXQNOLQH  7HUPLQDWH WKH HQGV RI WKH WUXQN 7KH LQWHJUDWHG GHPR ER[HV DUH DOUHDG\ WHUPLQDWHG ,I \RX SRVLWLRQ HDFK GHPR ER[ DW HLWKHU HQG RI WKH WUXQN \RX ZLOO QRW QHHG WR PRYH WHUPLQDWRUV  'LVFRQQHFW WKH WDS RQ WKH IURQW RI 3/& QRGH  DQG WKHQ WXUQ RQ SRZHU RQ WKH FKDVVLV ZLWK 3/& QRGH  LQ LW
Two LEDs

 ([DPLQH WKH WZR /('V DERYH WKH &RQWURO1HW FKDQQHO %RWK /('V ZLOO EOLQN UHG &RQWURO1HW GHIDXOWV WR UHGXQGDQW FDEOLQJ FKDQQHO $ DQG %  7KH OHIW /(' LV IRU FKDQQHO $ WKH ULJKW /(' LV IRU FKDQQHO % 7KHVH /('V DUH WKH QHWZRUN KHDOWK /('V DQG JLYH DQ LQGLFDWLRQ RI WKH SK\VLFDO QHWZRUNV KHDOWK &XUUHQWO\ VLQFH WKH 3/& LV WKH RQO\ VWDWLRQ WKHUH LV QR YDOLG QHWZRUN
40939

 7XUQ RQ SRZHU WR DOO GHYLFHV DQG WKHQ FRQQHFW WKH WDS WR WKH IURQW RI WKH QRGH  3/&  ([DPLQH WKH SURFHVVRU /('V DERYH WKH &RQWURO1HW FKDQQHO 7KH FKDQQHO $ /(' LV QRZ VROLG JUHHQ FKDQQHO % /(' ZLOO VWLOO EOLQN UHG  ,I \RXU V\VWHP LV QRW EHKDYLQJ LQ WKLV PDQQHU DVN D ODE DVVLVWDQW IRU KHOS 7KH SK\VLFDO QHWZRUN LV QRZ YDOLG IRU FKDQQHO $ 7KHUH DUH ILYH GHYLFHV ZLWK WKH SURSHU WDSV DQG WKH QHWZRUN LV WHUPLQDWHG FRUUHFWO\

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

Display

 ([DPLQH WKH GLVSOD\ RQ WKH $&1 5  7KH GLVSOD\ VKRXOG VZLWFK EHWZHHQ ,'/( DQG $  ,'/( PHDQV WKH DGDSWHU LV LQLWLDOL]HG EXW WKHUH DUH QR RSHQ FRQQHFWLRQV WR WKH DGDSWHU QR GHYLFH LV WU\LQJ WR FRQWURO WKH ,2 LQ LWV FKDVVLV  $  PHDQV WKH GHYLFH LV DGGUHVV QXPEHU  RQ WKH &RQWURO1HW QHWZRUN
41261

'XULQJ QRUPDO RSHUDWLRQ WKH $&1 5  DGDSWHU GLVSOD\V LWV DGGUHVV RQ WKH IURQW RI WKH PRGXOH 7KLV ZD\ \RX GRQW KDYH WR SXOO WKH DGDSWHU WR YHULI\ WKH DGGUHVV VHWWLQJ RU ZRQGHU DW ZKDW DGGUHVV WKH GHYLFH LV VHW  'LVFRQQHFW WKH GURS FDEOH WR WKH $&1 5  DGDSWHU  ([DPLQH WKH GLVSOD\ RQ WKH DGDSWHU 7KH GLVSOD\ VKRXOG DOWHUQDWHO\ UHDG 1(7 (55 QHWZRUN HUURU DQG $  7KH DGDSWHU GLVSOD\ SURYLGHV D ZLGH UDQJH RI GLDJQRVWLF PHVVDJHV ,I \RXU V\VWHP LV QRW EHKDYLQJ LQ WKLV PDQQHU WKHUH LV D SUREOHP VRPHZKHUH $VN D ODE DVVLVWDQW IRU KHOS

STATUS LED COMM LED


40942

 5HFRQQHFW WKH GURS FDEOH WR WKH $&1 5  DGDSWHU  7KH &RQWURO1HW /('V IRU FKDQQHO $ RQ ERWK WKH 3/& DQG WKH $&1 5  DGDSWHU VKRXOG EH VROLG JUHHQ DQG WKH DGDSWHU GLVSOD\ VKRXOG EH VZLWFKLQJ EHWZHHQ ,'/( DQG $  7KH &200 /(' RQ WKH )/(; DGDSWHU VKRXOG EH VROLG JUHHQ 7KH 67$786 /(' RQ WKH )/(; ,2 DGDSWHU VKRXOG EOLQN JUHHQ WR LQGLFDWH WKHUH DUH QR FRPPXQLFDWLRQV RSHQ WR WKH DGDSWHU ,I \RXU V\VWHP LV QRW EHKDYLQJ LQ WKLV PDQQHU DVN D ODE DVVLVWDQW IRU KHOS

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

LAB 2: Configure the ControlNet Network

&RQILJXULQJ D &RQWURO1HW QHWZRUN LV HDV\ XVLQJ WKH 561HWZRU[ 1HWZRUN 0DQDJHPHQW 6RIWZDUH E\ WDNLQJ DGYDQWDJH RI WKH GUDJ DQG GURS IHDWXUHV RI 0LFURVRIW :LQGRZV  DQG :LQGRZV 1770 7R DGG GHYLFHV WR D QHWZRUN \RX VLPSO\ VHOHFW WKH GHVLUHG GHYLFH IURP WKH KDUGZDUH OLVW DQG GURS LW RQWR WKH QHWZRUN GUDZLQJ ,I \RX DUH FRQILJXULQJ WKH QHWZRUN RQ OLQH \RX FDQ VLPSO\ WHOO WKH VRIWZDUH WR DXWRPDWLFDOO\ ILQG WKH QRGHV RQ WKH QHWZRUN :KHQ \RX KDYH DGGHG DOO RI \RXU GHYLFHV \RX ZLOO KDYH D QLFH JUDSKLFDO YLHZ RI WKH QHWZRUN DV VKRZQ EHORZ

2QFH \RXU QHWZRUN GUDZLQJ LV FRPSOHWH \RX FDQ VHW WKH QHWZRUN DQG SK\VLFDO PHGLD SDUDPHWHUV ZLWK D VLPSOH SRLQW DQG FOLFN RQ WKH QHWZRUN GLVSOD\ ZLWK WKH OHIW PRXVH EXWWRQ ZKLFK ZLOO EULQJ XS WKH SURSHUW\ SDJHV IRU WKH QHWZRUN )RU WKLV ODE ZH ZLOO ZRUN RQ OLQH VR WKDW ZH FDQ XVH WKH DXWRQHWZRUN IHDWXUH ,PSRUWDQW 0DNH VXUH ERWK 3/&V DUH LQ SURJUDP PRGH EHIRUH \RX EHJLQ HGLWLQJ :KHQ SHUIRUPLQJ HGLWV WKH VRIWZDUH PXVW REWDLQ WKH HGLW UHVRXUFH 7KH HGLW UHVRXUFH FDQ RQO\ EH REWDLQHG LI WKH 3/& RU 3/&V DUH LQ SURJUDP PRGH  'RXEOH FOLFN RQ WKH VKRUWFXW WR 561HWZRU[ LFRQ LQ WKH &RQWURO1HW IROGHU RQ WKH GHVNWRS WR VWDUW WKH 561HWZRU[ VRIWZDUH 7KH LFRQ LV VKRZQ EHORZ

Publication 1786-6.1 - July 1998

10

ControlNet Training Lab Exercises

<RX VHH WKLV VFUHHQ

toolbar

QHWZRUN FDEOH

left window

right network window

7KH VFUHHQ RQ WKH OHIW VKRZV WKH QHWZRUNV \RX FXUUHQWO\ KDYH FRQILJXUHG 6LQFH ZH KDYH QRW FRQILJXUHG D QHWZRUN \HW ZH RQO\ KDYH D GHIDXOW &RQWURO1HW QHWZRUN 7KH VFUHHQ RQ WKH ULJKW WKH 1HWZRUN :LQGRZ VKRZV D JUDSKLFDO YLHZ RI WKH QHWZRUN $W WKLV WLPH ZH RQO\ KDYH WKH QHWZRUN FDEOH LWVHOI WKHUH DUH QR GHYLFHV

Establish a Path to Go On Line


7KH ILUVW WKLQJ \RX ZDQW WR GR LV JR RQ OLQH WKH VRIWZDUH FRPHV XS LQ RIIOLQH PRGH ZLWK WKH ODVW ILOH RSHQ ZKLFK LQ RXU FDVH LV D GHIDXOW ILOH  7R JR RQ OLQH WKH ILUVW WLPH \RX KDYH WR WHOO 561HWZRU[ WKH SDWK \RX ZDQW WR XVH WR JR RQ OLQH $ SDWK LV HVWDEOLVKHG E\ WHOOLQJ 561HWZRU[ ZKLFK FRPPXQLFDWLRQ GULYHU \RX ZLVK WR FRPPXQLFDWH WKURXJK LQ 56/LQ[ QRWH WKH GULYHUV PXVW DOUHDG\ EH VHW XS LQ 56/LQ[  /HWV HVWDEOLVK WKH SDWK  &OLFN RQ WKH 2QOLQH FKHFN ER[ WR WKH ULJKW RI WKH WRROEDU

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

11

<RX VHH WKH %URZVH IRU 1HWZRUN VFUHHQ

<RXU FRPSXWHUV QDPH GLVSOD\V LQ WKH %URZVH IRU 1HWZRUN VFUHHQ WKH DFWXDO QDPH RI \RXU FRPSXWHU DSSHDUV LQVWHDG RI FRPSXWHUQDPH  7KLV LV WKH FRPSXWHU QDPH HQWHUHG LQ WKH QHWZRUN FRQILJXUDWLRQ RI \RXU RSHUDWLQJ V\VWHP  &OLFN RQ WKH  QH[W WR WKH FRPSXWHU LQ WKH %URZVH IRU 1HWZRUN VFUHHQ 7KH DYDLODEOH GULYHUV FRQILJXUHG LQ 56/LQ[ DSSHDU EHORZ WKH FRPSXWHU QDPH DV VKRZQ EHORZ $GGLWLRQDO GULYHU RSWLRQV PD\ DSSHDU RQ \RX VFUHHQ

Publication 1786-6.1 - July 1998

12

ControlNet Training Lab Exercises

 &OLFN RQ WKH GULYHU $%B.7& &RQWURO1HW :LQGRZV 17 RU $%B.7& &RQWURO1HW :LQGRZV  DQG WKHQ FOLFN RQ OK WR HVWDEOLVK WKH FRPPXQLFDWLRQ SDWK 7KH FRPSXWHU JRHV RQ OLQH DQG DOO QRGHV FXUUHQWO\ FRQQHFWHG WR WKH QHWZRUN DSSHDU LQ WKH QHWZRUN VFUHHQ
Edits Enabled check box

plus signs

1RWH WKH QRGHV ZLWK WKH  7KH  LQGLFDWHV D QRGH ZKLFK LV RQ WKH QHWZRUN EXW KDV QRW \HW EHHQ VDYHG WR WKH FRQILJXUDWLRQ ILOH <RX DUH QRZ UHDG\ WR FRQILJXUH WKH QHWZRUN SDUDPHWHUV

Configure Network Parameters


7R FRQILJXUH WKH QHWZRUN \RX HQWHU YDOXHV IRU SDUDPHWHUV VXFK DV WKH 1HWZRUN 8SGDWH 7LPH 187  0D[LPXP 6FKHGXOHG $GGUHVV 0D[ 8QVFKHGXOHG $GGUHVV DQG 0HGLD 5HGXQGDQF\ )ROORZ WKHVH VWHSV WR FRQILJXUH WKH QHWZRUN SDUDPHWHUV  3ODFH WKH FXUVRU RYHU WKH 1HWZRUN VFUHHQ WKH VFUHHQ RQ WKH ULJKW ZKHUH DOO WKH QRGHV DUH GLVSOD\HG   3UHVV WKH ULJKW PRXVH EXWWRQ $ SRSXS PHQX DSSHDUV  &OLFN RQ (QDEOH (GLWV <RX FDQ DOVR FKHFN WKH (GLWV (QDEOHG FKHFN ER[ LQ WKH XSSHU OHIW SDUW RI WKH VFUHHQ  $IWHU WKH HGLWV KDYH EHHQ HQDEOHG SUHVV WKH ULJKW PRXVH EXWWRQ DJDLQ <RXU FXUVRU VKRXOG VWLOO EH LQ WKH 1HWZRUN VFUHHQ $ SRSXS PHQX DSSHDUV
Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

13

 &OLFN RQ 3URSHUWLHV 7KH 1HWZRUN 3URSHUWLHV &RQWURO1HW ZLQGRZ DSSHDUV 7KHUH DUH WKUHH WDEV WKH ILUVW RI ZKLFK LV WKH 1HWZRUN 3DUDPHWHUV WDE

 &KDQJH WKH SHQGLQJ PD[ XQVFKHGXOHG DGGUHVV WR  7KLV GHILQHV QRGH DGGUHVV  DV WKH KLJKHVW DGGUHVV ZKLFK FDQ XVH XQVFKHGXOHG EDQGZLGWK ,PSRUWDQW 0DNH VXUH \RXU .7&; FDUG LV FRQILJXUHG WR QRGH DGGUHVV  RU EHORZ ,I \RXU .7&; LV FRQILJXUHG IRU D KLJKHU QRGH QXPEHU \RX ZLOO KDYH WR LQFUHDVH WKH PD[ XQVFKHGXOHG DGGUHVV VHWWLQJ WR LQFOXGH \RXU .7&; QRGH QXPEHU LQ WKH XQVFKHGXOHG QRGH UDQJH  6HW WKH SHQGLQJ PD[ VFKHGXOHG DGGUHVV WR  7KLV GHILQHV QRGH DGGUHVV  DV WKH KLJKHVW DGGUHVV ZKLFK FDQ XVH VFKHGXOHG EDQGZLGWK  (QWHU D QDPH XS WR  FKDUDFWHUV IRU WKH QHWZRUN FRQILJXUDWLRQ  7KH UHVW RI WKH SDUDPHWHUV ZLOO UHPDLQ DW WKHLU GHIDXOW YDOXHV &OLFN RQ WKH OK EXWWRQ WR DFFHSW WKH SDUDPHWHUV 7KLV ZLOO DOVR WDNH \RX EDFN WR WKH 1HWZRUN VFUHHQ 6HOHFWLQJ OK DSSOLHV WKH HGLWV DQG WKHQ FORVHV WKH ZLQGRZ 6HOHFWLQJ Apply DSSOLHV WKH HGLWV EXW OHDYHV WKH ZLQGRZ RSHQ IRU IXUWKHU HGLWLQJ

Publication 1786-6.1 - July 1998

14

ControlNet Training Lab Exercises

 6DYH WKH FRQILJXUDWLRQ E\ FOLFNLQJ RQ 1HWZRUN IURP WKH PDLQ PHQX DQG WKHQ FOLFNLQJ RQ 6DYH IURP WKH SXOOGRZQ PHQX RU FOLFN RQ WKH 6DYH LFRQ RQ WKH WRROEDU DV VKRZQ EHORZ

<RX VHH WKH 6DYH &RQILJXUDWLRQ SURPSW GLDORJ ER[

 &OLFN RQ OK WR WKH SURPSW WR RSWLPL]H VFKHGXOH IRU DOO FRQQHFWLRQV  (QWHU D QDPH IRU WKH ILOH DQG FOLFN RQ Save :KHQ WKH VDYH LV FRPSOHWH WKH  VLJQV GLVDSSHDU LQGLFDWLQJ WKH QRGHV DUH QRZ VDYHG DV SDUW RI WKH FRQILJXUDWLRQ 7KH QHWZRUN FRQILJXUDWLRQ LV QRZ FRPSOHWH <RX KDYH D ILYH QRGH &RQWURO1HW QHWZRUN FRQILJXUHG DQG FRPPXQLFDWLQJ 1RWH WKH FKDQQHO % /('V RQ DOO WKH GHYLFHV DUH QRZ RII <RX FRQILJXUHG WKH QHWZRUN WR XVH FKDQQHO $ RQO\ VR WKH FKDQQHO % /('V ZHUH WXUQHG RII 7KLV FRPSOHWHV WKH QHWZRUN FRQILJXUDWLRQ ODE 1H[W \RX ZLOO FRQILJXUH HDFK QRGH WR GHILQH ZKDW GDWD WR SURGXFH RQ RU FRQVXPH IURP WKH QHWZRUN

LAB 3: Assign I/O Devices to Processors

&RQWURO1HW VXSSRUWV PXOWLSOH SURFHVVRUV RQ WKH VDPH QHWZRUN HDFK FRQWUROOLQJ LWV RZQ ,2 ,WV YHU\ HDV\ WR LGHQWLI\ ZLWK ZKLFK ,2 GHYLFHV \RX ZRXOG OLNH D SDUWLFXODU SURFHVVRU WR FRPPXQLFDWH 7KH SURFHVV RI LGHQWLI\LQJ KRZ D SDUWLFXODU SURFHVVRU FRPPXQLFDWHV ZLWK ,2 GHYLFHV LV FDOOHG PDSSLQJ 7KH JRDO RI WKLV ODE LV WR KDYH WKH 3/& SURFHVVRU DW QRGH  FRPPXQLFDWH ZLWK WKH $&1 5  ,2 FKDVVLV DW QRGH  DQG WKH 3/& SURFHVVRU DW QRGH  FRPPXQLFDWH ZLWK WKH  ,2 UDFN DW QRGH  7R GR WKLV \RX PXVW PDS WKH $&1 5  FKDVVLV LQ WKH 3/& DW QRGH  DQG PDS WKH $&1 5  FKDVVLV LQ WKH 3/& DW QRGH 

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

15

/HWV VWDUW E\ PDSSLQJ WKH $&1 5  FKDVVLV LQWR WKH 3/& DW QRGH 

Map the 1771-ACN(R)15


 0RYH WKH FXUVRU RYHU WKH QRGH  3/& LFRQ LQ WKH 561HWZRU[ 1HWZRUN ZLQGRZ 7KH QRGH  3/& LV WKH GHYLFH ZLWK D  EHORZ LW  &OLFN WKH ULJKW PRXVH EXWWRQ $ SRSXS PHQX DSSHDUV  &OLFN RQ &RQWURO1HW &RQILJXUDWLRQ <RX VHH WKH 1RGH   3/& &RQWURO1HW &RQILJXUDWLRQ VFUHHQ DV VKRZQ EHORZ 7R YHULI\ \RX DUH LQ WKH 3/& &RQWURO1HW &RQILJXUDWLRQ WRRO IRU QRGH  ORRN DW WKH ERWWRP ULJKW FRUQHU RI WKH VFUHHQ 7KH GLVSOD\ VKRXOG UHDG 1RGH  7KH SURFHVVRU \RX DUH FRQILJXULQJ ZLOO EH KLJKOLJKWHG E\ D JUHHQ EDU LQ WKH PDS WDEOH

map table

7KH XSSHU SRUWLRQ RI WKH VFUHHQ FRQWDLQV VWDWXV LQIRUPDWLRQ UHJDUGLQJ WKH DPRXQW RI DYDLODEOH UHVRXUFHV XVHG LQ WKH PDS WDEOH 7KH PDS WDEOH LWVHOI LV WKH WDEOH LQ WKH PLGGOH RI WKH VFUHHQ ZLWK WKH ZKLWH EDFNJURXQG 7KH ERWWRP RI WKH VFUHHQ FRQWDLQV XVHU LQSXW ILHOGV ZKLFK DOORZ \RX WR LGHQWLI\ ZKLFK ILOHV WR XVH IRU HQWULHV LQ WKH PDS WDEOH :H ZLOO WDNH D FORVHU ORRN DW WKH YDULRXV SDUWV RI 7KH &RQWURO1HW FRQILJXUDWLRQ WRRO GXULQJ WKH ODEV

0RQLWRU VWDWXV

GLVSOD\ RI 1RGH 

Publication 1786-6.1 - July 1998

16

ControlNet Training Lab Exercises

<RX DUH QRZ UHDG\ WR EHJLQ HGLWLQJ WKH PDS WDEOH

Edit the Node 1 PLC-5 ControlNet Configuration


)ROORZ WKHVH VWHSV WR HGLW WKH 3/& &RQWURO1HW FRQILJXUDWLRQ  &OLFN RQ WKH 1HWZRUN RSWLRQ XSSHU OHIW FRUQHU RI WKH PDLQ PHQX 1RWLFH WKH 0RQLWRU VWDWXV RQ WKH ERWWRP ULJKW SDUW RI WKH VFUHHQ  &OLFN RQ WKH (QDEOH (GLWV RSWLRQ RQ WKH 1HWZRUN PHQX 1RWLFH WKDW WKH VWDWXV LQ WKH ORZHU ULJKW RI WKH VFUHHQ FKDQJHG IURP 0RQLWRU WR (GLW 7KH ILUVW WKLQJ ZH ZDQW WR GR LV LGHQWLI\ WKH ILOHV ZKLFK ZLOO VWRUH WKH YDULRXV W\SHV RI GDWD XVHG LQ WKH PDS WDEOH  0RYH WKH FXUVRU GRZQ WR WKH 6WDWXV )LOH ER[ LQ WKH ORZHU OHIW RI WKH VFUHHQ  &OLFN LQ WKH 6WDWXV )LOH ER[ DQG WKHQ HQWHU 1 7KLV VHOHFWV 1 DV WKH ILOH WR VWRUH WKH VWDWXV LQIRUPDWLRQ LQ WKH 3/& IRU HDFK RI WKH HQWULHV LQ WKH PDS WDEOH 7KH VWDWXV ILOH FRQWDLQV LQIRUPDWLRQ RQ WKH VWDWH RI FRPPXQLFDWLRQV HJ VXFFHVV IDXOWHG  :H ZLOO DOVR FKRRVH &RQILJXUDWLRQ 'DWD ,QSXW DQG 'DWD 2XWSXW ILOHV 7KH FRQILJXUDWLRQ GDWD XVHG LQ WKH PDS WDEOH LV VWRUHG LQ WKH &RQILJXUDWLRQ ILOH 7KH 'DWD ,QSXW ILOH ',) LV XVHG IRU VWRULQJ GDWD IURP VFKHGXOHG PHVVDJHV UHFHLYHG IURP RWKHU GHYLFHV DQG UHDGLQJ LQIRUPDWLRQ IURP LQWHOOLJHQW GHYLFHV VXFK DV DQDORJ LQSXW PRGXOHV RU GULYHV 7KH 'DWD 2XWSXW ILOH '2) LV XVHG IRU VWRULQJ GDWD IRU VFKHGXOHG PHVVDJHV WKDW DUH WR EH ZULWWHQ WR RWKHU GHYLFHV DQG ZULWLQJ LQIRUPDWLRQ WR LQWHOOLJHQW GHYLFHV VXFK DV DQDORJ RXWSXW PRGXOHV RU GULYHV ,PSRUWDQW 7KH 'DWD ,QSXW DQG 'DWD 2XWSXW ILOH FDQ EH XVHG IRU GLVFUHWH ,2 ,I \RX XVH WKH 'DWD ,QSXW DQG 'DWD 2XWSXW ILOHV IRU GLVFUHWH EH DZDUH WKDW WKH ,2 LQ WKHVH ILOHV FDQQRW EH IRUFHG

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

17

<RX FDQ XVH DQ\ LQWHJHU ILOH 1 ILOH LQ WKH 3/& SURFHVVRU WR DFW DV WKH 6WDWXV &RQILJXUDWLRQ 'DWD ,QSXW RU 'DWD 2XWSXW ILOHV +RZHYHU LI \RX DUH XSJUDGLQJ D V\VWHP IURP DQ HDUOLHU &RQWURO1HW SKDVH PDNH VXUH \RX XVH WKH VDPH ILOHV DV ZDV SUHYLRXVO\ HQWHUHG  3UHVV WKH 7DE NH\ WR PRYH WR WKH &RQILJXUDWLRQ )LOH ER[  (QWHU  IRU WKH &RQILJXUDWLRQ )LOH  3UHVV WKH 7DE NH\ WR PRYH WR WKH 'DWD ,QSXW )LOH ER[  (QWHU  IRU WKH 'DWD ,QSXW )LOH  3UHVV WKH 7DE NH\ WR PRYH WR WKH 'DWD 2XWSXW )LOH ER[  (QWHU  IRU WKH 'DWD 2XWSXW )LOH Map the I/O Devices <RX DUH QRZ UHDG\ WR EHJLQ PDSSLQJ WKH ,2 GHYLFHV WR WKH SURFHVVRU 1RWLFH WKDW WKH PDS WDEOH FXUUHQWO\ KDV  LWHPV OLVWHG 7KHVH DUH WKH  GHYLFHV RQ RXU QHWZRUN 1RWH WKDW WKHUH LV QR LQIRUPDWLRQ QH[W WR DQ\ RI WKH GHYLFHV DW WKLV WLPH 7KLV LV EHFDXVH QRQH RI WKH GHYLFHV KDYH EHHQ PDSSHG \HW ,I D GHYLFH LQ WKH PDS WDEOH GRHV QRW KDYH DQ\ LQIRUPDWLRQ QH[W WR LW WKHQ LW KDV QRW EHHQ FRQILJXUHG WR FRPPXQLFDWH ZLWK WKH SURFHVVRU ZKRVH PDS WDEOH \RX DUH YLHZLQJ )RU WKLV ODE ZH KDYH GHFLGHG WKDW ZH ZDQW WKH QRGH  3/& WR FRPPXQLFDWH ZLWK WKH  ,2 FKDVVLV 7KH  ,2 FKDVVLV LV FRQWUROOHG E\ WKH $&1 5  DGDSWHU 7KHUHIRUH LQ RUGHU WR FRPPXQLFDWH ZLWK WKH  ,2 FKDVVLV \RX PXVW FRQILJXUH D PDS HQWU\ IRU WKH $&1 5   0RYH WKH PRXVH RYHU WKH $&1 5  PRGXOH HQWU\ LQ WKH PDS WDEOH DQG SUHVV WKH ULJKW PRXVH EXWWRQ $ SRSXS PHQX DSSHDUV  &OLFN RQ ,QVHUW 'HYLFH &RQQHFWLRQ 7KH WH[W IRU WKH $&1 5  FKDQJHV WR EOXH WR VLJQLI\ D SHQGLQJ HGLW 7KLV VFUHHQ LV XVHG WR LGHQWLI\ KRZ RIWHQ \RX ZDQW WR FRPPXQLFDWH ZLWK WKH GHYLFH UHTXHVWHG SDFNHW LQWHUYDO  53,  KRZ PDQ\ LQSXW DQG RXWSXW ZRUGV ZLOO EH VHQWUHFHLYHG ,QSXW 6L]H DQG 2XWSXW 6L]H  DQG ZKHUH WKH GDWD ZLOO EH UHDG LQWR ,QSXW $GGUHVV DQG ZULWWHQ IURP 2XWSXW $GGUHVV  1RWLFH WKH KHDGLQJV DERYH WKH PDS WDEOH 7KH ,QSXW $GGUHVV ILHOG GHIDXOWV WR , DQG WKH 2XWSXW $GGUHVV ILHOG GHIDXOWV WR 2 7KH 3/& SURFHVVRU ZLOO GHIDXOW WR XVLQJ WKH ,2 LPDJH WDEOH IRU DOO GLVFUHWH ,2 +RZHYHU DV QRWHG SUHYLRXVO\ \RX FDQ PDS WKH GLVFUHWH ,2 WR WKH 'DWD ,QSXW DQG 'DWD 2XWSXW ILOHV

Publication 1786-6.1 - July 1998

18

ControlNet Training Lab Exercises

AutoMap Feature $W WKLV SRLQW \RX FRXOG HQWHU WKH DGGUHVVHV WR VWRUH WKH GDWD RU KDYH WKH VRIWZDUH VHOHFW WKHP IRU \RX XVLQJ WKH $XWR0DS IHDWXUH 7KH $XWR0DS IHDWXUH ZLOO VHOHFW WKH ILUVW XQXVHG DGGUHVVHV DYDLODEOH ,W ZLOO DOVR PDS DURXQG DQ\ DGGUHVVHV XVHG RQ RWKHU FKDQQHOV VXFK DV ,2 FRQQHFWHG WR D UHPRWH ,2 FKDQQHO  5LJKW FOLFN RQ WKH EOXH WH[W  0RYH WKH FXUVRU WR WKH $XWR 0DS RSWLRQ RI WKH SRSXS PHQX DQG FKRRVH $OO (QWULHV 1RWLFH WKDW WKH LQSXW DQG RXWSXW DGGUHVVHV ZHUH DXWRPDWLFDOO\ ILOOHG LQ IRU WKH $&1 5  $W WKLV SRLQW ZH FRXOG VHW LQSXW DQG RXWSXW VL]HV DQG DGMXVW WKH 53, %XW IRU WKLV ODE \RX ZLOO XVH WKH GHIDXOWV RI  ZRUGV IRU WKH VL]HV DQG  PV IRU WKH 53, <RX KDYH FRPSOHWHG PDSSLQJ 3/& QRGH  <RX KDYH MXVW VHW XS WKH 3/& WR H[FKDQJH  ZRUGV RI LQSXW GDWD DQG  ZRUGV RI RXWSXW GDWD HYHU\  PV ZLWK QRGH QXPEHU WKUHH  FKDVVLV <RX ZLOO QRZ JR WR WKH 3/& DW QRGH  DQG VHW LW XS WR FRPPXQLFDWH ZLWK QRGH 

Map Node 2 PLC-5


 0RYH WKH FXUVRU RYHU WKH QRGH  3/&& HQWU\ LQ WKH PDS WDEOH DQG ULJKW FOLFN WKH PRXVH EXWWRQ $ SRSXS PHQX DSSHDUV  &OLFN RQ 'LVSOD\ &RQWURO1HW &RQILJXUDWLRQ QRGH  ZLQGRZ 7KH &RQWURO1HW &RQILJXUDWLRQ WRRO IRU QRGH  DSSHDUV 7R YHULI\ \RX DUH LQ WKH &RQWURO1HW &RQILJXUDWLRQ WRRO IRU QRGH  FKHFN WKDW WKH QRGH  3/& LV KLJKOLJKWHG LQ JUHHQ LQ WKH PDS WDEOH Automap and Automodule Features )RU QRGH  \RX ZLOO WDNH DGYDQWDJH RI WKH DXWRPDSSLQJ DQG DXWRPRGXOH IHDWXUHV RI WKH VRIWZDUH ,Q WKLV SURFHVVRU \RX ZLOO DOORZ WKH VRIWZDUH WR DXWRPDS HYHU\WKLQJ IRU XV LQFOXGLQJ WKH VHOHFWLRQV RI WKH ',) '2) VWDWXV DQG FRQILJXUDWLRQ ILOHV ',) 'DWD ,QSXW )LOH '2) 'DWD 2XWSXW )LOH $ GHVFULSWLRQ RI WKH SXUSRVH RI WKHVH ILOHV LV GLVFXVVHG LQ SDJH  7KH GHFLVLRQ RQ ZKHUH DQG ZKHQ WR XVH DXWRPDSSLQJ LV XS WR \RX 7KH LPSRUWDQW WKLQJ WR UHPHPEHU LV WKDW ZKDWHYHU ILOHV DUH XVHG LQ WKH PDS WDEOH WKH ODGGHU ORJLF PXVW FRUUHVSRQG FRUUHFWO\ LQ RUGHU IRU WKH V\VWHP WR ZRUN )RU H[DPSOH LI WKH ODGGHU SURJUDP LV DOUHDG\ ZULWWHQ \RX ZLOO QRW EH DEOH WR DXWRPDS DQ\WKLQJ EHFDXVH WKHUH LV QR JXDUDQWHH WKH DXWRPDS IHDWXUH ZLOO VHOHFW DQ\ RI WKH ILOHV ZKLFK PDWFK \RXU ODGGHU ORJLF

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

19

,I \RX DUH VWDUWLQJ ZLWK D FOHDQ V\VWHP \RX FDQ DXWRPDS HYHU\WKLQJ DQG WKHQ MXVW SURYLGH WKH PDS WDEOH WR WKH SHRSOH ZULWLQJ WKH ODGGHU ORJLF VR WKH\ FKRRVH WKH DSSURSULDWH ORFDWLRQV LQ WKHLU ODGGHU UXQJV 7KH DXWRPRGXOH IHDWXUH VLPSO\ DXWRPDWLFDOO\ DGGV PDS HQWULHV IRU WKH GHYLFHV \RX VHOHFW )RU WKLV ODE ZH KDYH GHFLGHG WKDW ZH ZDQW WKH QRGH  3/& WR FRPPXQLFDWH ZLWK WKH  ,2 FKDVVLV  &OLFN RQ WKH $&1 5  HQWU\ LQ WKH PDS WDEOH  &OLFN RQ WKH $XWR 0RGXOH 6HOHFWHG $GDSWHUV LFRQ IURP WKH WRROEDU VKRZQ EHORZ WR DXWRPDWLFDOO\ DGG PDS HQWULHV IRU WKH  DGDSWHU

 &KRRVH WKH ,(;2( PRGXOH LQ WKH PDS WDEOH  3UHVV WKH Delete NH\ WR GHOHWH WKH ,(;2( PRGXOH <RX DUH QRZ UHDG\ WR PDS WKH GLVFUHWH PRGXOH PDS HQWU\ IRU WKH $&1 5  Map the 1794-ACN(R)15 7R PDS WKH $&1 5   &OLFN RQ WKH $XWR 0DS $OO (QWULHV LFRQ VKRZQ EHORZ WR DXWRPDWLFDOO\ PDS WKH PDS HQWU\

Publication 1786-6.1 - July 1998

20

ControlNet Training Lab Exercises

<RX VHH WKH IROORZLQJ VFUHHQ

1RWLFH WKDW WKH RQO\ ILOH ZKLFK ZDV ILOOHG LQ DW WKH ERWWRP ZDV WKH VWDWXV ILOH 1  7KLV LV GXH WR WKH IDFW WKDW WKH GLVFUHWH PDS HQWU\ GHIDXOWV WR XVLQJ WKH ,2 LPDJH WDEOH IRU GDWD WUDQVIHU DQG QR FRQILJXUDWLRQ GDWD LV QHHGHG IRU GLVFUHWH GULYHUV <RX ZLOO VHH ODWHU ZKHQ ZH DGG WKH DQDORJ PRGXOHV WKDW WKH VRIWZDUH ZLOO DOVR DGG VHOHFWLRQV IRU WKH ',) '2) DQG FRQILJXUDWLRQ ILOHV $W WKLV SRLQW ZH FRXOG VHW LQSXW DQG RXWSXW VL]HV DQG DGMXVW WKH 53, %XW IRU WKLV ODE ZH ZLOO XVH WKH GHIDXOWV RI  ZRUGV IRU WKH VL]HV DQG  PV IRU WKH 53, /HWV DFFHSW WKH HGLWV  &OLFN RQ WKH 6DYH LFRQ IURP WKH WRROEDU

 &OLFN RQ OK IRU DQ RSWLPL]H VFKHGXOH IRU DOO FRQQHFWLRQV VDYH $IWHU WKH HGLWV KDYH EHHQ VDYHG QRWLFH WKDW WKH EOXH HGLW WH[W LV UHSODFHG ZLWK JUD\ WH[W $OVR QRWH WKDW \RX RQO\ KDG WR DFFHSW HGLWV RQFH IRU ERWK 3/& PDS WDEOHV <RX FRXOG KDYH DFFHSWHG HGLWV DIWHU FRQILJXULQJ QRGH  EXW LW LV QRW UHTXLUHG <RX DUH QRZ ILQLVKHG ZLWK 3/& QRGH  <RX KDYH MXVW VHW XS WKH 3/& WR H[FKDQJH  ZRUGV RI LQSXW GDWD DQG  ZRUGV RI RXWSXW GDWD HYHU\  PV ZLWK QRGH QXPEHU 

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

21

Test the Mapped Configuration $W WKLV SRLQW ZH DUH UHDG\ WR WHVW WKH FRQILJXUDWLRQ :H ZLOO XVH 56/RJL[  VRIWZDUH WR GRZQORDG VRPH ODGGHU ORJLF LQWR WKH 3/&V ZKLFK ZLOO WHVW WKH &RQWURO1HW FRQILJXUDWLRQ  6WDUW 56/RJL[  VRIWZDUH E\ XVLQJ WKH VWDUW PHQX WR VHOHFW 3URJUDPV 5RFNZHOO VRIWZDUH 56/RJL[  (QJOLVK RU GRXEOH FOLFN RQ WKH 56/RJL[  VKRUWFXW LQ WKH &RQWURO1HW IROGHU RQ WKH GHVNWRS  $IWHU WKH VRIWZDUH KDV RSHQHG FOLFN RQ )LOH IURP WKH PDLQ PHQX DQG WKHQ FOLFN RQ 2SHQ  2SHQ QRGHUVS ,PSRUWDQW 7KLV ILOH KDV EHHQ VDYHG LQ WKH &RQWURO1HW IROGHU RQ WKH GHVNWRS <RX PD\ KDYH WR HGLW WKH SDWK WR WKH &RQWURO1HW IROGHU RQ WKH GHVNWRS  'RZQORDG WKH ILOH E\ VHOHFWLQJ GRZQORDG IURP WKH PRGH ER[ LQ WKH XSSHU OHIW FRUQHU RI WKH VFUHHQ FXUUHQWO\ WKH PRGH VD\V RIIOLQH 

<RX VHH D ZDUQLQJ PHVVDJH DERXW SURFHVVRU PLVPDWFK  &OLFN RQ Yes WR SURFHHG ZLWK WKH GRZQORDG ,PSRUWDQW &OLFN RQ Yes WR NHHS WKH H[LVWLQJ &RQWURO1HW FRQILJXUDWLRQ LQIRUPDWLRQ  ,I WKH GLDORJ ER[ WR FRQILUP FKDQJH SURFHVVRU W\SH DSSHDUV FOLFN RQ OK

Publication 1786-6.1 - July 1998

22

ControlNet Training Lab Exercises

 &OLFN RQ Yes WR FRQWLQXH WKH GRZQORDG ZLWK WKH FKRVHQ &RQWURO1HW ILOHV  &OLFN RQ Cancel LQ WKH 6DYH 3URJUDP $V GLDORJ ER[  :KHQ \RX VHH WKH GRZQORDG FRPSOHWH PHVVDJH FOLFN RQ Yes WR JR RQ OLQH 7KHUH DUH QRZ UXQJV LQ WKH SURFHVVRU ZKLFK ZLOO DOORZ \RX WR FRQILUP \RX KDYH HQWHUHG WKH &RQWURO1HW LQIRUPDWLRQ FRUUHFWO\ 1RZ \RX FDQ DOVR GRZQORDG UXQJV WR QRGH  3/& Download Ladder Logic Code to Node 2 PLC-5  &OLFN RQ )LOH IURP WKH PDLQ PHQX DQG WKHQ FOLFN RQ 2SHQ  2SHQ QRGHUVS PDNH VXUH \RX DUH ORRNLQJ LQ WKH &RQWURO1HW IROGHU RQ WKH GHVNWRS   &OLFN RQ Yes WR FORVH QRGHDUVS DQG No LI SURPSWHG WR VDYH DQ\ FKDQJHV  'RZQORDG WKH ILOH E\ VHOHFWLQJ GRZQORDG IURP WKH PRGH ER[ LQ WKH XSSHU OHIW FRUQHU RI WKH VFUHHQ FXUUHQWO\ WKH PRGH VD\V RIIOLQH  <RX VHH D ZDUQLQJ PHVVDJH DERXW SURFHVVRU PLVPDWFK  &OLFN RQ Yes WR SURFHHG ZLWK WKH GRZQORDG ,PSRUWDQW &OLFN RQ Yes WR NHHS WKH H[LVWLQJ &RQWURO1HW FRQILJXUDWLRQ LQIRUPDWLRQ  ,I WKH GLDORJ ER[ WR FRQILUP FKDQJH SURFHVVRU W\SH DSSHDUV FKRRVH OK  &OLFN RQ Yes WR FRQWLQXH WKH GRZQORDG XVLQJ WKH FXUUHQW &RQWURO1HW ILOHV  &OLFN RQ Cancel WR WKH 6DYH 3URJUDP $V GLDORJ ER[  :KHQ WKH GRZQORDG LV FRPSOHWH FOLFN RQ Yes WR JR RQ OLQH 7KHUH DUH QRZ UXQJV LQ WKH SURFHVVRU ZKLFK ZLOO DOORZ \RX WR FRQILUP \RX KDYH HQWHUHG WKH &RQWURO1HW LQIRUPDWLRQ FRUUHFWO\ Test the Configuration after Download <RX DUH QRZ UHDG\ WR WHVW \RXU FRQILJXUDWLRQ ,I \RX KDYH VHW XS WKH V\VWHP FRUUHFWO\ WKH 6,0 FDUG PRGXOH WKH PRGXOH ZLWK WKH VZLWFKHV DQG /('V RQ WKH IURQW /('V VKRXOG VWDUW IODVKLQJ ZKHQ 3/& QRGH  LV SXW LQ UXQ PRGH

LEDs

40940

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

23

 8VH WKH NH\VZLWFK WR SXW 3/& QRGH  LQ UXQ PRGH 2EVHUYH WKH 6,0 FDUG /('V LQ WKH $&1 5  FKDVVLV ,I WKH /('V DUH QRW IODVKLQJ DVN DQ LQVWUXFWRU IRU DVVLVWDQFH ,I QRGH  LV FRQILJXUHG SURSHUO\ WKH SLORW OLJKWV DERYH WKH  )/(; ,2 FKDVVLV 3/B WR 3/B VKRXOG VWDUW IODVKLQJ ZKHQ 3/& QRGH  LV SXW LQ UXQ PRGH  3XW 3/& QRGH  WKH 3/& RQ WKH ULJKW LQ UXQ PRGH 2EVHUYH WKH SLORW OLJKWV ,I WKH SLORW OLJKWV DUH QRW IODVKLQJ DVN DQ LQVWUXFWRU IRU DVVLVWDQFH ,I \RXU V\VWHP LV EHKDYLQJ FRUUHFWO\ DV GHVFULEHG \RX KDYH VXFFHVVIXOO\ FRPSOHWHG WKH QHWZRUN FRQILJXUDWLRQ ODE

LAB 4: Multicast Discrete Inputs

&RQWURO1HW LV EDVHG RQ SURGXFHUFRQVXPHU WHFKQRORJ\ 8VLQJ SURGXFHUFRQVXPHU WHFKQRORJ\ D QRGH FDQ SURGXFH GDWD RQ WKH QHWZRUN DQG DQ\ QRGH FDQ FRQVXPH WKDW GDWD 7KLV GLIIHUV IURP WUDGLWLRQDO PDVWHUVODYH QHWZRUNV ZKLFK XVH UHDGZULWH VFKHPHV ZLWK VSHFLILF VRXUFH DQG GHVWLQDWLRQ DGGUHVVHV :LWK WKH SURGXFHUFRQVXPHU WHFKQRORJ\ D QRGH SURGXFHV GDWD DQG DWWDFKHV DQ ,' ZKLFK LGHQWLILHV WKH GDWD $OO QRGHV RQ WKH QHWZRUN VHH WKH GDWD DQG FDQ GHFLGH ZKHWKHU RU QRW WKH\ ZDQW WR FRQVXPH LW EDVHG RQ WKH ,' RI WKH GDWD 7KLV DOORZV WKH QHWZRUN WR UXQ PXFK PRUH HIILFLHQWO\ )RU H[DPSOH VXSSRVH D 3/& GHWHFWV D MDP LQ D FRQYH\RU 5DWKHU WKDQ WKDW 3/& KDYLQJ WR VHQG VHSDUDWH PHVVDJHV WR DOO 3/&V ZKLFK KDYH FRQYH\RUV IHHGLQJ LW HDFK RI WKH RWKHU 3/&V FRXOG VHH WKH FRQYH\RU MDP ELW GLUHFWO\ 7KH DELOLW\ IRU D VLQJOH LQSXW WR EH VHHQ GLUHFWO\ E\ PXOWLSOH 3/&V LV UHIHUUHG WR DV PXOWLFDVW LQSXWV $V \RX UHFDOO IURP WKH SUHYLRXV ODE QRGH  LV FXUUHQWO\ VHW XS WR FRPPXQLFDWH ZLWK 3/& QRGH  ,Q WKLV ODE ZH ZLOO JR LQWR WKH PDS WDEOH IRU QRGH  DQG WHOO LW WR OLVWHQ WR WKH LQSXWV FRPLQJ IURP QRGH  7KHUHIRUH WKH LQSXWV IURP QRGH  ZLOO EH UHDG IURP WKH QHWZRUN GLUHFWO\ E\ QRGH  DQG QRGH  FUHDWLQJ D PXOWLFDVW LQSXW FRQILJXUDWLRQ  3XW ERWK 3/&V LQ SURJUDP PRGH  <RX VKRXOG VWLOO KDYH WKH 1RGH   3/& &RQWURO1HW &RQILJXUDWLRQ VFUHHQ RSHQ RQ \RXU FRPSXWHU ,I \RX GR QRW RSHQ WKH 1RGH   3/& &RQWURO1HW &RQILJXUDWLRQ VFUHHQ 7KH QRGH  3/& VKRXOG EH KLJKOLJKWHG LQ JUHHQ   0RYH WKH FXUVRU RYHU WKH $&1 5  QRGH  HQWU\ LQ WKH PDS WDEOH DQG SUHVV WKH ULJKW PRXVH EXWWRQ  &OLFN RQ ,QVHUW 'HYLFH &RQQHFWLRQ IURP WKH SRSXS PHQX  &OLFN RQ Yes WR WKH SURPSW WR VZLWFK WKH VRIWZDUH WR HGLW PRGH
Publication 1786-6.1 - July 1998

24

ControlNet Training Lab Exercises

 $IWHU WKH HGLWV KDYH EHHQ VZLWFKHG FOLFN RQ WKH $XWR 0DS $OO (QWULHV LFRQ VKRZQ EHORZ RQ WKH WRROEDU

 &OLFN RQ WKH 1HWZRUN RSWLRQ RI WKH PDLQ PHQX  &OLFN RQ 6DYH IURP WKH SXOOGRZQ PHQX DQG WKHQ FOLFN RQ OK IRU DQ RSWLPL]H VFKHGXOH IRU DOO FRQQHFWLRQV VDYH 7KDWV LW <RX KDYH MXVW VHW XS D VHFRQG 3/& WR FRQVXPH WKH GDWD EHLQJ SURGXFHG E\ WKH $&1 5  DW QRGH  6LQFH QRGH  LV D  ,2 FKDVVLV WKH GDWD EHLQJ SURGXFHG LQ WKLV FDVH LV LQSXW GDWD ([DPLQH WKH &RQQHFWLRQ 7\SH ILHOG RI WKH PDS WDEOH 1RWH WKDW IRU QRGH  WKH FRQQHFWLRQ W\SH UHDGV ([FOXVLYH 2ZQHU DQG IRU QRGH  WKH FRQQHFWLRQ W\SH UHDGV 0XOWLFDVW 7KLV PHDQV WKDW IRU QRGH  WKLV 3/& LV WKH H[FOXVLYH RZQHU RI WKH RXWSXWV 7KLV LV WKH 3/& ZKLFK FRQWUROV WKH RXWSXWV LQ WKH FKDVVLV 2QO\ RQH 3/& LV DOORZHG WR FRQWURO RXWSXWV LQ D  ,2 FKDVVLV )RU QRGH  \RX SUHYLRXVO\ VHW XS QRGH  DV WKH H[FOXVLYH RZQHU RI WKH RXWSXWV :KHQ \RX FRQILJXUHG QRGH  WR FRPPXQLFDWH ZLWK QRGH  LW FRXOG RQO\ OLVWHQ WR WKH LQSXWV ,QSXWV FDQ EH UHDG E\ PRUH WKDQ RQH 3/& 7KLV LV NQRZQ DV PXOWLFDVW LQSXWV 7KHUHIRUH VLQFH WKH VHFRQG 3/& GRHV QRW FRQWURO WKH RXWSXWV EXW RQO\ OLVWHQV WR WKH LQSXWV DOUHDG\ EHLQJ SURGXFHG IRU WKH ILUVW 3/& WKH FRQQHFWLRQ W\SH IRU WKH VHFRQG 3/& LV PXOWLFDVW

Test the Configuration


1RZ OHWV YHULI\ WKDW \RXU V\VWHP LV FRQILJXUHG FRUUHFWO\ ,PSRUWDQW 0DNH VXUH WKHUH LV QR EOXH WH[W 7KLV LQGLFDWHV WKDW WKH HGLWV KDYH EHHQ DFFHSWHG ,I WKHUH LV EOXH WH[W FOLFN RQ Save WR VDYH \RXU HGLWV DJDLQ RU DVN DQ DVVLVWDQW IRU KHOS
First SIM card

 3ODFH ERWK SURFHVVRUV LQ UXQ PRGH  )OLS XS WKH ILUVW 6,0 FDUG VZLWFK LQ WKH $&1 5  FKDVVLV 7KH ILUVW 6,0 /(' LQ ERWK 3/& FKDVVLV VKRXOG OLJKW ,I \RXU V\VWHP LV QRW EHKDYLQJ LQ WKLV PDQQHU DVN DQ LQVWUXFWRU IRU DVVLVWDQFH
40940

,I \RXU V\VWHP LV EHKDYLQJ FRUUHFWO\ DV GHVFULEHG \RX KDYH FRPSOHWHG WKH PXOWLFDVW GLVFUHWH ODE

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

25

LAB 5: Analog I/O

&RQWURO1HW DOORZV PDSSLQJ RI DQDORJ ,2 LQ WKH VDPH PDQQHU DV GLVFUHWH ,2 ,Q WKLV ODE \RX ZLOO FRQILJXUH WKH QRGH  3/& WR FRQVXPH UHDG WKH DQDORJ LQSXW GDWD EHLQJ SURGXFHG E\ WKH DQDORJ ,2 PRGXOH ,(;2( DW QRGH  <RX ZLOO DOVR FRQILJXUH WKH 3/& WR SURGXFH ZULWH DQDORJ RXWSXW GDWD ZKLFK WKH ,(;2( ZLOO FRQVXPH /HWV VWDUW E\ DGGLQJ WKH ,(;2( PRGXOH EDFN LQ WKH PDS WDEOH IRU QRGH   8VH WKH NH\VZLWFK WR SXW ERWK 3/&V LQ SURJUDP PRGH  <RX VKRXOG VWLOO KDYH WKH 1RGH   3/& &RQWURO1HW &RQILJXUDWLRQ VFUHHQ RSHQ RQ \RXU FRPSXWHU ,I \RX GR QRW RSHQ WKH &RQWURO1HW &RQILJXUDWLRQ WRRO IRU QRGH   &OLFN RQ WKH $&1 5  HQWU\ QRGH  LQ WKH PDS WDEOH  &OLFN RQ WKH $XWR 0RGXOH 6HOHFWHG $GDSWHUV LFRQ VKRZQ EHORZ IURP WKH WRROEDU

 &OLFN RQ Yes WR WKH SURPSW WR VZLWFK WKH VRIWZDUH WR HGLW PRGH $ PDS HQWU\ IRU WKH ,(;2( DSSHDUV EHORZ WKH $&1 5  1RWH WKDW WKHUH LV QR QRGH QXPEHU WR WKH OHIW RI WKH ,(;2( MXVW D VORW QXPEHU 7KLV VORW QXPEHU LGHQWLILHV WKH PRGXOH DV SDUW RI WKH  FKDVVLV DQG QRW DV D QRGH RQ WKH QHWZRUN $OVR QRWH WKDW GHIDXOW VL]HV IRU WKH PRGXOH ZHUH HQWHUHG 7KLV PRGXOH KDV VL]H  DV DQ LQSXW VL]H EHFDXVH LW SURYLGHV  DQDORJ LQSXWV DQG  ZRUG RI VWDWXV 7KLV PRGXOH DOVR KDV  DQDORJ RXWSXWV VR D VL]H RI  GHIDXOWV LQ WKH 2XWSXW 6L]H ILHOG RI WKH PDS WDEOH $OO ZH KDYH WR GR LV WHOO WKH SURFHVVRU ZKDW GDWD WDEOH ORFDWLRQV WR XVH  &OLFN RQ WKH $XWR 0DS $OO (QWULHV LFRQ VKRZQ EHORZ 

Publication 1786-6.1 - July 1998

26

ControlNet Training Lab Exercises

1RWLFH WKDW WKH ',) '2) DQG FRQILJXUDWLRQ ILOHV ZHUH DXWRPDWLFDOO\ VHOHFWHG DQG WKH PDS HQWU\ IRU WKH ,(;2( ZDV ILOOHG LQ XVLQJ WKH QHZO\ VHOHFWHG ILOHV ',) 'DWD ,QSXW )LOH '2) 'DWD 2XWSXW )LOH $ GHVFULSWLRQ RI WKH SXUSRVH RI WKHVH ILOHV LV GLVFXVVHG LQ SDJH   &OLFN RQ WKH 1HWZRUN RSWLRQ RI WKH PDLQ PHQX  &OLFN RQ 6DYH IURP WKH SXOOGRZQ PHQX DQG WKHQ OK IRU DQ RSWLPL]H VFKHGXOH IRU DOO FRQQHFWLRQV VDYH 7KDWV DOO \RX KDYH WR GR WR FRQILJXUH WKH DQDORJ ,2 PRGXOH IRU FRPPXQLFDWLRQV <RX GRQW QHHG DQ\ ODGGHU ORJLF SURJUDPPLQJ /HWV WHVW WKH DQDORJ FRPPXQLFDWLRQV

Test the Analog Communications


,PSRUWDQW 0DNH VXUH WKHUH LV QR EOXH WH[W 7KLV LQGLFDWHV WKDW WKH HGLWV KDYH EHHQ DFFHSWHG ,I WKHUH LV EOXH WH[W FOLFN RQ Potentiometer Meter Save WR VDYH \RXU HGLWV DJDLQ RU DVN DQ DVVLVWDQW IRU KHOS
SS-0 SS-1 SS-2 SS-3 PB-0 PL-0 PB-1 PL-1 PB-2 PL-2 PB-3 PL-3 Pot IE4XO32 CH0-IN Mexer IE4XOE2 CH0-OUT

 3ODFH QRGH  3/& LQ UXQ PRGH  7XUQ WKH SRWHQWLRPHWHU DERYH WKH ,(;2( PRGXOH $V \RX WXUQ WKH SRWHQWLRPHWHU WKH PHWHU DERYH WKH SRWHQWLRPHWHU VKRXOG DOVR FKDQJH ,I \RXU V\VWHP LV QRW EHKDYLQJ LQ WKLV PDQQHU DVN DQ LQVWUXFWRU IRU DVVLVWDQFH
41265

Min

Max

,I \RXU V\VWHP LV EHKDYLQJ FRUUHFWO\ DV GHVFULEHG \RX KDYH FRPSOHWHG WKH DQDORJ ODE &RQWURO1HW VXSSRUWV PXOWLSOH 3/&V UHDGLQJ DQDORJ GDWD IURP WKH VDPH PRGXOH ,Q WKLV ODE \RX ZLOO FRQILJXUH WKH 3/& DW QRGH  WR OLVWHQ WR WKH DQDORJ LQSXWV IURP WKH ,(;2($ PRGXOH &XUUHQWO\ WKH 3/& DW QRGH  LV UHDGLQJ DQG ZULWLQJ WR WKLV PRGXOH  3ODFH QRGH  3/& EDFN LQ SURJUDP PRGH  2SHQ WKH 1RGH   3/& &RQWURO1HW &RQILJXUDWLRQ VFUHHQ FOLFN RQ WKH QRGH  EXWWRQ RQ WKH VWDWXV EDU   0RYH WKH FXUVRU RYHU WKH $&1 5  HQWU\ LQ WKH PDS WDEOH DQG FOLFN WKH ULJKW PRXVH EXWWRQ  &OLFN ,QVHUW 0RGXOH IURP WKH SXOOGRZQ PHQX  &OLFN Yes WR VZLWFK WKH VRIWZDUH WR HGLW PRGH 7KH ,2 0RGXOH ZLQGRZ ER[ DSSHDUV

LAB 6: Multicast Analog

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

27

1RWLFH WKDW WKH ,(;2( PRGXOH DXWRPDWLFDOO\ DSSHDUV LQ WKH PRGXOH W\SH ER[ 7KLV LV EHFDXVH WKH VRIWZDUH DOUHDG\ NQRZV WKDW VORW  KDV D ,(;2( PRGXOH EDVHG RQ WKH PDS HQWU\ ZH HQWHUHG IRU QRGH  $OVR QRWH WKDW WKH RXWSXW VL]H ILHOG KDV EHHQ UHPRYHG DQG WKH FRQQHFWLRQ W\SH LV PXOWLFDVW 2QFH DJDLQ WKH VRIWZDUH NQRZV IURP WKH SUHYLRXV PDS HQWU\ WKDW QRGH  LV WKH H[FOXVLYH RZQHU RI WKLV PRGXOH  6LQFH DOO WKH GHIDXOWV DUH FRUUHFW FOLFN RQ OK  &OLFN RQ WKH $XWR 0DS $OO (QWULHV LFRQ IURP WKH WRROEDU

 /RRN DW VORW  RI QRGH  ,W VKRXOG DOUHDG\ EH VHOHFWHG <RXU SURJUDPPHU KDV DOUHDG\ HQWHUHG D UXQJ IRU WKLV PRGXOH ZKLFK XVHV 1 DV WKH LQSXW DGGUHVV 6HOHFW WKH LQSXW DGGUHVV ILHOG DQG FKDQJH LW WR 1  &OLFN RQ WKH 6DYH LFRQ RQ WKH WRROEDU DQG WKHQ FKRRVH OK IRU DQ RSWLPL]H VFKHGXOH IRU DOO FRQQHFWLRQV VDYH 7KDWV LW <RX QRZ KDYH D VHFRQG 3/& OLVWHQLQJ WR WKH DQDORJ GDWD IURP WKH ,(;2( PRGXOH /HWV WHVW \RXU V\VWHP

Test System Configuration


LEDs

 3XW QRGH  3/& LQ UXQ PRGH  7XUQ WKH SRWHQWLRPHWHU DQG REVHUYH WKH /('V RQ WKH 6,0 FDUG LQ WKH 3/& QRGH  FKDVVLV 7KH ODVW UXQJ RI WKH SURJUDP PRYHV 1 WR WKH 6,0 /('V ,I \RXU V\VWHP LV VHW XS FRUUHFWO\ WKH 6,0 /('V ZLOO WRJJOH DV \RX PRYH WKH SRWHQWLRPHWHU
40940

,I \RXU V\VWHP LV QRW UXQQLQJ DV GHVFULEHG DVN DQ LQVWUXFWRU IRU KHOS &RQWURO1HW DOORZV PDSSLQJ RI SHHU GHYLFHV VXFK DV RWKHU 3/&V LQ WKH VDPH PDQQHU DV GLVFUHWH ,2 IRU KLJKVSHHG 3/&WR3/& FRPPXQLFDWLRQ ,Q WKLV ODE ZH ZLOO FRQILJXUH WKH WZR 3/&V WR H[FKDQJH VFKHGXOHG PHVVDJHV ZLWK HDFK RWKHU DXWRPDWLFDOO\  3XW QRGH  3/& EDFN LQ SURJUDP PRGH  2SHQ WKH 1RGH   3/& &RQWURO1HW &RQILJXUDWLRQ VFUHHQ  0RYH WKH FXUVRU RYHU WKH 3/& HQWU\ IRU QRGH  LQ WKH PDS WDEOH  &OLFN WKH ULJKW PRXVH EXWWRQ $ SRSXS PHQX DSSHDUV

LAB 7: Scheduled Peer Communications

Publication 1786-6.1 - July 1998

28

ControlNet Training Lab Exercises

 &OLFN RQ ,QVHUW 5HFHLYH 6FKHGXOHG 0HVVDJH IURP WKH SRSXS PHQX  &OLFN RQ Yes WR WKH SURPSW WR VZLWFK WKH VRIWZDUH WR HGLW PRGH 7KH 5HFHLYH 6FKHGXOHG 0HVVDJH ZLQGRZ DSSHDUV

7KH 1RGH 1XPEHU ILHOG DOUHDG\ FRQWDLQV QRGH  \RX GRQW KDYH WR FKDQJH LW 7KH QRGH QXPEHU GHIDXOWHG WR  VLQFH \RX SUHVVHG WKH ULJKW PRXVH EXWWRQ ZKLOH WKH FXUVRU UHVWHG RQ QRGH  7KH 0HVVDJH 1XPEHU ILHOG DOORZV \RX WR XQLTXHO\ LGHQWLI\ D PHVVDJH $ V\VWHP PD\ KDYH PDQ\ VFKHGXOHG PHVVDJHV FRQILJXUHG 7KH ZD\ WR LGHQWLI\ HDFK PHVVDJH LV E\ LWV QRGH DQG PHVVDJH QXPEHU /HWV LGHQWLI\ WKLV PHVVDJH DV PHVVDJH  \RX FRXOG DUELWUDULO\ FKRRVH DQ\ QXPEHU IURP  WR    &KDQJH WKH 0HVVDJH 1XPEHU ILHOG WR   &KDQJH WKH 0HVVDJH 6L]H ILHOG WR  ZRUGV 

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

29

 &OLFN OK WR DFFHSW WKH PHVVDJH SDUDPHWHUV $ 5HFHLYH 'DWD )URP HQWU\ DSSHDUV LQ WKH PDS WDEOH

1RWH WKDW WKH PHVVDJH DSSHDUV XQGHU QRGH  DQG KDV D PHVVDJH QXPEHU RI  %\ HQWHULQJ WKH 5HFHLYH 'DWD )URP  LQ QRGH  IURP QRGH   WKH VRIWZDUH NQRZV WKDW QRGH  PXVW SURGXFH WKH GDWD DQG WKHUHIRUH DXWRPDWLFDOO\ HQWHUV D 6HQG 'DWD PHVVDJH VHH EHORZ VFUHHQ LQ QRGH  /HWV H[DPLQH QRGH   &OLFN RQ QRGH  3/& IURP WKH WDVNEDU RQ WKH ERWWRP RI WKH VFUHHQ

Publication 1786-6.1 - July 1998

30

ControlNet Training Lab Exercises

1RWLFH WKDW WKHUH LV D 6HQG 'DWD PHVVDJH XQGHU QRGH  XVLQJ PHVVDJH QXPEHU  WKLV VHQG GDWD PDWFKHV WKH UHFHLYH GDWD MXVW HQWHUHG LQ 3/& QRGH   /HWV DOVR DGG D PHVVDJH UHFHLYH LQ QRGH   5LJKW FOLFN RQ QRGH  3/& $ SRSXS PHQX DSSHDUV  &OLFN RQ ,QVHUW 5HFHLYH 6FKHGXOHG 0HVVDJH IURP WKH SRSXS PHQX <RX VHH WKH 5HFHLYH 6FKHGXOHG 0HVVDJH ZLQGRZ  7KH 1RGH 1XPEHU ILHOG DOUHDG\ FRQWDLQV QRGH  \RX GRQW KDYH WR FKDQJH LW  &KDQJH WKH 0HVVDJH 1XPEHU ILHOG WR   &KDQJH WKH 0HVVDJH 6L]H ILHOG WR  ZRUGV   &OLFN RQ WKH OK EXWWRQ WR DFFHSW WKH PHVVDJH SDUDPHWHUV $ 5HFHLYH 'DWD )URP HQWU\ DSSHDUV LQ WKH PDS WDEOH 1RWH WKDW WKH PHVVDJH DSSHDUV XQGHU QRGH  DQG KDV D PHVVDJH QXPEHU RI  %\ HQWHULQJ WKH 5HFHLYH 'DWD )URP  LQ QRGH  IURP QRGH   WKH VRIWZDUH NQRZV WKDW QRGH  PXVW SURGXFH WKH GDWD DQG WKHUHIRUH DXWRPDWLFDOO\ HQWHUV D 6HQG 'DWD PHVVDJH LQ QRGH  <RX FDQ FOLFN RQ WKH QRGH  VWDWXV EDU WR FKHFN IRU WKLV HQWU\ 7KH RQO\ WKLQJ \RX KDYH WR GR LV GHILQH WKH GDWD WDEOH DUHDV ZH ZLVK WR XVH

Define Data Table Areas


 0DNH VXUH \RX DUH RQ WKH 1RGH   3/& &RQWURO1HW &RQILJXUDWLRQ VFUHHQ &OLFN RQ WKH $XWR 0DS $OO (QWULHV LFRQ RQ WKH WRROEDU 1RGH  LV QRZ PDSSHG 6LQFH \RX GLG QRW PDS QRGH  SUHYLRXVO\ OHWV JR EDFN WR QRGH  DQG PDS LW  &OLFN RQ WKH QRGH  3/& IURP WKH WDVNEDU 7KH 1RGH   3/& &RQWURO1HW &RQILJXUDWLRQ WRRO DSSHDUV 1RZ OHWV PDS WKH PHVVDJH LQ QRGH   &OLFN RQ WKH $XWR 0DS $OO (QWULHV LFRQ RQ WKH WRROEDU 1RZ WKDW ERWK SURFHVVRUV DUH PDSSHG OHWV DFFHSW WKH HGLWV  &OLFN RQ WKH 6DYH LFRQ RQ WKH WRROEDU  &OLFN RQ OK IRU DQ RSWLPL]H VFKHGXOH IRU DOO FRQQHFWLRQV VDYH 1RWH WKDW HGLWV LQ ERWK SURFHVVRUV ZLOO EH DFFHSWHG /HWV WHVW WKH PHVVDJHV ,PSRUWDQW 0DNH VXUH WKHUH LV QR EOXH WH[W 7KLV LQGLFDWHV WKDW WKH HGLWV KDYH EHHQ DFFHSWHG ,I WKHUH LV EOXH WH[W FOLFN RQ Save WR VDYH \RXU HGLWV DJDLQ RU DVN DQ DVVLVWDQW IRU KHOS

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

31

 3XW ERWK SURFHVVRUV LQ 581 PRGH


LEDs

 7RJJOH WKH ORZHU VZLWFK RQ WKH 6,0 FDUG LQ ERWK SURFHVVRU FKDVVLV DQG ZDWFK WKH /(' RQ WKH RSSRVLWH 6,0 FDUG WRJJOH ,PSRUWDQW ,I QRGH  6,0V VWLOO UHIOHFW WKH SRWHQWLRPHWHU WKHQ WXUQ WKH SRWHQWLRPHWHU DOO WKH ZD\ GRZQ :KHQ WKH SRWHQWLRPHWHU LV DW WKH PLQ VHWWLQJ LW LV GLVDEOHG LQ ODGGHU ORJLF
40940

Lower switch

,I \RXU V\VWHP LV QRW EHKDYLQJ DV GHVFULEHG DVN DQ LQVWUXFWRU IRU DVVLVWDQFH ,I \RX V\VWHP LV EHKDYLQJ DV GHVFULEHG \RX KDYH FRPSOHWHG WKH SHHU PHVVDJLQJ ODE

BONUS LAB: Communicate on ControlNet Using Ladder Instructions

&RQWURO1HW DOORZV \RX WR SURJUDP HYHQW EDVHG FRPPXQLFDWLRQV LQ DGGLWLRQ WR VFKHGXOHG FRPPXQLFDWLRQV (YHQW EDVHG FRPPXQLFDWLRQV DUH SURJUDPPHG XVLQJ ODGGHU ORJLF ,PSRUWDQW 6LQFH ODGGHU ORJLF LQVWUXFWLRQV DUH HYHQW EDVHG DQG QRW D SDUW RI WKH VFKHGXOH HQWHUHG LQ WKH 3/& &RQWURO1HW FRQILJXUDWLRQ WDEOH WKH\ ZLOO XVH XQVFKHGXOHG EDQGZLGWK ZKHQ WUDQVPLWWHG RQ &RQWURO1HW 7KH 3/& VXSSRUWV  ODGGHU LQVWUXFWLRQV IRU &RQWURO1HW FRPPXQLFDWLRQ 7KH PHVVDJH LQVWUXFWLRQ 06* DQG WKH &RQWURO1HW ,2 &,2  7KH 06* LQVWUXFWLRQ LV XVHG WR WUDQVIHU GDWD EHWZHHQ 3/&V 7KH 06* LQVWUXFWLRQ LV WKH VDPH LQVWUXFWLRQ ZKLFK KDV EHHQ XVHG IRU \HDUV WR WUDQVPLW GDWD RQ '+ $OO \RX KDYH WR GR LV VSHFLI\ WKH &RQWURO1HW FKDQQHO FKDQQHO  ZKHQ HQWHULQJ WKH PHVVDJH SDUDPHWHUV LQVWHDG RI WKH '+ FKDQQHO 7KH &,2 LQVWUXFWLRQ LV XVHG WR WUDQVIHU GDWD WR RU IURP DQ LQWHOOLJHQW ,2 PRGXOH 7\SLFDO H[DPSOHV RI LQWHOOLJHQW ,2 PRGXOHV DUH DQDORJ PRGXOHV WKH 6'1 'HYLFH1HW VFDQQHU PRGXOH DQG WKH '% EDVLF SURJUDPPLQJ PRGXOH 7KH &,2 IXQFWLRQV LGHQWLFDO WR D EORFN WUDQVIHU LQVWUXFWLRQ RQ UHPRWH ,2 ,Q WKLV ODE ZH ZLOO DGG HDFK W\SH RI LQVWUXFWLRQ WR WKH ODGGHU SURJUDP LQ 3/& QRGH   2SHQ 56/RJL[  VRIWZDUH  &OLFN RQ &RPPV IURP WKH PDLQ PHQX  &OLFN RQ 6\VWHP &RPPV IURP WKH SXOOGRZQ PHQX  6HW WKH SURFHVVRU QRGH WR   0DNH VXUH WKH $%B.7& :LQGRZV 17 RU $%B.7& :LQGRZV  GULYHU LV VHOHFWHG

Publication 1786-6.1 - July 1998

32

ControlNet Training Lab Exercises

 &OLFN RQ WKH Online EXWWRQ  ,I WKH *RLQJ WR 2QOLQH 3URJUDPPLQJ 6WDWH GLDORJ ER[ DSSHDUV FOLFN RQ WKH Create New File EXWWRQ  &OLFN RQ Cancel WR WKH VDYH SURPSW 56/RJL[  RSHQV DQG \RX VHH WKH IROORZLQJ VFUHHQ

7KH ILUVW LQVWUXFWLRQ \RX ZLOO DGG LV D 06* LQVWUXFWLRQ WR UHDG WKH V\VWHP FORFN LQ QRGH 

Enter the MSG Instruction


 3XW WKH 3/&V LQ SURJUDP PRGH  *R WR WKH ODVW UXQJ LQ WKH ILOH UXQJ  DQG GRXEOHFOLFN RQ WKH  WR WKH OHIW RI WKH UXQJ 7KLV ZLOO LQVHUW D QHZ UXQJ  :LWK WKH SURPSW DW WKH VWDUW RI WKH  UXQJ WH[W HGLW ER[ W\SH WKH IROORZLQJ
XIC I:012/0 MSG MG25:0

 3UHVV WKH Enter NH\

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

33

$Q HGLW UXQJ DSSHDUV DV VKRZQ EHORZ

 'RXEOHFOLFN RQ WKH 6HWXS 6FUHHQ LQVLGH WKH 06* LQVWUXFWLRQ EORFN <RX VHH WKLV ZLQGRZ

 )LOO LQ WKH 06* ZLQGRZ VR WKDW LW PDWFKHV WKH YDOXHV VKRZQ LQ WKH ZLQGRZ DERYH 7KLV PHVVDJH ZLOO UHDG WKH VHFRQGV SDUW 6 RI QRGH V LQWHUQDO FORFN DQG VWRUH LW LQ 1 3RUW QXPEHU  VSHFLILHV WKH &RQWURO1HW FKDQQHO 7KH &RQWURO1HW SDWK LV ZKHUH \RX HQWHU WKH SDWK WR WKH GHYLFH ZLWK ZKLFK \RX ZDQW WR FRPPXQLFDWH 6LQFH \RX DUH FRPPXQLFDWLQJ WR D ORFDO &RQWURO1HW QRGH \RX RQO\ KDYH WR HQWHU WKH QRGH DGGUHVV  :KHQ \RX KDYH ILQLVKHG HQWHULQJ WKH SDUDPHWHUV IRU WKH PHVVDJH FOLFN RQ WKH FORVH VFUHHQ LFRQ [ LQ WKH XSSHU ULJKW SDUW RI WKH PHVVDJH VFUHHQ  &OLFN RQ UXQJ QXPEHU  WR KLJKOLJKW LW

Publication 1786-6.1 - July 1998

34

ControlNet Training Lab Exercises

 3UHVV WKH ULJKW PRXVH EXWWRQ DQG FOLFN RQ $FFHSW 5XQJ (GLWV IURP WKH SRSXS PHQX

Test the MSG Rung


SS_O switch
Mexer IE4XOE2 CH0-OUT

 3XW QRGH  3/& LQ UXQ PRGH  7XUQ WKH ILUVW VZLWFK 66B DERYH WKH )/(; DGDSWHU LQ WKH ,2 ER[  2EVHUYH WKH PHVVDJH LQVWUXFWLRQ <RX VKRXOG VHH WKH '1  ELW KLJKOLJKW  'RXEOHFOLFN RQ ILOH 1 LQ WKH OHIW SDQHO WR RSHQ LW  7RJJOH VZLWFK 66B DQG REVHUYH WKDW WKH GDWD LQ 1 XSGDWHV
41266

SS-0 SS-1 SS-2 SS-3

PB-0 PL-0 PB-1 PL-1 PB-2 PL-2 PB-3 PL-3

Pot IE4XO32 CH0-IN

Min

Max

,I \RXU V\VWHP LV QRW EHKDYLQJ DV GHVFULEHG DVN DQ LQVWUXFWRU IRU DVVLVWDQFH 1RZ WKDW ZH KDYH D PHVVDJH LQVWUXFWLRQ ZRUNLQJ OHWV DGG D &,2 LQVWUXFWLRQ WR UHDG WKH GDWD LQ WKH '% PRGXOH

Enter the CIO Instruction


 3XW QRGH  3/& EDFN LQ SURJUDP PRGH  'RXEOHFOLFN RQ WKH  WKH UXQJ QXPEHU WR WKH OHIW RI WKH (1' UXQJ WKH ODVW UXQJ  7KLV ZLOO LQVHUW D QHZ UXQJ  :LWK WKH SURPSW DW WKH VWDUW RI WKH  UXQJ WH[W HGLW ER[ W\SH WKH IROORZLQJ
XIC I:012/I CIO CT27:0

 3UHVV Enter $Q HGLW UXQ DSSHDUV DV VKRZQ EHORZ

Publication 1786-6.1 - July 1998

ControlNet Training Lab Exercises

35

 'RXEOHFOLFN RQ WKH 6HWXS 6FUHHQ LQVLGH WKH &,2 LQVWUXFWLRQ <RX VHH WKLV VFUHHQ

 )LOO LQ WKH &,2 ZLQGRZ VR WKDW LW PDWFKHV WKH YDOXHV VKRZQ LQ WKH ZLQGRZ DERYH 7KLV PHVVDJH ZLOO UHDG WKH WLPLQJ YDOXHV EHLQJ JHQHUDWHG E\ WKH '% PRGXOHV SURJUDP DQG VWRUH WKHP LQ 1 3RUW QXPEHU  VSHFLILHV WKH &RQWURO1HW FKDQQHO 7KH ORFDO &RQWURO1HW QRGH LV ZKHUH \RX HQWHU WKH QRGH DGGUHVV 7KH VORW QXPEHU LGHQWLILHV WKH SK\VLFDO VORW LQ WKH FKDVVLV ZKHUH WKH GHVLUHG PRGXOH UHVLGHV  :KHQ \RX KDYH ILQLVKHG HQWHULQJ WKH SDUDPHWHUV IRU WKH &,2 FOLFN RQ WKH FORVH VFUHHQ LFRQ [ LQ WKH XSSHU ULJKW SDUW RI WKH PHVVDJH VFUHHQ  &OLFN RQ UXQJ QXPEHU  WR KLJKOLJKW LW  3UHVV WKH ULJKW PRXVH EXWWRQ DQG FKRRVH $FFHSW 5XQJ (GLWV IURP WKH SRSXS PHQX

Test the CIO Rung


 3XW QRGH  3/& LQ UXQ PRGH  7XUQ WKH VHFRQG VZLWFK 66B DERYH WKH )/(; DGDSWHU LQ WKH ,2 ER[  2EVHUYH WKH &,2 LQVWUXFWLRQ <RX VKRXOG VHH WKH '1  ELW KLJKOLJKW  'RXEOHFOLFN RQ ILOH 1 LQ WKH OHIW SDQHO WR RSHQ LW  7RJJOH VZLWFK 66B DQG REVHUYH WKDW WKH GDWD LQ 1 XSGDWHV

Publication 1786-6.1 - July 1998

36

ControlNet Training Lab Exercises

,I ERWK RI WKH ODGGHU LQVWUXFWLRQV DUH IXQFWLRQLQJ FRUUHFWO\ WKHQ \RX KDYH FRPSOHWHG WKH &RQWURO1HW ODGGHU LQVWUXFWLRQV ODE ,I WKH ODGGHU LQVWUXFWLRQV DUH QRW IXQFWLRQLQJ DV GHVFULEHG DVN DQ LQVWUXFWRU IRU KHOS

&RQWURO1HWLVDWUDGHPDUNRI&RQWURO1HW,QWHUQDWLRQDO

3/&LVDUHJLVWHUHGWUDGHPDUNRI5RFNZHOO$XWRPDWLRQ

)/(;,2LVDWUDGHPDUNRI5RFNZHOO$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

You might also like