
3
Parameterisation
Festo – CPX-E-PB-EN – 2017-07 – English
19
3.1.2
Examples for access to data records through DPV1
The following examples refer to the system CPX-E shown in Fig. 3.1.
1
Bus module CPX-E-PB (with status bits)
2
Digital input module CPX-E-16DI
3
Digital output module CPX-E-8DO
4
Digital output module CPX-E-8DO
5
Analogue input module CPX-E-4AI-U-I
6
Analogue output module CPX-E-4AO-U-I
Module no.:
0
1
2
3
4
5
1
2 3 4 5 6
Fig. 3.1
Access to data records
For module no. 3 (digital output module CPX-E-8DO), module parameter “Behaviour after short circuit” shall be
changed.
First, the command box is assigned as follows
è
Command box assignment
Byte
1
2
3
4
Table of contents Slot number
Index number
Offset
–
Example
21
1
–
1) As module-related data are relevant here: slot number = module 100
Tab. 3.5
After that, value 0 must be transferred with Write Box.
Access to diagnostic memory
Diagnostic memory entry 0 shall be read.
First, the command box is assigned as follows
è
Command box assignment
Byte
1
2
3
4
Table of contents Slot number
Index number
Offset
–
Example
1
21
0
–
Tab. 3.6
After that, the diagnostic memory entry 0 must be read with Read Box.