The text of a manual · part 21 of 26
CPX terminal Electronics manual: System description, installing and commissioning CPX terminals: Parameters and data of the CPX terminal, pages 173 to 182
Pages 173 to 182 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 173
B. Parameters and data of the CPX terminal
Diagnostic memory data (10 bytes per entry, max. 40 entries)
Function no. 1)
Byte no.
Title
Description
Value
3488 + n
1
Days [day]
Number of days 2)
0...255 n = 10 * d + 0
2
Hours [h]
Number of hours 2)
0...23 n = 10 * d + 1
3
Minutes [m]
Number of minutes 2)
0...59 n = 10 * d + 2
4
Seconds [s]
Number of seconds 2)
0...59 n = 10 * d + 3
5
Milliseconds [ms]
Number of 10 msec 2) Additionally: bit 7 is set if it is the first entry after Power ON.
0...99 or 128...227 n = 10 * d + 4
6
Module code 3)
Module code of the module which registered the fault.
0...255 n = 10 * d + 5
7
Module position [Pos]
Module number of the module which registered the fault; 63 = fault not module−related
0...47, n = 10 * d + 6
Bit 7 0
6 0
0...255 n = 10 * d + 7
1
0
0 1
1 1
5...0: Description 0...63: No. of the 1st defective A channel 0...63: No. of the 1st defective Input channel 0...63: Module error 0...63: Reserved
8
Channel number 3)
63
9
Fault number [FN]
0...255:
Error number (possible error messages see section 5.1.1)
0...255 n = 10 * d + 8
10
Subsequent channels 3)
Number of subsequent channels with the same fault
0...63 n = 10 * d + 9
1) d (diagnostic event) [NB] = 0...39; most current diagnostic event = 0 2) Measured from the moment the power supply is switched on. 3) If the fault number = 0, the contents of these bytes are also 0. If the fault number lies between
128...199 (error class 3), the contents of these bytes are not relevant (servicing required).
Diagnostic memory data
Festo P.BE−CPX−SYS−EN en 0503b
B−31
Page 174
B. Parameters and data of the CPX terminal
B.2.6 System−Diagnostic data The following system diagnostic data is available: Function no.
System diagnostic data
1936
Status bits (error type and error source)
1937
Module number and diagnostic status
1938
Fault number
Overview Diagnostic data System diagnostic data: Status bits Function no.
1936
Description
The 8 status bits display common diagnostic messages (global error messages). Bits 0...3 display the source of the fault and bits 4...7 display the type of the fault.
Bit
Status bits Fault source: Bit 0: valve Bit 1: output Bit 2: input Bit 3: analogue/function module *) Fault type: Bit 4: undervoltage Bit 5: short circuit/overload Bit 6: wire fracture Bit 7: other faults
Values
1 = there is a fault; 0 = no fault
[System diagnostics] [Valve] [Output] [Input] [Analogue/function module] [Undervoltage] [Short circuit/overload] [Wire fracture] [Other error]
*) Function modules are also known as technology modules (e.g. CPX−CP interface).
Status bits
B−32
Festo P.BE−CPX−SYS−EN en 0503b
Page 175
B. Parameters and data of the CPX terminal
System diagnostic data: Module number and diagnostic status Function no.
1937
Description
Function no. 1937 specifies whether there are diagnostic data and contains, where applicable, the number of the first module on which a fault has occurred. With the aid of the module number of the faulty module you can ascertain the function numbers of the relevant diagnostic data.
Bit
Bit 0...5: Module number of the first faulty module Bit 6: Diagnostic status Bit 7: Reserved
Values
Bits 0...5: 0...47 (module number) Bit 6: 1 = there are diagnostic data 0 = there are no diagnostic data
Note
Function no. 1938 contains the relevant error number. Examples see and
[First faulty module]
Module number and diagnostic status System diagnostic data: Fault number Function no.
1938
Description
Contains the current fault number
Bit
Bit 0...7
Error number
Values
0...255
Fault number
Note
Possible error messages see section 5.1.1) Function no. 1937 specifies whether there are diagnostic data and contains, where applicable, the number of the first module on which the fault occurred.
[Fault number]
Fault number
Festo P.BE−CPX−SYS−EN en 0503b
B−33
Page 176
B. Parameters and data of the CPX terminal
B.2.7 Module diagnostic data The module diagnostic data are assigned to the function numbers 2008 to 2199. There are 4 diagnostic information items in 4 consecutive bytes for each module. The function numbers of the diagnostic data of the faulty module are therefore calculated as follows: Function no. = 2008 + (4 * module number) + information no. You can ascertain the module number of the first faulty ule with the aid of the system diagnostic data (function no. 1937). The following module diagnostic data is available: Function no. 1)
Module diagnostic data
2008 + m * 4 + 0
Number of the first faulty channel
2008 + m * 4 + 1
Module fault number
2008 + m * 4 + 2
Information 2 (reserved)
2008 + m * 4 + 3
Information 3 (reserved)
1) m = module number (0...47)
Overview Module diagnostic data Module diagnostic data for CP modules on the CPX−CP interface see the manual for the CPX−CP interface type
B−34
Festo P.BE−CPX−SYS−EN en 0503b
Page 177
B. Parameters and data of the CPX terminal
Module diagnostic data: Number of the first faulty channel Function no.
2008 + m * 4 + 0
Description
Specifies the number of the faulty channel (bits 0...5)
Bit
Bit 7 0 1 0 1
Values
Bits 0...5 Bit 6 Bit 7
Note
With the aid of the module number of the faulty module (see system diagnostic data, byte address 1937) you can ascertain the function numbers of the relevant diagnostic data.
6 0 0 1 1 m = module number (0...47)
5 ... 0 : Description 0 ... 63 : No. of the 1st defective A channel 0 ... 63 : No. of the 1st defective Input channel 0 ... 63 : Module error 0 ... 63 : Reserved 0...63 0...1 0...1
(channel number)
Number of the first faulty channel Module diagnostic data: Module fault number Function no.
2008 + m * 4 + 1 m = module number (0...47)
Description
Fault number
Bit
Bit 0...7
Error number
Values
0...255
(Fault number)
Note
Possible error messages see section 5.1.1
Module fault number Module diagnostic data: Information 2 (reserved) Function no.
2008 + m * 4 + 2
Description
Reserved m = module number (0...47)
Information 2 (reserved)
Festo P.BE−CPX−SYS−EN en 0503b
B−35
Page 178
B. Parameters and data of the CPX terminal
Module diagnostic data: Information 3 (reserved) Function no.
2008 + m * 4 + 3
Description
Reserved m = module number (0...47)
Information 3 (reserved)
B−36
Festo P.BE−CPX−SYS−EN en 0503b
Page 179
B. Parameters and data of the CPX terminal
B.2.8 System data System data give information on global system settings and system states. They will be lost after Power Off ent). The following system data is available: Function no.
System data
0
CPX operating mode
0
CPX equipment status
0
Handheld
0
Force mode
0
System start
1
Fail safe
1
System Idle mode 1)
2
Monitoring the CPX terminal
Number of input bytes (Rx size) 1)
Number of output bytes (Tx size) 1)
1) Only relevant for certain field bus protocols
Overview System data
Festo P.BE−CPX−SYS−EN en 0503b
B−37
Page 180
B. Parameters and data of the CPX terminal
System data: CPX operating mode Function no.
0
Description
Specifies the CPX operating mode which is currently active. In the operating mode Remote I/O" all functions are controlled via the protocol implemented in the field bus node. In the operating mode Remote Controller" the FEC takes complete control of the I/Os. 8 I/O bytes are intended for communication with the field bus node.
Bit
Bits 0...3
Values Bit 3 0 0 0 1
2 0 0 1 0
1 0 1 0 0
0 1 0 0 0
Note
CPX operating mode Description Remote I/O without FEC Remote I/O with FEC Remote Controller without field bus node Remote Controller with field bus node
[CPX mode] [Remote I/O] [Remote I/O with FEC] [Remote controller] [Remote control with FB]
The CPX operating mode is ascertained and entered during the start−up phase.
CPX operating mode System data: CPX equipment status Function no.
0
Description
Specifies whether the current equipment fitted to the CPX corresponds to the saved CPX equipment status.
Bit
Bit 4
Values Bit 4 0 1 Note
CPX equipment status Description equal not equal
[CPX structure] [equal] [unequal]
See also system parameter System start".
CPX equipment status
B−38
Festo P.BE−CPX−SYS−EN en 0503b
Page 181
B. Parameters and data of the CPX terminal
System data: Handheld Function no.
0
Description
Specifies whether a handheld is connected or not.
Bit
Bit 5
Values Bit 5 0 1 Note
Handheld Description Handheld not connected Handheld connected
[Handheld]
[connection OK]
Information for the higher−order controller If necessary for test purposes, a parameterisation carried out by handheld is to be cancelled by reloading the parameters, or forcing by higher−order PLC/IPC is to be blocked whilst a handheld is connected.
Handheld System data: Force mode Function no.
0
Description
Specifies whether Force is blocked or enabled.
Bit
Bit 6
Values Bit 6 0 1 Note
Force mode Description Blocked Enabled
[Force mode] [Disabled] [Enabled]
See also system parameter Force mode".
Force mode
Festo P.BE−CPX−SYS−EN en 0503b
B−39
Page 182
B. Parameters and data of the CPX terminal
System data: System start Function no.
0
Description
Specifies how the system start of the CPX terminal is to be carried out.
Bit
Bit 7
Values Bit 7 0 1
Note
System start Description System start with default parameterisation (factory setting) and current CPX equipment status System start with saved parameterisation and saved CPX equipment status
[System start] [Default parameters] [Saved parameters]
See also system parameter System start".
System start System data: Fail safe Function no.
1
Description
Specifies whether Fail safe is active or inactive.
Bit
Bits 0, 1
Values Bit 1 0 0 0 0 1 1 1
Fail safe Description Reset all outputs Hold last state (retain signal status) Assume fault mode
[Fail safe] [Reset outputs] [Hold last state] [Assume fault mode]
Fail safe
B−40
Festo P.BE−CPX−SYS−EN en 0503b