Apostila Boa Fec

Embed Size (px)

Citation preview

  • 8/13/2019 Apostila Boa Fec

    1/267

    E l ec t ro n ic s m a nu a l

    CPXFrontEndController

    Ty p e C P X F E C

    CPX terminal

    Manual5 38 4 75en 0404NH[ 6 77 4 80 ]

  • 8/13/2019 Apostila Boa Fec

    2/267

  • 8/13/2019 Apostila Boa Fec

    3/267

  • 8/13/2019 Apostila Boa Fec

    4/267

    Contents and general instructions

    II Festo P.B ECPX FECEN en 0404NH

    MODBUSt R e gi s te r ed t r ad e m a rk o f S c hn e id e r A u to m at i on

    M i c r o s of t W i n do wst R e gi s te r ed t r ad e m a rk o f M i c ro s of t C o rp o ra t io n

    M i c ro s of t I n te r ne t E x pl o rert

    R e gi s te r ed t r ad e m a rk o f M i c ro s of t C o rp o ra t io n

  • 8/13/2019 Apostila Boa Fec

    5/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    IIIFesto P.B ECPX FECE N en 0404NH

    Contents

    Designated use VI I I. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Target group IX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Ser vi ce IX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Notes on the use of thi s manual X. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Impor tant user instructi ons XI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1. System summar y 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.1 Us e the future of automati on technology today 14. . . . . . . . . . . . . . . . . . . . . . .

    1.2 The operating modes of the CPXF E C 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.2.1 Stand Alone 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.2.2 Remote Controll er 17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.2.3 Remote I/O 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.2.4 Over vi ew of the operating modes 19. . . . . . . . . . . . . . . . . . . . . . . . . .

    1.3 Programming the CPXF EC 110. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.4 Meaning of the LE D di splays 111. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.4.1 Fault di splays of the LE Ds 112. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.5 Tutori al : Creating a project for the CPXF EC w ith FST (Stand Alone) 115. . . . . . .

    2. Installation 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.1 General notes on i ns tall ation 24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.2 Setti ng the sw itches of the F EC 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.2.1 Rotary switch 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.2.2 DI L s witches 29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.3 Ethernet i nterface 211. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.3.1 E thernet cable 211. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.4 Programming interface (RS232) 213. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.4.1 P in assi gnment 213. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.4.2 Connecting a programmi ng PC 214. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.4.3 Connecting the Front End Di spl ay F E D50/90 217. . . . . . . . . . . . . . . . .

    2.5 Ser vice interface for handhel d 218. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.6 Compl iance with protection class I P65/I P 67 219. . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/13/2019 Apostila Boa Fec

    6/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    IV Festo P.B ECPX FECEN en 0404NH

    3. General operation (Stand Alone) 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.1 Configuration 34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.1.1 Create connecti on to CPXF EC 34. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.1.2 Creating a projec t 35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.1.3 Fas t c onfiguration b y loadi ng t he a ctual configuration 38. . . . . . . . . .

    3.1.4 M anual confi guration w i th t he H ardware C onfi gurator 310. . . . . . . . . .

    3.2 Addres sing 319. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.2.1 Default address ing 319. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.2.2 Indi vi dual addres sing 320. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.2.3 Address ing exampl e 321. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.3 P arametri zing 327. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.3.1 P arametri zi ng wi th the handheld 329. . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.3.2 P arametri zi ng with the Hardware Confi gurator of the FST 329. . . . . . .

    3.3.3 P arametri zing from a user program 334. . . . . . . . . . . . . . . . . . . . . . . . .

    3.3.4 Forcing 335. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.3.5 Appli cation exampl e for the parametrizing 338. . . . . . . . . . . . . . . . . . .3.4 P rogramming the CPXF EC 339. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.4.1 Over vi ew of operands 340. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.4.2 Over vi ew of operati ons 341. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.4.3 Over vi ew o f f unction modul es f or the C PX t ermi nal 345. . . . . . . . . . . .

    3.4.4 User programs 346. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.4.5 P rogram example (STL) 350. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.5 Di agnos is 352. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.5.1 Diagnos is with the control ler LE Ds RU N, STOP and E RRO R 353. . . . . .3.5.2 Diagnos is with the Hardware Configurator 355. . . . . . . . . . . . . . . . . . .

    3.5.3 Diagnos is i n the user program 359. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.6 Access and control via CI commands 361. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4. With theCPXterminal to theEthernet 41. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.1 E thernet in automation technology 44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.1.1 Why Ethernet? 44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.2 Basic pri nc ipl es of the E thernet 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.2.1 I P address ing i n the Ethernet 46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.2.2 Data exchange on layers 1 to 4 49. . . . . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/13/2019 Apostila Boa Fec

    7/267

  • 8/13/2019 Apostila Boa Fec

    8/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    VI Festo P.B ECPX FECEN en 0404NH

    6.3 E as yI P 632. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    6.4 Di agnos is 633. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    6.4.1 Diagnos is with the control and Ethernet LE Ds 633. . . . . . . . . . . . . . . . .

    A. Technical appendix A1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    A.1 Technical s pecific ations o f the Front E nd Control ler C PXF EC A3. . . . . . . . . . . .

    B. Drivers B1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    B.1 Drivers B3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    B.1.1 Drivers for the CPXF EC ( operating mode Remote Control ler) B3. . . .

    B.1.2 Drivers for the CPXF EC (operati ng mode Remote I/O Ethernet) B5. .

    C. Function modules C1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    C.1 G eneral function modul es for the CP XF EC C3. . . . . . . . . . . . . . . . . . . . . . . . . . .

    C.1.1 Fault message C13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    C.2 M odul es for special functions of the CPXF EC C14. . . . . . . . . . . . . . . . . . . . . . . .

    C.2.1 M odules for the SMTP driver (send emai l) C14. . . . . . . . . . . . . . . . . . .

    C.2.2 Fault codes C17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D. TheCommand Interpreter D1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D.1 T he Command Interpreter (CI) D3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D.1.1 Connection to a di al og device D3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D.1.2 Selecting the command interpreter (Login) D4. . . . . . . . . . . . . . . . . . .

    D.1.3 E xi ting the command i nterpreter D6. . . . . . . . . . . . . . . . . . . . . . . . . . .

    D.1.4 CI command D6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D.1.5 Dis pl aying o perands a nd status es w i th D is play (D) D10. . . . . . . . . . . .

    D.1.6 Changing operands w ith M odi fy ( M) D14. . . . . . . . . . . . . . . . . . . . . . . .

    D.1.7 Commands for program controll er D17. . . . . . . . . . . . . . . . . . . . . . . . . .

    D.1.8 Commands for forc ing i nputs and outputs D19. . . . . . . . . . . . . . . . . . .

    D.1.9 Initiali sing user memory D21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D.1.10 P ass word D22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .D.1.11 Driverspecifi c commands D23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D.1.12 Li nking CI commands D24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/13/2019 Apostila Boa Fec

    9/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    VIIFesto P.B ECPX FECE N en 0404NH

    E. Index E1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/13/2019 Apostila Boa Fec

    10/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    V I I I Festo P.B ECPX FECEN en 0404NH

    Designated use

    T h e C P X F E C ( Fr o nt En d Co n tr o ll e r) d e sc r ib e d i n th i s m a nu a l

    i s i n te n de d e x cl u si v el y f o r u s e a s f o ll o w s:

    for controlling pneumatic and electric actuators (valvesa n d o u t pu t m o du le s )

    for interrogating electric sensor signals through the input

    modules communication via Ethernet

    T h e C P X t e rm i na l m a y o n ly be u s ed as f o ll o w s:

    as intended in industrial installations.

    without any modifications by t he u se r. O n ly t he c on ve rs i on s o r m o d if i ca t io n s d e sc r ib e d i n t h e d o cu m en t at i ons u pp l ie d w i th t h e p r od u ct a r e p e rm i tt e d.

    in faultless technical condition.

    T h e m a xi m um v al u es s p ec i fi e d f o r p r es s ur e s, t e mp e ra t ur e s,e l ec t ri c al d a ta , t or q ue s , et c . m u st n o t b e e x ce e de d .

    I f u s ed t o g et h er w i t h a d di t io n al c o mm e rc i al l y a va i la b l e c o mp o ne n ts , s u ch a s s e ns o rs a n d a c tu a to r s, t h e s p ec i fi e d l i mi t sf o r p r es s ur e s, t e mp e ra t ur e s, e l ec t ri c al d a ta , t or q ue s e t c.m us t b e o bs er v ed .

    O b s er v e a l s o th e s t an d ar d s s p ec i fi e d i n th e r e le va n t c h ap t er s ,a s w e l l a s n a t i on a l a nd l o c a l l a w s a n d t ec h n i c al r e gu l a t i on s .

  • 8/13/2019 Apostila Boa Fec

    11/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    IXFesto P.B ECPX FECE N en 0404NH

    Target group

    T h is m a nu a l i s i n te n de d e x c lu s iv e ly f o r t e ch n ic i an s t r ai n ed i n

    c o nt r ol a n d a u t om a ti o n t e ch n ol o gy w h o h a v e e x pe r ie n ce i ni n s t al l i n g , c o m m i ss i o n i n g, p r o gr a m m i ng a n d di a g no s i n gs l av e s o n t h e E t he r ne t a n d t h e r e le va n t f i el d b u s p r ot o co l s.

    Service

    P l ea s e c o ns u lt y o ur l oc a l F es t o r e pa i r s e r vi c e i f y o u h a ve a n ytechnical problems.

  • 8/13/2019 Apostila Boa Fec

    12/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    X Festo P.B ECPX FECEN en 0404NH

    Notes on theuse ofthis manual

    PleasenoteT h is m a nu a l r e fe r s t o th e f o ll o wi n g v e rs i o ns :

    Hardware/software Version 1)

    CPXFE C as from software status 31.03.2004

    F es to So ft war e Too ls ( FS T) Ve rs ion 4. 1 or hig he r

    C P X FB 0 6 I n t er b us 2) as from software status 11.07.2003

    C P X FB 1 1 D e v ic e N et 2) as from software status 06.10.2003

    C P X FB 1 3 P RO F I B U S D P 2) as from software status 26.02.2004

    C P X FB 1 4 C A N o p e n 2) as from software status 22.08.2003

    C P X FB 2 3 C C Li n k 2) as from software status 07.08.2003

    1) S of tw ar e s ta tu s ( SW ) s ee t yp e p la te2) F o r o p e ra t i ng m o d e Re m ot e C o n tr o l le r F i e ld b us

    Ta b. 0/ 1: H ar dw ar e a nd so ftw ar e s ta tes fo r th is m anu al

    Note Ta b. 0 / 2 f or f u rt he r m an ua ls o n th e C PX t er mi na l.

  • 8/13/2019 Apostila Boa Fec

    13/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    XIFesto P.B ECPX FECE N en 0404NH

    Importantuserinstructions

    Danger categories

    T h is m a nu a l c o nt a in s i n s tr u ct i on s o n t h e p o ss i b le d a ng e rsw hi ch m ay oc cu r i f t he p ro du ct i s n ot u se d c or re ct ly. T he sei n s t r uc t i o n s a r e m a r ked ( W a r n i ng , C a u t i on , e t c . ) , p r i nt e d o n as h ad e d b ac k gr o un d a n d m ar k ed a d d it i on a ll y w i th a p i ct o

    g ra m. A d is ti nc ti on i s m ad e b et we en t he f ol l ow in g d an ge rwarnings:

    WarningT hi s m ea ns t ha t f ai l ur e t o o bs er v e t hi s i ns tr uc ti on m ayr e s u l t i n s e ri o u s p e r s on a l in ju r y o r dam a g e t o pr o p er t y.

    Cauti

    on

    T hi s m ea ns t ha t f ai l ur e t o o bs er v e t hi s i ns tr uc ti on m ayr e s u l t i n p e r s on a l i n ju ry o r da m a ge t o p r o pe r t y.

    PleasenoteT hi s m ea ns t ha t f ai l ur e t o o bs er v e t hi s i ns tr uc ti on m ayr e s u l t i n da m a ge t o p r o pe r t y.

    T he f ol l ow in g p ic to gr am m ar ks p as s ag es i n t he t ex t w hi c hd e sc r ib e a c ti v it i es w i th e l ec t ro s ta t ic a ll y s e ns i ti v e c o mp o nents.

    E l ec t ro s ta t ic a ll y s e ns i ti v e c o mp o ne n ts m a y b e d a ma g ed i f t h e y a r e n o t h a n dle d c or r e c tl y.

  • 8/13/2019 Apostila Boa Fec

    14/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    XII Festo P.B ECPX FECEN en 0404NH

    Marking special information

    T h e f o ll o wi n g p i ct o gr a ms m a rk p a ss a ge s i n t h e t e xt c o nt a in i n g s p e c i al i n f o r m a ti o n .

    Pictograms

    Information:R e co m me n da t io n s, t i ps a n d r e fe r en c es t o o t h er s o u r ce s o f information.

    Accessories:I n fo r ma t io n o n n e c es s ar y o r s e n si b l e a c ce s so r ie s f o r t heFesto product.

    Environment:I n f o rm a t i on o n e n v i ro n m e nt f ri e n dl y u s e o f F e st o p r o duc t s .

    Textmarkings

    T he b ul l et i nd i ca te s a ct iv it ie s w hi c h m ay be c ar ri ed ou t i nany order.

    1 . F ig ur es d en ot e a ct iv it ie s w hi ch m us t b e c ar ri ed o ut i n t hen u m e ri c a l o r de r s p ec i f i e d.

    Hyphens indicate general activities.

  • 8/13/2019 Apostila Boa Fec

    15/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    X I I IFesto P.B ECPX FECE N en 0404NH

    Type Title Description

    Electronicsmanual

    System manual"typeP.BECPXSYS...

    O v e rv i e w o f s t r uc tur e , c o m p on e n t s a n dm e th o d o f o p er a ti o n o f C P X t e rm i na l sI n s t al l a ti o n a n d c o m m is s i o ni n g i n s tr uc t io n s a sw e l l a s b a s i c p r i n ci p l e s o f p a r a me t e ri s a t io n

    C PX f i el d b u s n o de "typeP.BECPXFB...

    Instructions on fitting, installing, commissioni n g a n d d i ag n os i ng t h e r e le va n t f i el d b u s n o de

    C P X I / O m o d ul e s "type P.BECPXEA...

    N o t es o n c o n n ec t i on a n d i n s tr uc t io n s o n fi t t in g ,i n s t al l i ng a n d c o m m i ss i o ni n g i n p ut a n d o ut p utm o du l es o f t y pe C P X . .. , t h e M PA p n e u ma t icm o d ule s a s w e l l a s o f M P A, C PA an d M i d i/ M a x ip n e uma t i c i n t er fa c e

    C P X a n a l og ueI/Omodules"typeP.BECPXAX...

    N o t es o n c o n n ec t i on a n d i n s tr uc t io n s o n fi t t in g ,i n s t al l i ng a n d c o m m is s i o ni n g C P X a n a lo g ue I / Omodules

    C P X C P i n t e rfa c e "

    type P.BECPXCP..

    Instructions on commissioning and diagnosing

    C PX t er mi na ls w it h t he C P i nt er fa ce t yp eCPXCP4FB

    Handheld"type P.BECPXMMI1...

    Instructions on commissioning and diagnosingC P X t e rm i na l s w i th t h e h a nd h el d t y peCPXMMI1

    CPXFEC"type P.BECPXFEC...

    Instructions on fitting, installing, commission i n g a n d d i a gn o s . t h e C P X F r o nt E n d C o n tr o l le r.

    Softwarepackage

    FST" Programming in Statement List and LadderD i ag r am f o r t h e F E C

    Manualpneumatics

    Va l v e t e r m in a l s w i t hMPApneumatics"type P.BEMPA...

    Information on fitting, installing and commiss i o ni n g M PA p n e uma t i cs ( t y pe 3 2 )

    Va l v e t e r m in a l s w i t hCPApneumatics"type P.BECPA...

    Information on fitting, installing and commiss i o ni n g C PA p n e uma t i cs ( t y pe 1 2 )

    Va l v e t e r m in a l s w i t hMidi/Maxipneumatics"

    type P.BEMIDI/MAXI03...

    Instructions on fitting, installing and commiss i o ni n g M i d i/ M a x i p n e uma t i c s ( t y pe 0 3 )

    Tab. 0/2: Manuals on the CP X termi nal

  • 8/13/2019 Apostila Boa Fec

    16/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    XIV Festo P.B ECPX FECEN en 0404NH

    T h e f o ll o wi n g productspecific t e rm s a n d a b br e vi a ti o ns a r eu s e d i n t hi s m a n u al :

    Term/abbreviation Meaning

    A0h H e xa d ec i ma l n u mb e rs a r e m a rk e d b y a s u bs c ri p t h ".

    AI Analogue input

    AO Analogue output

    CP m odules Common term for the various modules which can be incorporated in aC P X t e r m in a l

    CPX t erminal Complete system consisting of CPX modules with or without pneumatics.

    DI Digital input

    DI L switch Dualinline s witches usually consist of several switch elements withw hi c h s e tt i ng s c a n b e m a de .

    DO Digital output

    Field bus node Provides the connection to cer tain field buses. Transmits control signalst o t he c o n n ec t e d m o d ule s a n d m on i t or s t h e ir fun c ti o n in g .

    FW Flag word

    Handheld / MM I Handoperated device for commissioning and for ser vicing p urposes

    I B, IW Input byte, input word

    I/O modules Common term for CPX modules which provide digital inputs and outputs.

    I/Os Digital inputs and outputs

    OB, OW Output byte, output word

    PLC/I PC Programmable logic controller/industrial PC

    P neu ma ti c in te rf ac e Th e p ne um at ic in te rf ace is th e in te rf ac e b et wee n t he m od ul ar e le ct ri calp e r ip h e r al s a n d t h e p n e uma t i c s.

    Ta b. 0 /3 : P ro du ct s pe ci fi c te rm s a nd a b br ev ia ti on s

  • 8/13/2019 Apostila Boa Fec

    17/267

    C o n t en t s a n d g e n e r a l i n s t r uc t i o n s

    XVFesto P.B ECPX FECE N en 0404NH

    T h e f o ll o w in g networkspecific t e rm s a n d a b br e vi a ti o ns a r eu s e d i n th i s m a n u al :

    Term/abbreviation Meaning

    ARP Creates the relationship between the physical Ethernet address andt h e l o gi c al I P a d dr e ss ( A dd r es s R e so l ut i on P r ot o co l )

    BOOTP Dynamic p rotocol for automatic a ssignment of I P a ddresses( B oo t p r ot o co l , p r ed e ce s so r o f D H CP )

    DHCP Dynamic protocol for automatic assignment of I P addresses( D y na m i c H o s t C o n fi g ur at i o n P r o t oc o l )

    E asyI P Protocol f or the f ast e xchange o f o perands b etween F esto controllers( e .g . F E C S t an d ar d , P S 1, e tc . ).

    E thernet Physical protocol a nd network f or connecting various d evices

    F TP, TF TP Protocol for datatransmission via TCP/I P( F i le Tr a n s fe r P r o t oc o l , Tr i v ia l F il e Tr a n s fe r P r o t oc o l )

    HTTP Protocol f or data t ransmission v ia TCP/I P ( Hyper Text Transfer Protocol)

    ICM P Exchange of fault and status information of the network( I n t er n e t C o n tr o l M e s s a g e P r o to c o l)

    I P Protocol for addressing and delivering data (Internet Protocol)

    ISO/OS I layer model Standardized model f or data transmissions (7 layers)

    MAC a ddress Fixed assigned address for Ethernet device (Media Access Control)

    Modbus/TCP Communication s tandard v ia T CP/I P in automation t echnology

    TCP Protocol f or data t ranspor t a nd protection ( Transfer C ontrol Protocol)

    TCP/I P Combination o f t he p rotocols TCP a nd I P, the m ostwidely u sed protocoli n c o m m un ic a t i on v i a E t h e rn e t .

    U DP Simplified protocol for data transpor t without t est mechanisms(User Datagram Protocol)

    WWW World Wide Web

    Ta b. 0/ 4: N et wo rk s pe ci fi c t er ms a nd ab br ev ia ti on s

  • 8/13/2019 Apostila Boa Fec

    18/267

    System summary

    11Festo P.B ECPX FECE N en 0404NH

    Chapter 1

  • 8/13/2019 Apostila Boa Fec

    19/267

    1. S y s te m s u m m ar y

    12 Festo P.B ECPX FECEN en 0404NH

    Contents

    1. Systemsummar y 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.1 Us e the future of automati on technology today 14. . . . . . . . . . . . . . . . . . . . . . .

    1.2 The operating modes of the CPXF EC 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.2.1 Stand Alone 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.2.2 Remote Controll er 17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.2.3 Remote I/O 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.2.4 Over view of the operating modes 19. . . . . . . . . . . . . . . . . . . . . . . . . .

    1.3 P rogramming the CPXF EC 110. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.4 M eaning of the LE D di spl ays 111. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.4.1 Fault di spl ays of the LE Ds 112. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.5 Tutorial: Creating a project for the CPXF EC wi th FST (Stand Alone) 115. . . . . . .

  • 8/13/2019 Apostila Boa Fec

    20/267

    1. S y s te m s u m m ar y

    13Festo P.B ECPX FECE N en 0404NH

    Co nte nts o f th is c ha pt er T hi s c ha pt er p rov id es an ov er vi ew of t he th ree op era ti ngm od es o f t he C PX F E C. A tu to ri al pr ov id es a f i rs t s um ma ry of t he m os t i mp or t an t c on fi gu ra ti on s te ps w it h t he s of tw ar ep ac ka ge F ST 4 .1 .

    Fur ther i nformation Detailed informati on on the CPX terminal and on the FST can

    b e f o un d h er e :

    manuals on the CPX terminal: CPX system manual,d e sc r ip t io n s o f t h e I / O m o du l es , d e sc r ip t io n s o f t h ef i el d bu s n o de

    the FST manual (2 volumes, supplied with the FSTsoftware)

    text book Automation with FST" (supplied with the FST

    software)

    manuals on the pneumatics (MPA, CPA, CPV, Midi/Maxi)

  • 8/13/2019 Apostila Boa Fec

    21/267

    1. S y s te m s u m m ar y

    14 Festo P.B ECPX FECEN en 0404NH

    1.1 Use the future ofautomation technology today

    W it h t he C PX F E C, t he C PX t er mi n al o f f er s t od ay t h e t ec hn ol o g y o f t o mo r ro w f o r a u to m at i on t a sk s . H e re i s a n o ve r v ie w o f t he p os s ib i li ti es w hi ch a re o ff er ed :

    The CPXFEC can control a CPX terminal independently( St an d A lo ne ). U se t he F es to S o f tw ar e To ol F S T 4 .1 w it ht h e H a rd w ar e C o nf i gu ra t or f o r c o mm i s si o ni n g, p ro g ra m

    m i ng a n d d i a gn o si s .

    It can control a CPX terminal and tell you via Ethernetw ha t i s r un ni ng . Yo u c an e as i ly a cc es s c ur re nt d at a v iay o u r c o m p an y s n e t w or k. ( R e mo t e C o n tr o l l er E t h e rn e t )

    It fits into your existing automation system without probl em s: Le t t he C PX F E C a s a P LC c on tro l t he C PX t er mi na la nd at t he s am e t im e c om mu ni c at e w it h y ou r ex is ti ngf i el d b us ( a t p re s en t : P R OF I B U S , I n te r bu s , De v ic e Ne t ,

    C A N o p e n an d C C Li n k) . ( R e mo t e C o n t ro l l e r Fi e l d bu s )

    Control the CPX terminal straight away via Ethernet, theC PX F E C m ak e s t hi s p os s ib l e: I n t he o pe ra ti n g m od e Re mo te I /O E th er ne t" t he C PX t er mi na l is a f ie ld b uss l av e o n t h e E t he r ne t .

    A W e bs er v er i s i nc or po ra te d i n t he C PX F E C. W it h a s ta nd ar dW e b B r ow s e r y o u c a n a c c e ss c u r re n t da t a . Yo u c a n t r an s f e rW eb pa g es w h ic h y o u h a ve c re a te d in t o t h e C P X F E C i n or de r

    t o p e r f or m m o r e c o m p le x t a s ks f r o m a s e l f cr e a te d u s e r i n t e rf a ce l e ve l .You can set up the CPXFEC so that it sends emails when

    p r ev i ou s ly d e fi n ed e ve n ts o c cu r. T h is c a n b e e . g . a m e ss a gea bo ut a d ia gn os ti c c as e o r t he p ro ce ss in g o f a c er ta in t as k.

  • 8/13/2019 Apostila Boa Fec

    22/267

    1. S y s te m s u m m a ry

    15Festo P.B ECPX FECEN en 0404NH

    1.2 The operatingmodes of theCPXFEC

    T h e C PX F EC c a n b e o p er at e d in v ar i ou s o p er at i ng m o de sd e pe n di n g o n t h e d e ma n d:

    Stand Alone

    Remote Controller

    Remote I/O

    T he o pe ra ti ng m od e c an b e s et w it h D IL s wi tc h 1( s ee s ec ti on 2.2.2).

    You can connect a handheld of type CPXMMI to the CPXFECi n a n y o pe ra ti n g m od e. T he h an dh el d s er ve s f or f a s t p re li mi n a r y co m m i s si o n i n g, p a ra m e t ri z i n g a n d di ag n o s is .

  • 8/13/2019 Apostila Boa Fec

    23/267

    1. S y s te m s u m m ar y

    16 Festo P.B ECPX FECEN en 0404NH

    1.2.1 Stand Alone

    1 2

    1 C P X F E C

    2 C o n t ro l l e d by t h e C P X F E C

    F ig . 1/ 1: C PX t er mi na l c on tro ll ed b y t he C PX F E C

    Stand Alone

    T he C PX t er mi n al i s c on tr ol l ed independently by theCPXFEC. T he re i s n o c om mu ni ca ti on c on ne ct io n t o o th erslaves.

    C on fi gu re t he C PX t er mi na l w it h t he F ST s of tw ar e p ac ka geF S T 4 . 1 o r h i gh e r. T h e p ro g ra m mi n g o r E t he r ne t i n te r fa c e c a nb e u s ed f o r t h e c o nf i gu ra t io n .

    F ig . 1/ 2: S of tw ar e pa ck ag e F ST 4 .1 f or c on fi gu ra ti on

  • 8/13/2019 Apostila Boa Fec

    24/267

    1. S y s te m s u m m a ry

    17Festo P.B ECPX FECEN en 0404NH

    1.2.2 Remote Controller

    Ethernet Field bus

    1 C P X t e r m in a l c o n t ro l l e d by t h eC P X F E C , c o m m un i c a ti o n v i a E t h e rn e t

    2 C P X t e r mi n a l c o n tr o l l ed by t h eC P X F E C , c o m mu n ic a ti o n v i a f i el d b u s( f i el d bu s n o de r eq u ir e d)

    I n t hi s o pe ra ti n g m od e t he C PX t er mi n al i s c on tr ol le d b y t heC PX F E C ( as i n St an d A lo ne ), b u t t he re i s a ls o a c om mu ni c at i on c o nn e ct i on w i th a h i gh e r o rd e r c o nt ro l le r. C o mm u ni c at io n c an ta ke p la ce v ia E th er ne t o r v ia a f ie ld bu s:

    RemoteControllerEthernet

    T he C PX t er mi na l i s c on tr ol le d by theCPXFEC. The F EC als ocommunicatesvia Ethernet ( Mo db us TC P, E a sy I P) w it h ah i gh e r o rd e r c on t ro l le r. Yo u c a n us e I T t e ch n ol o gy f o r th ec o n t ro l l e r, di a g n os i s a n d c o m m un i c a t io n ( e . g . W e bse r v e r,e m ai l , . .. ). A n a dv an ta ge o f t hi s o pe ra ti n g m od e i s t ha t y ouo nl y ne ed t o us e o ne b us s ys te m.

    C on fi gu re t he C PX t er mi na l w it h F ST v ia t he E th er ne t i n te rface.

    RemoteController Field bus

    T he C PX t er mi na l i s c on tr ol le d by theCPXFEC. The F EC als ocommunicatesvia the field bus w i th a h ig he r or de r c on tr ol l e r. A fi e l d b u s n o de ( w i th D I L sw i tc h p o si t io n fo r R em o teC o nt r ol l e r" ) m u st b e i n st a ll e d i n t h e C P X t e rm i n al fo r t h iso p er a ti n g m o de .C on fi gu re t he C PX t er mi na l w i t h F ST.

  • 8/13/2019 Apostila Boa Fec

    25/267

    1. S y s te m s u m m ar y

    18 Festo P.B ECPX FECEN en 0404NH

    1.2.3 Remote I/O

    Ethernet

    1 C P X t e r m i n al c o n t r o l le d v i a E t h e rn e t

    Remote I/OEthernet

    T he C PX t er mi n al i s c on tr ol l ed by a higherordercontrollervia Ethernet. T he C PX F EC h as t he f un ct io n of a n Et he rn et

    f i el d bu s s l av e. I n t h is w a y y o u c a n c o mb i ne y o ur CP X t e rm i na l w i th e x is t in g E t he r ne t a u to m at i on s y s te m s ( e .g .S c h n e ide r E l e c tr i c ) .

    You can use the integrated Webserver for control, diagnosisa nd c om mu ni ca ti on . A n a d va nt ag e o f t hi s o pe ra ti ng m od e i st ha t y ou o nl y n ee d to u se o ne b us s ys te m.

  • 8/13/2019 Apostila Boa Fec

    26/267

    1. S y s te m s u m m a ry

    19Festo P.B ECPX FECEN en 0404NH

    1.2.4 Over view of the ope rating mode s

    Stand Alone RemoteControllerEthernet

    RemoteControllerField bus

    Remote I/O

    F un ct io n o f t heCPXFEC

    Controller Control and communication Ethernet slave

    C P X m o du l econtrolled by

    CPXF EC CPXF EC Higherordercontroller

    PLC used Yes Yes No

    Communicationw i t h h i g he r o rd e rcontroller

    No Via Ethernet Via field bus 1) V i a E t h e rn e t

    Webserver Possible Possible Possible

    Configuration FST 4 .1 o rhigher

    FST 4.1 or higher Higherorderc o n t ro l l er ( e . g . w i t hS c h ne i d e r U n i ty )

    Parametrizing with FST/Handheld FST/Handheld FST/Handheld Handheld/Modbus

    Module code 208 208 210

    Addressing Default (can bemodified)

    Default (can be m odified) Specified

    M e m or y l o c a ti o n 2) 2 50 k B ( PLC )

    5 50 k B ( We bs .)

    2 50 k B ( PLC )

    5 5 0 k B ( We b se r ve r )

    8 0 0 k B ( We b se r ve r )

    S w it c h p o s it i o nDIL1

    D I L 1 . 1: O F FD I L 1 . 2: O F F

    D I L 1 . 1: O F FD I L 1 . 2: O N

    Handheld Can be c onnected t o the C PXF EC

    1) A f i el d b u s n o de i n t h e o p er at i ng m o de R em o te C on t ro ll e r" m u st a l so b e i n st a ll e d h e re i n t h eC P X t e r mi n a l.

    2) T h e W eb s er ve r c a n o c cu p y f r ee m e mo r y s p ac e i n t h e P LC i f e x tr a m e mo r y s p ac e i s r eq u ir ed .

    Tab. 1/1: O ver view of the operati ng modes

  • 8/13/2019 Apostila Boa Fec

    27/267

    1. S y s te m s u m m ar y

    110 Festo P.B ECPX FECEN en 0404NH

    1.3 Progr ammingtheCPXFEC

    U s e t h e s o ft w ar e p a ck a ge F S T 4 . 1 o r hi g he r i n or de r to pr o g ra m t he C PX F E C. P ro gr am mi ng i s c ar ri ed o ut i n t he l an g u ag e s S ta t em e nt L i st ( S TL ) o r L ad d er D i ag ra m ( LD R ).F u rt h er i n fo r ma t io n c a n b e f o un d i n t h e r el e va n t c h ap t er s f o rt h e d i ff e re n t o p er at i ng m o de s .

    F ig. 1/3 : P rog ra mm in g w ith F ST 4 .1

    You can find detailed information on programming the CPXF E C i n t h e f o ll o wi n g d o cu m en t at i on :

    the FST manual (supplied with the FST software)

    the text book Automation with FST" (supplied with theF S T s o ft w ar e) .

  • 8/13/2019 Apostila Boa Fec

    28/267

    1. S y s te m s u m m a ry

    111Festo P.B ECPX FECEN en 0404NH

    1.4 Meaning of the LED displays

    T he LE D s o n t he c ov er in di c at e t he o pe ra ti ng s ta tu s o f t he

    C P X F E C a n d ar e a r r an g e d in t w o g r o up s .

    1 Control andE t he r ne t L E Ds( se e c ha pt er s 3 , 5and 6):

    RUNSTOPE R R ORTP

    2 CPXLEDs( se e n ex t s ec ti on ):P S: P ow er s ys te mP L: P ow er l oa d

    S F: S ys te m f au ltM: Modify

    1 2

    Fi g. 1/4: Two groups of the LE Ds of the CPXF EC

  • 8/13/2019 Apostila Boa Fec

    29/267

    1. S y s te m s u m m ar y

    112 Festo P.B ECPX FECEN en 0404NH

    1.4.1 Fault dis plays of the LE Ds

    I n th e f o ll o wi n g o n ly t he general C P X LE D s P S , P L , S F a n d Ma r e e x pl a in e d. I n fo r ma t io n o n t h e controllerand EthernetLEDs R U N , S TO P, E R RO R a nd T P c an b e f ou nd i n c ha pt er s 3 , 5and 6.

    PS (Power System) powersensor/logic supply

    LED (gr een) Sequence Status Meaning/faulttreatment

    L E D l i g ht s up

    ON

    OFF

    N o fa ult O p e r at i n gvoltage/sensor supplyapplied

    L E D f l as h es

    ON

    OFF

    Operating voltage/sensors up p ly o ut s id e t h et o l er a nc e r a n ge

    Eliminate undervoltage

    ON

    OFF

    I n t er n a l fuse fo r t h e

    operating voltage/sensors up p ly h a s r e s po n d e d.

    1 . E l im i na t e s h or t c i rc u it / ov er l oa d o n

    m o d ule s i d e.2 . D e pe n di n g o n t h e p a ra m et r iz i ng o f

    t h e m o du l e ( m od u le p a ra m et e r) : T h e s e n s or s up p ly v ol t a ge w i ll

    b e s w it c he d o n a ga i n automatically w he n t h e s h or t c i rc u it h a sbeen eliminated (default)

    P o we r O ff/ On i s n e c e ss a r y

    L ED i s o ut

    ON

    OFF

    T h e o p e ra t i ng v o lt a g e /s e n s or s up p l y i s n o t

    applied

    C h e ck t he o p e ra t i ng v o lt a g ec o nn e ct i on o f t h e e l ec t ro n ic s

    Tab. 1/2: Fault diagnosi s with the LE D PS

  • 8/13/2019 Apostila Boa Fec

    30/267

    1. S y s te m s u m m a ry

    113Festo P.B ECPX FECEN en 0404NH

    P L ( Po wer Load ) p ower load supply (outputs/valves)

    LED (gr een) Sequence Status Meaning/faulttreatment

    L E D l ig h ts u p

    ON

    OFF

    No fault Load voltageapplied

    None

    LED flashes

    ON

    OFF

    L oa d vo l ta g e a t t h e s y st e msupply or additional supplyo u ts i de t h e t o le r an c e

    range

    Eliminate undervoltage

    Tab. 1/3: Faul t d iagnosis w ith the LE D PL

    SF (System Fail) system fault

    LED (red) Sequence Status Meaning/faulttreatment

    L ED i s o ut

    ON

    OFF

    No fault

    LED flashesonce

    ON

    OFFSimple fault/information( fa ul t c la ss 1 )

    S ee d es cr ip ti on o f f au lt n um be rs i nt h e C P X s y st e m ma n ua l

    LED flashes

    twice

    ON

    OFF

    Fault( fa ul t c la ss 2 )

    LED flashest h r ee t i m es

    ON

    OFF

    S e r io us fa ul t( fa ul t c la ss 3 )

    1) T he s ys te m f a u lt L ED f la sh es d ep en di ng o n t h e c la ss o f f au lt w hi ch h as o cc ur re d.Fau lt c la ss 1 ( sim ple f au lt ): on e f la sh, pa us eFault c lass 2 ( fault): flash t wice, p auseF au lt c la ss 3 ( se ri ou s f au lt ): f la sh t hr ee t im es , pa us e

    Tab. 1/4: Faul t d iagnosis w ith the LE D SF

  • 8/13/2019 Apostila Boa Fec

    31/267

    1. S y s te m s u m m ar y

    114 Festo P.B ECPX FECEN en 0404NH

    M (Modif y) Fo r ceactive

    LED (yellow) Sequence Status Meaning/faulttreatment

    L ED i s o ut

    ON

    OFF

    None

    LED flashes

    ON

    OFF

    Force is a ctive The F orce function is e nabled( s e e s y s te m p a r am e t er F o rc e m o d e ;

    f u nc t io n n o. 4 4 02 ) .

    L E D l i g ht s up

    ON

    OFF

    The CPXFEC has no parameter S ys t e m st a r t " , so t h a t t h e s t a t us LE D l i gh t s u p " d o es n ot e x is t w it ht h e M LE D .

    Tab. 1/5: Mes sages of the LE D M

    I n f o rm a t i on o n t h e controllerand Ethernet LEDs R U N , S TOP,

    E R RO R a nd T P c an b e f ou nd i n c ha pt er s 3 .. .6 .

  • 8/13/2019 Apostila Boa Fec

    32/267

    1. S y s te m s u m m ar y

    115Festo P.B ECPX FECE N en 0404NH

    1.5 Tutorial: Creatinga project fortheCPXFEC with FST ( Stand Alone)

    T h is t u to r ia l p r es e nt s t h e m o st i m po r t an t s t ep s f o r c o mm i s s i on in g a C PX t er mi na l wi th F E C. T he t ut or ia l de al s o nl y wi tht h e o p er a ti n g m o de S ta n d A l on e .R e ad t h e d e ta i le d i nt r od u ct i on i n t he f o ll o wi n g c h ap te r s a n di n th e F ST m an ua l.

    CautionI f y ou h av e c on ne ct ed a C PX t er mi na l t o y ou r P C f orc o nf i gu r at i on : Te s t p r oj e ct s a n d p r og r am s a t f i rs t w i t ho u ta c ti v e a c tu a to r s o r w it h ou t c o mp r es s ed a i r.

    You will then avoid damage in the test phase.

    1 . I ns ta ll y ou r CP X t er mi na l w it h C PX F E C i n a cc or da nc e w it hc ha pt er 2 a nd se t t he r ot ar y s w it ch o f t he C PX F E C t o 0" .

    2 . U se t he pr og ram mi ng c ab le t o co nn ec t t he C PX F EC t o t hes e ri a l i nt e rf a ce o f y o ur P C .

    3 . St ar t t he F ST 4 .1 a nd s el ec t [ Ex tr as ] [ Pr ef er en ce s. .. ] C om m un i c at i on " r e gi s te r : U se R S 23 2 "C o nf i rm w i t h O K .

    4 . S el ec t [ Pr oj ec t] [ Ne w. .. ] a nd a ss ig n a p ro je ct n am e.

    5 . S el ec t th e C PX F EC as c on tr ol le r i n t he w ind owProjectSettings".

    6 . O pe n t he H ar dw ar e C on fi gu ra to r w it h a d ou bl e c li ck o n I / OCo n f i gu r a t io n " i n t h e p r o jec t w i n do w.

    7 . S el ec t Ac tu al N om i na l Co mp ar is on " i n t he c on te xt m en u( r ig h t h an d m o us e c l i ck ) o f t h e H a rd w a re C o nf i gu r at o r.A c ce p t t h e c o nf i gu r at i on b y cl i c ki n g o n A pp l y" .

  • 8/13/2019 Apostila Boa Fec

    33/267

    1. S y s te m s u m m ar y

    116 Festo P.B ECPX FECEN en 0404NH

    F ig . 1 /5 : C ar ry o ut t he a ct ua l no mi na l c om pa ri so n

    F ig . 1 /6 : A pp ly t he a ct ua l no mi na l c om pa ri so n

  • 8/13/2019 Apostila Boa Fec

    34/267

    1. S y s te m s u m m ar y

    117Festo P.B ECPX FECE N en 0404NH

    F ig . 1 /7 : A c on fi gu re d CP X te rm in al

    8 . I f n ec es sa ry, p ar am et ri ze t he C PX s ys te m o r i n di vi du almodules:

    F ig . 1/ 8: E xa mp le : P ar am et ri zi ng a n in pu t m od ul e

  • 8/13/2019 Apostila Boa Fec

    35/267

    1. S y s te m s u m m ar y

    118 Festo P.B ECPX FECEN en 0404NH

    Creating a program 1. Select [P rogram] [New...]

    2 . S el ec t t he p ro gr am mi ng l an gu ag e ( e. g. St at em en t L is t) i nt he w i nd ow Ne w p ro gr am ".

    3 . C on fi rm t he n ex t w in do w w it ho ut m od if ic at io ns(Type program, Number 0, Version 1).

    4. Create a program:

    Fig. 1/9 : P rogram window of the FST

  • 8/13/2019 Apostila Boa Fec

    36/267

    1. S y s te m s u m m ar y

    119Festo P.B ECPX FECE N en 0404NH

    5 . W he n y ou fi rs t u se o pe ra nd s i n y ou r p ro gr am , t he y w il l b ea u t om a t i c al l y i n t e rr o g a te d a f t e r be i n g e n t er e d i n th ea l l o c a t i o n l i s t :

    F i g. 1 / 1 0: I n te r ro g at i on f o r a n en t ry i n th e a l lo c at i on l i s td u ri n g p r og r am m in g

    6 . T he n ew p ro gr am i s m ar ke d fo r lo ad in g a ut om at ic al ly i nt he p ro je ct w i nd ow. Lo ad t h e p ro je ct i nt o t he C PX F E C

    w i th [ O n li n e] [ D ow n lo a d P r oj e ct ] :

    F ig . 1/ 11 : A m ar ke d pr og ra m is l oa de d in to t he F E C w i th t he p ro je ct

  • 8/13/2019 Apostila Boa Fec

    37/267

    1. S y s te m s u m m ar y

    120 Festo P.B ECPX FECEN en 0404NH

    Star t program 7. Set the rotary swi tch of the CPXF EC to 1...F or s tar t thep r o g ra m in th e On l i ne T C P I P " di s p l a y:

    F ig . 1 /1 2 : P ro gr am s ta r t w i th t he On li n e TC PI P " d is pl ay

  • 8/13/2019 Apostila Boa Fec

    38/267

    Installation

    21Festo P.B ECPX FECE N en 0404NH

    Chapter 2

  • 8/13/2019 Apostila Boa Fec

    39/267

    2 . I n st a ll a ti o n

    22 Festo P.B ECPX FECEN en 0404NH

    Contents

    2. Installation 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.1 G eneral notes on ins tallation 24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.2 S etti ng the sw itches of the F E C 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.2.1 Rotary s witch 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.2.2 DI L s witches 29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.3 E thernet i nterface 211. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.3.1 E thernet cable 211. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.4 P rogramming interface ( RS232) 213. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.4.1 P in as signment 213. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.4.2 Connecting a programming PC 214. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.4.3 Connecting the Front End Di spl ay F E D50/90 217. . . . . . . . . . . . . . . . .

    2.5 S er vice interface for handhel d 218. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.6 Compl ianc e with protecti on class I P65/I P67 219. . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/13/2019 Apostila Boa Fec

    40/267

    2 . I n st a ll a ti o n

    23Festo P.B ECPX FECE N en 0404NH

    C ont ent s of th is c hap te r I n t hi s c ha pt er yo u w il l f in d i nf orm ati on o n:

    Setting the switches of the CPXFEC

    Connecting devices, to field bus and Ethernet

    The pin assignment of the interfaces

    Compliance with protection class IP65/IP67

    Fur ther informati on Fur ther informati on can be found here:

    Fitting, installation and the power supply of the completeC P X t e r m in a l : C P X s y s t em m an u a l ( P. B E C P X S YS . . )

    Installing I/O modules and pneumatic interface: Manualf or t h e C PX p ne um at ic i nt er fa ce a nd C P X I /O m o du le s(P.BECPXEA..)

    Handheld: Manual for the universal handheld CPXMMI1( P. B E C P X M M I 1 . . )

    I n st r uc t io n s o n i ns t al l i ng t h e p n eu m at i c c o mp o ne n ts c a n bef o un d i n t h e r e le va n t p n eu m at i cs m a nu a l ( s ee Tab. 0/2).

  • 8/13/2019 Apostila Boa Fec

    41/267

    2 . I n st a ll a ti o n

    24 Festo P.B ECPX FECEN en 0404NH

    2.1 General notes on installation

    WarningB e fo r e c a rr y in g o u t i n st a ll a ti o n a n d/ o r m a i nt e na n ce w o rk ,s w it ch o ff t he f ol l ow in g:

    the compressed air supply

    the operating voltage supply for the electronics/sensors

    the load voltage supply for the outputs/valves.

    You will thereby avoid:

    uncontrolled movements of loose tubing

    uncontrolled movements of the connected actuators

    undefined switching states of the electronics.

    CautionT h e C P X F E C c o nt a in s e l ec t ro s ta t ic a ll y s e ns i ti v e c o mp o nents.

    D o n ot t ou ch t he e le ct ri ca l c on ta ct s o f t he c om po ne nt s.

    O b s er v e t h e r eg u la t io n s f o r h a n d li n g e l ec t ro s ta t ic a ll ys e n s i ti v e c o m p on e n ts .

    I n th i s w a y y o u w i l l av o i d da m a ge t o th e e l e c tr o n ic s .I n fo r ma t io n o n f i tt i ng t h e C P X t e rm i na l ca n be f o un d in th e

    CPX system manual (P.BECPXSYS..).

  • 8/13/2019 Apostila Boa Fec

    42/267

    2 . I n st a ll a ti o n

    25Festo P.B ECPX FECEN en 0404NH

    Electrical connecting and display elements

    T h e f ol l ow i ng c o nn e ct i ng a n d d is p la y e le m en t s c a n b e f o un d

    o n th e C P X F E C:

    1

    2

    34

    5

    6

    7

    1 F E C s ta tu s a nd C PX s pe ci fi c L ED s

    2 16 e l em e n t r o t ar y s w i t c h(RUN/STOP, Program selection)

    3 E t h e rn e t i n t e rf a c e(10/100BaseT, RJ45)

    4 Programming interface(RS232, 9pin subD socket)

    5 2 e le me nt D I L s w it ch 1( s e le c t o p er at i ng m o de )

    6 2 el e me n t D I L s w i tc h 2 ( r es e r ve d )

    7 S e r v i c e i n t e rf a c e f o r h a n dh el d ( V 24)

    F ig . 2 /1 : C on ne ct in g a nd d is pl ay e le me nt s o n t he C PX f ie ld b us n od e

  • 8/13/2019 Apostila Boa Fec

    43/267

    2 . I n st a ll a ti o n

    26 Festo P.B ECPX FECEN en 0404NH

    D i s m an t l i n g an d f i tt i n g

    T he F E C i s f it te d i n a m an if ol d s ub b as e o f t he C PX t er mi na l(se e Fig. 2/2).

    Di smantli ng Di smantle the F E C as f ol low s:

    1 . Lo os en th e fo ur s crew s o f th e F EC w ith a To rx s cre wd ri ve rsize T10.

    2 . P ul l t he F E C c ar ef ul ly a nd w it ho ut t il ti ng a wa y fro m th ec on ta ct r ai l s o f t he m an if ol d s ub b as e.

    1 C P X F E C

    2 Manifold subbase

    3 C o nt a ct r ai l s

    4 To rx T 10 s cr ew s

    3

    4

    1

    2

    F ig . 2 /2 : D is ma nt li ng /f it ti ng t he C PX F E C

  • 8/13/2019 Apostila Boa Fec

    44/267

    2 . I n st a ll a ti o n

    27Festo P.B ECPX FECEN en 0404NH

    Fi tting Fi t the F EC as follows:

    1 . P la ce th e F EC i n th e m an if ol d s ub b as e. M ak e s ure th att h e g ro o ve s w i th t h e t e rm i na l s f o r e l ec t ri c al co n ta c t o nt he b ot to m o f t he f i el d b us n od e l i e d i re ct ly a bo ve t hec on ta ct r ai l s. P re ss t he F E C c ar ef ul l y a nd w it ho ut t il ti ng a sf a r as p o ss i b le i n to t h e m a ni f ol d s u b b as e .

    2 . In ser t th e s cre ws s o tha t t he s el f bo ri ng th rea ds c an b eu se d. T i gh te n th e s cr ew s a t f ir st o nl y by h an d.T ig ht en t he s cre ws w it h a To rx s cre wd ri ve r s iz e T 10 w it h0.9 ... 1.1 Nm.

  • 8/13/2019 Apostila Boa Fec

    45/267

    2 . I n st a ll a ti o n

    28 Festo P.B ECPX FECEN en 0404NH

    2.2 Settingtheswitches of the FEC

    2.2.1 Rotary switch

    T he 1 6 el em en t r ot ar y sw it ch ( 0 , 1 , .. ., F ) s er ve s a s a R U N/S TO P s wi t ch f o r t h e P LC .

    L ea ve t h e r ot a ry s w i tc h a t p o si t i on 0 " ( S TO P ) d u ri n g

    installation.

    M o d if i ca t io n s t o t h e p o si t i on o f t h e r ot a ry s w i tc h a re t ra n s m i tt ed t o t he c on tr ol l er w it h a d el ay o f 5 00 m s. I n th is w ay,y ou c a n s w i tc h b e tw e en t w o s w i tc h p o si t i on s w i th o ut t h ei n te r me d i at e p o si t io n s h a vi n g a n y e f fe c t.

    Rotary switch Setting Meaning

    0 STOPP LC p r o gr a m h a s s t o p pe d .P ro g ra m s s t op w he n t he r ot a ry s w it c h i s m od i fi e df ro m 1 . .. F t o 0 .

    1 ... F RU NUser program started.P ro g ra m s s t ar t w h en t h e r o ta r y sw it c h i s m o di f ie df ro m 0 t o 1 . .. F.

    T h e s w it c h p o si t io n c a n b e i n te r ro ga t ed i n t h e u s erprogram and used for programming purposes.

    Ta b. 2/ 1: P os si bl e s et ti ng s of th e rot ar y s wi tc h f or th e P LC

  • 8/13/2019 Apostila Boa Fec

    46/267

    2 . I n st a ll a ti o n

    29Festo P.B ECPX FECEN en 0404NH

    2.2.2 DI L switches

    PleasenoteC he ck t h at t he s et ti ng o f t he D IL s w it ch i s c or re ct b ef orec o mm i s si o ni n g t h e C P X F E C.

    A c ha ng e i n th e o pe ra ti ng m od e i s n ot r ec og ni z ed u nt ila f t er Po w e r OF F / ON .

    T he D I L s wi tc he s m us t b e a cc es s ib l e i n o rd er th at t heC PX F E C c an be s et :

    R e m ov e a n I P 65/ I P 67 p l u g , i f f i t t ed, f ro m th e p r o gr a m m i n g i n te r fa c e.

    Settingthe operatingmode with DIL switch 1

    You can set the operating mode of the FEC with switch

    e le men t 1 of DI L s wi tc h 1 .

  • 8/13/2019 Apostila Boa Fec

    47/267

    2 . I n st a ll a ti o n

    210 Festo P.B ECPX FECEN en 0404NH

    Operating mode Setting DIL switch 1

    Stand Al one / RemoteControllerC on t ro l li n g t h e C P X t e rm i na l v ia t h e C P X F E C:

    Stand Aloneor

    Ethernet Remote Controlleror

    Field bus Remote Controller

    D I L 1 . 1: O F FD I L 1 . 2: O F F

    Remote I/OC on t ro l li n g t h e C P X t e rm i na l v i a M od b us / TC Pw i t h a h i g he r or d e r c o n tr o l le r.

    D I L 1 . 1: O F FD I L 1 . 2: O N

    Reserved D I L 1 . 1: O ND I L 1 . 2: O N

    Reserved D I L 1 . 1: O ND I L 1 . 2: O F F

    Tab. 2/2: Setti ng the operati ng mod e

    Reserved DIL switch 2

    Le ave t he s wi tc h e le me nt s o f D IL sw it ch 2 s et t o O FF.

  • 8/13/2019 Apostila Boa Fec

    48/267

    2 . I n st a ll a ti o n

    211Festo P.B ECPX FECEN en 0404NH

    2.3 Ethernet interface

    T he re i s a R J4 5 s oc k et o n t he C PX F E C f or c on ne ct io n t o t heEthernet.

    RJ45 socket Pin Signal Explanation

    12

    34

    567

    8

    1

    2345678M e t a l c o ve r i ng

    TD+

    TDRD+n.c.n.c.RDn.c.n.c.Screening/shield

    S e nd d at a +

    S e nd d a ta R ec ei ve d at a +n o t c o n ne c t e dn o t c o n ne c t e dR ec ei ve d at a n o t c o n ne c t e dn o t c o n ne c t e dScreening/shield

    Tab . 2 /3 : P in as si gn men t of th e E the rne t i nte rf ac e

    I f t he E th er ne t i nt er fa ce i s n ot u se d, se al i t w it h a c ove r o f t y pe A K R J 45 , pa r t n o. 5 3 4 49 6 . Yo u w i l l t h en co m pl y w i thp r o te c t i on c la s s I P 65/ I P 67.

    2.3.1 Ethernet cable

    U s e a s c o nn e ct i ng c a bl e :

    Cable spec ification Screened fl exible Ethernet round cable of category 5;max. outer diameter: 5.4 mmcore d iameter: 0.89 . .. 1 .0 m m AWG2426ready made: Crimpi ng pli ers on RJ45

    PleasenoteI f t he C PX t er mi na l i s f it te d o nt o a m ov in g p ar t o f am ac hi ne , t he E th er ne t c ab l e o n t he m ov in g p ar t m us t b e

    p r ov i de d w i t h s t r ai n r e l i e f .

  • 8/13/2019 Apostila Boa Fec

    49/267

    2 . I n st a ll a ti o n

    212 Festo P.B ECPX FECEN en 0404NH

    Network connection In order to connect your CP XF EC to a network or PC you w illrequire:

    a Patch cable for connecting via hub or switch

    a crossover cable for direct connection of the PC and theCPXFEC.

    PleasenoteU s e t h e R J 45 p l ug f r om F es t o i n o rd e r to c om p ly w i thp r o te c t i on c l as s I P 65/ I P 67.

    Type FBSRJ458GS, part no. 534494

    O b se r ve t he f it ti ng i ns tr uc ti on s f or t h e p lu g.

    F ig . 2 /3 : R J4 5 p lu g c om pl yi ng w it h p ro te ct io n c la ssI P 65/ I P 67

  • 8/13/2019 Apostila Boa Fec

    50/267

    2 . I n st a ll a ti o n

    213Festo P.B ECPX FECEN en 0404NH

    2.4 Progr amminginterface (RS232)

    T h er e i s 9 pi n s u b D s o ck e t o n t h e C P X F E C f o r c o nn e ct i ng a

    p ro g ra m me r, a P C o r F E D s.

    2.4.1 Pin assignment

    Socket on theCPXFEC Pin Signal Explanation

    123456789Screening/shield

    n.c.RxDTxDn.c.GNDn.c.n.c.n.c.n.c.Screening/shield

    n o t c o n ne c t e dRe c ei ve d a t aSend datan o t c o n ne c t e dD a t a r e fer e nc e p o t e nt i a ln o t c o n ne c t e dn o t c o n ne c t e dn o t c o n ne c t e dn o t c o n ne c t e dC o n ne c t i on t o fun c t io n a l e a r t h

    Tab . 2 /4 : P in as si gnm en t o f t he p ro gram mi ng i nt er fac e

    I f t he p ro gr am mi ng i nt er fa ce i s n ot u se d, s e al i t w it h t he

    t r a ns p a r en t c o ve r.

    type AKSUB9/15B

    part no. 533334 max. tightening torque 0.4 Nm

  • 8/13/2019 Apostila Boa Fec

    51/267

    2 . I n st a ll a ti o n

    214 Festo P.B ECPX FECEN en 0404NH

    2.4.2 C onne cting a progra mming P C

    U s e th e p r og r a m mi n g c a bl e f r o m F e s to i n o r der t o c o n n ec ty o ur P C t o t h e C P X F E C:

    type KDIPPA3BU9

    part no. 151915

    PleasenoteU se t he a bo ve p ro gr am mi ng c ab l e o nl y f or t h e p ro gr am m in g e nv ir on me nt . I t h as o nl y o n e s c re en i ng c on ne ct io no n o n e s i d e a n d c o mp l i es o n ly w i t h p ro t ec t io n c l as s I P 2 0 .U se a n RS 2 32 c ab l e w i th s cr ee ni n g/ s hi el d c on ne ct io n o nb o th s i d es f o r co m mu n ic a ti o n o r c on t ro l .

    T he n ex t s ec ti on d e sc ri b es h ow t o pr od uc e a n RS 2 32 c ab lew h i ch c o mp l ie s w i th p ro t ec t io n c l as s I P 6 5 /I P 6 7 .

    PleasenoteL a y t h e c a bl e

    not twisted

    without bends

    at a sufficient distance from currentcarrying cables.

    You will then avoid transmission faults between the PC

    a nd t he F E C.

  • 8/13/2019 Apostila Boa Fec

    52/267

    2 . I n st a ll a ti o n

    215Festo P.B ECPX FECEN en 0404NH

    R S2 32 c ab le w it h p ro te ct io n c la s s I P 65 /I P 67

    F or a n R S 23 2 c a bl e w h ic h c o mp l ie s w i th p ro t ec t io n c l as sI P 65/ I P 67 y o u wi l l r eq u i r e:

    a programming plug from Festo (Fig. 2/4)typeFBSSUB9GS1X9POLB

    a 3core screened cable.

    PleasenoteO n ly t h e p ro g ra m mi n g p l ug f ro m F es t o g ua ra n te e s c o mp l ia n ce w i th p ro t ec t io n c l as s I P 6 5 /I P 6 7 . I f y ou a l so n e edt o c om p ly w i th p ro t ec t io n c l as s I P 6 5 /I P 6 7 i n t he p ro g ra m m i n g e n v i ro n m e nt :

    R e lp a ce t h e t w o f l at s c re w s b y t h re a de d s l ee ve s ( t yp eU N C 4 4 0 /M 3 x6 , p ar t n o. 5 3 30 0 0) b ef or e c on ne ct in gs u b D p l u g s o f o t h e r m a n u fa c t u re r s .

    1 . F it a p ro gr am mi ng c ab le i n a cc ord an ce w it h t he f it ti ngi n s tr u ct i on s f o r t h e p l ug .

    2 . W he n f it ti ng t he p lu g o nt o t he C PX F EC t ig ht en th e f as te ni n g s cr ew s a t f ir st b y h an d an d th en w it h 0 .4 N m.

    PleasenoteO bs er ve t he m ax im um p er mi tt ed l en gt h o f t he c ab le a s a

    f ac to r o f t he b au d r at e i n a c co rd an ce w i th R S2 3 2 s pe ci fi ca tions.

  • 8/13/2019 Apostila Boa Fec

    53/267

    2 . I n st a ll a ti o n

    216 Festo P.B ECPX FECEN en 0404NH

    1 Hinged cover withv i ew i n g w i nd o w

    2 B la nk i ng p lu g i f c on ne ct io n i s n otused

    3 C la mp s tr ap f orscreening

    connection

    4 Te r mi n al s t ri p f o rt he c ab l e(pinassignmentsee Tab. 2/4)

    5 F a s te n i n g s c r ew s

    123456789

    21 3

    4

    55

    F i g. 2 / 4 : P r og ra m mi n g p l ug f ro m F es t o, t y pe F B S S U B 9 G S 1 X 9 PO L B

    Pleasenote U s e p ro t ec t iv e c a ps o r b l an k i ng p l ug s t o s e al u n us e d

    connections.

    I n t h i s w a y y ou w i l l c o mp l y w i th p r ot e c t io n c l a s sI P 65/ I P 67.

  • 8/13/2019 Apostila Boa Fec

    54/267

    2 . I n st a ll a ti o n

    217Festo P.B ECPX FECEN en 0404NH

    2 .4. 3 C on ne ct in g t he Fro nt E nd D is pla y F ED 50 /9 0

    You can connect an FED50 or an FED90 to the programmingi nt er fa ce o f t he C PX F E C. T he F E D i s a n e as y to u se d is pl ayf or o p er at in g a nd o bs er v in g a ut om at io n t as ks a t t he f ie ldl ev el . F E D o pe ra ti ng d ev ic es a re i nt en de d f o r f it ti n g i n t hef ro nt o f a m et al li c h ou si ng .

    F ig. 2 /5 : C PX te rm in al w ith F ED 9 0

    C on ne ct t he F E D t o t he C PX F E C w it h c on ne ct in g c ab let yp e F E C KB G7 o r F E C KB G8 ( pa r t n o. 5 3 96 4 2 r es p.539643).

  • 8/13/2019 Apostila Boa Fec

    55/267

  • 8/13/2019 Apostila Boa Fec

    56/267

    2 . I n st a ll a ti o n

    219Festo P.B ECPX FECEN en 0404NH

    2.6 Compliance with protection class IP65/IP67

    I n or de r t o co m p l y w i t h p r o te c t i o n c l a s s I P 65/ I P 67, s e a l u n

    u se d s o ck et s a nd t he s wi tc h w it h t he a pp ro pr i at e c ov er s.

    Connection/switch

    ConnectionIP65/IP67

    Cover1)

    IP65/IP67

    Ethernet, RJ45 Plugt y p e F B S RJ4 5 8 GSp ar t n o. 5 34 49 4

    Cover 2)

    t y pe A K R J 45p ar t n o. 5 34 49 6

    Programmingi n t er fa c e, s ub Dand DIL switch

    P l ug fr o m F e s tot y p e F B S S U B 9 G S1X9POLBp ar t n o. 5 34 49 7

    Transparent cover 2)

    t y p e A K S U B 9 / 1 5 Bp ar t n o. 5 33 33 4

    S e r v ic e i n t er fa c e,M12

    C o nn e ct i ng c a bl e a n dp l ug f o r th e h a nd h el d

    P r ot e c t iv e c a p 2)

    t y pe I S K M 12p ar t n o. 3 52 05 9

    Rotary switch Cover 2)

    t y pe A K R J 45p ar t n o. 5 34 49 6

    1) I f c on ne ct io n i s n ot u se d2) I n c l ud e d i n d e l i ve r y

    Ta b. 2 /6 : C on ne ct io ns an d c ov er s f or p ro te ct io n c l as sI P 65/ I P 67

  • 8/13/2019 Apostila Boa Fec

    57/267

    2 . I n st a ll a ti o n

    220 Festo P.B ECPX FECEN en 0404NH

  • 8/13/2019 Apostila Boa Fec

    58/267

    General operation (Stand Alone)

    31Festo P.B ECPX FECE N en 0404NH

    Chapter 3

  • 8/13/2019 Apostila Boa Fec

    59/267

  • 8/13/2019 Apostila Boa Fec

    60/267

    3. G e n e ra l o p e ra t i o n ( S ta n d A l o n e)

    33Festo P.B ECPX FECE N en 0404NH

    Contents of this chapter T hi s chapter i s the bas is for o perating the CPXF EC i n theo p e r at i n g m o de s :

    Stand Alone

    Remote Controller (see chapter 5)

    H e re y o u w il l f i n d a d e sc r ip t io n o f g e ne r al c o m mi s s io n in g ,p a ra m et r iz i ng , p r og r am m i ng a n d d i ag n os i s o f t h e C P X F E C.

    I f y ou o pe ra te t he C PX F E C w i th ou t c om mu ni ca ti on c on ne ct i on t o o t h er s l a v es , t h i s c o rr e sp o nd s t o t h e o p er a ti n g m o deStand Alone. I n t hi s o pe ra ti ng m od e t he F E C c on tr ol s t heCPXterminal independently.

    P r ep a ri n g f o rcommissioning

    Installation in accordance with chapter 2

    The correct operating mode is set with DIL switch 1

    (seesection 2.2.2)

    FST 4.1 or higher is installed on the programming PC

    Overview of the followingcommissioningsteps

    1 . C onf igu ri ng t he C PX te rm in al w ith F ST

    2 . I f d es ir ed : P ara met ri ze

    3. Create program

    4 . Lo ad pr oj ec t i nto CP XF EC

    5. Star t and test program

    Va r io u s d i ag n os t i c p o ss i b il i ti e s a r e a va i l ab l e d u ri n g c o mm i ss i on i ng a n d d u r i n g o p er a ti o n.

  • 8/13/2019 Apostila Boa Fec

    61/267

    3. General operation (Stand Alone)

    34 Festo P.B ECPX FECEN en 0404NH

    3.1 Configuration

    U se Fe st o So ft wa re To ol s ( FS T 4 .1 o r hi gh er ) w it h t he H ar dw a re C o nf i gu ra t or i n o r de r t o c o n fi g ur e y o ur C P X t e rm i na lw i th C P X F E C. I n t h e f o ll ow i n g s e ct i on s y ou w i l l f i nd t h e mostimportantc om mi s si on in g s te ps w it h F ST 4 .1 .

    Caution

    I f y ou ha ve c on ne ct ed a C PX t er mi na l to y ou r PC f or c on f ig ur at io n: Te st p ro je ct s a nd p ro gr am s a t f ir st w i th ou t a ct i ve a c tu a to r s o r w i th o ut c o mp re s se d a i r.

    You will then avoid damage in the test phase.

    A tutorial o n c o nf i gu ra t io n w i th F S T c a n b e f o un d i n s e ction1 .5. Detailed i n f or ma ti on o n o pe ra ti ng t he F ST c an b ef o u n d i n t h e F S T m a n u al (t y p e P. B E F S T . . ) .

    F ol l ow t he i n st ru ct io ns i n o rd er t o c a rr y o ut a f i rs t p ro je ctw i th t he C PX F E C.

    3. 1. 1 C re at e c on ne ct io n t o C PX F EC

    You will require a connection between your PC and theC PX F E C i f y ou w is h t o l oa d p ro je ct s i nt o t he F E C o r u se t heo n li n e f u nc t io n s.

    You can use all online functions via the programmingi n te rf ac e o r t h e E th er ne t i nt er fa ce . A cc es s t o t h eW e bB r o ws e r i s only p os s ib l e v ia t he E th er ne t i nt er fa ce .

    C re a te c o nn e ct i on t otheCPXFEC

    1 . S et t he ro ta ry s wi tc h of th e C PX FE C to 0 ".

    2 . Co nn ec t you r P C a nd th e C PX F EC e it he r

    via the programming interface with an RS232 cable( s ee s e ct i on 2.4) or

  • 8/13/2019 Apostila Boa Fec

    62/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    35Festo P.B ECPX FECEN en 0404NH

    via the Ethernet interface with a patch cable (connect io n vi a h ub /s w it ch ) o r w it h a c ro ss ov er c ab l e ( d ir ec tc o nn e ct i on ) ( s ee s e ct i on 2.3).

    3 . Ac ce ss th e w ind ow F ST P re fere nc es " i n F ST 4 .1 w it h[ E x tr as ] [ P re f er e nc e s. . .] . S e l ec t y o ur t y pe o f c o nn e ct i on i nt h e r e g is t e r C o m mu n i c at i o n ".

    Programming interface Use RS232"S et t he l oc al CO M in te rf ac e o f y ou r P C a nd th e

    baudrate.

    Ethernet interface Use TCP/IP"S et t he I P a dd re ss o f y ou r CP X FE C o r cl ic k on Se ar ch " i n or de r to d is pl ay a l is t o f t he o nl in e a va il a b l e c o nt ro l l er s . S e le c t y o ur c o nt ro l le r w i th a d o ub l eclick.I nf or ma ti on o n th e I P a dd re ss i ng c an b e f ou nd i nsection 4.3.2.

    4 . Confirm with OK.

    3.1.2 Creating a project

    C re at e a n ew p ro je ct i n F ST a s f ol lo ws :

    1 . [ Pro je ct] [ Ne w. .. ]

    2 . As sign a proj ect name.

    3 . S el ec t t he C PX F EC a s c ont ro ll er i n t he w in dow P r oje c t S e t ti n g s " .

  • 8/13/2019 Apostila Boa Fec

    63/267

    3. General operation (Stand Alone)

    36 Festo P.B ECPX FECEN en 0404NH

    F ig . 3 /1 : S el ec t t he C PX F EC w he n c re at in g a n ew p ro je ct .

    4 . Sta rt th e H ard war e C onf igu ra to r w ith a d oub le c li ck o n IO C on fi gu ra ti on " i n th e p ro je ct w i nd ow o f t he F ST(seeFi g. 3/2).I f t he p ro je ct w in do w i s n ot d is pl ay ed : S el ec t [ Vi ew ][ P r oje c t W i n dow ] .

    5 . T he CP X c onf igu ra ti on w in dow a nd t he H ard wa reC a ta l og u e w i l l b e d i s pl a ye d .I f t he H ard wa re C at al og ue i s n ot d is pl ay ed : S el ec t [ Vi ew ][Catalog].

    PleasenoteN o te t h e r eg i st e r D ow n l oa d " i n t h e C on t ro l le r s e t ti n gs " .

    S e le c t D ow n lo a d s ou rc e f i l es " i f y o u wi s h t o d ow n lo a dt h e p ro j ec t l a te r f r om th e C P X F E C ( e .g . o n a n ot h er PC ) .

  • 8/13/2019 Apostila Boa Fec

    64/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    37Festo P.B ECPX FECEN en 0404NH

    W he n a n ew p ro je ct i s c re at ed w it h t he C PX F E C, a C PX F E Cw i l l au t om a ti c al l y b e n u mb e re d m od u le 0 :

    1 2 3

    4

    1 Project window

    2 H a r dwa r e C o n f ig u ra t o r

    3 H a r dw ar e C a t a lo g u e

    4 C o n f i gu r a t i on t a bl e

    F ig . 3 /2 : F ST 4 .1 w it h H ard wa re C on fi gu ra to r a ft er c re at io n o f a n ew p ro je ct

  • 8/13/2019 Apostila Boa Fec

    65/267

    3. General operation (Stand Alone)

    38 Festo P.B ECPX FECEN en 0404NH

    3 .1 .3 F as t c on fi gu ra t io n by lo a di ng t he a ct ua l co nf ig ur at io n

    I f y o u h a ve a l re a dy co n ne c te d a c o mp l et e ly e q ui p pe d a n di n s ta l l ed C P X t e rm i na l t o yo u r PC , t he re a re t w o wa y s o f l o ad i n g t h e c o nf i gu ra t io n :

    Actualnominal comparison in the editor mode

    Change to the online mode

    Actualnominal comparison

    Actualnominalcomparison

    1 . C l ic k o n [ A ct u al No m in a l C om p ar i so n ] i n t h e c o nt e xtmenu.T he a ct ua l c o n fi gu ra ti on o f t he c on ne ct ed C PX t er mi na lw i l l be l o a de d a n d di s p l ay e d t o g et h e r w i t h t h e n o m i n alconfiguration.

    2 . Yo u c an d ec i de w hi c h m od ul es i n t he a ct ua l c on fi gu ra t i o n y o u w i s h t o tr a n s fe r by s e l e c ti n g t h e m w i t h t h ec he ck b o x i n t he f ir st c ol um n.

    3 . I n t he l ow er r an ge s el ec t u nd er U se a ct ua l s et ti ng sf o r. . . " w h e t h er c u r r e n t p a ra m e t er s e t t i n g s , t h e a ddr es sa s si g nm e nt ( m ap p in g ) o r t h e I d l e m o de / Fa i l s a fe s e tt in gs a re t o b e t ra ns f er re d.

    4 . C l ic k o n A p pl y " i n or de r t o t ra n sf e r t h e s e le c ti o n t o t h e

    c u r re n t p r oje c t .T h e H a rd w ar e C o nf i gu ra t or r em a in s i n t h e e d i to r m o de .

  • 8/13/2019 Apostila Boa Fec

    66/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    39Festo P.B ECPX FECEN en 0404NH

    F ig . 3 /3 : Lo ad th e c on fi gu ra ti on o f a c on ne ct ed C PX t er mi na l w it h t he f un ct io n A c t ua l N om i n a l C o m p ar i s o n " i n t h e e di t or m o de .

    I f t he a ct ua l no mi na l c om pa ri so n d oe s n ot l ea d t o a r es ul t:

    1 . C he ck th e c om mu ni cat io n s ett in gs of th e F ST u nd er[ E x t r as ] [ P r ef e r en c e s . .. ] r e g is t e r C o m mu n i c at i o n ".

    2 . C he ck t he c om mu ni ca ti on c on ne ct io n b et we en t heC P X F E C a n d y ou r P C .

    Changeto the onlinemode

    Online mode T he second possi bil ity of loading the current confi gurati oni s t o c ha ng e t o t he o nl i ne m od e.

    1 . S el ec t t he e nt ry [O nl in e] i n th e m en u [ On li ne ] o r c li ck o n O nl i n e" i n t h e c o nt e xt m e nu :T h e c on fi gu ra ti on o f t he C PX t er mi na l wi l l be l oa de d an dt r a ns f e r re d t o t h e H a r dw a r e C o n f ig u r at o r.

    2 . S el ec t [ Sa ve ] i n th e c on te xt m en u, i n o rd er to s av e t heloaded configuration in your project.

    T h e H ar dw ar e C on fi gu ra to r i s n ow c on ne ct ed o nl i ne w it ht he C PX t er mi na l.

  • 8/13/2019 Apostila Boa Fec

    67/267

    3. General operation (Stand Alone)

    310 Festo P.B ECPX FECEN en 0404NH

    3 .1 .4 M an ua l c on fi gu ra ti on w it h t he H ar dw are C on fi gu ra to r

    U se t hi s t yp e o f c on fi gu ra ti on i f y ou w is h t o co nf ig ur e f ir sto nl y o n t he P C w he n t he re i s n o c on ne ct io n t o a C PX t er mi na l.C on fi gu ra ti on i s c ar ri ed o u t w it h d ra g & d r op :

    1 . P ul l t he mo du le s ou t of th e H ard ware C at al og ue i nt o t heH a rd w a re C o nf i gu ra t or. Yo u c a n pu l l t he m o du l es o n to t h eg ra p hi c r ep re s en t at i on o f t h e C P X t e rm i n al o r d i re c tl y i n t o

    t h e c o nf i gu ra t io n t a bl e .C on fi gu re t he m od ul es f ro m l e ft t o r i gh t c or re sp on d in g t ot h e p h ys i c al s e q ue n ce i n y o ur C P X t e rm i na l .

    2 . T he a dd re ss es w i ll b e a ss i gn ed a ut om at ic al l y i n a cc or da nc e w it h t he d ef au lt a dd re ss in g.M o di f yi n g a d dr es s es : C l i ck d i re c tl y o n t he a d dr es s i n t hec o n f i gu r a t io n t abl e a n d m odi f y t he v a lu e .

    D e le t in g m o du l es

    M ar k th e m od ul e t o be d el et ed a nd p re ss t he De l"button.

  • 8/13/2019 Apostila Boa Fec

    68/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    311Festo P.B ECPX FECEN en 0404NH

    1

    2

    1 C o nf i gu r at i on w i t h d r ag & d r o p 2 C o nf i gu r ed m o du l es i n th econfiguration table

    F ig . 3 /4 : M an ua l c on fi gu ra ti on o f t he C PX t er mi na l i n t he H ar dw ar e C on fi gu ra to r

  • 8/13/2019 Apostila Boa Fec

    69/267

    3. General operation (Stand Alone)

    312 Festo P.B ECPX FECEN en 0404NH

    B e lo w y ou w i l l f i nd i n f o rm a ti o n o n t h e C P X m o du l es .

    M o du l e C P X F E C

    You can configure the controller of your CPX terminal with

    t h is m o du l e.

    Module Module

    identifiers 1)

    Assigned address

    range

    Remarks

    F E C controller F E C 1 word I1 w or d O

    T he i np ut s f or m t he p os it io n o f t h e r o t ar y s w i t ch .T he o ut pu ts a re n ot u se d.

    1 ) M o du l e i d en t if i er s o n t h e h a nd h el d a n d i n t h e H a rd w ar e C o nf i gu r at o r o f t h e F ST 4 . 1

    Tab. 3/1: Modul e CPXF EC

  • 8/13/2019 Apostila Boa Fec

    70/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    313Festo P.B ECPX FECEN en 0404NH

    E l ec t ri c m o d u les

    Module(order code)

    Moduleidentifiers 1) Assigned addressrange

    Remarks

    D ig i ta l 4 in p ut m o du l e( F : C P X 4 D I )

    4DI 1 word I

    D i g it a l 8 i n p ut m o d ule( I : C P X 8 DI )

    8DI 1 word I

    D i g it a l 4 o ut p ut m o d ul e( O : C P X 4 D O )

    4DO 1 word O

    Digital multi I/O module( Y: C P X 8D E 8 DO )

    8DI/8DO 1 word I1 w or d O

    A n a lo g ue 2 i n put m o d ul e( U : C P X 2A E U/ I )

    2AI 2 words I

    A n a lo g ue 2 o utp ut m o d ule

    ( P : C P X 2 A A U/ I )

    2AO 2 words O

    1) M o du l e i d en t if i er s o n t h e h a nd h el d a n d i n t h e H a rd w ar e C o nf i gu r at o r o f t h e F ST 4 . 1

    Tab. 3/2: O ver view of electric CPX modules

    Tec h n o lo g y m o d u le CP i n t erf ac e

    W it h th e a id o f t hi s m od ul e y ou c an c on ne ct C P c om po ne nt s

    t o t he C PX t er mi na l.

    Module Moduleidentifiers

    Assigned addressrange

    Remarks

    CP interface CPI max. 8 words Im ax . 8 word s O

    T h e n u mb e r o f a s si g ne d a d dr e ss e sd e pe n ds o n t h e s t ri n g a s si g nm e nts a ve d i n th e C P i n t er fa c e.

    Tab . 3 /3 : Te chn ol og y m od ul e C P i nt er fac e

  • 8/13/2019 Apostila Boa Fec

    71/267

    3. General operation (Stand Alone)

    314 Festo P.B ECPX FECEN en 0404NH

    P n eu m at i c m o d u les

    Module(order code)

    Moduleidentifiers 1)

    Assigned addressrange

    Remarks

    P n e uma t i c i n t e rfa c e fo r M PAv al ve s ( t yp e 3 2 )

    This module is notdisplayed in theHardware Configurator( p a s si ve m o d ule ) .

    M PA p n e u ma t ic m od u le ( t yp e 3 2 )w i t ho ut e l e ct r i c al i s o la t i on( VI : C PX t yp e 3 2: 1 . .V. .)

    MPA1SMPA2S

    1 word O

    M PA p n e u ma t ic m od u le ( t yp e 3 2 )w i t h e l e ct r i c al i s o l at i o n( VI : C PX t yp e 3 2 G: 1 . .V. .)

    MPA1GMPA2G

    1 word O

    P n e uma t i c i n t er fa c e fo r CPAv al ve s ( t yp e 1 2 )( VI : C PX t yp e 1 2: 1 . .V. .)

    CPA10/14 1...8 v alve coils:1 w or d O

    1...16 valve coils:

    1 w or d O 1...22 valve coils:

    2 wo rd s O

    T h e r e pr es e nt a ti o n o f the CPA and Midi/Maxiv al v es i n t h e H a r dw a re

    C o n fi g ura t o r i s o n l ys y m bo l i c a n d c and i ffer fr o m t h e a c t ual

    P n e uma t i c i n t er fa c e fo rM i di / Ma x i v al ve s ( t yp e 0 3 )( VI : C PX t yp e 0 3: 1 . .V. .)

    Type 03 1...8 valve coils:1 w or d O

    1...16 valve coils:1 w or d O

    1...24 valve coils:2 words O

    1...26 valve coils:

    2 words O

    n um b er o f v a lv e s.

    1) M o du l e i d en t if i er s o n t h e h a nd h el d a n d i n t h e H a rd w ar e C o nf i gu r at o r o f t h e F ST 4 . 1

    Ta b. 3 /4 : O ve rv ie w of p ne um at ic i nt er fa ce s a nd M PA p ne um at ic m od ul es

  • 8/13/2019 Apostila Boa Fec

    72/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    315Festo P.B ECPX FECEN en 0404NH

    C o nf i gu r e t h e v al v es a c co rd i n g t o t h e p n eu m at i c t y pe u s ed .

    T he p ne um at ic s m us t a lw ay s b e c on fi gu re d l a s t.

    Valves of type 32 (MPA pneumatic modules)

    T he i nd i vi d ua l M PA p ne um at ic m od ul es e ac h p ro vi d e a n e l e ct ri c m od ul e w it h d ig it al o u tp ut s f or c o nt ro ll i ng t he v al ve s. Aw or d o f o ut pu ts i s a lw ay s a ss ig ne d f or e a ch M PA p n eu ma ti cm o du l e, i rr es p ec t iv e o f t h e n u mb e r o f v al v es f i tt e d o n th e

    p ne um at ic m od ul e ( see Tab. 3/4).

    F ur t h er i n fo r ma t io n o n M PA pn e um a ti c m o du l es c a n b e f o un di n t he m a nu a l f o r t h e C P X I / O mo d ul e s ( P. B E C P X E A . . ) a n d i nt h e r el e va n t p n eu m at i cs m a nu a l.

    Valves of type 12 (CPA) and type 03 (Midi/Maxi)

    W it h t he se va lv es o nl y t h e p ne um at ic i nt er fa ce i s c on fi gu re d.T he n um be r o f va lv e c oi ls i s s et w it h a D IL s wi tc h ( se e m an ua lCPX I/O modules, P.BECPXEA..).

    Confi gurati on 1. Pull the relevant pneumati c interface onto the next linei n t h e c o nf i gu ra t io n t a bl e .

    2 . D ou bl e c li ck o n t he l in e. T he w in dow Mo du le .. ." w il l b edisplayed.

    3 . S wi tc h t o t he re gi st er Mo du le " a nd s el ec t t he n um be r of va lv e c oi ls a s i s s et o n t he D IL sw it ch i n t he p ne um at icinterface:

  • 8/13/2019 Apostila Boa Fec

    73/267

    3. General operation (Stand Alone)

    316 Festo P.B ECPX FECEN en 0404NH

    F ig . 3 /5 : S el ec t t he n um be r o f va lve c oi ls ( co nf ig ura ti on o f t he va lves o f ty pe 1 2 o r ty pe 0 3)

    I f y ou se t a v al ue w hi ch i s g re at er th an th e a ct ua l n um be ro f va lv e c oi l s, t he s up er fl uo us a dd re ss es w il l b e r es er v ed .

    T h e r ep re s en t at i on o f t h e C PA a n d M i d i/ M ax i v al v es i n t h eH a rd w ar e C o nf i gu ra t or i s o n ly s y mb o l ic a n d ca n d if f erf ro m t h e a c tu a l n u mb e r o f v al v es . T h e s a me n u mb e r o f v al ve s i s d i sp la ye d a s t he n um b er o f o ut pu ts w hi c h a res e t, i r re s pe c ti v e o f w h et h er t h e re a re s i ng l e s ol e no i dv al v es o r d o ub l e s o le n oi d v al v es i n y o ur C P X t e rm i na l .

  • 8/13/2019 Apostila Boa Fec

    74/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    317Festo P.B ECPX FECEN en 0404NH

    C h e ck i ng t h e c o nf i gu ra t io n

    A s u cc e ss f ul c o nf i gu ra t io n i s d i s ti n gu i sh e d b y :

    module assignment without gaps

    clear assignment of the master

    pneumatic modules are situated at the righthand end oft he C PX t er mi na l

    C h e c k t he c o n f i gu r a ti o n C l i c k o n C h e ck Co n f i gu r a ti o n " i n t h e c o n t ex t m e n u :

  • 8/13/2019 Apostila Boa Fec

    75/267

    3. General operation (Stand Alone)

    318 Festo P.B ECPX FECEN en 0404NH

    R es et c o n f ig u r at i o n

    A l l p a ra m et e r s e tt i ng s a n d t h e a d dr es s a s si g nm e nt( M ap p in g ) c a n b e r es e t t o t h e f a ct o ry se t ti n gs .

    Reset configuration T he desi red settings can be reset to the factory s etti ngs asfollows:

    1 . S el ec t t he c om ma nd [ De fa ul t S et ti ng s. .. ] i n t he c on te xt

    m en u o f t he H ar dw ar e C on fi gu ra to r. T h e f ol l ow i ng d ia l o g u e w i l l t h en a p p ea r :

    F i g. 3 / 6: A nn ou nc em en t f or c o nf ig ur at io n c he ck ( e xa mp le )

    2 . S el ec t th e s et ti ngs w hi ch a re t o be re se t a nd c onf irm t hi sw it h O K.

    Options Description

    Parameter Module p arameter without Idle mode andFailsafe

    Mapping Address a ssignment o f t he C PX t erminal

    I dl e m od e/ Fa il s af e I dl e m od e a nd Fa il sa fe p ar am et er s

    Sys tem se tt in gs Sys tem pa ram et ers a nd dia gnos tic m em or yparameters

    Tab. 3 /5: O ptions Reset configuration

  • 8/13/2019 Apostila Boa Fec

    76/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    319Festo P.B ECPX FECEN en 0404NH

    3.2 Addr essing

    B a si c r u le s f o r a d dr es s in g

    Modules occupy the address range in ascending orderf r o m l e f t t o r ig h t a c c o rdi n g t o t he i r ph y s i c al a r ra n g e me n ti n th e C P X t e r m in a l ( m o du le o r ie n t a te d) .

    Addressing is carried out wordorientated (16bit I/O).D i ff e re n t m o du l e t y pe s a re a s si g ne d w i th d i ff e re n ta d dr es s e s d e pe n di n g o n t h e a d d re s s r an g e.

    If a module occupies less than 1 word (16bit I/O), ther em ai ni ng b it s o f t he w ord w il l no t b e u se d.

    If a module occupies more than 1 word I/O, the followingw or d i n th e a dd re ss a re a w il l b e u se d.

    The address assignment can be modified moduleorien

    t a t e d ( s e e be l ow ) .

    3.2.1 Default addressing

    I n d ef au lt a dd re ss i ng t he a dd re ss a ss ig nm en ts o f t he va ri ou sm od ul e t yp es a re s pe ci fi ed i n r an ge s. T h e f ol lo wi ng t ab l es h ow s t h e a s si g nm e nt :

    Moduletype Input words Output words

    Digital inputs and outputs 0 ... 31 0 ... 31

    Valves / pneumatic modules 32 ... 63

    Analogue inputs and outputs 64 ... 127 64 ... 127

    F EC, bus node, technology module 128 ... 255 128 ... 255

    Ta b. 3 /6 : P re a ss ig ne d a dd re ss ra ng es o f d ef au lt a dd re ss in g

  • 8/13/2019 Apostila Boa Fec

    77/267

    3. General operation (Stand Alone)

    320 Festo P.B ECPX FECEN en 0404NH

    3.2.2 I ndividual addre ssing

    You can modify the addressing individually if you wish toa s s ig n o t he r a d d re s se s t h an t h o se i n t h e d e fa u lt a d dr es s i ng .

    C l ic k d i re c tl y o n t he a d dr es s i n t h e c o nf i gu ra t io n t a bl ea n d m o di f y t he v a lu e .M ak e s ure t ha t t he n ew a dd re ss i s n ot a lre ad y a ss ig ne d,o t he r wi s e y ou w i l l r ec e iv e a f a ul t m e ss a ge .

    F ig . 3 /7 : M od if y a dd re ss i n t he H ar dw ar e C on fi gu ra to r( he re w i th f au lt m es sa ge b ec au se a dd re ss i salready assigned)

  • 8/13/2019 Apostila Boa Fec

    78/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    321Festo P.B ECPX FECEN en 0404NH

    3.2.3 Addressing example

    Example 1:CPXterminal with defaultaddressing

    1 2 3

    8DI 4DO

    4

    2AI 2AO

    1 C P X F E C

    2 Digital I/O modules

    3 A n a l o gu e I / O m o du l es

    4 MPA pneumatics( 3 p n eu m at i c m o du l es )

    F ig . 3 /8 : E xa mp le 1 : C PX t er mi na l wi th d ig it al an d an al og ue I /O m od ul es a s w el l as M PApneumatics

  • 8/13/2019 Apostila Boa Fec

    79/267

    3. General operation (Stand Alone)

    322 Festo P.B ECPX FECEN en 0404NH

    Location Module I address O address Remarks

    0 CPXF EC 128 128 The inputs map the posit i o n o f t h e r o t ar y s w i tc h .T he o ut pu ts a re n ot u se d.

    1 Digital 8input module (8DI) 0

    2 Digital 4output module

    (4DO)

    0

    3 Analogue 2input module(2AI)

    6465

    4 Analogue 2output module(2AO)

    6465

    MPA pneumatic interface(typeVMPAFBEPL...)

    Passive module, is nots h ow n i n th e F S T

    5 M PA pneumatic module

    ( C P X t y p e3 2 : 1 . . . 8 V )

    32

    6 M PA pneumatic module( C P X t y p e3 2 : 1 . . . 8 V )

    33

    7 M PA pneumatic module( C P X t y p e3 2 : 1 . . . 8 V )

    34

    Tab. 3/7: Configur ation of example 1

  • 8/13/2019 Apostila Boa Fec

    80/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    323Festo P.B ECPX FECEN en 0404NH

    Addr. 1) Module Input w ord Output word

    Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0

    0 8DI / 4DO 8 DI 4 DO

    ...

    31

    32 M PA1 8 DO

    33 M PA1 8 DO

    34 M PA1 8 DO

    35 M PA1 8 DO

    ...

    63

    64 2AI / 2AO 2 AI (channel 0) 2 AO (channel 0)

    65 2AI / 2 AO 2 AI (channel 1) 2 AO (channel 1)

    ...

    127

    128 CPXFE C 8 DI 2) 8 DO

    ...

    255

    D a r k g r e y: a s s i gn e d a n d us e d

    L ig ht g re y: a ss ig ne d b ut n ot u se d

    1) W o rd num b e r, a ut o ma t i c al l y a s s i gn e d b y t h e d e fa ul t a d d r es s i n g2) R ot a ry s wi t ch o f t h e C P X F E C ( i nt e rr o ga t io n o f t h e s w it c h p o si t io n p o ss i bl e i n us e r p r og r am )

    Ta b. 3 /8 : A dd re ss a ss ig nm en t f or e xa mp le 1 ( de fa ul t a dd re ss in g)

  • 8/13/2019 Apostila Boa Fec

    81/267

  • 8/13/2019 Apostila Boa Fec

    82/267

    3. G e n e ra l op e r at i o n ( S t an d A l on e )

    325Festo P.B ECPX FECEN en 0404NH

    Location Module I address O address Remarks

    0 CPXFE C 128 128 The inputs map the posit i o n o f t h e r o t ar y s w i tc h .T he o ut pu ts a re n ot u se d.

    1 Digital 8input module(8DI)

    0

    2 Digital 4output module(4DO) 10

    3 Analogue 2input module(2AI)

    12

    4 Analogue 2output module(2AO)

    1112

    MPA pneumatic interface(typeVMPAFBEPL...)

    Passive module, is nots h o wn i n t he F S T

    5 M PA pneumatic module( C P X t y p e3 2 : 1 8 V )

    0

    6 M PA pneumatic module( C P X t y p e3 2 : 1 8 V )

    1

    7 M PA pneumatic module( C P X t y p e3 2 : 1 8 V )

    2

    Tab. 3/9: Confi gurati on of exampl e 2

  • 8/13/2019 Apostila Boa Fec

    83/267

    3. General operation (Stand Alone)

    326 Festo P.B ECPX FECEN en 0404NH

    Addr. 1) Module Input word Output word

    Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0

    0 8DI / M PA1 8 DI 8 DO

    1 2AI / M PA1 2 AI (channel 0) 8 DO

    2 2AI / M PA1 2 AI (channel 1) 8 DO

    ...

    10 4DO 4 DO

    11 2AO 2 AO (channel 0)

    12 2AO 2 AO (channel 1)

    ...

    32

    ...

    63

    64

    ...

    127

    128 CPXF EC 8 DI 2) 8 DO

    ...

    255

    D a r k g r e y: a s s i gn e d a n d us e d

    L ig ht g re y: a ss ig ne d b ut n ot u se d

    1) W o rd n um b er, a ut o ma t i c al l y a s s i gn e d b y t h e d e fa ul t a d d re s s i ng2) R ot a ry s wi t ch o f t h e C P X F E C ( i nt e rr o ga t io n o f t h e s wi t ch p o si t io n p o ss i bl e i n us e r p r og ra m )

    Ta b. 3 /1 0 : A dd re ss as s ig nm en t f or e xa mp le 2 ( m od i fi ed a dd re ss i ng )

  • 8/13/2019 Apostila Boa Fec

    84/267

    3. G e n e ra l o p e ra t i o n ( S ta n d A l o n e)

    327Festo P.B ECPX FECE N en 0404NH

    3.3 Parametrizing

    T he C PX t er mi na l i s s up pl ie d w it h p re se t p ar am et er s. I f r eq u ir e d, y o u c a n s e t t h e r e ac t io n o f t h e C P X t e rm i na l a s w e ll as

    t h e r e ac t io n of i n d iv i du a l m o du l es a n d c h an n el s b y pa r am e trizing.A d i s ti n ct i on i s m a de b e tw e en t h e f o ll o wi n g p a ra m et r iz i ng s :

    System parameters, e.g.: switching off fault messages,

    s e t t in g r e a c ti o n t i m e s , e t c.

    Module parameters (module and channelspecific), e.g.:M o ni t or i ng , s e tt i ng s i n t h e e v en t o f f a ul t s, s e tt i ng s f o rForcing

    Diagnostic memory parameters

    A d et a il e d d e s cr i pt i on o f t h e i n d iv i d ua l p a ra m et e rs a n d d a taa s w el l a s b as i c i nf or ma ti on o n