Modbus® TCP objects of the CPX-FB36. Festo CPX-FB36
Add to My manuals218 Pages
Festo CPX-FB36 is a versatile 2-port industrial Ethernet bus node with advanced features, offering seamless connectivity and data exchange in industrial automation networks. Utilizing EtherNet/IP and Modbus TCP protocols, it effortlessly integrates into EtherCAT control systems, enabling reliable communication and efficient data transfer.
With comprehensive configuration options and flexible mounting capabilities, Festo CPX-FB36 adapts effortlessly to diverse application requirements. Whether mounted on a DIN rail or directly on the device, its rugged design withstands challenging industrial environments, ensuring optimal performance and longevity.
advertisement
Modbus ® TCP objects of the CPX-FB36
Appendix D
Modbus ® TCP objects of the CPX-FB36
Festo CPX-FB36-EN en 1611a English
D-1
D. Modbus ® TCP objects of the CPX-FB36
Contents
D.
Modbus® TCP objects of the CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview of Modbus® TCP objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Commands and addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPX status information (Group A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Bus node CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Electric modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pneumatic modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Electrical interface (CP interface) CPX-CP-4-FB . . . . . . . . . . . . . . . .
Composition of diagnostic data (diagnostic word) . . . . . . . . . . . . .
Composition of the data of the I/O diagnostics interface . . . . . . . .
Diagnostic memory (Groups C and E) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modbus TCP Objects (Group F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Addressing examples for Modbus® TCP . . . . . . . . . . . . . . . . . . . . .
D-2
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
D.1
Overview of Modbus® TCP objects
This chapter describes the representation of the CPX terminal within the Modbus®/TCP object model.
Some information is in English, even in the documentation in other languages, so that the original terms of the protocol specification can be used clearly.
D.2
Commands and addresses
The table below shows the connection between the Modbus® address and data or parameters of the CPX terminal. The data are assigned to various groups.
Modbus® command
Func tion code
Modbus® address read
4x registers
3 45357 … 45391
45392 … 45647
45648 … 45655
45656 … 46055
46100 write
4x registers
6, 16 40001 … 40256
40257 … 40264
46100 read/write
4x registers
23 45357 … 45391
45392 … 45647
45648 … 45655
45656 … 46055
40001 … 40256
40257 … 40264 read device identificati on
43 Objects
Significance
CPX status information
Inputs process data
Diagnostic memory parameters
Diagnostic memory data
Modbus® connection timeout
Outputs process data
Diagnostic memory parameters
Modbus® connection timeout
CPX status information
Inputs process data
Diagnostic memory parameters
Diagnostic memory data
Outputs process data
Diagnostic memory parameters
Objects ID0, 1, 2, 3, 4, 5 write write write read read read read write write read
Remote I/O
16 bit ac cess
Grou p read read read read read
O
B
C
C
A
O
B
C
C
D
E
D
E
A
F
Tab. D/1: Overview of the Modbus® function codes for the bus node CPX-FB36 in the
Remote I/O operating mode
Festo CPX-FB36-EN en 1611a English
D-3
D. Modbus ® TCP objects of the CPX-FB36
D.3
CPX status information (Group A)
The status information provides information on the configura tion and the fault status of the CPX terminal. It lies in the
Modbus® address range 45367 … 45391.
Modbus® address
CPX-terminal configuration
45367
45368
45369
Inputs process data
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Module 0 … 15
Module 16 … 31
Module 32 … 47
Bit n = 0: Module does not exist
Bit n = 1: Module exists
Tab. D/2: Configuration information on the modules of the CPX terminal
Modbus® address
Error detection
45383
45384
45385
Inputs process data
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Module 0 … 15
Module 16 … 31
Module 32 … 47
Bit n = 0: no error
Bit n = 1: error in module n
Tab. D/3: Detection of which module reports an error
D-4
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address
Status register
45391
Inputs process data
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit 4 = 1: Operator unit connected; 0: not connected
Bit 11 = 1: Parameter write-protected; 0: no write protection
Bit 15 = 1: Force active; 0: force inactive
Tab. D/4: Further status information (extracts from the system data)
Modbus® address
Modbus® connection timeout
46100
Monitoring of the Modbus® connection in milliseconds [ms]
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 = deactivated
Range of values: 10 … 65535
Standard setting: 10000 (10 s)
Tab. D/5: Modbus® connection timeout
Festo CPX-FB36-EN en 1611a English
D-5
D. Modbus ® TCP objects of the CPX-FB36
D.4
Process data (Group B and D)
The process image of the input data (Group B) and of the output data (Group D) is composed without gaps of the data of the modules as mounted from left to right in the CPX terminal.
The Modbus® addresses depend accordingly on the modules mounted on the CPX terminal. They are arranged in ascending order without gaps (n, n +1, n +2, ... ; n corresponds to the first
Modbus® address of the module).
Examples of addressing ( è
D.4.1
Bus node CPX-FB36
Modbus® address 1)
Bus node CPX-FB36 remote I/O
Inputs process data Outputs process data n n+1
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Result of access to the I/O diagnostic interface 1)
Access to the I/O diagnostic interface2 )
Data from the system table
(read access)
Data for the system table 2)
(write access) n+2 Module diagnostics data (
è
–
1) n corresponds to the first Modbus® address of the module.
2) Composition of the I/O diagnostics interface (
è
Tab. D/6: Bus node CPX-FB36 remote I/O
D-6
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
D.4.2
Electric modules
Modbus® address 1)
Digital input module (CPX-4DE) n n+1
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
0
Module diagnostics data
Inputs –
–
1) n corresponds to the first Modbus® address of the module.
Tab. D/7: Digital input module (CPX-4DE)
Modbus® address 1)
Digital input module (CPX-8DE)
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0 n n+1
0 Inputs
Module diagnostics data
–
–
1) n corresponds to the first Modbus® address of the module.
Tab. D/8: Digital input module (CPX-8DE)
Festo CPX-FB36-EN en 1611a English
D-7
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address 1)
Digital output module (CPX-4DA) n
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0 x Echo outputs x Outputs n+1 Module diagnostics data –
1) n corresponds to the first Modbus® address of the module.
Tab. D/9: Digital output module (CPX-4DA)
Modbus® address 1)
Digital input/output module (CPX-8DE-8DA) n n+1
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
0 x
Inputs
Echo outputs x
– n+2 Module diagnostics data –
1) n corresponds to the first Modbus® address of the module.
Outputs
Tab. D/10: Digital input/output module (CPX-8DE-8DA)
D-8
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address 1)
Analogue input module (CPX-2AE)
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0 n n+1
Analogue inputs channel 0
Analogue inputs channel 1
–
– n+2 Module diagnostics data –
1) n corresponds to the first Modbus® address of the module.
Tab. D/11: Analogue input module (CPX-2AE)
Modbus® address 1)
Analogue output module (CPX-2AA)
Inputs process data Outputs process data n n+1
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Echo analogue outputs channel 0 Analogue outputs channel 0
Echo analogue outputs channel 1
Module diagnostics data
Analogue outputs channel 1
– n+2
1) n corresponds to the first Modbus® address of the module.
Tab. D/12: Analogue output module (CPX-2AA)
Festo CPX-FB36-EN en 1611a English
D-9
D. Modbus ® TCP objects of the CPX-FB36
D.4.3
Pneumatic modules
Modbus® address 1)
MPA1 pneumatic module (1 … 8 valves) n n+1
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0 x Echo outputs
Module diagnostics data x
–
1) n corresponds to the first Modbus® address of the module.
Outputs
Tab. D/13: MPA1 pneumatic module
Modbus® address 1)
MPA2 pneumatic module (1 … 4 valves) n
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0 x Echo outputs x Outputs n+1 Module diagnostics data –
1) n corresponds to the first Modbus® address of the module.
Tab. D/14: MPA2 pneumatic module
D-10
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address 1)
Pneumatic interface for CPA pneumatic set to 1 ... 8 valves
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Outputs x Echo outputs x n n+1 Diagnostic data –
1) n corresponds to the first Modbus® address of the module.
Tab. D/15: Pneumatic interface for CPA pneumatic (1 ... 8 valves)
Modbus® address 1)
Pneumatic interface for CPA pneumatic set to 1 ... 16 valves
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0 n n+1
Echo outputs
Diagnostic data
Outputs
–
1) n corresponds to the first Modbus® address of the module.
Tab. D/16: Pneumatic interface for CPA pneumatic (1 ... 16 valves)
Festo CPX-FB36-EN en 1611a English
D-11
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address 1)
Pneumatic interface for CPA pneumatic set to 1 ... 22 valves n n+1
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Echo outputs 0 … 15 x Echo outputs
16 … 22
Outputs 0 … 15 x Outputs 16 … 22 n+2 Diagnostic data –
1) n corresponds to the first Modbus® address of the module.
Tab. D/17: Pneumatic interface for CPA pneumatic (1 ... 22 valves)
Modbus® address 1)
Pneumatic interface for Midi/Maxi pneumatic set to 1 ... 8 valves
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Outputs n x Echo outputs x n+1 Diagnostic data –
1) n corresponds to the first Modbus® address of the module.
Tab. D/18: Pneumatic interface for Midi/Maxi pneumatic (1 ... 8 valves)
D-12
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address 1)
Pneumatic interface for Midi/Maxi pneumatic set to 1 ... 16 valves
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0 n n+1
Echo outputs
Diagnostic data
Outputs
–
1) n corresponds to the first Modbus® address of the module.
Tab. D/19: Pneumatic interface for Midi/Maxi pneumatic (1 ... 16 valves)
Modbus® address 1)
Pneumatic interface for Midi/Maxi pneumatic set to 1 ... 24 valves n n+1
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Echo outputs 0 … 15 x Echo outputs
16 … 24
Outputs 0 … 15 x Outputs 16 … 24 n+2 Diagnostic data –
1) n corresponds to the first Modbus® address of the module.
Tab. D/20: Pneumatic interface for Midi/Maxi pneumatic (1 ... 24 valves)
Festo CPX-FB36-EN en 1611a English
D-13
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address 1)
Pneumatic interface for Midi/Maxi pneumatic set to 1 ... 32 valves 2) n+1 n+2
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Echo outputs 0 … 15 x Echo outputs
16 … 26
Outputs 0 … 15 x Outputs 16 … 26 n+3 Diagnostic data –
1) n corresponds to the first Modbus® address of the module.
2) Only 26 valves can be used.
Tab. D/21: Pneumatic interface for Midi/Maxi pneumatic (1 ... 32 valves)
D-14
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
D.4.4
Electrical interface (CP interface) CPX-CP-4-FB
The electrical interface (CP interface) CPX-CP-4-FB has con nections for 4 strings to each of which maximum 4 CP mod ules can be connected.
The last used string is decisive for the number of assigned bytes, even if numerically lower strings are not assigned physically.
Modbus® address 1)
Electrical interface (CP interface) CPX-CP-4-FB used string: 1 (Line 1) n n+1 n+2 n+3
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Data byte 1
Data byte 3
Data byte 0
Data byte 2
Data byte 1
Data byte 3
Echo output data 1 Echo output data 0 –
Echo output data 3 Echo output data 2 – n+4 Diagnostic data –
1) n corresponds to the first Modbus® address of the module.
Data byte 0
Data byte 2
Tab. D/22: Electrical interface (CP interface) CPX-CP-4-FB – used string 1
Festo CPX-FB36-EN en 1611a English
D-15
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address 1)
Electrical interface (CP interface) CPX-CP-4-FB used strings: 1, 2 (Line 1 … 2) n+4 n+5 n+6 n+7 n n+1 n+2 n+3
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Echo output data 1
Echo output data 3
Echo output data 5
Echo output data 7
Data byte 0
Data byte 2
Data byte 4
Data byte 6
Echo output data 0
Echo output data 2
Echo output data 4
Echo output data 6
Data byte 1
Data byte 3
Data byte 5
Data byte 7
–
–
–
– n+8 Diagnostic data –
1) n corresponds to the first Modbus® address of the module.
Data byte 0
Data byte 2
Data byte 4
Data byte 6
Tab. D/23: Electrical interface (CP interface) CPX-CP-4-FB – used strings 1, 2
D-16
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address 1)
Electrical interface (CP interface) CPX-CP-4-FB used strings: 1, 2, 3 (Line 1 … 3) n+4 n+5 n+6 n+7 n n+1 n+2 n+3 n+8 n+9 n+10
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Data byte 9
Data byte 11
Data byte 0
Data byte 2
Data byte 4
Data byte 6
Data byte 8
Data byte 10
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Echo output data 1 Echo output data 0 –
Echo output data 3 Echo output data 2 –
Data byte 9
Data byte 11
Echo output data 5 Echo output data 4 –
Echo output data 7 Echo output data 6 –
Echo output data 9 Echo output data 8 – n+11 n+12
Echo output data 11
Diagnostic data
Echo output data 10 –
–
1) n corresponds to the first Modbus® address of the module.
Data byte 0
Data byte 2
Data byte 4
Data byte 6
Data byte 8
Data byte 10
Tab. D/24: Electrical interface (CP interface) CPX-CP-4-FB – used strings 1, 2, 3
Festo CPX-FB36-EN en 1611a English
D-17
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address 1)
Electrical interface (CP interface) CPX-CP-4-FB used strings: 1, 2, 3, 4 (Line 1 … 4) n+4 n+5 n+6 n+7 n n+1 n+2 n+3
Inputs process data Outputs process data
Bit 15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Data byte 0
Data byte 2
Data byte 4
Data byte 6
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Data byte 0
Data byte 2
Data byte 4
Data byte 6
Data byte 9
Data byte 11
Data byte 13
Data byte 15
Data byte 8
Data byte 10
Data byte 12
Data byte 14
Data byte 9
Data byte 11
Data byte 13
Data byte 15
Data byte 8
Data byte 10
Data byte 12
Data byte 14 n+8 n+9 n+10 n+11 n+12
Echo output data 1 Echo output data 0 –
Echo output data 3 Echo output data 2 –
Echo output data 5 Echo output data 4 –
Echo output data 7 Echo output data 6 –
Echo output data 9 Echo output data 8 – n+13 n+14 n+15
Echo output data 11 Echo output data 10 –
Echo output data 13 Echo output data 12 –
Echo output data 15 Echo output data 14 – n+16 Diagnostic data –
1) n corresponds to the first Modbus® address of the module.
Tab. D/25: Electrical interface (CP interface) CPX-CP-4-FB – used strings 1, 2, 3, 4
D-18
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
D.4.5
Composition of diagnostic data (diagnostic word)
Module diagnostics data
Input data
15 14 13 12 11 10 9
0/1 0/1 Channel number (0 … 63)
Bit 15 and 14:
0 0: Number of the first faulty O-channel
1 0: Number of the first faulty I-channel
0 1: There is a module error
1 1: Reserved
Tab. D/26: Module diagnostics data
8 7 6 5 4
Error number (0 … 255)
3 2 1 0
Festo CPX-FB36-EN en 1611a English
D-19
D. Modbus ® TCP objects of the CPX-FB36
D.4.6
Composition of the data of the I/O diagnostics interface
I/O diagnostics interface write access
15 14 13 12 11 10 9 x x x CPX function number
8 7 6 5 4 3 2 1
Data from the system table
Bit 15 (control bit): write access to the I/O diagnostics interface takes place with positive edge (0 è 1)
Bit 14 = 0: byte value, 1: word value
Bit 13 = 0: read request, 1: write request
0
Tab. D/27: I/O diagnostics interface – write access
I/O diagnostics interface read access
15 14 13 12 11 10 9
Result of last request
8 7 6
Data from the system table
Result of last request:
= 0: Wait
= 8000 h
 8000 h
: Request successful
: Error
8001 h
: Write protection or operator unit has write access
8002 h
: Writing not permitted, reserved range
8003 h
: Internal error
Tab. D/28: I/O diagnostics interface – read access
5 4 3 2 1 0
Information on the I/O diagnostics interface and examples of its use can be found in the CPX system description
( è P.BE-CPX-SYS-…).
D-20
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
D.5
Diagnostic memory (Groups C and E)
Modbus® address
Diagnostic memory parameters and data
Read access
45648
45652
Input data
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Run/stop filter 1 (CPX function number 3480)
Run/stop filter 2 (CPX function number 3484)
45652
45652
45652
45653
45654
45655
Error end filter (CPX function number 3484)
Error number filter (CPX function number 3484)
Module/channel filter (CPX function number 3484)
Module number MN (CPX function number 3485)
Channel number CN (CPX function number 3486)
Error (fault) number FN (CPX function number 3487)
45650
45651
45651
45656
Diagnostic memory data – number of entries (CPX function number 3482)
Diagnostic memory data – overrun (CPX function number 3483)
Diagnostic memory data – status (CPX function number 3483)
Diagnostic memory data (CPX function number 3488 + n 1) )
… …
1)
è
CPX system description P.BE-CPX-SYS-...
Tab. D/29: Read access to diagnostic memory parameters and data
Festo CPX-FB36-EN en 1611a English
D-21
D. Modbus ® TCP objects of the CPX-FB36
Modbus® address
Diagnostic memory parameters
Write access
40257
40261
40261
40261
Output data – write and modify
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Run/stop filter 1 (CPX function number 3480)
Run/stop filter 2 (CPX function number 3484)
Error end filter (CPX function number 3484)
Error number filter (CPX function number 3484)
40261
40262
40263
40264
Module/channel filter (CPX function number 3484)
Module number MN (CPX function number 3485)
Channel number CN (CPX function number 3486)
Error (fault) number FN (CPX function number 3487)
Tab. D/30: Write access to diagnostic memory parameters
Information on the diagnostic memory can be found in the
CPX system description ( è P.BE-CPX-SYS-…).
D-22
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
D.6
Modbus TCP Objects (Group F)
Object ID Object name Contents
2
3
0
1
Manufacturer name “Festo AG & Co. KG”
Product code “CPX-FB36”
MajorMinorRevision “x.y” 1)
VendorURL “http://www.festo.com”
4
5
Product name
Model name
“Modbus® TCP”
“CPX Terminal”
1) x: Version Modbus® driver, y: Revision code CPX terminal
Tab. D/31: Modbus® TCP objects
Festo CPX-FB36-EN en 1611a English
D-23
D. Modbus ® TCP objects of the CPX-FB36
D.6.1
Addressing examples for Modbus® TCP
CPX terminal with digital I/O modules and MPA pneumatics
8DI 4DO
1 2 3
1
CPX-FB36
2
Digital I/O modules
3
MPA pneumatics
Fig. D/1: Example 1: CPX terminal with digital I/O modules and MPA pneumatics
D-24
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
Module
CPX-FB36
Remote I/O
Digital input module (CPX-8DE)
1
Digital output module (CPX-4DA)
2
MPA pneumatic module with diagnostic function
3
MPA pneumatic module with diagnostic function
MPA pneumatic module with diagnostic function
MPA pneumatic module with diagnostic function
4
5
6
Loca tion
0
Modbus® address
Input data
45392
Bit 15 8 7 4 3 0
Result of access to the I/O diagnostic interface
45393
45394
Data from the system table (read access)
Diagnostic data
Input data 45395
45396
45397
0
Diagnostic data x Echo out put data
45398
45399
Diagnostic data x Echo output data
45400 Diagnostic data
Echo output data 45401
45402
45403 x
Diagnostic data x Echo output data
45404
45405
45406
Diagnostic data x
Diagnostic data
Echo output data
Tab. D/32:
Input data addressing example 1 (CPX terminal from Fig. D/1)
Festo CPX-FB36-EN en 1611a English
D-25
D. Modbus ® TCP objects of the CPX-FB36
Module
CPX-FB36
Remote I/O
Digital output mo dule (CPX-4DA)
2
MPA pneumatic module with diagnostic function
3
4 MPA pneumatic module with diagnostic function
MPA pneumatic module with diagnostic function
MPA pneumatic module with diagnostic function
5
6
Loca tion
Modbus® address
Output data
0 40001
Bit 15 8 7 4 3 0
Result of access to the I/O diagnostic interface
40002
40003
Data for the system table (write access) x Output data
40004
40005
40006
40007 x x x x
Output data
Output data
Output data
Output data
Tab. D/33:
Output data addressing example 1 (CPX terminal from Fig. D/1)
D-26
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
8DI 2AI
CPX terminal with digital and analogue I/O modules as well as MPA pneumatics
2AO
1 2 3 4
1
CPX-FB36
2
Digital I/O modules
3
4
Analogue I/O modules
MPA pneumatics
Fig. D/2: Example 2: CPX terminal with digital and analogue I/O modules as well as MPA pneumatics
Festo CPX-FB36-EN en 1611a English
D-27
D. Modbus ® TCP objects of the CPX-FB36
Module
CPX-FB36
Remote I/O
Digital input module (CPX-8DE)
1
Analogue input module (CPX-2AE)
2
Analogue output module (CPX-2AA)
3
MPA pneumatic module with diagnostic function
MPA pneumatic module with diagnostic function
4
5
MPA pneumatic module with diagnostic function
6
Loca tion
Modbus® address
Input data
0
45399
45400
45401
45402
45403
45392
Bit 15 8 7 4 3 0
Result of access to the I/O diagnostic interface
45393
45394
Data from the system table (read access)
Diagnostic data
45395
45396
45397
45398
0
Module diagnostics data
Analogue inputs channel 0
Analogue inputs channel 1
Input data
Module diagnostics data
Echo analogue outputs channel 0
Echo analogue outputs channel 1
Module diagnostics data x Echo output data
45404
45405
45406
45407
45408
Module diagnostics data x
Module diagnostics data x
Module diagnostics data
Echo output data
Echo output data
Tab. D/34: Input data addressing example 2 (CPX terminal from Fig. D/2)
D-28
Festo CPX-FB36-EN en 1611a English
D. Modbus ® TCP objects of the CPX-FB36
Module
CPX-FB36
Remote I/O
Analogue output module (2AO)
MPA pneumatic module with diagnostic function
MPA pneumatic module with diagnostic function
MPA pneumatic module with diagnostic function
4
5
6
Loca tion
0
3
Modbus® address
Output data
40001
Bit 15 8 7 4 3 0
Result of access to the I/O diagnostic interface
40002
40003
40004
40005
Data for the system table (write access)
Analogue outputs channel 0
Analogue outputs channel 1 x Output data
40006
40007 x x
Output data
Output data
Tab. D/35:
Output data addressing example 2 (CPX terminal from Fig. D/2)
Festo CPX-FB36-EN en 1611a English
D-29
D. Modbus ® TCP objects of the CPX-FB36
D-30
Festo CPX-FB36-EN en 1611a English
Index
Appendix E
Index
Festo CPX-FB36-EN en 1611a English
E-1
E. Index
Contents
E.
E-2
Festo CPX-FB36-EN en 1611a English
E. Index
Index
Festo CPX-FB36-EN en 1611a English
A
Abbreviations, product-specific . . . . . . . . . . . . . . . . . . . . .
Address assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Address space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Address assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Addressing example (Remote I/O Modbus® TCP) . . . . .
Adjust
Data field size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C
CEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration
in Remote Controller operating mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
with Generic Ethernet Module . . . . . . . . . . . . . . . . . . .
Connect
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connection and display components . . . . . . . . . . . . . . . . .
Connection technology . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPX-CEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPX-FEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E-3
E. Index
E-4
D
Degree of protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostic data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics via LED displays . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics via status bits . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics via the I/O diagnostics interface . . . . . . . . . .
DIL switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dismounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DLR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E
Edit, Operating mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EtherNet/IP Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
F
Fail safe mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Force Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I
I/O diagnostics interface . . . . . . . . . . . . . . . . . . . . . . . . . .
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IGMP snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Festo CPX-FB36-EN en 1611a English
E. Index
Festo CPX-FB36-EN en 1611a English
L
LED indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lines, network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
M
Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multicast telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
N
Network
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network setting saved . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network settings extended . . . . . . . . . . . . . . . . . . . . . . . .
Notes on the description . . . . . . . . . . . . . . . . . . . . . . . . . . . .
O
Objects, Modbus® TCP . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operating mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E-5
E. Index
E-6
P
Parameterisation
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
via configuration data . . . . . . . . . . . . . . . . . . . . . . . . . .
with CPX-FMT and system start with saved parameters 3-27
with PLC user program . . . . . . . . . . . . . . . . . . . . . . . . . .
3-26 with the operator unit . . . . . . . . . . . . . . . . . . . . . . . . . .
PELV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pictograms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Plug connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Protocol
Device Level Ring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modbus TCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Q
QuickConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
R
Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
S
Segmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Strain relief . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Festo CPX-FB36-EN en 1611a English
E. Index
T
Target group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Technical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Text designations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
U used
for network settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
for system data and diagnostics . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
W
Web server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Festo CPX-FB36-EN en 1611a English
E-7
E. Index
E-8
Festo CPX-FB36-EN en 1611a English
advertisement
Key Features
- Supports EtherNet/IP and Modbus TCP protocols for versatile network integration
- Enables seamless data exchange with EtherCAT control systems
- Provides comprehensive configuration options for customized network settings
- Offers flexible mounting options for convenient installation
- Features rugged design for reliable operation in industrial environments
- Equipped with diagnostic LEDs for quick and easy troubleshooting
Related manuals
Frequently Answers and Questions
What network protocols does Festo CPX-FB36 support?
Can Festo CPX-FB36 be integrated with EtherCAT control systems?
Does Festo CPX-FB36 offer flexible mounting options?
What are the key features of Festo CPX-FB36?
advertisement
Table of contents
- 10 Intended use
- 11 Safety instructions
- 12 Qualification of specialized personnel (target group)
- 12 Service
- 13 Notes regarding this description
- 14 Important user information
- 21 Installation
- 23 1.1 General instructions for installation
- 24 1.1.1 Connection and display components
- 24 1.1.2 Dismantling and mounting
- 26 1.2 Settings of the DIL switches
- 26 1.2.1 Removing and attaching cover
- 27 1.2.2 Arrangement of the DIL switches
- 27 1.2.3 Setting the DIL switches
- 28 1.2.4 Setting the operating mode and network protocol
- 29 1.2.5 Setting diagnostic mode or data field size
- 30 1.2.6 Setting IP addressing
- 31 1.3 Connecting to the network
- 31 1.3.1 General instructions
- 33 1.3.2 Overview of connection technology and network plug connectors
- 34 1.3.3 Cable specification
- 35 1.3.4 Network connections
- 36 1.3.5 Setting the IP addressing
- 40 1.3.6 Extended network settings
- 41 1.4 Ensuring the degree of protection
- 42 1.5 Power supply of the CPX terminal
- 43 Preparing for commissioning
- 45 2.1 EtherNet/IP protocol
- 45 2.1.1 “Multicast” telegram
- 47 2.1.2 “QuickConnect”
- 50 2.1.3 “Device Level Ring” protocol (DLR)
- 52 2.2 Modbus® TCP protocol
- 53 2.3 Notes on commissioning of the CPX-FB36
- 53 2.3.1 Requirements for commissioning
- 54 2.3.2 Switching on the power supply
- 54 2.3.3 Normal operating status
- 58 2.4 Participants in the network
- 58 2.4.1 Participant properties (EDS file)
- 59 Commissioning
- 61 3.1 Configuration
- 62 3.1.1 Configuration with EDS file
- 69 3.1.2 Configuration with “Generic Ethernet Module”
- 74 3.1.3 Configuration with CPX-FMT
- 78 3.1.4 Configuration in the “Remote Controller” operating mode
- 79 3.1.5 Setting up a “Listen only” connection
- 80 3.2 Parameterisation
- 81 3.2.1 Parameterisation during switch-on [system start]
- 83 3.2.2 Methods of parameterisation
- 84 3.2.3 Parameterisation via configuration data
- 84 3.2.4 Parameterisation with the control device CPX-MMI
- 84 3.2.5 Parameterisation in the PLC user program
- 85 3.2.6 Parameterisation using CPX-FMT and system start with saved parameters
- 86 3.3 Behaviour of the outputs in the “Fail safe mode” or “Idle mode”
- 87 3.4 Web server
- 88 3.5 Checklist for commissioning a CPX terminal
- 89 3.6 Replacing the bus node
- 91 Diagnostics
- 93 4.1 Diagnostics options
- 94 4.2 Diagnostics via LED displays
- 96 4.2.1 CPX-specific LED displays
- 99 4.2.2 Network-specific LED indicators
- 102 4.3 Diagnostics via status bits
- 103 4.4 Diagnostics via the I/O diagnostics interface
- 104 4.5 Diagnostics via EtherNet/IP
- 105 4.6 Diagnostics via Modbus® TCP
- 106 4.7 Error handling (“Fail safe”)
- 107 Technical appendix
- 109 A.1 Technical data
- 111 Address assignment of the CPX terminal
- 113 B.1 Address assignment
- 114 B.1.1 Bus node
- 115 B.1.2 Digital modules
- 119 B.1.3 Analogue modules
- 120 B.1.4 Technology modules
- 122 B.2 Addressing
- 122 B.2.1 Basic rules for addressing
- 123 B.2.2 Data formats
- 124 B.2.3 Examples of addressing
- 130 B.3 Address assignment after extension/conversion
- 133 EtherNet/IP Objects of the CPX-FB36
- 135 C.1 Overview of Ethernet/IP objects
- 140 C.2 Objects for network settings
- 140 C.2.1 “Device Level Ring Object”
- 141 C.2.2 “QoS Object”
- 142 C.2.3 “TCP/IP Interface Object”
- 144 C.2.4 “Ethernet Link Object”
- 145 C.3 Objects for the I/O connection
- 145 C.3.1 “Assembly Object”
- 150 C.4 Objects for system data and diagnostics
- 150 C.4.1 “Identity Object”
- 152 C.4.2 “Global System Object” for operating mode “Remote I/O”
- 155 C.4.3 “Status and Diagnosis Object”
- 156 C.4.4 “Diagnosis Trace Object”
- 158 C.4.5 “Diagnosis Trace Status Object”
- 160 C.4.6 “Generic Parameter Object”
- 163 C.4.7 “Force Parameter”
- 168 C.4.8 “Fail safe” and “Idle” parameters
- 174 C.4.9 “Configuration Array Object”
- 174 C.4.10 “Slave Size Object” for “Remote Controller” operating mode
- 175 C.4.11 “ISDU Access Object”
- 177 C.5 Examples
- 177 C.5.1 Forcing inputs
- 179 C.5.2 Parameterisation with “Generic Parameter Object”
- 181 Modbus® TCP objects of the CPX-FB36
- 183 D.1 Overview of Modbus® TCP objects
- 183 D.2 Commands and addresses
- 184 D.3 CPX status information (Group A)
- 186 D.4 Process data (Group B and D)
- 186 D.4.1 Bus node CPX-FB36
- 187 D.4.2 Electric modules
- 190 D.4.3 Pneumatic modules
- 195 D.4.4 Electrical interface (CP interface) CPX-CP-4-FB
- 199 D.4.5 Composition of diagnostic data (diagnostic word)
- 200 D.4.6 Composition of the data of the I/O diagnostics interface
- 201 D.5 Diagnostic memory (Groups C and E)
- 203 D.6 Modbus TCP Objects (Group F)
- 204 D.6.1 Addressing examples for Modbus® TCP