Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 16 of 26

CPX terminal Electronics manual: System description, installing and commissioning CPX terminals: Diagnosis and error treatment, pages 125 to 132

Pages 125 to 132 of 221, from CPX terminal Electronics manual: System description, installing and commissioning CPX terminals

The original document is the PDF (2.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Festo CPX-CP-4-FB

Page 125

5. Diagnosis and error treatment

5.2

Diagnosis via status bits or the I/O diagnostic interface The CPX terminal offers the following two modes for nosis, irrespective of the field bus node used: Mode

Description

Status bits (system status)

The status bits serve for displaying mon diagnostic messages (global error messages). Access to the status bits is made via 8 internal inputs (see section 5.2.1).

I/O diagnostic interface (system diagnosis)

The I/O diagnostic interface is a pendent diagnostic interface. With this interface, all internal data and parameters can be read out via 16 internal inputs and 16 internal outputs. All nostic information is then also available even if the field bus protocol used does not offer any extensive diagnostic tions (see section 5.2.2).

Festo P.BE−CPX−SYS−EN en 0503b

Field bus independent diagnostic modes

5−19

Page 126

5. Diagnosis and error treatment

5.2.1

Structure of the status bits Irrespective of the field bus node used, The CPX terminal vides 8 status bits for displaying common diagnostic ages (global error messages). Status bits are configured like inputs. The input addresses, which are to be assigned to status bits, depend on the field bus protocol used (see manual for the CPX field bus node). The status bits supply coded diagnostic information. Bits 0 to 3 specify the module types in which faults have occurred. Bits 4 to 7 specify the type of fault. Bit

Diagnostic information

Description

0

Fault at valve

1

Fault at output

Module type on which a fault has occurred.

2

Fault at input

3

Fault in analogue module/ function module or technology module

4

Undervoltage

5

Short circuit/overload

6

Wire fracture

7

Other faults

Type of fault

Structure of the status bits If all status bits supply a 0−signal, no fault will be registered.

5−20

Festo P.BE−CPX−SYS−EN en 0503b

Page 127

5. Diagnosis and error treatment

Examples of typical status information No error registered Other faults

Wire fracture

Short circuit voltage

Funct./ Input analogue

Output

Valve

Bit

7

6

5

4

3

2

1

0

Status

0

0

0

0

0

0

0

0

Example 1 no fault

Short circuit/overload at the output Other faults

Wire fracture

Short circuit voltage

Funct./ Input analogue

Output

Valve

Bit

7

6

5

4

3

2

1

0

Status

0

0

1

0

0

0

1

0

Example 2 short circuit at the output

Undervoltage in the sensor supply Other faults

Wire fracture

Short circuit voltage

Funct./ Input analogue

Output

Valve

Bit

7

6

5

4

3

2

1

0

Status

0

0

0

1

0

1

0

0

Example 3 undervoltage in the sensor supply If different faults occur simultaneously on different types of modules, faults cannot be distinguished. Use the I/O nostic interface in order to distinguish faults clearly.

Festo P.BE−CPX−SYS−EN en 0503b

5−21

Page 128

5. Diagnosis and error treatment

5.2.2

The I/O diagnostic interface Organisation of internal data and parameters Internal data and parameters of the CPX modules and of the CPX terminal are stored in a common memory range. With the I/O diagnostic interface, read access can be made with the aid of the function number to individual bytes of this memory range. Parameters can be modified with the aid of field bus specific functions (depending on the field bus used) or with the held (see also section 4.2.2).

Method of operation of the I/O diagnostic interface Detailed diagnostic information can be accessed via the I/O diagnostic interface. You can ascertain exactly, e.g. on which module and in which channel a fault has occurred. The tem diagnosis can be accessed by means of 16 input bits and 16 output bits, with which all diagnostic data can be read out. The addresses of the input and output bits of the I/O nostic interface depend on the field bus used (see the manual for the CPX field bus node).

5−22

Festo P.BE−CPX−SYS−EN en 0503b

Page 129

5. Diagnosis and error treatment

Output bits

The function number of the desired data will be specified in binary coded form via the output bits O0...O12 of the I/O diagnostic interface. The function number is accepted when control bit O15 supplies a 1−signal. 15 14 13 12 11 10 9

1

8

7

6

5

4

3

2

1

0

2 Function no. Reserved Control bit

1 Bit number

2 Outputs

Output bits of the I/O diagnostic interface

Input bits

The reply data are output by the CPX terminal via the input bits I0...I7 when quitting bit I15 supplies a 1−signal. 15 14 13 12 11 10 9

1

8

7

6

5

4

3

2

1

0

2 Reserved

Diagnostic data

Quitting bit

1 Bit number

2 Inputs

Input bits of the I/O diagnostic interface If control bit O15 supplies a 0−signal, quitting bit I15 will be reset automatically and the status byte will be shown with the diagnostic data bits.

Festo P.BE−CPX−SYS−EN en 0503b

5−23

Page 130

5. Diagnosis and error treatment

Reading out the diagnostic data flow diagram The function number is accepted if there is a positive edge at control bit O15. The input bits I0...I7 supply the diagnostic data when the quitting bit supplies a 1−signal. Starting the read process

Set the function number

Set control bit (O15)

Quitting bit = 1?

No

Yes Accept data

Reset control bit O15

Quitting bit = 0?

No

Yes End of the read process

Reading out the diagnostic data flow diagram

5−24

Festo P.BE−CPX−SYS−EN en 0503b

Page 131

5. Diagnosis and error treatment

Example 1: Check to see if there are diagnostic data Function no. 1937 specifies whether there are diagnostic data and contains, where applicable, the number of the first ule on which a fault has occurred (see section B.2.6). Function no. = 1937 1937 dec. = 11110010001 Bin

1

15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

1

1

1

0

0

1

0

0

0

1

0

0

0

0

1

1

2 Function no.

Control bit

1 Bit number of the outputs

2 Signal status of the outputs

Reading out function no. 1937 There are diagnostic data if bit 6 supplies a 1−signal. Bit 0...5 contain the module number of the first faulty module (see also section B.2.6.). If, for example, there were a fault on module 5 (5 dec. = 101 Bin), the following input data would be available:

1

15 14 13 12 11 10 9 1

8

7

6

5

4

3

2

1

0

0

1

0

0

0

1

0

1

2 Reserved

Diagnostic data

Quitting bit

1 Bit number of the inputs

2 Signal status of the inputs

Reply data (example)

Festo P.BE−CPX−SYS−EN en 0503b

5−25

Page 132

5. Diagnosis and error treatment

Example 2: Read out current fault numbers of module 5 With the aid of the module number of the faulty module you can ascertain the function numbers of the relevant module diagnostic data (see also section B.2.7). Module diagnostic data can be e.g.:

the number of the faulty channel the module fault number.

With the following function number, you can ascertain e.g. the module fault number of module 5: Function no. = 2008 + 4 * 5 + 1 = 2029 2029 dec. = 11111101101 Bin

1

15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

1

1

1

1

1

0

1

1

0

1

0

0

0

0

1

1

2 Function no.

Control bit

1 Bit number

2 Signal status of the outputs

Reading out the module fault number of module 5 As an example the reply data in the case of fault number 4.

1

15 14 13 12 11 10 9 1

8

7

6

5

4

3

2

1

0

0

0

0

0

0

1

0

0

2 Diagnostic data

Reserved Quitting bit

1 Bit number of the inputs

2 Signal status of the inputs

Reply data with fault number 4 (4 dec. = 100 Bin) Detailed information on the module diagnostic data can be found in section B.2.7. 5−26

Festo P.BE−CPX−SYS−EN en 0503b