CPX Terminal...Manual electronics CPX control block Type CPX−SF34 Type CPX−SF35 PCWORX...

111
Manual electronics CPX control block Type CPX−SF34 Type CPX−SF35 PCWORX integrated Network protocol PROFINET IO CPX Terminal Manual 570 541 en 1007NH [748 167]

Transcript of CPX Terminal...Manual electronics CPX control block Type CPX−SF34 Type CPX−SF35 PCWORX...

Manual electronics

CPX control block

Type CPX−SF34Type CPX−SF35

PC�WORX integratedNetwork protocolPROFINET IO

CPX Terminal

Manual570 541en 1007NH [748 167]

Contents and general instructions

IFesto P.BE−CPX−SF34+SF35−EN en 1007NH

Original de. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Edition en 1007NH. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Designation P.BE−CPX−SF34+SF35−EN. . . . . . . . . . . . . . . . . .

Order no. 570 541. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

© (Festo AG�&�Co. KG, D�73726 Esslingen, 2010)Internet: �http://www.festo.comE−mail: �[email protected]

The reproduction of this document and disclosure to thirdparties and the utilisation or communication of its contentswithout explicit authorization is prohibited. Offenders willbe held liable for compensation of damages. All rightsreserved, in particular the right to carry out patent, utilitymodel or ornamental design registrations.

Contents and general instructions

II Festo P.BE−CPX−SF34+SF35−EN en 1007NH

PROFINET IO®, PHOENIX CONTACT®, PC�WORX®, SPEEDCON®, TORX®, TÜV® and VDE®

are registered trademarks of the respective trademark owners in certain countries.

Contents and general instructions

IIIFesto P.BE−CPX−SF34+SF35−EN en 1007NH

Contents

Intended use VI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Target group VII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Service VII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Instructions on this description VIII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Important user instructions IX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1. Installation 1−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.1 General installation instructions 1−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.2 Electrical connection and display elements 1−4 . . . . . . . . . . . . . . . . . . . . . . . . . .

1.3 Dismantling and mounting 1−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.4 Setting the DIL switches, using the memory card 1−7 . . . . . . . . . . . . . . . . . . . . .

1.4.1 Removing and attaching the cover for DIL switchesand memory card 1−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.4.2 Settingthe DIL switches 1−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.4.3 Use of the memory card 1−10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.5 Connecting to the network 1−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.5.1 General information about PROFINET networks 1−11 . . . . . . . . . . . . . . .

1.5.2 Overview of connection technology, network connectors and cables . . . 1−13

1.5.3 Pin allocation of the network interface of the CPX−SF34 1−15 . . . . . . . . .

1.6 Ensuring protection class IP65/IP67 1−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.7 Pin assignment of power supply 1−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2. Commissioning 2−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.1 Brief instructions on commissioning 2−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.2 Application cases 2−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.2.1 Application case Remote Controller PROFINET 2−5 . . . . . . . . . . . . . . . .

2.2.2 Application case Stand Alone 2−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.3 Modules of the CPX terminal 2−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.3.1 Electrical and pneumatic modules in PC WORX 2−8 . . . . . . . . . . . . . . . .

2.4 General remarks on configuration 2−9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.4.1 Distinction of the application cases 2−10 . . . . . . . . . . . . . . . . . . . . . . . . .

Contents and general instructions

IV Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.4.2 Starting up with configuration differences 2−10 . . . . . . . . . . . . . . . . . . .

2.4.3 Create network connection 2−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.5 Configuration with PC WORX � application case Remote Controller 2−14 . . . . . . .

2.5.1 First option: Reading in the configuration 2−15 . . . . . . . . . . . . . . . . . . . .

2.5.2 Second option: Manual configuration 2−18 . . . . . . . . . . . . . . . . . . . . . . .

2.5.3 Generating variables, assigning process dataCreate communication program 2−20 . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.6 Configuration with PC WORX � application case Stand Alone 2−25 . . . . . . . . . . . .

2.6.1 Hardware configuration 2−26 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.6.2 Generating variables and assigning process data 2−28 . . . . . . . . . . . . . .

2.6.3 Configuration example 2−32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.7 Parametrisation 2−34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.7.1 Parametrisation for PROFINET 2−35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.7.2 CPX parametrisation 2−36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.7.3 Application example for the parametrisation 2−39 . . . . . . . . . . . . . . . . .

2.8 Installing GSDML and FDCML files 2−40 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.9 Procedure for replacing a control block 2−40 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3. Diagnosis 3−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.1 Overview of diagnostic possibilities 3−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.2 Diagnostics via LEDs 3−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.2.1 Display of the network−specific LEDs NF, TP1, TP2 3−6 . . . . . . . . . . . . .

3.2.2 Display of the CPX−/controller specific LEDs PS, PL, SF, M 3−7 . . . . . . .

3.3 Diagnostics via global CPX system variables 3−9 . . . . . . . . . . . . . . . . . . . . . . . . .

3.3.1 CPX status bits 3−10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.3.2 Error numbers of the variable CPX_MODULE_ERROR_NUMBER 3−11 . .

3.4 Diagnostics over PROFINET (only for Remote Controller) 3−12 . . . . . . . . . . . . . . .

3.4.1 Diagnostics via Diag+ 3−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.5 Error characteristics/Fail safe 3−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.5.1 Behaviour of the PLC with undervoltage 3−16 . . . . . . . . . . . . . . . . . . . . .

A. Technical appendix A−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A.1 Common technical data of control block CPX−SF34/35 A−3 . . . . . . . . . . . . . . . . .

A.2 Technical data of control block CPX−SF34 A−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Contents and general instructions

VFesto P.BE−CPX−SF34+SF35−EN en 1007NH

A.3 Technical data of control block CPX−SF35 A−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A.4 Function blocks for the CPX−SF34/35 A−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

B. Index B−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Contents and general instructions

VI Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Intended use

The CPX−SF34/35 control block documented in this descriptionis intended exclusively for use as a station (I/O device) in thePROFINET IO or as �Stand Alone" control block.

NoteThe CPX−SF34/35 may be used only in combination withCPX metal interlinking blocks.

The CPX terminal must only be used as follows:

� as intended in an industrial environment

� in original condition without modification (only theconversions or modifications described in thedocumentation supplied with the product are permitted).

� in faultless technical condition.

The limit values specified for pressures, temperatures,electrical data, torques etc. should be observed.

If conventional accessory components such as sensors andactuators are connected, the specified limits for pressures,temperatures, electrical data, torques etc. should beobserved.

Observe the regulations of the trade associations, theGerman Technical Control Board (TÜV), the VDE specificationsor the relevant national regulations.

Contents and general instructions

VIIFesto P.BE−CPX−SF34+SF35−EN en 1007NH

Warning· Use only PELV circuits as per IEC/DIN EN 60204−1 for theelectric power supply (protective extra−low voltage,PELV).

· Also comply with the general requirements for PELVcircuits laid down in IEC/DIN EN 60204−1.

· Use only power sources that guarantee reliableelectrical isolation of the operating voltage as perIEC/DIN EN 60204−1.

Due to the use of PELV power units, protection againstelectric shock (protection against direct and�indirect�contact)is guaranteed in accordance with IEC/DIN EN 60204−1(electrical equipment of machines, general requirements).

Target group

This manual is intended exclusively for technicians trained incontrol and automation technology, who have experience ininstalling, commissioning, programming and diagnosingprogrammable logic controllers (PLC) and field bus systems.

Service

In case of technical problems, please contact technicalsupport of PHOENIX CONTACT GmbH & Co. KG, D−32823 Blomberg, Germany.

E−mail: [email protected]

Contents and general instructions

VIII Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Instructions on this description

This description contains information about installation andconfiguration of the CPX control block for PROFINET as wellas PROFINET−specific information regarding parametrisation,commissioning, programming and diagnosis of a CPXterminal in a PROFINET network.

Further information about PROFINET can be obtained on theWorld Wide Web at

� www.profinet.com

Also observe the following PROFINET−specific document:

� PROFINET Installation Guide

General basic information on the mode of operation,mounting, installation and commissioning of CPX terminalscan be found in the CPX system description (P.BE−CPX−SYS...).

Information about further CPX modules can be found in themanual for the respective module.

An overview of the structure of the CPX terminal userdocumentation is contained in the CPX system description.

Product specific information about the control system(IPC,�PLC or I/O controller) can be found inthe�manufacturer’s�product�documentation.

Contents and general instructions

IXFesto P.BE−CPX−SF34+SF35−EN en 1007NH

Important user instructions

Danger categories

This manual contains instructions on the possible dangerswhich may occur if the product is not used correctly. Theseinstructions are marked (Warning, Caution, etc.), printed on ashaded background and marked additionally with a picto�gram. A distinction is made between the following dangerwarnings:

WarningThis means that failure to observe this instruction mayresult in serious personal injury or damage to property.

CautionThis means that failure to observe this instruction mayresult in personal injury or damage to property.

NoteThis means that failure to observe this instruction mayresult in damage to property.

The following pictogram marks passages in the text whichdescribe activities with electrostatically sensitive compo�nents.

Electrostatically sensitive components may be damaged ifthey are not handled correctly.

Contents and general instructions

X Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Marking special information

The following pictograms mark passages in the textcontaining special information.

Pictograms

Information:Recommendations, tips and references to other sources ofinformation.

Accessories:Information on necessary or sensible accessories for theFesto product.

Environment:Information on environment−friendly use of Festo products.

Text markings

· The bullet indicates activities which may be carried out inany order.

1. Figures denote activities which must be carried out in thenumerical order specified.

� Hyphens indicate general activities.

Contents and general instructions

XIFesto P.BE−CPX−SF34+SF35−EN en 1007NH

The following product−specific terms and abbreviations areused in this description:

Term/abbreviation Significance

A / Q Digital output

A0h Hexadecimal numbers are marked by a low−set �h"

AB / QB Output byte

Bus node Create the connection to certain networks or fieldbusses, pass oncontrol signals to the connected modules and monitor their functioning

Byte Number of address words assigned by the CPX terminal

Control block As with "bus node", but also contains a PLC

CPX Terminal Complete system consisting of CPX modules with or withoutpneumatics

CPX modules Common term for the various modules which can be incorporated into aCPX terminal

DIL switch Miniature switch; dual−in−line switches consist of several switchelements with which settings can be made

E / I Digital input

EAs / IO Digital inputs and outputs

EB / IB Input byte

FMT Festo Maintenance Tool (CPX−FMT); configuration and programmingsoftware for CPX modules for start−up and service purposes

Tab.�0/1: Specific terms and abbreviations � part 1

Contents and general instructions

XII Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Term/abbreviation Significance

IPC Industrial PC

I/O modules Collective term for the CPX modules which provide digital inputs andoutputs

PLC Programmable Logic Controller, also designated as system control orcontroller for short

Pneumatic interface The pneumatic interface is the interface between the modular electricalperiphery and the pneumatics

PROFINET IO Fieldbus system based on Industrial Ethernet for data exchange be�tween the system control (PLC/IPC), system controller (e.g. CPX−FEC)and field devices (I/O devices) or drives and valve terminals; furtherinformation: www.profibus.com/pn, www.profibus.de

PROFINET IO RT PROFINET IO in the version with real−time protocol(typical cycle time: 10�ms; typical application: production controller)

PROFINET IO IRT PROFINET IO in the version with isochronous real−time protocol(typical cycle time: <�1�ms; typical application: drive controller)

QB / AB Output byte

QX / AX Digital output

Tab.�0/2: Specific terms and abbreviations � part 2

Installation

1−1Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Chapter 1

1. Installation

1−2 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Contents

1. Installation 1−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.1 General installation instructions 1−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.2 Electrical connection and display elements 1−4 . . . . . . . . . . . . . . . . . . . . . . . . . .

1.3 Dismantling and mounting 1−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.4 Setting the DIL switches, using the memory card 1−7 . . . . . . . . . . . . . . . . . . . . .

1.4.1 Removing and attaching the cover for DIL switchesand memory card 1−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.4.2 Settingthe DIL switches 1−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.4.3 Use of the memory card 1−10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.5 Connecting to the network 1−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.5.1 General information about PROFINET networks 1−11 . . . . . . . . . . . . . . .

1.5.2 Overview of connection technology, network connectors and cables . . . 1−13

1.5.3 Pin allocation of the network interface of the CPX−SF34 1−15 . . . . . . . . .

1.6 Ensuring protection class IP65/IP67 1−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1.7 Pin assignment of power supply 1−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1. Installation

1−3Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.1 General installation instructions

WarningBefore carrying out installation and maintenance work,switch off the following:

� compressed air supply

� the operating voltage supply for the electronics/sensors

� the load voltage supply for the outputs/valves

In this way, you can avoid:

� uncontrolled movements of loose tubing lines.

� uncontrolled movements of the connected actuators

� undefined switching states of the electronics

CautionThe CPX control block contains electrostatically sensitivecomponents.

· Therefore, do not touch any components.

· Observe the handling specifications for electrostaticallysensitive devices.

You avoid malfunctions of and damage to the electronics bydoing so.

Information about mounting the CPX terminal can be found inthe CPX system manual (P.BE−CPX−SYS−...).

1. Installation

1−4 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.2 Electrical connection and display elements

The following connection and display elements can be foundon the CPX−control block:

1 PROFINET−specificnetwork statusLEDs andCPX−specific LEDs

2 Memory card

3 Mainsconnections:CPX−SF34: 2 xpush−pull RJ45CPX−SF35: 2 xSCRJ

4 DIL switch (PLC bootsettings)

5 Unused, alwaysseal with covercap

6 Name plate withMAC−ID

1

2

3

4

5

6

3

Fig.�1/1: Connection and display components of the CPX−SF34/35

NoteTo ensure protection class IP65/IP67, the unused networkconnections must be closed with cover caps. These mustbe ordered separately (type CPX−M−AK−C, part no. 548753,see also section 1.6).

1. Installation

1−5Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.3 Dismantling and mounting

NoteThe CPX−SF34/35 must be the first module in the CPXterminal (counted from the left).

When installed, the CPX control block is located in aninterlinking block of the CPX terminal (see Fig.�1/2).

Dismantling Dismantle the control block as follows:

1. Loosen the 4 screws in the control block with a TORXscrewdriver size T10.

2. Pull the control block carefully and without tilting awayfrom the contact rails of the interlinking block.

1 CPX control block

2 Interlinking block

3 Contact rails

4 TORX T10 screws

3

4

1

2

Fig.�1/2: Dismantling/mounting of the control block

1. Installation

1−6 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

NoteFor the CPX−SF34/35, use only metal interlinking blocksand suitable screws:

� For metal interlinking blocks:screws with metric thread.

Mounting Mount the control block as follows:

1. Check seal and seal surfaces

2. Insert the control block without tilting into the firstinterlinking block of the CPX terminal (counted from theleft).

3. Carefully press the control block into the interlinkingblock up to the stop.

4. Place the screws so that the self−cutting threads can beused.

5. Tighten the screws with a size T10 TORX screwdriver witha torque of 0.9 ... 1.1 Nm.

1. Installation

1−7Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.4 Setting the DIL switches, using the memory card

In order to set the DIL switches and change the memory card,first the cover must be removed.

CautionThe CPX control block contains electrostatically sensitivecomponents.

· Therefore, do not touch any components.

· Observe the handling specifications for electrostaticallysensitive devices.

You avoid malfunctions of and damage to the electronics bydoing so.

1.4.1 Removing and attaching the cover for DIL switchesand memory card

You need a screwdriver in order to remove or attach thecover.

NoteObserve the following instructions when removing orattaching the cover:

· Disconnect the power supply before removing the cover.

· Make sure that the seal is seated correctly whenattaching the cover.

· Tighten the two fastening screws at first by hand andthen with max. 0.4 Nm.

1. Installation

1−8 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.4.2 Settingthe DIL switches

With the DIL switches (see Fig.�1/3), choose the boot settingsof the PLC:

Procedure:

1. Switch off the power supply.

2. Remove the cover (see section 1.4.1).

3. Make the required settings (see Tab.�1/1).

4. Attach the cover again (see section 1.4.1).

1 DIL switch 1: Boot settings of the PLC

2 DIL switch 2: Reserved

1

2

Fig.�1/3: Function of the DIL switches in the control block

1. Installation

1−9Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Boot settings of the PLC

Choose the boot settings of the PLC with the switch element

DIL 1.1 of the DIL switch 1: �PC WORX" or �AUTORUN" orformatting of the memory card:

DIL switch Setting Function1)

All DIL switches:OFF(factory setting)

Operating status of thePLC: �PC WORX"The start of the userprogram is controlled viaPC WORX.

DIL 1.1: ONDIL 1.2: OFFDIL 2.1: OFFDIL 2.2: OFF

Operating status of thePLC: �AUTORUN"The boot program startsas soon as theCPX−SF34/35 is suppliedwith voltage.

DIL 1.1: AnyDIL 1.2: ONDIL 2.1: OFFDIL 2.2: OFF

Formatting the memorycard:1. Set DIL 2.1 to ON.2. Execute POWER

OFF/ON The memorycard is now formatted.

3. Set DIL 2.1 back to OFF.

Tab.�1/1: Boot settings of the PLC with DIL switch 1

NoteA requirement for automatic starting of the Boot programwith AUTORUN is that there are no deviations between theactual and nominal configuration (see section 2.4.2).

1. Installation

1−10 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.4.3 Use of the memory card

CautionRisk of malfunctions or damage.

Inserting or removing the memory card while the powersupply is switched on can result in malfunctions of ordamage to the memory card.

· Disconnect the power supply before you insert orremove the memory card.

The memory card serves as carrier of the boot program forsystem start as well as carrier of the user programs andconfiguration data. The PROFINET device name is not storedon the memory card of the CPX−SF34/35.

NoteThe memory card must always be plugged in when theCPX−SF34/35 is started!

Replacing the memorycard

The memory card is under a cover (see Fig.�1/1). You need ascrewdriver in order to remove or attach this cover.

1. Installation

1−11Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.5 Connecting to the network

1.5.1 General information about PROFINET networks

NoteComponents with PROFINET interfaces may be operatedonly in�networks where all connected network componentsare supplied with PELV power supplies or integrated powersupplies with similar protection.

Installation guidelines

The installation guidelines can be obtained via the PROFINETUser Organisation:

www.profinet.com

Observe the instructions there.

1. Installation

1−12 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Use of switches and routers

The switch integrated into the control block makes it possibleto distribute the network into several segments.

With the help of additional switches and routers, the networkcan be divided into additional segments. Thus, it is possibleto structure the PROFINET network and implement greaternetwork expansions.

Irrespective of the network structure, the expansion of aPROFINET segment for 100Base−TX must not exceed 100�m.

Switches and routers for Industrial Ethernet are available onthe market from various companies. There are many IP20,IP65 or IP67 components.

� Unmanaged Switches:For small Ethernet solutions with a low network load orminimal requirements for deterministics.

� Managed switches:Networks can also be diagnosed and controlled,redundant paths recognised and communicationsolutions segmented.

1. Installation

1−13Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.5.2 Overview of connection technology, network connectors and cables

NoteIn case of faulty installation or high transmission rates,data transmission errors can occur as a result of signalreflections and attenuations.

Causes of transmission faults may be:

� incorrect screened connection

� branches

� transmission over long distances

� unsuitable cables

Observe the cable specification!

Cable specification

Note � strain reliefIf the CPX terminal is mounted onto the moving part of amachine, the network cable on the moving part must beprovided with strain relief. Also observe the relevant re�gulations in EN�60204 part 1.

Crossover detection The CPX−SF34 supports crossover detection (�Auto−MDI").You can optionally use patch cables or crossover cables forconnecting your control block to the network or a PC.

· Make sure that the function�autonegotiation/autocrossover" on the other devices isactivated when you use patch and crossover cables in thesystem.

1. Installation

1−14 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Control block Connection technology Network connectors Cable specification

CPX−SF34 2 x push−pull socket, RJ45,Cu, AIDA−conforming,corresponding toIEC�61076−3−117,IEC�61076−3−106,IEC�60603−7

Plug from FestoType FBS−RJ45−PP−GSfor�Ethernet lines withcable diameter 5�...�8�mm(22 AWG)

� Cable type:screened IndustrialEthernet cable(at least category Cat 5)

� Cable length:max. 100�m betweennetwork stations(corresponding tospecifications forEthernet networks,ISO/IEC�11801,ANSI/TIA/EIA−568−B,PROFINET InstallationGuide)

Tab.�1/2: CPX−SF34: Overview of connection technology, network connectors andcables

Control block Connection technology Network connectors Cable specification

CPX−SF35 2 x push−pull socket, SCRJ,AIDA conforming

Plug from Festo, typeFBS−SCRJ−PP−GS for POFfibre−optic cable,650�nm, correspondingto IEC�61754−24

� POF fibre optic cable� Cable length:

max.�segment length50�m �between networkparticipants(corresponding tospecifications forEthernet networks,ISO/IEC 11801,PROFINET InstallationGuide)

Tab.�1/3: CPX−SF35: Overview of connection technology, network connectors andcables

1. Installation

1−15Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.5.3 Pin allocation of the network interface of the CPX−SF34

There are two push−pullRJ45 copper sockets(AIDA−conforming) on the CPX−SF34 for the networkconnection:

RJ45 socket Pin Signal Explanation

12345678

12345678Metal covering

TD+TD�RD+��RD���FE

Transmission data (Transmit Data, TD) +Transmitted data �Receive data (Receive Data, RD) +ReservedReservedReceived data �ReservedReservedScreening/functional earth(Shield/functional earth, FE)

Tab.�1/4: Pin allocation of the network interfaces of the CPX−SF34

Connection with plug from Festo

Connect the CPX−SF34 to the network with Festo plugs, typeFBS−RJ45−PP−GS. The plug is designed for Ethernet lines withcable diameters of 5 ... 8 mm.

To comply with protection class IP65/IP67:

� Use Festo plugs.

� Seal unused interfaces (see section 1.6).

1. Installation

1−16 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.6 Ensuring protection class IP65/IP67

NoteTo ensure protection class IP65/IP67, the unused networkconnections must be closed with cover caps. These mustbe ordered separately (see Tab.�1/5).

Connection Port IP65/IP67 Cover IP65/IP67 1)

CPX−SF34:TP1, TP2 (RJ45)

Plug from Festo,Type FBS−RJ45−PP−GS

CPX−SF35:TP1, TP2 (SCRJ)

Plug from Festo,Type FBS−SCRJ−PP−GS for POFfibre−optic cable

Cover cap from Festo,Type CPX−M−AK−C, part no. 548753

Unused M12 socket � Cover cap from Festo,Type ISK−M12 2)

1) if connection is not used2) included in scope of delivery; connection must always be covered!

Tab.�1/5: Connections and covers for protection class IP65/IP67

1. Installation

1−17Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1.7 Pin assignment of power supply

Warning· Use only PELV power circuits according to IEC/DINEN�60204−1 (Protective Extra−Low Voltage, PELV) for thepower supply.Also take into account the general requirements forPELV�power circuits according to IEC/DIN�EN�60204−1.

· Use only power sources that guarantee reliableelectrical isolation of the operating voltage as perIEC/DIN�EN�60204−1.

Through the use of PELV circuits, protection against electricshock (protection against direct and indirect contact) isensured in accordance with IEC/DIN�EN�60204−1 (electricalequipment of machines, general requirements).

The current consumption of a CPX terminal depends on thenumber and type of integrated modules and components.

Read the information on power supply as well as on theearthing measures to be carried out in the CPX systemmanual.

1. Installation

1−18 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

System supply andadditional supply

The CPX terminal is supplied with operating and loadvoltage via the interlinking blocks with system andadditional power supply. Further interlinking blocks are inpreparation.

NoteThe CPX−SF34/35 may be used only in combination withCPX metal interlinking blocks.

Plug connector(t i

Interlinking block with(top view of device)

System power supplyType CPX−M−GE−EV−S...

Additional power supplyType CPX−M−GE−EV−Z...

Valve supply

7/8"−5POL

1234 5

1: 0�Vval / 0�Vout2: 0�Vel/sen3: FE (earth)4: 24�Vel/sen5: 24�Vval / 24�Vout

1: 0�Vout2: not connected3: FE (earth)4: not connected5: 24�Vout

Push−pull 1) 1: 24�Vel/sen2: 0�Vel/sen3: 24�Vval / 24�Vout4: 0�Vval / 0�Vout5: FE (earth)

1: not connected2: not connected3: 24�Vout4: 0�Vout5: FE (earth)

Vel/sen: Operating voltage for electronics/sensorsVout: Load voltage for outputsVval: Load voltage for valvesFE: Functional earth

1) Interlinking blocks with forwarding function or system power supply are identically constructed.

Tab.�1/6: Pin allocation for system and additional power supply

Commissioning

2−1Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Chapter 2

2. Commissioning

2−2 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Contents

2. Commissioning 2−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.1 Brief instructions on commissioning 2−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.2 Application cases 2−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.2.1 Application case Remote Controller PROFINET 2−5 . . . . . . . . . . . . . . . .

2.2.2 Application case Stand Alone 2−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.3 Modules of the CPX terminal 2−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.3.1 Electrical and pneumatic modules in PC WORX 2−8 . . . . . . . . . . . . . . . .

2.4 General remarks on configuration 2−9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.4.1 Distinction of the application cases 2−10 . . . . . . . . . . . . . . . . . . . . . . . . .

2.4.2 Starting up with configuration differences 2−10 . . . . . . . . . . . . . . . . . . .

2.4.3 Create network connection 2−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.5 Configuration with PC WORX � application case Remote Controller 2−14 . . . . . . .

2.5.1 First option: Reading in the configuration 2−15 . . . . . . . . . . . . . . . . . . . .

2.5.2 Second option: Manual configuration 2−18 . . . . . . . . . . . . . . . . . . . . . . .

2.5.3 Generating variables, assigning process dataCreate communication program 2−20 . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.6 Configuration with PC WORX � application case Stand Alone 2−25 . . . . . . . . . . . .

2.6.1 Hardware configuration 2−26 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.6.2 Generating variables and assigning process data 2−28 . . . . . . . . . . . . . .

2.6.3 Configuration example 2−32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.7 Parametrisation 2−34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.7.1 Parametrisation for PROFINET 2−35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.7.2 CPX parametrisation 2−36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.7.3 Application example for the parametrisation 2−39 . . . . . . . . . . . . . . . . .

2.8 Installing GSDML and FDCML files 2−40 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.9 Procedure for replacing a control block 2−40 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2. Commissioning

2−3Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.1 Brief instructions on commissioning

This section provides a quick summary of the important stepsfor commissioning the CPX−SF34/35. Observe the detailedinformation in the other sections of this chapter.

Brief instructions on commissioning

1. Check the setting of the DIL switches (section 1.4.2). Youcan set the following:

· Automatic starting of the Boot program on thememory card (AUTORUN) or start through PC WORX.

· Formatting the memory card

2. Make sure that a memory card is placed in the controlblock (section 1.4.3).

3. Connect the control block to the network or connect itdirectly to your PC (section 1.5).

4. Switch on the power supply for the CPX terminal (section 1.7).

5. Create the network connection: Set the IP addresses ofyour PC and of the CPX−SF34/35 (section 2.4.3).

6. This is how you configure the Remote Controller applicationcase:

· Create a project for a higher−order controller with atemplate in PC WORX. Read in configuration of theCPX−SF34/35 or create it manually (section 2.5).

· Generate variables and assign process data (section 2.5.3).

· Create programs for communication between CPX−SF34/35 and PLC (program examples in section 2.5.3)

2. Commissioning

2−4 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

· If desired, set parameters for the CPX terminal(section 2.7).

· Create user program.

7. This is how you configure the Stand Alone applicationcase:

· Create project for the CPX−SF34/35 with a template inPC WORX. Configure CPX terminal hardware in theproject (section 2.6).

· Generate variables and assign process data (section 2.6.2).

· If desired, set parameters for the CPX terminal(section 2.7).

· Create user program

8. Information on diagnosis and error elimination can befound in chapter 3.

A list of the function blocks usable for the CPX−SF34/35 foryour user program can be found in section A.4.

2. Commissioning

2−5Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.2 Application cases

You can operate the CPX control block in two different ways:Remote Controller PROFINET and Stand Alone.

2.2.1 Application case Remote Controller PROFINET

PROFINET

TCP/IP

1

2

PLC Programming PC with PC WORX

1 CPX terminal with user program

2 Configuration and programming via PC, communicationin operation with higher−order controller via PROFINET(64 byte inputs/64 byte outputs)

Fig.�2/1: Application case Remote Controller PROFINET

The CPX terminal is controlled by a user program in the CPX control block. Through PROFINET, the CPX control blockcommunicates with a higher−order controller. This uses 64 I/O bytes. Configuration and programming takes place viaTCP/IP in PC WORX and through FDCML/GSDML files.

A detailed description of this configuration can be found insection 2.6.

2. Commissioning

2−6 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.2.2 Application case Stand Alone

TCP/IP

1

2

Programming PC with PC WORX

1 CPX terminal with user program

2 Configuration and programming via PC WORX; afterthat, the CPX terminal runs in stand−alone mode.

Fig.�2/2: Application case Stand Alone

The CPX terminal is controlled in stand−alone mode by a userprogram in the CPX control block. During operation, it is notnecessary to communicate with other stations. The CPX terminal is configured with PC WORX via TCP/IP andthen works independently, e.g. at manual workstations.Configuration and programming takes place with FDCML filesin PC WORX.

A detailed description of this configuration can be found insection 2.5.

2. Commissioning

2−7Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.3 Modules of the CPX terminal

The CPX terminal can include electrical and pneumaticmodules.

NoteEvery module occupies a certain number of IO bits, bytesor words in the context of module communication. Thetotal number of available bytes per CPX terminal is limited(max. 512 inputs and 512 outputs).Also, certain functions, like status bits, reduce the�numberof available IO bytes.

Take account of this fact for the planning of your CPXterminal.

Information on the CPX modules can be found in thecorresponding descriptions for the modules (P.BE−CPX−EA−...,P.BE−CPX−AX−..., pneumatic descriptions, etc.).

The number of allocated IO bytes for each module in PCWORX can be found in the �Data Sheet". The data sheet isdisplayed as followed:

· In PC WORX in the �Device Catalog", click on the modulewith the right mouse key. Then, in the context menu,click on �Display Data Sheet"

2. Commissioning

2−8 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.3.1 Electrical and pneumatic modules in PC WORX

The modules of the CPX terminal are organised in the fol�lowing subfolders in the �Device Catalog" in PC WORX:

� Analogue

� Digital

� PLC

� �Pneumatic"

� �Pneumatic interface"

For the application case Stand Alone, it is necessary to:Configure the modules according to their physical sequencein the CPX terminal from left to right � correspondingly fromtop to bottom in PC WORX, see section 2.6.

The valves of the CPX terminal are correspondinglyconfigured differently by type:

� Valves of type 44/45 (VTSA/VTSA−F), type 03 (Midi/Maxi)or type 12 (CPA):For expansion of the valve side, only one configuration isrequired for the pneumatic interface. In the pneumaticinterface, the number of valve coils is set using a DILswitch. You can find corresponding entries in the�Pneumatic interface" subfolder in the �Device Catalog"of PC WORX.

� Valves of type 32/33 (MPA/MPA−F pneumatic modules):A configuration is required for each pneumatic module oftype MPA. For the various types of MPA pneumaticmodules, you will find corresponding entries in the�Pneumatic" subfolder in the �Device Catalog" ofPC�WORX. From the technical point of view, the individualMPA pneumatic modules each represent an electricmodule for controlling the attached valves.

2. Commissioning

2−9Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.4 General remarks on configuration

The following sections describe the important configurationsteps with the configuration and programming softwarePC�WORX (from version 6.00 SP1) in the setting for theEnglish language.

CautionDanger of malfunctions, damage or injuries to people

Before commissioning, ensure that the connected el�ements (e.g.�actuators) do not perform any undesired oruncontrollable movements.

Recommendation:If the safety concept of your machine/system permits,commission the CPX terminal with both operating voltages �but without compressed air. You can then test the CPXterminal without triggering undesired reactions.

Fundamental operation of the PC WORX software is assumedto be known in the following. Information on this can befound in the corresponding documentation from PHOENIXCONTACT.

2. Commissioning

2−10 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.4.1 Distinction of the application cases

Use the preinstalled templates in PC WORX. Configurationtakes place in different ways, depending on the applicationcase.

� Application case Remote Controller: Configure ahigher−order controller with one of the templates(see section 2.5).

� Application case Stand Alone: Start configuration withthe template CPX−SF34−PCW or SF35 from the tab �CPX"(see section 2.6).

The GSDML (application case Remote Controller) and FDCMLfiles (application case Stand Alone) are already preinstalled.Instructions on updating these files can be found insection�2.8.

2.4.2 Starting up with configuration differences

NoteIn case of deviations of the actual configuration from thetarget configuration, the CPX terminal with the controlblock CPX−SF34/35 does not start up in PC WORX.

During project download via [Online] [Project Control...] in theCPX−SF34/35 in the online diagnostics of PC WORX, adefective configuration is displayed as PLC error �Differencesin target/actual configuration".

· Check the configuration of the I/Os on the CPX terminal.

2. Commissioning

2−11Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.4.3 Create network connection

The following steps serve to create a network connectionbetween your CPX terminal and your PC.

1. Set your PC’s network card to a fixed IP address. To dothis, in the Windows Control Panel use the settings for thenetwork connections (here shown only as a summary inFig.�2/3).

1

1 Set IP address and confirm with OK

Fig.�2/3: In the Windows Control Panel: Set fixed IP address for the PC (for �networkconnections")

2. Set the CPX−SF34/35 to an IP address of your choice. Todo this, use the program NetNames+ from theAUTOMATIONWORX Software Suite by PHOENIX CONTACT(see Fig.�2/4).

2. Commissioning

2−12 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1

2

3

4

5

1 Select network card to which thecontrol block is connected

2 Click on Refresh

3 Click in address field and enter IPaddress directly

4 Under �Options", permanent storagemust be checked

5 Transmit with �Send"

Fig.�2/4: With the program NetNames+: set the IP address of the CPX−SF34/35

3. Check the network connection in PC WORX:

· Click in the menu on [Extras] [PROFINET Configuration...]

· Set another network card, if necessary (see Fig.�2/5).

2. Commissioning

2−13Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Fig.�2/5: In PC WORX: Check or set the network card used

2. Commissioning

2−14 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.5 Configuration with PC WORX � application case Remote Controller

Create new project 1. Create a new project in PC WORX: Menu [File] [NewProject...]

2. For the Remote Controller application case, select yourhigher−order controller in the �New Project" window.Confirm with OK or double click on the entry.

Fig.�2/6: Create new project by selecting a controller (Fig. shows an example)

3. Save the project with [File] [Save Project as...]This is how to assign a project name.

4. Change into the �Bus Configuration Workspace": Menu [View] [Bus Configuration] or with the symbolshown to the left.

2. Commissioning

2−15Festo P.BE−CPX−SF34+SF35−EN en 1007NH

5. Make sure that the following windows are opened inPC�WORX:

� Bus Structure

� Device Catalog

� Device Details

6. Make sure that the standard resource (STD_RES) islisted under �Resource". If necessary, move thestandard resource from �Unconnected" to �Resource".

2.5.1 First option: Reading in the configuration

For this configuration option, your program PC with PC WORXmust be connected via the network to your CPX terminal(see�section 2.4.3).

Read in configuration 1. In the �Bus Structure" window, click with the rightmouse key on the �PROFINET" entry and then to the lefton �Read PROFINET...".A window is displayed with a list of the PROFINETcontrollers and devices available in the network(see�Fig.�2/8).

Fig.�2/7: Read in current configuration

2. Commissioning

2−16 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1 2 3 4

1 Select controller

2 Flashing to indentify CPX terminal

3 Do not select filter

4 Add controller to current configurationwith �Insert"

Fig.�2/8: Result of a read−in configuration

Optional: flashing 2. Use the �Flashing On" function in order to identify yourCPX terminal in the network (the LEDs TP1 and TP2 ofthe CPX−SF34/35 then flash simultaneously). Thisfunction helps you with the allocation of the DeviceName. You can also use this function to test whetherthere is a data connection to the CPX terminal(see�Fig.�2/8).

2. Commissioning

2−17Festo P.BE−CPX−SF34+SF35−EN en 1007NH

3. Click in the �Read PROFINET" window on the controllerthat you would like to configure and then on �Insert".A window is displayed for selection between theCPX−SF34 and CPX−SF35 (see Fig.�2/9).

1

1 Select control block CPX−SF34 or CPX−SF35

Fig.�2/9: Select controller

4. Click on the type of your control block and confirm withOK. This adds the chosen controller to the configuration.

5. Close the window �Read PROFINET" (Fig.�2/8) with�Close".

Device name 6. Use the automatically created device name or issue yourown device name:�Device Details" window in the �PROFINET Settings" tab,a PROFINET device name for the CPX−SF34/35(see�Fig.�2/11).

7. When reading in the configuration, 64 IO bytes areautomatically created

8. Variable generation and process data assignment takesplace manually and is described in section 2.5.3.

2. Commissioning

2−18 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.5.2 Second option: Manual configuration

Manual configuration(see Fig.�2/10)

1. In the �Device Catalog" window, open the folderFesto\CPX\PLC.

2. Pull the entry �CPX−SF34−PCW (PNIO−DEVICE)" into the�Bus Structure" window to the right next to thePROFINET entry.

Device name, IP address(see Fig.�2/11)

3. In the �Device Details" window in the �PROFINETSettings" tab, assign a PROFINET device name for theCPX−SF34/35 (see Fig.�2/11). Assign a unique devicename or use the automatically created standard name.

4. Set the IP address and, if necessary, the subnetworkmask of the CPX−SF34/35. Instructions on setting theIP�address can be found in section 2.4.3.

5. Variable generation and process data assignment takesplace manually and is described in the followingsection�2.5.3.

2. Commissioning

2−19Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1

2

The �Device Catalog" isusually displayed in PCWORX below the �BusStructure" window.

1 Configuration with drag & drop 2 Result of configuration

Fig.�2/10: Manual configuration of the CPX−SF34/35 for Remote Controller operation

1

2

3

Fig.�2/11: Entry of device name 1, IP address 2 and subnetwork mask 3

2. Commissioning

2−20 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.5.3 Generating variables, assigning process dataCreate communication program

First carry out the configuration as in section 2.5.1 or 2.5.2.

Generating variables with data type 64 IO bytes

Before the process data of the CPX−SF34/35 created duringthe configuration can be assigned to the program variables,these variables must be generated.

1. Change into the �IEC Programming Workspace": Menu [View] [IEC Programming] or with the symbolshown to the left.

2. First generate a variable type for 64 byte:

· Double click in the project tree under Project\Data Typeson �sys_flag_types"

· Click in the menu on [Build] [Make] or press the F9 key.The data type is generated.

· Double click on �Global Variables" in the project treeunder Project\Physical Hardware\... A variable list is displayed in the right window.

· In the variable list, make a right click on the �Default"line and click on �Insert variable".Repeat this step once.

You have now generated 2 new variables.

2. Commissioning

2−21Festo P.BE−CPX−SF34+SF35−EN en 1007NH

· Change the variable type: Click on the entry�PND_IO_64" in the selection list under �Type" Repeat this last step for the 2nd variable.

You have now generated 2 new variables with 64 byteseach: NewVar1 and NewVar2.

In the next step, the process data of the CPX−SF34/35 isassigned to these variables.

2. Commissioning

2−22 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Assignment of the process data

1. For assignment of the process data, change into the�Process Data Workspace": Menu [View] [Process Data]or with the symbol shown to the left.

In the �Process Data Assignment" window, below the�Symbols/Variables" tab, the folder STD_RES� isdisplayed in the directory tree (see fig. left).

2. Click on �Default" in the folder �STD_RES".The newly created variables are displayed below thewindow.

3. In the right window (shows the hardware/bus structure)under PROFINET, click on the element �EA64:�".The process data of the CPX−SF34/35 are displayedbelow the window.

4. Pull the process data of the right window into the leftwindow onto the lines of the variables (markedindividually or jointly, see Fig.�2/12).

Fig.�2/12: Assignment of the process data to the variables of the PLC by drag & drop

This assigns the process data of the CPX−SF34/35 to thevariables of the PLC. In the next section, you will findprograms for communication between the PLC andCPX−SF34/35.

2. Commissioning

2−23Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Programs for communication

In the last two sections, you generated variables andassigned them to the process data in the PC WORX project ofthe CPX−SF34/35. Now, in both the project of your PLC and inthe project of the CPX−SF34/35, create programs that ensurecommunication between the two.

Communication program for the PLC

1. Create a program for communication in the project ofyour PLC (e.g.�ILC350). The following program exampleuses the ST language.

ST1 tempvar0:=NewVar1[0];

2 tempvar1:=NewVar1[1];

3 NewVar2[0]:=WORD_TO_BYTE(ONBOARD_INPUT);

Line Explanation

1 Process data received by the CPX−SF34/35 via PROFINET.The data received via PROFINET by the CPX−SF34/35 were assigned to the variable�NewVar1" (see fig. 2/12). Since �NewVar1" is a byte array, access to byte 0 takesplace via �NewVar1[0]". Located here, in the case of a successful PROFINET connection,are the data that were copied in the CPX−SF34/35 project into the byte 0 in the systemvariable PND_S1S1_OUTPUTS.

2 CPX status bits received by the CPX−SF34/35 via PROFINET.

3 Transfer of the ONBOARD_INPUTs via PROFINET to the CPX−SF34/35.Correspondingly reversed to line 1, the following applies for the variable �NewVar2":Through this variable, data are sent from the PLC to the CPX−SF34/35 and are receivedfrom it in the system variable PND_S1S1_INPUTS.

Tab.�2/1: Explanations on the above program example for the PLC

2. Commissioning

2−24 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Communication program for the CPX−SF34/35

2. Create a program for communication in the project ofyour CPX−SF34/35.In the following program example,

� the data to be transferred via PROFINET are copied intothe system variable PND_S1S1_OUTPUTS (here with theexample of a CPX−8DE module and the CPX status bits)and

� the data to be received via PROFINET from the systemvariable PND_S1S1_INPUTS are read out.

ST1 Q_2_D08:=I_1_DI8;

2 PND_S1S1_OUTPUTS[0]:=I_1_DI8;

3 PND_S1S1_OUTPUTS[1]:=CPX_STATUSBITS;

4 tempvar0:=PND_S1S1_INPUTS[0];

Line Explanation

1 �

2 Send process data of the CPX−8DE module to the PLC via PROFINET.Since �PND_S1S1_OUTPUTS" is a byte array, access to byte 0 takes place via�PND_S1S1_OUTPUTS[0]"

3 Send CPX status bits to the PLC via PROFINET.Access to byte 1 takes place via �PND_S1S1_OUTPUTS[1]"

4 Receive process data of the ONBOARD_INPUTs of the ILC350 via PROFINET

Tab.�2/2: Explanations on the above program example for the CPX−SF34/35

The two above program examples permit communicationbetween the PLC (e.g. ILC350) and the CPX−SF34/35.

· Supplement these programs with your automationprograms that use �tempvar0" and �tempvar1".

2. Commissioning

2−25Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.6 Configuration with PC WORX � application case Stand Alone

Create new project 1. Click in PC WORX in the menu on [File] [New Project...]The window �New Project" is displayed.

2. For the application case Stand Alone: Click on the�CPX"�tab. In the standard case, use the prepared template: Create the new project with a double click on �CPX−SF34..." or SF35.If you want to use other settings than those listed inTab.�2/3, configure your project with the �ProjectWizard" (not shown here).

Setting Template CPX−SF34�/35�

Project name,memory path

�Untitled"C:\Documents and Settings\All Users\Application Data\...

Programming language Function Block Diagram (FBD)

PLC type ARM_L_40

Resource CPX

Task DEFAULT

Tab.�2/3: Settings in the template CPX−SF34/35

3. Change into the �Bus Configuration Workspace": Menu [View] [Bus Configuration] or with the symbolshown to the left.

The project was created in PC WORX (see fig. left).

4. Save the project with [File] [Save Project as...]. With thisyou can assign a project name.

2. Commissioning

2−26 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Check network connection, set IP address

1. Click in the �Bus Structure" window on the upper entryof the CPX−SF34/35

2. In the �Device Details" window in the �IP Settings" tab,set the IP address and, if necessary, the subnetworkmask of the CPX−SF34/35. Instructions on setting theIP�address can be found in section 2.4.3.

3. Also set the device name in this window.

2.6.1 Hardware configuration

1. In the �Device Catalog" window, open the folderFesto\CPX...The modules are grouped in subfolders. Open thecorresponding subfolders for the modules that youwould like to configure.

2. Configure correspondingly the module sequence in yourCPX terminal:

· Pull the modules from the �Device Catalog" into the�Bus Structure" window under the entry of theCPX−SF34/35 (see Fig.�2/13).

2. Commissioning

2−27Festo P.BE−CPX−SF34+SF35−EN en 1007NH

123

1 Modules grouped in subfolders in the Device Catalog

2 Pay attention to the symbol of the mouse pointer (see point 3 in the text)

3 Configured modules

Fig.�2/13: Configuration with drag & drop. (The �Device Catalog" is usually displayed inPC WORX below the �Bus Structure" window.)

3. Pay attention to the symbol of the mouse pointer whenconfiguring. The modules are entered in the correctsequence in the list only when the lower symbol appears(see fig. left). Always drag the next module to the lastconfigured module.

4. The sequence of the configured modules (from top tobottom) must correspond to the sequence of the modulesin the CPX terminal (from left to right).

2. Commissioning

2−28 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.6.2 Generating variables and assigning process data

First carry out the configuration (see section 2.6.1).With configuration of the CPX modules, process data areautomatically created and must be assigned as follows to thevariables of your user program.

Generate variables

1. Change into the �IEC Programming Workspace": Menu [View] [IEC Programming] or with the symbolshown to the left.

2. Create or load a user program.

3. Generate the necessary variables for inputs and outputsas follows (here shows using the example for a CPX−8DE−and CPX−8DA module):

· Double click on �Global Variables" in the left window inthe directory Project\Physical Hardware\... A variable list is displayed in the right window.

· In the variable list, make a right click on the �Default"line and click on �Create variable set".

2. Commissioning

2−29Festo P.BE−CPX−SF34+SF35−EN en 1007NH

· Input a name for the variables and end it with a hashmark, e.g. �Input#". Confirm with OK.This creates 8 variables �Input0 ... Input7" with the typeBool as standard.

· Repeat the last two steps in this example for the outputswith �Output#".

You have now created 8 variables each for the inputs andoutputs. In the next step, the process data of the input andoutput modules of the CPX terminal are assigned to thesevariables.

Assignment of the process data

1. For assignment of the process data, change into the�Process Data Workspace" : Menu [View] [Process Data]or with the symbol shown to the left.

2. Click in the right window on the entry of the CPX−SF34/35.

In the left window, below the �Symbols/Variables" tab,the folder STD_RES� is displayed in the directory tree(see fig. left).

3. Click on �Default" in the folder �STD_RES".

The newly created variables are displayed below thewindow.

2. Commissioning

2−30 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

4. Click in the right window (shows the hardware) on thefirst CPX module (here in the example 8DI).The process data of the module are displayed below thewindow.

5. Mark in the list of the process data in the right windowthe first 8 entries (click on each with pressed Ctrl key orother Windows standard procedure). The last line�~DI8" must not be marked.

6. Drag the process data of the right window into the leftwindow onto the lines of the variables �Input0" ...�Input7" (see Fig.�2/14).

Fig.�2/14: Assignment of the process data of the CPX−8DE module to the variables of thePLC by drag & drop

7. Click in the right window on the next module in themodule list (here in the example 8DO).

8. Drag the process data of this module as in steps 5 and 6onto the lines �Output0" � �Output7"

9. Carry out this assignment accordingly for all process dataof all modules of your CPX terminal.

This assigns the process data of the CPX terminal to thevariables of the PLC.

2. Commissioning

2−31Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Alternative: Automatic generation and assignmentof variables

You can also automatically generate and assign the variablesby module as follows.

1. Change into the �Process Data Workspace".

2. Click in the right window (shows the hardware) on theentry of the CPX−SF34/35.

In the left window, below the �Symbols/Variables" tab,the folder �STD_RES�" is displayed in the directory tree(see fig. left).

3. Click once on �Default" in the folder �STD_RES�".

4. Click in the right window on the first CPX module forwhich you would like to generate the variable assign�ment. The process data of the module are displayedbelow the window.

5. Mark in the list of the process data in the right windowthe first 8 entries (click on each with pressed Ctrl key).The last line �~DI8" must not be marked.

6. Press Ctrl+E or �Create Variable" in the context menu.In the left window, a new entry �Auto" is displayed in thefolder �STD_RES�".

7. Click on �Auto" to see the assignment list.

8. Carry out steps 4 ... 7 for each module in theconfiguration.

2. Commissioning

2−32 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.6.3 Configuration example

1 2

8DI 8DI 4DO 2AO

3

Module no.: 0 1 2 3 4 5 6

2AI

DIL: 8A

1 Control block CPX−SF34

2 Pneumatic interface (with DIL switchset to 8DA)

3 VTSA pneumatics

Fig.�2/15: CPX example terminal with VTSA pneumatics

The configuration of the example terminal in PC WORX showsFig.�2/16.

2. Commissioning

2−33Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1 2

1 Configuration

2 Setting of the monitoring system parameter (see section 2.7.2)

Fig.�2/16: Configuration of the sample terminal from Fig.�2/15

2. Commissioning

2−34 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.7 Parametrisation

You can set the reaction of the CPX terminal individually byparameterisation. The basis for the ability to parametrise theCPX−Terminals via PC WORX are the correspondingGSDML/FDCML files.

The following parametrisation variants are distinguished:

� System parametrisation, e.g.�deactivating error messagesetc.

� Module parametrisation (module−specific andchannel−specific), e.g.�module monitoring, settings forerrors, adjustment of debouncing times for the inputs etc,

A detailed description of the individual parameters as well asbasic information about application can be found in theCPX�system description (P.BE−CPX−SYS−..).

Parameter lists for the various CPX modules can be found inthe corresponding descriptions for the modules(P.BE−CPX−EA−..., P.BE−CPX−AX−..., etc.).

2. Commissioning

2−35Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.7.1 Parametrisation for PROFINET

For PROFINET, you can parametrise whether a PROFINETalarm should be output in diagnosis (characteristics duringdiagnosis, �Alarm Behavior").

Characteristics during diagnosis

1. Change into the �Bus Configuration Workspace".

2. Click in the �Bus Structure" window on the lower entryof the CPX−SF34/35 (see fig. left).

3. Click in the �Device Details" window on the �Deviceparameters" tab (�1 in Fig.�2/17)

4. Set the parameter as desired 2�.

1 2

Fig.�2/17: Parameter �Alarm Behavior"

2. Commissioning

2−36 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.7.2 CPX parametrisation

In the project of your CPX−SF34/35, you can set the followingparameters for the CPX terminal:

� Monitoring system parameter

� Module parameters

Setting monitoring system parameter

1. Change into the �Bus Configuration Workspace" to setparameters. Setting of system and module parameters isdisplayed in the following sections as an example.

2. Click in the �Bus Structure" window on the lower entryof the CPX−SF34/35 (see fig. left). In the �Device Details"window, a list of system parameters is displayed in thelower area of the �CPX Settings" tab (see Fig.�2/18).

3. Double click on the desired parameter. A list with thepossible values is opened.

4. Modify the parameter by clicking on the desired value inthe �Value" column.

2. Commissioning

2−37Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Fig.�2/18: Setting monitoring system parameter

NoteMonitoring system parameter KZS/KSA/KZV, UOUT/VAL:

The short−circuit /overload and undervoltage diagnosticmessages for the complete CPX terminal can besuppressed using the monitoring system parameter.

The settings made separately for each module with theCPX module parameter monitoring are not affected by thesetting of the system parameters monitoring.

Additional information on parametrisation can be found inthe CPX system manual (P.BE−CPX−SYS−..) in Appendix B.

2. Commissioning

2−38 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Setting module parameters

1. Click in the �Bus Structure" window on the entry of themodule that you would like to parametrise (see Fig. left).

2. Click in the �Device Details" window on the �Deviceparameters" tab (see Fig.�2/19)

3. Set the desired parameters, as shown in Fig.�2/19.

1 2

1 Selecting parameter group 2 Setting parameters

Fig.�2/19: Setting module parameters

NoteModule parameters can refer to:

� Properties of the complete module

� Properties of an individual channel of a module

2. Commissioning

2−39Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.7.3 Application example for the parametrisation

1 Input for1st�sensor(with defaultparametrisation)

2 Parametrisedinput for2nd�sensor(see text)

Î ÎÎ

21

1. Sensor

2. Sensor

Fig.�2/20: Application example for parametrisation of input debouncing time and signalstretching time on the 2nd sensor

In the above application, packages are transported on afast−moving conveyor belt.

The input for the 2nd sensor is parametrised as follows forimprovement of signal recording and processing:

� The input debouncing time is reduced from 3�ms (factorysetting) to 0.1�ms: Recording of shorter signals ispossible. This parameter is set for the complete module.

� Signal stretching time is set to 50�ms: Reliable recordingof the signals by the controller.The value of this parameter is set for the completemodule, but it must be activated/deactivated separatelyfor each input channel.

2. Commissioning

2−40 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

2.8 Installing GSDML and FDCML files

The GSDML and FDCML files are already preinstalled inPC�WORX. Processing and updating of these files is onlyrequired when there are updated versions.

Procurement source Current GSDML or FDCML files can be found here:

� www.festo.com/fieldbus

Information on installation of the files can be found in thePC�WORX documentation from PHOENIX CONTACT.

2.9 Procedure for replacing a control block

The memory card serves as the project carrier. With this, acontrol block can be conveniently replaced. The PROFINETdevice name is not stored on the memory card of theCPX−SF34/35.

NoteRisk of operative malfunctions or damage.

Inserting or removing the memory card while the powersupply is switched on can result in operating malfunctionsof or damage to the memory card.

· Disconnect the power supply before you insert orremove the memory card.

Replacing the memorycard

The memory card is under a cover (see Fig.�1/1). You need ascrewdriver in order to remove or attach this cover.

Procedure:

1. Switch off the power supply.

2. Remove the cover (see section 1.4.1).

3. Remove the memory card from the control block.

2. Commissioning

2−41Festo P.BE−CPX−SF34+SF35−EN en 1007NH

4. Replace the control block (see section 1.3).

5. Insert the memory card in the new control block.

6. Attach the cover again (see section 1.4.1).

7. Switch the power supply back on. When AUTORUN isactivated (see section 1.4.2), the Boot project stored onthe memory card starts.

8. If necessary, assign the PROFINET device name for thenew control block and set the IP address again.

9. Start the automation program if necessary.

2. Commissioning

2−42 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Diagnosis

3−1Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Chapter 3

3. Diagnosis

3−2 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Contents

3. Diagnosis 3−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.1 Overview of diagnostic possibilities 3−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.2 Diagnostics via LEDs 3−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.2.1 Display of the network−specific LEDs NF, TP1, TP2 3−6 . . . . . . . . . . . . .

3.2.2 Display of the CPX−/controller specific LEDs PS, PL, SF, M 3−7 . . . . . . .

3.3 Diagnostics via global CPX system variables 3−9 . . . . . . . . . . . . . . . . . . . . . . . . .

3.3.1 CPX status bits 3−10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.3.2 Error numbers of the variable CPX_MODULE_ERROR_NUMBER 3−11 . .

3.4 Diagnostics over PROFINET (only for Remote Controller) 3−12 . . . . . . . . . . . . . . .

3.4.1 Diagnostics via Diag+ 3−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.5 Error characteristics/Fail safe 3−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.5.1 Behaviour of the PLC with undervoltage 3−16 . . . . . . . . . . . . . . . . . . . . .

3. Diagnosis

3−3Festo P.BE−CPX−SF34+SF35−EN en 1007NH

3.1 Overview of diagnostic possibilities

The CPX terminal provides extensive and user−friendlypossibilities for diagnostics and error handling. The followingoptions are available depending on �the configuration:

Diagnosticsoption

Brief description Advantages Detailed description

LED display The LEDs show configurationerrors, hardware errors andnetwork errors directly.

Fast on−the−spot errordetection.

Section 3.2

Diagnostics viaglobal CPXsystemvariables/status bits

The status bits are stored inPC�WORX in a global systemvariable. They supply codedcommon diagnostic messages.4 additional system variablesgive additional diagnosticinformation.

Access to error messagesin the PLC user program,independent of theinterface andIO�Controller.

Section 3.3

Diagnostics viaPROFINET

Diagnostics according toPROFINET standard with thediagnostics program Diag+from the AUTOMATIONWORXSoftware Suite

Diagnostics via thenetwork. Error detectionin the online mode of theconfiguration software.

Section 3.4

Tab.�3/1: Overview of the diagnostic options of the CPX terminal

NoteNote that the diagnostic information shown can depend onthe settings (see section 1.4.2) as well as on theparametrisation (see section 2.7) of the CPX terminal.

3. Diagnosis

3−4 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

3.2 Diagnostics via LEDs

LEDs for diagnosing the CPX terminal are available on thecontrol block as well as on the individual modules.

The meaning of the LEDs on the electric modules can befound in the description for the relevant module.

LEDs of the CPX−SF34/35

The LEDs on the cover indicate the operating status of theCPX control block.

1 Network−specificLEDs:

NF: Network Failure

TP1: Link/Traffic 1

TP2: Link/Traffic 2

2 CPX−/controller−specific LEDs:

PS: Power system

PL: Power load

SF: System error

M: Motion/RUN

PS

PL

SF

NF

TP1

MTP2

1

2

PS

PL

SF

NF

TP1

MTP2

Fig.�3/1: LEDs of the CPX−SF34/35

3. Diagnosis

3−5Festo P.BE−CPX−SF34+SF35−EN en 1007NH

The LEDs are shown in their various states as follows:

� illuminated ; flashing ; off;

Normal operating status

In normal operating status, the following LEDs are lit:PS, PL and, if applicable, also TP1, TP2 and M (see Tab.�3/2).The SF and NF LEDs do not light.

The M−LED lights when a user program runs.

LED display Operatingstatus

PS

PL

SF

NF

TP1

MTP2

The following LEDsare lit:� PS� PL� M 1)

The following LEDsare not lit:� SF� NF� TP1/TP2 2)

Normal

1) Only when a user program is running (Motion/RUN)2) Only if connection is used: (off: connection made to the PROFINET

IO controller (when NF−LED off ), flashing: Data transmission isrunning)

Tab.�3/2: Normal operating status

3. Diagnosis

3−6 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

3.2.1 Display of the network−specific LEDs NF, TP1, TP2

The LED NF is relevant only in the Remote Controllerapplication case or for configuration of Stand Alone.

NF (network error) � only in the application case Remote Controller PROFINET

LED (red) Sequence Status Error handling

LED is off

ON

OFF

No error or application caseStand Alone

LED illuminated

ON

OFFNetwork connection not OK � possible causes:� Device name or device

number not correct� Defective IO Controller� Interrupted, short−circuited

or faulty network connection

· Check:

� The device name and devicenumber

� The IO Controller� The network connection

TP1, TP2 (Link/Traffic Port 1, 2)

LED (green) Sequence Status Error handling

LED is off

ON

OFF

� If NF−LED is illuminated: Nophysical network connection

� If NF−LED is off: Connectionmade to the PROFINET IOcontroller.

· Check network connection/network cable

· None

LED illuminated

ON

OFFNetwork connection OK �

LED flickers orflashes 1)

ON

OFF

ON

OFF

� Flickering: Data transmissionis running (traffic)

� Both LEDs are flashing:Module location

Module location: e.g. for faultfinding or during configuration(section 2.5)

1) Appears as lit in the case of fast flickering. The light intensity depends on data traffic.

Tab.�3/3: Error diagnostics using the LEDs NF and TP1/TP2�

3. Diagnosis

3−7Festo P.BE−CPX−SF34+SF35−EN en 1007NH

3.2.2 Display of the CPX−/controller specific LEDs PS, PL, SF, M

PS (power system) � power sensor/logic supply

LED (green) Sequence Status Error handling

LED illuminated

ON

OFF

No error, operating voltage/sensor supply applied

LED flashing

ON

OFFOperating voltage/sensor supply outside thetolerance range

1. Eliminate short circuit/overload2. Dependent on the parametrisation:

· The sensor supply voltage will beswitched on again automaticallyafter the short circuit has beeneliminated (default). The PLC ofthe CPX−SF34/35 does notrestart automatically; seesection 3.5.1!

· Power OFF/ON required

LED is off

ON

OFF

The operating voltage/sensor supply is notapplied

Check the operating voltageconnection of the electronics

PL (power load) � power load supply (outputs/valves)

LED (green) Sequence Status Error handling

LED illuminated

ON

OFF

No error, load voltageapplied

None

LED flashing

ON

OFFLoad voltage outsidetolerance range

1. Eliminate undervoltage2. Dependent on the parametrisation:

· The load voltage supply will beswitched on again automaticallyafter the undervoltage has beeneliminated (default)

· Power OFF/ON required

Tab.�3/4: Error diagnostics using the LEDs PS and PL

3. Diagnosis

3−8 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

SF (system fail) � system error

LED (red) Sequence Status Error handling

LED is off

ON

OFFNo error �

LED illuminated

ON

OFFRun−time error of thecontroller

· Check your user program· perform restart, if necessary· format memory card, if necessary

LED flashing1x, 2x, 3x

ON

OFF

ON

OFF

ON

OFF

System error(CPX peripherals)

See CPX system description chapter�Diagnostics and error handling"

Tab.�3/5: Error diagnostics using the SF LED

M (Motion/RUN)

LED (yellow) Sequence Status Significance

LED is off

ON

OFF

User program of the PLC isnot running

IEC−61131 run−time system not readyfor operation

LED flashing

ON

OFF

User program of the PLC isnot running

IEC−61131 runt−time systemsuccessfully initialised.Controller in the STOP condition

LED illuminated

ON

OFF

User program of the PLC isrunning

Controller in the RUN condition

Tab.�3/6: Messages of the LED M

3. Diagnosis

3−9Festo P.BE−CPX−SF34+SF35−EN en 1007NH

3.3 Diagnostics via global CPX system variables

The CPX terminal with CPX−SF34/35 makes 5 global systemvariables available for user−specific diagnostics.

1

2

1 Status bits

2 Additional diagnostic information for localisation of the error

Fig.�3/2: Global system variables for diagnostic purposes

The individual system variables mean:

� CPX_STATUSBITS: 8 status bits for displaying commondiagnostic messages (global error messages, seesection�3.3.1).

� CPX_FIRST_FAULTY_MODULE: Number of the first faultymodule

� CPX_MODULE_ERROR_NUMBER: Error number fordefinition of the error type (see section 3.3.2)

� CPX_FIRST_FAULTY_CHANNEL: Channel number of thefirst channel with error

� CPX_CHANNEL_ERROR_NUMBER: Error number fordefinition of the error type of the first channel with error

Evaluate the system variables as follows:

· Link the variables in your user program or

· Look at the variables in the Debug mode with PC WORX.

3. Diagnosis

3−10 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

3.3.1 CPX status bits

The significance of the status bits is shown by Tab.�3/7. If allstatus bits = 0, no error is reported.

Bit Diagnostic informationif bit = logic 1

Description

0 Error at valve or pneumaticmodule

Module type in which anerror has occurred

1 Error at output module

2 Error at input module

3 Error at analogue module/technology module

4 Undervoltage Type of error

5 Short circuit/overload

6 Wire break

7 Other errors

Tab.�3/7: Status bits of the CPX−SF34/35

Example In the example for the following error diagnostics, CPX_STATUSBITS includes the value 24h:

Value of the status bits Status Diagnostics

24h = 00100100 Bit 2 and bit 5 supply logic 1 � Error at input module� Short circuit/overload

Tab.�3/8: Example for error diagnostics with status bits

3. Diagnosis

3−11Festo P.BE−CPX−SF34+SF35−EN en 1007NH

3.3.2 Error numbers of the variable CPX_MODULE_ERROR_NUMBER

The following table shows a list of the most important errornumbers that are stored in the global CPX system variableCPX_MODULE_ERROR_NUMBER (see Fig.�3/2). With this youcan execute a detailed diagnosis.

Value Error type

0 No error

1 General diagnostics (see description for the relevant module)

2 Short circuit/overload

3 Wire break

4 Short circuit actuator supply

5 Undervoltage

6���8 Reserved

9 Lower limit exceeded

10 Upper limit exceeded

11 Short circuit at valve

12 Reserved

13 Wire break valve

14���15 Reserved

Tab.�3/9: Error numbers for diagnostics with the systemvariable CPX_MODULE_ERROR_NUMBER

Information on the error numbers 16���255 can be found inthe CPX system description.

3. Diagnosis

3−12 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

3.4 Diagnostics over PROFINET (only for Remote Controller)

Diagnostics over PROFINET currently offer only a commonerror message for the CPX−SF34/35.

1. Use the diagnostics over PROFINET to first localise thenetwork stations in complex systems with a diagnosticmessage.

2. Execute detailed error diagnostics with the globalCPX�system variables (see section 3.3).

3.4.1 Diagnostics via Diag+

For diagnostics, use the program Diag+ from theAUTOMATIONWORX Software Suite.

The settings you have to make to carry out an onlinediagnosis with Diag+ is shown in Fig.�3/3.

A diagnosis example for the CPX−SF34/35 is shownin�Fig.�3/4.

Detailed information on the operation can be found in thedocumentation on the program Diag+.

3. Diagnosis

3−13Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1 2

3

4

5

6

1 Set communication path �DCP"

2 Select network adapter (comparesection 2.4.3)

3 Select �IP address" and wait forresult�of the scan (if necessary,start�scan again)

4 Select device type and display

5 Select PLC and click on �Connect".

6 When everything is set: Switch view to�PROFINET diagnostics" and readdiagnostic information (see Fig.�3/4)

Fig.�3/3: Make settings for online diagnosis in Diag+

3. Diagnosis

3−14 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

1

2

3

1 Select control block with symbol �!"in�a red circle and open it with a clickon the Plus sign

2 Click on red diamond

3 Diagnostics are displayed

Fig.�3/4: Online diagnosis with Diag+

3. Diagnosis

3−15Festo P.BE−CPX−SF34+SF35−EN en 1007NH

3.5 Error characteristics/Fail safe

With the aid of the fail−safe parametrisation, the signal statusthat the outputs assume in the event of disturbances isdetermined (fail−safe status). This creates a definedmachine/system status, e.g.�for communication errors,PLC�failure, etc.

For the CPX−SF34/35, the only parametrisable fail−safe casesare PLC stop through run−time error or STOP.

Event Behaviour Action

PLC stop in the CPX−SF34/35through run−time error or STOP

Dependent on theparametrisable fail−safesetting and the configuredbehaviour of the controller:transition into the Faultmode.

· Through parametrisation, setwhether a PROFINET alarmshould be output in thediagnostics case (see section2.7.1 on parametrisation).

Network interruption/telegram elimination

No automatic transition inthe Fail−safe mode.The behaviour must bedefined through the userprogram.

· In your user program, programhow the CPX terminal shouldbehave in case of error.

· Monitor the network connectionover the global system variablePND_S1S1_VALID_DATA_CYCLE

Tab.�3/10: Error characteristics of the CPX terminal with CPX−SF34/35

Depending on the system and module parameterisation(see�section 2.7.2), the outputs (valves and electric outputs)will be switched off (factory setting), switched on or retaintheir status.

Further information about the fail−safe parametrisation can befound in the CPX system description P.BE−CPX−SYS−... in theannexes.

3. Diagnosis

3−16 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Warning· Ensure that valves and outputs are put into a safe stateif the above−named errors occur.

An incorrect status of the valves and outputs can lead todangerous situations!

NotePlease note the following if the outputs are reset after PLCstop, network interruption or disturbance:

� Single−solenoid valves move to the basic position.

� Double−solenoid valves remain in the current position.

� Mid−position valves move to the mid position (dependingon the valve type: pressurised, exhausted or blocked).

3.5.1 Behaviour of the PLC with undervoltage

NoteIf the electronics/sensors operating voltage falls below17.5 V, the PLC of the CPX−SF34/35 goes into the STOPstatus. After voltage recovery, the controller does not restartautomatically − even if the DIL switch for the PLC operatingstatus is set to AUTORUN (see Tab.�1/1).

· Check the power supply and carry out a restart of theCPX−SF34/35 (power OFF/ON).

Technical appendix

A−1Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Appendix A

A. Technical appendix

A−2 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Contents

A. Technical appendix A−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A.1 Common technical data of control block CPX−SF34/35 A−3 . . . . . . . . . . . . . . . . .

A.2 Technical data of control block CPX−SF34 A−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A.3 Technical data of control block CPX−SF35 A−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A.4 Function blocks for the CPX−SF34/35 A−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A. Technical appendix

A−3Festo P.BE−CPX−SF34+SF35−EN en 1007NH

A.1 Common technical data of control block CPX−SF34/35

General characteristics of CPX−SF34/35

General technical data See CPX System Description P.BE−CPX−SYS−...

Protection class through housingaccording to EN 60529, completely installed,plug connector inserted or provided with covercap (see section 1.6).

IP65/IP67The CPX−SF34 may be used only with CPX metalinterlinking blocks.

Protection against electric shockProtection against direct and indirect contact asper IEC/DIN EN 60204−1

By means of PELV power circuit(Protected Extra−Low Voltage)

Operating voltage/load voltage only through CPX metal interlinking blocks,for further information, see CPX SystemDescription P.BE−CPX−SYS−... and section 1.7

Module code (CPX−specific)� CPX−SF34� CPX−SF35

218219

Tab.�A/1: Common technical data of the CPX−SF34/35

A. Technical appendix

A−4 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Network−specific characteristics

Network protocol PROFINET IO RT (PNIO RT):� based on Industrial Ethernet� based on the Ethernet protocol (IEEE 802.3)� Real−time−capable

Specification Directives, standards and normsrelated to PROFINET:� PROFINET Installation Guide� IEC 61158� IEC 61784

Transmission technology Switched Fast Ethernet

Design 100BaseTX as per IEEE�802.3

Baud rate 100 Mbit/s

Interfaces� CPX−SF34 2 x RJ45, Cu, AIDA−conforming,

see Tab.�1/2 in section 1.5.2

� CPX−SF35 2 x SCRJ, POF fibre−optic cable, 650�nm, AIDA−conforming, see Tab.�1/3 in section 1.5.2

Cross−over identification (only CPX−SF34) Auto−MDI

PROFINET input/output size 64 bytes/64 bytes

Tab.�A/2: Network−specific characteristics of CPX−SF34/35

PLC

Programming languages AWL/IL, FB, KOP, SFC, ST (as per IEC 61131−3)

Program memory 2 MB, of which 512 kB for Boot project

Processing speed 1 � 2 ms per 1000 instructions

Programming interface via PC WORX

Tab.�A/3: Characteristics of the PLC of the CPX−SF34/35

A. Technical appendix

A−5Festo P.BE−CPX−SF34+SF35−EN en 1007NH

A.2 Technical data of control block CPX−SF34

Power supply CPX−SF34

Intrinsic current consumption control block CPX−SF34from operating voltage supply for electronics/sensors (UEL/SEN)

Max. 120 mA at 24 V(internal electronics)

Galvanic isolationPROFINET interfaces for UEL/SEN Galvanically isolated (transformer, 1500 V)

Mains buffering time 10 ms

Tab.�A/4: Technical data of the CPX−SF34

A.3 Technical data of control block CPX−SF35

Power supply CPX−SF35

Intrinsic current consumption control block CPX−SF35from operating voltage supply for electronics/sensors (UEL/SEN)

Max. 150 mA at 24 V(internal electronics)

Galvanic isolationPROFINET interfaces for UEL/SEN by means of fibre−optic cable

Mains buffering time 10 ms

Tab.�A/5: Technical data of the CPX−SF35

A. Technical appendix

A−6 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

A.4 Function blocks for the CPX−SF34/35

On the following pages, you will find a listing of the functionblock usable for the CPX−SF34/35. Additional information onthe function blocks can be found via PC WORX as follows:

1. Change into the �IEC Programming Workspace": Menu [View] [IEC Programming] or with the symbolshown to the left.

2. Select a group of functions in the �Edit Wizard" in thelist field under �Group". If the �Edit Wizard" is notvisible, switch it on via the menu [View] [Edit Wizard].

3. In the context menu of the corresponding function, clickon �Help on FB/FU". Additional information on thefunction block is displayed (see Fig.�A/5).

A. Technical appendix

A−7Festo P.BE−CPX−SF34+SF35−EN en 1007NH

12

1 Context menu of the function in the Edit Wizard

2 Information on the function

Fig.�A/5: Display information on the function blocks in PC WORX

A. Technical appendix

A−8 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Function block Function block Function block

ABS BOOL_TO_USINT BYTE_TO_STRING

ACOS BOOL_TO_WORD BYTE_TO_UDINT

ADD BUF_TO_BYTE BYTE_TO_UINT

ADD_T_T BUF_TO_DINT BYTE_TO_USINT

AND BUF_TO_DWORD BYTE_TO_WORD

ASIN BUF_TO_INT CLR_OUT

ASL BUF_TO_REAL COLD_RESTART

ASR BUF_TO_SINT CONCAT

ATAN BUF_TO_STRING CONTINUE

B_BCD_TO_DINT BUF_TO_TIME COS

B_BCD_TO_INT BUF_TO_UDINT CTD

B_BCD_TO_SINT BUF_TO_UINT CTU

BCD_TO_DINT BUF_TO_USINT CTUD

BOOL_TO_BYTE BUF_TO_WORD D_BCD_TO_DINT

BOOL_TO_DINT BYTE_TO_BOOL D_BCD_TO_INT

BOOL_TO_DWORD BYTE_TO_BUF D_BCD_TO_SINT

BOOL_TO_INT BYTE_TO_DINT DELETE

BOOL_TO_REAL BYTE_TO_DWORD DERIVAT

BOOL_TO_SINT BYTE_TO_INT DINT_TO_B_BCD

BOOL_TO_UDINT BYTE_TO_REAL DINT_TO_BCD

BOOL_TO_UINT BYTE_TO_SINT DINT_TO_BOOL

Tab.�A/6: List of the function blocks part 1

A. Technical appendix

A−9Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Function block Function block Function block

DINT_TO_BUF DWORD_TO_DINT GET_ERROR_CATALOG

DINT_TO_BYTE DWORD_TO_INT GET_LSB

DINT_TO_D_BCD DWORD_TO_REAL GET_MSB

DINT_TO_DWORD DWORD_TO_SINT GET_SYM

DINT_TO_INT DWORD_TO_STRING GT

DINT_TO_REAL DWORD_TO_UDINT GT_STRING

DINT_TO_SINT DWORD_TO_UINT HOT_RESTART

DINT_TO_STRING DWORD_TO_USINT I_BIT_IN_BYTE

DINT_TO_TIME DWORD_TO_WORD I_BIT_IN_DWORD

DINT_TO_UDINT EQ I_BIT_IN_WORD

DINT_TO_UINT EQ_STRING IMEMCPY

DINT_TO_USINT EVENT_TASK INSERT

DINT_TO_W_BCD EXP INT_TO_B_BCD

DINT_TO_WORD EXPT INT_TO_BOOL

DIV F_TRIG INT_TO_BUF

DIV_T_AI FIND INT_TO_BYTE

DIV_T_AN FPID INT_TO_D_BCD

DIV_T_R GE INT_TO_DINT

DWORD_TO_BOOL GE_STRING INT_TO_DWORD

DWORD_TO_BUF GET_CHAR INT_TO_REAL

DWORD_TO_BYTE GET_ERROR INT_TO_SINT

Tab.�A/7: List of the function blocks part 2

A. Technical appendix

A−10 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Function block Function block Function block

INT_TO_STRING MAX NE

INT_TO_UDINT MAX_DINT NE_STRING

INT_TO_UINT MAX_INT NEG

INT_TO_USINT MAX_REAL NOT

INT_TO_W_BCD MAX_SINT OR

INT_TO_WORD MAX_STRING PARITY_BYTE

INTEGRAL MEMCPY PARITY_DWORD

LE MEMSET PARITY_WORD

LE_STRING MID PID

LEFT MIN PLC_STOP

LEN MIN_DINT R_TRIG

LIMIT MIN_INT R_BIT_IN_BYTE

LIMIT_DINT MIN_REAL R_BIT_IN_DWORD

LIMIT_INT MIN_SINT R_BIT_IN_WORD

LIMIT_REAL MIN_STRING RD_BOOL_BY_SYM

LIMIT_SINT MOD RD_BYTE_BY_SYM

LIMIT_STRING MOVE RD_DINT_BY_SYM

LN MUL RD_DWORD_BY_SYM

LOG MUL_T_AI RD_INPUT_GROUP

LT MUL_T_AN RD_INT_BY_SYM

LT_STRING MUL_T_R RD_REAL_BY_SYM

Tab.�A/8: List of the function blocks part 3

A. Technical appendix

A−11Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Function block Function block Function block

RD_SINT_BY_SYM ROL SEL_TIME

RD_STRING_BY_SYM ROL_BYTE SEL_WORD

RD_TIME_BY_SYM ROL_DWORD SET_LSB

RD_UDINT_BY_SYM ROL_WORD SET_MSB

RD_UINT_BY_SYM ROR SHL

RD_USINT_BY_SYM ROR_BYTE SHL_BYTE

RD_WORD_BY_SYM ROR_DWORD SHL_DWORD

REAL_TO_BOOL ROR_WORD SHL_WORD

REAL_TO_BUF RS SHR

REAL_TO_BYTE S_BIT_IN_BYTE SHR_BYTE

REAL_TO_DINT S_BIT_IN_DWORD SHR_DWORD

REAL_TO_DWORD S_BIT_IN_WORD SHR_WORD

REAL_TO_INT SEL SIN

REAL_TO_SINT SEL_BOOL SINT_TO_B_BCD

REAL_TO_STRING SEL_BYTE SINT_TO_BOOL

REAL_TO_UDINT SEL_DINT SINT_TO_BUF

REAL_TO_UINT SEL_DWORD SINT_TO_BYTE

REAL_TO_USINT SEL_INT SINT_TO_D_BCD

REAL_TO_WORD SEL_REAL SINT_TO_DINT

REPLACE SEL_SINT SINT_TO_DWORD

RIGHT SEL_STRING SINT_TO_INT

Tab.�A/9: List of the function blocks part 4

A. Technical appendix

A−12 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Function block Function block Function block

SINT_TO_REAL STRING_TO_WORD UDINT_TO_DWORD

SINT_TO_STRING SUB UDINT_TO_INT

SINT_TO_UDINT SUB_T_T UDINT_TO_REAL

SINT_TO_UINT SWAP UDINT_TO_SINT

SINT_TO_USINT TAN UDINT_TO_STRING

SINT_TO_W_BCD TIME_TO_BUF UDINT_TO_UINT

SINT_TO_WORD TIME_TO_DINT UDINT_TO_USINT

SQRT TIME_TO_STRING UDINT_TO_WORD

SR TOF UINT_TO_BOOL

STRING_TO_BUF TOF_R UINT_TO_BUF

STRING_TO_BUFFER TON UINT_TO_BYTE

STRING_TO_BYTE TON_R UINT_TO_DINT

STRING_TO_DINT TP UINT_TO_DWORD

STRING_TO_DWORD TP_R UINT_TO_INT

STRING_TO_INT TRUNC_DINT UINT_TO_REAL

STRING_TO_REAL TRUNC_INT UINT_TO_SINT

STRING_TO_SINT TRUNC_SINT UINT_TO_STRING

STRING_TO_TIME UDINT_TO_BOOL UINT_TO_UDINT

STRING_TO_UDINT UDINT_TO_BUF UINT_TO_USINT

STRING_TO_UINT UDINT_TO_BYTE UINT_TO_WORD

STRING_TO_USINT UDINT_TO_DINT USINT_TO_BOOL

Tab.�A/10: List of the function blocks part 5

A. Technical appendix

A−13Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Function block Function block

USINT_TO_BUF WORD_TO_REAL

USINT_TO_BYTE WORD_TO_SINT

USINT_TO_DINT WORD_TO_STRING

USINT_TO_DWORD WORD_TO_UDINT

USINT_TO_INT WORD_TO_UINT

USINT_TO_REAL WORD_TO_USINT

USINT_TO_SINT WR_BOOL_BY_SYM

USINT_TO_STRING WR_BYTE_BY_SYM

USINT_TO_UDINT WR_DINT_BY_SYM

USINT_TO_UINT WR_DWORD_BY_SYM

USINT_TO_WORD WR_INT_BY_SYM

W_BCD_TO_DINT WR_OUTPUT_GROUP

W_BCD_TO_INT WR_REAL_BY_SYM

W_BCD_TO_SINT WR_SINT_BY_SYM

WARM_RESTART WR_STRING_BY_SYM

WORD_TO_BOOL WR_TIME_BY_SYM

WORD_TO_BUF WR_UDINT_BY_SYM

WORD_TO_BYTE WR_UINT_BY_SYM

WORD_TO_DINT WR_USINT_BY_SYM

WORD_TO_DWORD WR_WORD_BY_SYM

WORD_TO_INT XOR

Tab.�A/11: List of the function blocks part 6

A. Technical appendix

A−14 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Index

B−1Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Appendix B

B. Index

B−2 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Contents

B. Index B−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

B. Index

B−3Festo P.BE−CPX−SF34+SF35−EN en 1007NH

A

Abbreviations , product−specific XI . . . . . . . . . . . . . . . . . . .

Additional power supply 1−18 . . . . . . . . . . . . . . . . . . . . . . . . .

Application cases 2−5 , 2−10 . . . . . . . . . . . . . . . . . . . . . . . . . . .

AUTORUN 1−9 , 3−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

B

Boot settings of the PLC 1−9 . . . . . . . . . . . . . . . . . . . . . . . . . . .

Brief instructions on commissioning 2−3 . . . . . . . . . . . . . . . . .

C

Cables, Network 1−13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Commissioning, brief instructions 2−3 . . . . . . . . . . . . . . . . . .

ConfigurationRemote controller 2−14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Stand Alone 2−25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Configuration differences, Starting up 2−10 . . . . . . . . . . . . . .

Configuration example 2−32 . . . . . . . . . . . . . . . . . . . . . . . . . . .

ConnectingNetwork 1−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power supply 1−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Connection technology, network 1−13 . . . . . . . . . . . . . . . . . . .

CPX status bits 3−10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

D

Diag+, 3−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Diagnosisover PROFINET 3−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview 3−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . via CPX status bits 3−10 . . . . . . . . . . . . . . . . . . . . . . . . . . . .

B. Index

B−4 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

via Diag+ 3−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . via global CPX system variables 3−9 . . . . . . . . . . . . . . . . . . via LEDs 3−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

DIL switch 1−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Dismantling 1−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Dropping of the operating voltage 3−16 . . . . . . . . . . . . . . . . .

E

Electric modules 2−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Electrical connection and display elements 1−4 . . . . . . . . . . .

Error characteristics 3−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Error numbers 3−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

F

Fail safe 3−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

FDCML file 2−10 , 2−40 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

fibre−optic cables 1−14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Function blocks A−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

G

Global CPX system variables, Diagnostics 3−9 . . . . . . . . . . . .

GSDML file 2−10 , 2−40 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

I

Important user instructions IX . . . . . . . . . . . . . . . . . . . . . . . . .

Installation 1−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Instructions on the description VIII . . . . . . . . . . . . . . . . . . . . .

Intended use VI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

IP65/IP67 1−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

B. Index

B−5Festo P.BE−CPX−SF34+SF35−EN en 1007NH

L

LEDs 3−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

M

M LED 3−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Memory cardApplication 1−10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Formatting 1−9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Replacement 2−40 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Module parameters 2−38 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Modules of the CPX terminal 2−7 . . . . . . . . . . . . . . . . . . . . . . .

Mounting 1−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

N

NetNames+ 2−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Network cables 1−13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Network connectors 1−13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

NF−LED 3−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

P

ParametrisationApplication example 2−39 . . . . . . . . . . . . . . . . . . . . . . . . . . . CPX 2−36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Module parameters 2−38 . . . . . . . . . . . . . . . . . . . . . . . . . . . PROFINET 2−35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System parameters 2−36 . . . . . . . . . . . . . . . . . . . . . . . . . . .

PC WORXConfiguration Remote Controller PROFINET 2−14 . . . . . . . . Configuration Stand Alone 2−25 . . . . . . . . . . . . . . . . . . . . . .

PELV 1−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pictograms X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pin allocation, Network interface 1−15 . . . . . . . . . . . . . . . . . .

B. Index

B−6 Festo P.BE−CPX−SF34+SF35−EN en 1007NH

Pin assignment, Power supply 1−17 . . . . . . . . . . . . . . . . . . . .

PL LED 3−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PLCAUTORUN 1−9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Behaviour with undervoltage 3−16 . . . . . . . . . . . . . . . . . . . Boot settings 1−9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Program examples for communication 2−23 . . . . . . . . . . . . Technical data A−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

PlugNetwork 1−13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power supply 1−18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pneumatic modules 2−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

POF fibre optic cable 1−14 . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Power supply 1−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Behaviour of the PLC with undervoltage 3−16 . . . . . . . . . . .

PROFINET, Parametrisation 2−35 . . . . . . . . . . . . . . . . . . . . . . .

Program examples for communication of the PLC 2−23 . . . . .

Protection class, Ensure 1−16 . . . . . . . . . . . . . . . . . . . . . . . . .

PS LED 3−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Q

Quick instructions on startup 2−3 . . . . . . . . . . . . . . . . . . . . . .

R

Remote Controller PROFINET 2−5 , 2−14 . . . . . . . . . . . . . . . . .

RJ45 sockets 1−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

S

SCRJ sockets 1−14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Service VII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

SettingBoot settings of the PLC 1−9 . . . . . . . . . . . . . . . . . . . . . . . . .

B. Index

B−7Festo P.BE−CPX−SF34+SF35−EN en 1007NH

DIL switch 1−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

SF−LED 3−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Stand Alone 2−25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Start/stop of the PLC 1−9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Starting up with configuration differences 2−10 . . . . . . . . . . .

Status bits 3−10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Strain relief 1−13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Switch cover, Remove and mount 1−7 . . . . . . . . . . . . . . . . . . .

system power supply 1−18 . . . . . . . . . . . . . . . . . . . . . . . . . . . .

T

Target group VII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Technical dataCPX−SF34 A−3 , A−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CPX−SF35 A−3 , A−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Text markings X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

TP1/TP2−LED 3−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

U

UndervoltageBehaviour of the PLC 3−16 . . . . . . . . . . . . . . . . . . . . . . . . . . LEDs 3−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .