Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a...

18
APN 043 Festo CPX Technology Modules

Transcript of Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a...

Page 1: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

APN 043 Festo

CPX Technology Modules

Page 2: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

2 Jetter AG

Introduction

Application Note: 043 Item # 60877045 Revision 1.02 September 2011 / Printed in Germany Jetter AG reserve the right to make alterations to their products in the interest of technical progress. These alterations need not be documented in every single case. This Application Note and the information contained herein have been compiled with due diligence. However, Jetter AG assume no liability for printing or other errors or damages arising from such errors. The brand names and product names used in this document are trademarks or registered trademarks of the respective title owner.

Page 3: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

Jetter AG 3

Festo CPX Technology Modules Contents

Table of Contents

1 Engineering a CPX Terminal on the JX2 System Bus 5

Product Description - Festo CPX-CMAX-1 .................................................................................... 6 Product Description - Festo CPX-CMPX ....................................................................................... 7 Product Description - Festo CPX-CP-Interface ............................................................................. 8 Engineering a CPX Terminal on the JX2 System Bus ................................................................... 9 Exchanging Data Between Controller and CPX Terminal ............................................................ 10 Assigning Registers to Cyclic I/O Data ........................................................................................ 11 Example: CPX-CMAX-1 and CPX-CP-Interface .......................................................................... 13

Appendix 15

A: Index ............................................................................................................................................ 16

Page 4: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller
Page 5: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

Jetter AG 5

Festo CPX Technology Modules Engineering a CPX Terminal on the JX2 System Bus

1 Engineering a CPX Terminal on the JX2 System Bus

The CPX terminal by Festo can be equipped with a great variety of different modules. Besides the well-established digital and analog I/O modules, technology modules can be connected to a CPX terminal. These technology modules serve as interface for axes or distributed expansion modules. Jetter controllers of the JC-3xx series are able to automatically detect and commission technology modules connected to the CPX terminal. This application note covers the data exchange between JC-3xx controllers and technology modules via registers.

Topic Page Product Description - Festo CPX-CMAX-1 ..................................................... 6 Product Description - Festo CPX-CMPX ........................................................ 7 Product Description - Festo CPX-CP-Interface .............................................. 8 Engineering a CPX Terminal on the JX2 System Bus .................................... 9 Exchanging Data Between Controller and CPX Terminal ............................ 10 Assigning Registers to Cyclic I/O Data .......................................................... 11 Example: CPX-CMAX-1 and CPX-CP-Interface .......................................... 13

Introduction

Table of Contents

Page 6: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

6 Jetter AG

1 Engineering a CPX Terminal on the JX2 System Bus

Product Description - Festo CPX-CMAX-1

The CPX-CMAX is a servo-pneumatic positioning system for controlling pneumatic drives. It is connected to a CPX terminal and controls the positions of different pneumatic drive systems (linear or rotatory). It is protected to IP65.

Designation Description

CPX-CMAX-1 Servo-pneumatic positioning controller

Number of CPX-CMAX-1 modules on the CPX terminal

4 max.

Size of cyclic I/O data 8 bytes

Number of entries in object 0x6100 4

Number of entries in object 0x6300 4

The technology module CPX-CMAX-1 can be connected to the JX2 system bus of the following controllers and modules by Jetter AG:

Controller / Module Software version (or higher)

JC-340 V 1.10.0.00

JC-350 V 1.10.0.00

JC-360 V 1.10.0.00

CPX-CMAX-1

Technical Specifications

Minimum Requirements

Page 7: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

Jetter AG 7

Festo CPX Technology Modules Engineering a CPX Terminal on the JX2 System Bus

Product Description - Festo CPX-CMPX

The CPX-CMPX is an electronic end-position controller for pneumatic drives. It allows fast travel between the mechanical end stops, stopping gently and without impact in the end position.

Designation Description

CPX-CMPX Electronic end-position controller

Number of CPX-CMPX modules on the CPX terminal

5 max.

Size of cyclic I/O data 6 bytes

Number of entries in object 0x6100 3

Number of entries in object 0x6300 3

The technology module CPX-CMPX can be connected to the JX2 system bus of the following controllers and modules by Jetter AG:

Controller / Module Software version (or higher)

JC-340 V 1.10.0.00

JC-350 V 1.10.0.00

JC-360 V 1.10.0.00

CPX-CMPX

Technical Specifications

Minimum Requirements

Page 8: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

8 Jetter AG

1 Engineering a CPX Terminal on the JX2 System Bus

Product Description - Festo CPX-CP-Interface

The CPX-CP Interface is for connecting expansion modules of the CP/CPI installation system to the CPX terminal.

Designation Description

CPX-CPI Interface for modules of the CP/CPI installation system

Number of CPX-CPI modules on the CPX terminal

1

Size of cyclic I/O data 2 bytes per string 8 bytes max.

Number of entries in object 0x6100 1 entry per string

Number of entries in object 0x6300 1 entry per string

The technology module CPX-CP Interface can be connected to the JX2 system bus of the following controllers and modules by Jetter AG:

Controller / Module Software version (or higher)

JC-340 V 1.03.0.00

JC-350 V 1.03.0.00

JC-360 V 1.10.0.00

CPX-CP Interface

Technical Specifications

Minimum Requirements

Page 9: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

Jetter AG 9

Festo CPX Technology Modules Engineering a CPX Terminal on the JX2 System Bus

Engineering a CPX Terminal on the JX2 System Bus

Mount the CPX-CP Interface as the rightmost module of the CPX terminal. This way, registers can easily be assigned to cyclic I/O data.

When using CPX technology modules on the CPX-FB14 the following restrictions have to be observed:

The minimum hardware revision and software version numbers must be observed.

The CPX terminal occupies up to three I/O module numbers on the JX2 system bus. These I/O module numbers are therefore not available to other modules.

The number of analog I/Os connected to the CPX-FB14 is reduced.

Digital I/Os (without CPX-CP Interface)

Size of cyclic I/O data Max. number of analog I/Os

Yes < 8 bytes 8

Yes < 16 bytes 4

Yes < 24 bytes 0

No < 8 bytes 12

No < 16 bytes 8

No < 24 bytes 4

No < 32 bytes 0

Module Position of the CPX-CP Interface

CPX Technology Modules - Restrictions

Restrictions when Connecting Analog I/Os

Page 10: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

10 Jetter AG

1 Engineering a CPX Terminal on the JX2 System Bus

Exchanging Data Between Controller and CPX Terminal

The controller JC-3xx exchanges data via JX2 system bus with technology modules connected to the CPX terminal. The user incurs no extra effort here. The system needs not be configured using CANopen® EDS files. Just connect the CPX terminal to the controller and energize the controller. Configuration and commissioning - the controller automatically handles it all for you. You can focus on reading data from the assigned registers or writing data to them.

The fieldbus node CPX-FB14 arranges cyclic I/O data from all CPX technology modules one behind the other.

R E D2

JC-3

50

Jetter

X14

X15

BU

S O

UT

X19

X61

ETH

ERN

ET

SD-C

AR

D

X11

S11

SER

RUNSTOP

LOAD

POW

ER

X10

0V

DC24V1,5A

1 2 3

4

5

7

6

Byte 1..8

Byte 1..6

Byte 1..2

Byte 1..8

Byte 1..6

Byte 1..2

1..8

1..8

9..14

9..14

15..16

15..16

Number Element Function

1 JC-3xx Controller

2 CPX-FB14 CPX field bus node CANopen®

3 CPX technology modules CPX technology modules connected to CPX-FB14

4 Cyclic I/O data of the module

Cyclic I/O data of individual CPX technology modules. Here, with differing size.

5 Cyclic I/O data of the CPX terminal

Cyclic I/O data of individual CPX technology modules arranged in the CPX-FB14 one behind the other

6 R 200006xxx Registers for writing cyclic I/O data to the CPX technology modules

7 R 200005xxx Registers for reading cyclic I/O data from the CPX technology modules

Exchanging Data

Schematic Diagram

Page 11: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

Jetter AG 11

Festo CPX Technology Modules Engineering a CPX Terminal on the JX2 System Bus

Assigning Registers to Cyclic I/O Data

The controller automatically handles data exchange between registers and cyclic I/O data from the CPX terminal. The user has to determine the assignment of cyclic I/O data from the CPX technology modules to the registers on the controller. To do so, the user needs the following information:

The order in which the CPX technology modules are connected Size of cyclic I/O data of CPX technology modules

For information on cyclic I/O data refer to the documentation provided by Festo AG & Co. KG.

Depending on the set module number of the CPX-FB14 register numbering starts from a certain register number. The following table shows how to calculate the first register number which is indicated by x:

Digital I/Os x =

Yes Module number - 69

No Module number - 70

Registers for Input Data Registers for Output Data

Cyclic I/O Data

R 200005(x)20 R 200006(x)20 Byte 1

... ... ...

R 200005(x)27 R 200006(x)27 Byte 8

R 200005(x+1)20 R 200006(x+1)20 Byte 9

... ... ...

R 200005(x+1)27 R 200006(x+1)27 Byte 16

R 200005(x+2)20 R 200006(x+2)20 Byte 17

... ... ...

R 200005(x+2)27 R 200006(x+2)27 Byte 24

R 200005(x+3)20 R 200006(x+3)20 Byte 25

... ... ...

R 200005(x+3)27 R 200006(x+3)27 Byte 32

Introduction

Cyclic I/O Data

Determining the First Register Number

8-Bit Register Assignment to Cyclic I/O Data

Page 12: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

12 Jetter AG

1 Engineering a CPX Terminal on the JX2 System Bus

Registers for Input Data Registers for Output Data

Cyclic I/O Data

R 200005(x)10 R 200006(x)10 Byte 1 ... 2

R 200005(x)12 R 200006(x)12 Byte 3 ... 4

R 200005(x)14 R 200006(x)14 Byte 5 ... 6

R 200005(x)16 R 200006(x)16 Byte 7 ... 8

R 200005(x+1)10 R 200006(x+1)10 Byte 9 ... 10

R 200005(x+1)12 R 200006(x+1)12 Byte 11 ... 12

R 200005(x+1)14 R 200006(x+1)14 Byte 13 ... 14

R 200005(x+1)16 R 200006(x+1)16 Byte 15 ... 16

R 200005(x+2)10 R 200006(x+2)10 Byte 17 ... 18

R 200005(x+2)12 R 200006(x+2)12 Byte 19 ... 20

R 200005(x+2)14 R 200006(x+2)14 Byte 21 ... 22

R 200005(x+2)16 R 200006(x+2)16 Byte 23 ... 24

R 200006(x+3)10 R 200006(x+3)10 Byte 25 ... 26

R 200006(x+3)12 R 200006(x+3)12 Byte 27 ... 28

R 200006(x+3)14 R 200006(x+3)14 Byte 29 ... 30

R 200006(x+3)16 R 200006(x+3)16 Byte 31 ... 32

Registers for Input Data Registers for Output Data

Cyclic I/O Data

R 200005(x)00 R 200006(x)00 Byte 1 ... 4

R 200005(x)02 R 200006(x)02 Byte 3 ... 6

R 200005(x)04 R 200006(x)04 Byte 5 ... 8

R 200005(x+1)00 R 200006(x+1)00 Byte 9 ... 12

R 200005(x+1)02 R 200006(x+1)02 Byte 11 ... 14

R 200005(x+1)04 R 200006(x+1)04 Byte 13 ... 16

R 200005(x+2)00 R 200006(x+2)00 Byte 17 ... 20

R 200005(x+2)02 R 200006(x+2)02 Byte 19 ... 22

R 200005(x+2)04 R 200006(x+2)04 Byte 21 ... 24

R 200005(x+3)00 R 200006(x+3)00 Byte 25 ... 28

R 200005(x+3)02 R 200006(x+3)02 Byte 27 ... 30

R 200005(x+3)04 R 200006(x+3)04 Byte 29 ... 32

16-Bit Register Assignment to Cyclic I/O Data.

32-Bit Register Assignment to Cyclic I/O Data.

Page 13: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

Jetter AG 13

Festo CPX Technology Modules Engineering a CPX Terminal on the JX2 System Bus

Example: CPX-CMAX-1 and CPX-CP-Interface

Several modules are connected to a CPX terminal. The cyclic I/O data of these modules are to be assigned to registers:

1 x CPX-FB14 with module number 70 1 x CPX-8DE 1 x CPX-8DA 1 x CPX, CMAX-1, operating mode: record selection 1 x CPX-CP-Interface with one valve terminal and input module on string 1 CPA valves are directly connected to the unit

The CPX terminal is equipped with digital I/Os. Thus, x = 70 - 69 = 1. Therefore, the first register number of CPX technology modules is R 200005110, or R 200006110.

12

14

12

14

12

14

12

14

12

14

12

14

12

14

12

14

12

14

12

14

12

14

12

14

0 2 4 6 8 10 12 14

1 3 5 7 9 11 13 15

POWER

INPUT

DIAG

21 3 4 5 6

78

Number Part Cyclic Input Data Cyclic Output Data

1 CPX-FB14 -

2 CPX-8DE R 200005000 IN 200007001

-

3 CPX-8DA - R 200006000 OUT 200007001

4 CPX-CMAX-1 R 200005110 R 200006110

5 CPX-CP Interface R 200005210 R 200006210

6 CPA valves - R 200006000 OUT 200007009

7 CPE R 200005200 IN 200007201

-

Task

Solution

Sample Configuration

Page 14: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

14 Jetter AG

1 Engineering a CPX Terminal on the JX2 System Bus

Number Part Cyclic Input Data Cyclic Output Data

8 CPV - R 200006200 OUT 200007201

The following variables have to be declared for a CPX-CMAX in operating mode "Record Selection": Var

// Output data from CPX-CMAX perspective // Byte 1 CCON: Int At %VL 200005120;

// Byte 2 CPOS: Int At %VL 200005121;

// Byte 3 SatzNr: Int At %VL 200005122;

// Input data from CPX-CMAX perspective // Byte 1 SCON: Int At %VL 200006120;

// Byte 2 SPOS: Int At %VL 200006121;

// Byte 3 SatzNr: Int At %VL 200006122;

// Byte 4 RSB: Int At %VL 200006123;

// Byte 5..8 HauptIstWert: Int At %VL 200006104;

End_Var;

Variable Declaration in JetSym STX

Page 15: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

Jetter AG 15

Festo CPX Technology Modules Appendix

Appendix

Topic Page Index ............................................................................................................. 16

Table of Contents

Page 16: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

16 Jetter AG

Index

A: Index

A Assigning Registers - 11

E Engineering CPX Terminals - 9 Example - 13 Exchanging Data - 10

P Product description

Festo CPX-CMAX-1 - 6 Festo CPX-CMPX - 7 Festo CPX-CP Interface - 8

Page 17: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller
Page 18: Festo CPX Technology Modules - Jetter AG...Festo CPX Technology Modules Jetter AG 11 Engineering a CPX Terminal on the JX2 System Bus Assigning Registers to Cyclic I/O Data The controller

18 Jetter AG

Jetter AG

Graeterstrasse 2

D-71642 Ludwigsburg

Germany

Phone: +49 7141 2550-0

Phone - Sales:

+49 7141 2550-433

Fax - Sales:

+49 7141 2550-484

Hotline: +49 7141 2550-444

Internet: http://www.jetter.de

E-Mail: [email protected]

Jetter Subsidiaries

Jetter (Switzerland) AG Jetter USA Inc.

Münchwilerstrasse 19 13075 US Highway 19 North

CH-9554 Tägerschen Florida - 33764 Clearwater

Switzerland U.S.A

Phone: +41 71 91879-50 Phone: +1 727 532-8510

Fax: +41 71 91879-69 Fax: +1 727 532-8507

E-Mail: [email protected] E-Mail: [email protected]

Internet: http://www.jetterag.ch Internet: http://www.jetter.de