background image

3

Parameterisation

20

Festo – CPX-E-PB-EN – 2017-07 – English

3.2

Operation with the general DP master

System CPX-E can be controlled by a PLC, PC or industrial PC with a PROFIBUS DP interface according to the
PROFIBUS specification pursuant to IEC 61158.

3.2.1

Implemented functions and service access points

DSAP

1)

Function

Data from master to slave

Data from slave to master

NIL

Data_Exchange

Output data

Input data

0 … 48
(0x00 … 0x30)

MSAC_C2

Function for communication with a Class 2 master (e.g., PC/PG)

2)

50 … 51
(0x32 … 0x33)

MSAC_C1

Function for communication with a Class 1 master (e.g., PLC)

3)

55 (0x37)

Set_Slave_Add

Not available

56 (0x38)

RD_Inp

Empty

Input data

57 (0x39)

RD_Outp

Empty

Output data

58 (0x3A)

Global_Control

Control

59 (0x3B)

Get_Cfg

Empty

Configuration

60 (0x3C)

Slave_Diag

Empty

Leakage

61 (0x3D)

Set_Prm

Parameter

Short Confirmation (SC)

4)

62 (0x3E)

Chk_Cfg

Configuration

Short Confirmation (SC)

4)

1) Destination Service Access Point

2) Dynamic use and service access points are defined at the connection set-up.

3) Fixed service access points

4) Short confirmation

Tab. 3.7

3.2.2

Bus parameters and reaction times

Transmission rate [kbps]

max T

SDR

 [T

bit

]

1)

min T

SDR

 [T

bit

]

2)

9.6
19.2
93.75
187.5

60

11

500

100

1500

150

3000

250

6000

450

12000

800

1) Maximum Station Delay Responder

2) Minimum Station Delay Responder

Tab. 3.8

3.2.3

Transmission times on PROFIBUS DP

The transmission times depend on the cycle time of the PLC and update time of the network.
Independently of structure, the delay times within system CPX-E amount to less than 1 ms.
The calculation of the overall transmission time can be found in the controller user documentation.

Содержание CPX-E Series

Страница 1: ...System CPX E Bus module CPX E PB Description Protocol PROFIBUS DP Function Parameterisation 8071123 2017 07 8071125 ...

Страница 2: ...7 Original instructions CPX E PB EN PI PROFIBUS PROFINET is a registered trademark of its respective trademark holder in certain countries Symbols used Note Material damage or loss of function Recommendations tips references to other documentation ...

Страница 3: ...s bits 11 2 4 3 I O diagnostic interface 11 2 5 Diagnosis via PROFIBUS DP 12 2 5 1 Diagnostic steps 12 2 5 2 Overview of diagnostic bytes 12 2 5 3 Standard diagnostic information 14 2 5 4 Identifier related diagnosis 15 2 5 5 Channel related diagnosis 15 3 Parameterisation 17 3 1 Access to system CPX E via DPV1 17 3 1 1 Data records 17 3 1 2 Examples for access to data records through DPV1 19 3 2 ...

Страница 4: ...n for the higher order controller and the additional participants in the network Information on commissioning and parameterisation of the components Tab 1 1 For all available product documentation è www festo com pk 1 2 Target group This document is intended for qualified personnel Experience in PROFIBUS DP networks is required in order to understand this documentation 1 3 Product version This doc...

Страница 5: ...te for the product Alternatively the Product Key 11 digit alphanumeric code on the product labelling can be entered in the search field of the Support Portal 1 Designation 2 Part number serial number 3 Revision status 4 Data Matrix Code 5 Product Key 6 Approvals warning symbols 7 Port assignment 1 2 3 4 5 6 7 Fig 1 1 1 5 Specified standards Version status EN 60529 2013 10 IEC 60204 1 2014 10 EN 61...

Страница 6: ...isation of system CPX E the parameterisation data can be sent by the DP master to the bus module using PROFIBUS DP Using the DPV1 command all data and parameters provided by system CPX E can be accessed Through the USB interface all relevant information of system CPX E can be read and changed depending on the function 2 1 1 Product design 1 LED displays 2 DIL switch 3 Diagnostic interface DIAG min...

Страница 7: ...omponents Connection XF1 Signal Designation 1 Shield Functional earth 2 n c 3 RxD TxD P Received transmitted data P 4 CNTR P Repeater control signal1 5 DGND Data reference potential M5V 6 VP Supply voltage positive P5V 7 n c 8 RxD TxD N Received transmitted data N 9 n c 2 Shield Functional earth 1 The repeater control signal CNTR P is configured as a TTL signal 2 Housing Tab 2 3 Port XD 1 Signal 0...

Страница 8: ... FREEZE is reset automatically in case of Network connection to system CPX E interrupted if response monitoring is activated FREEZE All inputs of system CPX E are frozen and system CPX E sends a constant image of all inputs to the master For each additional FREEZE command the input image is updated and reset to the master The control command UNFREEZE returns the system to normal operation SYNC All...

Страница 9: ...assignment of the inputs does not depend on the address assignment of the outputs The counting mode is module oriented from left to right The bus module counts as a module with 0 inputs and 0 outputs when the status bits and the I O diagnostic interface are deactivated Activated status bits occupy 8 inputs An activated I O diagnostic interface occupies 16 inputs and 16 outputs 2 3 2 Addressing exa...

Страница 10: ...transmitted cyclically to the interface as internal inputs Access is via the control software independently of the interface and master è 2 4 2 è Description of system CPX E I O diagnostic interface Network independent diagnostic interface with read access to the internal data of the system CPX E at the I O level è 2 4 3 è Description of system CPX E Festo software Malfunctions or errors are displ...

Страница 11: ...ion the bus module of the system CPX E must be configured accordingly The status bits are displayed in the process image insofar as set by the selection of the catalogue entry CPX E PB DP Slave Status in the hardware configurator If different errors occur simultaneously on different module types errors cannot be assigned To clearly determine errors the I O diagnostic interface can be used è 2 4 3 ...

Страница 12: ... on system CPX E network plug not inserted etc Configuration data obtained from the master does not agree with the configuration data from the CPX E system Evaluation of Bit 3 Diagnostic message present è Step 2 Step 2 Evaluation of the diagnostic bytes Byte 7 22 Device specific diagnostics è Tab 2 9 Byte 23 29 Identifier related diagnostics è Tab 2 10 and 2 5 4 Identifier related diagnosis Byte 3...

Страница 13: ... 8 10 1 bit per module to display pending diagnostics1 26 29 Reserved 1 Bits 3 7 are reserved Tab 2 10 Channel related diagnosis variable length 1 2 Byte Table of contents Explanation 30 Module x Byte 1 Module number 31 Byte 2 Channel number and input output 32 Byte 3 Type of diagnostics error type channel type 33 Module y Byte 1 Module number 34 Byte 2 Channel number and input output 35 Byte 3 Ty...

Страница 14: ... 1 System CPX E does not support the requested function 5 Diag Invalid_Slave_Response Always 0 permanently set by system CPX E 6 Diag Prm_Fault 1 Last parameterisation telegram incorrect 7 Diag Master_Lock Always 0 permanently set by system CPX E 1 Bits that refer to system CPX E are bolded Tab 2 12 Station status 21 Bit Meaning Explanation 0 Diag Prm_Req 1 Master must reconfigure system CPX E 1 D...

Страница 15: ...nel Byte 1 Module number Byte 2 Channel number and input output Byte 3 Type of diagnostics error type and channel type For the entries in the diagnostic bytes 30 62 channel related diagnostics the following applies The entry is made gap free in ascending order according to module numbers The entries must always be in the same sequence as the module numbers irrespective of the time sequence of the ...

Страница 16: ...1 Value Error type Festo 1 0 Reserved 16 Incorrect valve setting 1 Short circuit 17 Valve switching cycle meter limit value exceeded 2 Undervoltage 18 19 Reserved 3 Overvoltage 20 Parametrizing fault configurable 4 Overload 21 Parametrizing fault data format 5 Over temperature 22 Parametrizing fault linear scaling 6 Cable break 23 Parameterisation error digital filter 7 Upper limit exceeded 24 Par...

Страница 17: ...DP V1 3 1 1 Data records The parameters and data are accessed by a slot number and an index number The slot number for module related data is as follows Slot number module number 100 The index number can be found in Tab 3 1 Tab 3 4 The following tables show the connection between the access to parameters and data with DPV1 and function numbers Additional information the function numbers can be fou...

Страница 18: ...e objects Index Name Length byte Access1 Data record number2 Function number 16 Command box 4 r w 9 17 Read Box 64 r 10 18 Write Box 64 w 11 1 r read access w write access 2 Siemens S7 S7 compatible parameter setting Tab 3 3 Slots 100 147 Module data and module parameters Index Name Length byte Access1 Data record number2 Function number3 16 Module configuration 16 r w 72 16 16m 17 Module serial n...

Страница 19: ...l output module CPX E 8DO module parameter Behaviour after short circuit shall be changed First the command box is assigned as follows è Tab 3 5 Command box assignment Byte 1 2 3 4 Table of contents Slot number Index number Offset Example 1031 21 1 1 As module related data are relevant here slot number module number 100 Tab 3 5 After that value 0 must be transferred with Write Box Access to diagno...

Страница 20: ...rol 59 0x3B Get_Cfg Empty Configuration 60 0x3C Slave_Diag Empty Leakage 61 0x3D Set_Prm Parameter Short Confirmation SC 4 62 0x3E Chk_Cfg Configuration Short Confirmation SC 4 1 Destination Service Access Point 2 Dynamic use and service access points are defined at the connection set up 3 Fixed service access points 4 Short confirmation Tab 3 7 3 2 2 Bus parameters and reaction times Transmission...

Страница 21: ...sferred to system CPX E System by the DP master using function Set_Prm Octet 1 Station status Settings Designation Bit 7 6 5 4 3 2 1 0 Response monitoring Watchdog of system CPX E WD_On Monitoring deactivated 0 Monitoring activated 1 FREEZE mode request Freeze_Req FREEZE mode not requested by master 0 FREEZE mode set by master 1 SYNC mode request Sync_Req SYNC mode not requested by master 0 SYNC m...

Страница 22: ...Settings Designation Bit 7 6 5 4 3 2 1 0 Slave specific parameters User_Prm_Data 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Tab 3 14 3 2 6 Check configuration data Chk_Cfg The configuration data is transferred to system CPX E System by the DP master using function Chk_Cfg The identifiers of the modules according to IEC 61158 and assigned address space are listed in the Festo catalogue è www festo com catalog...

Страница 23: ...following table shows an overview of the user data Data_Exchange for the example Fig 3 1 Output data Outp_Data Input data Inp_Data No Module type Byte1 Octet Bit Outlet2 No Module type Byte3 Octet Bit Input4 2 CPX E 8DO 0 1 0 x 0 0 CPX E PB status bits 0 1 0 Diagnostic message 1 x 1 1 7 x 7 7 3 CPX E 8DO 1 2 0 y 0 1 CPX E 16DI 1 2 0 t 0 1 y 1 1 t 1 7 y 7 7 t 7 5 CPX E 4AO U I 2 3 0 z 0 2 3 0 u 0 1...

Страница 24: ...ific 222 13 Module identification E PB DP identifier IEC 61158 Without diagnostics 0 00h With status bits 64 40h 00h With I O diagnostic interface 192 C0h 81h 81h Degree of protection in accordance with EN 60529 IP20 Protection against electric shock protection against direct and indirect contact to IEC 60204 1 Through the use of PELV circuits Protected extra low voltage Electromagnetic compatibil...

Страница 25: ...tection Maximum cable length per segment1 m 100 at 3000 12000 kbps 200 at 1500 kbps 400 at 500 kbps 1000 at 187 5 kbps 1200 at 9 6 93 75 kbps Branch line length1 1500 kbps m 6 6 1500 kbps No branch lines permitted Cable specification2 Cable type Twisted pair cable screened Surge impedance Ω 135 165 3 20 MHz Capacitance per unit length pF m 30 Loop resistance Ω km 110 Wire diameter mm 0 64 Wire cro...

Страница 26: ...an be made dual in line DPV1 PROFIBUS extension for acyclic access to system data during running time GSD file Device description file for PROFIBUS generic station description I O Input and output I O diagnostic interface Network independent diagnostic interface at I O level which enables access to the internal data of the system CPX E I O module Collective term for modules that provide analogue o...

Страница 27: ...Diagnostic steps 12 Identification related diagnosis 15 Standard diagnostic information 14 Diagnostic memory 19 Diagnostics options 10 I O diagnostics interface 11 LED indicators 11 Status bits 11 Via PROFIBUS DP 12 F FREEZE 8 Further applicable documents 4 G GSD file 8 I I O diagnostic interface 11 Identification maintenance 8 Inp_Data 23 Input data 23 L LED indicators 11 Bus error 11 O Outp_Data...

Страница 28: ...zation is prohibited Offend ers will be liable for damages All rights reserved in the event that a pat ent utility model or design patent is registered Copyright Festo SE Co KG Ruiter Straße 82 73734 Esslingen Germany Phone 49 711 347 0 Fax 49 711 347 2144 e mail service_international festo com Internet www festo com ...

Отзывы: