Terminal CPX
Bus node CPX-FB36
Electronics
description
Bus node
Network protocol
EtherNet/IP
Modbus TCP
Industrial Ethernet
2-Port
8024075
en 1309NH
[8024081]
Contents and general instructions
Original . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . de
Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . en 1309NH
Designation . . . . . . . . . . . . . . . . . . . . . . . P.BE-CPX-FB36-EN
Order no. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8024075
E (Festo AG & Co., 73726 Esslingen, Germany, 2013)
Internet: http://www.festo.com
E-Mail: service_international@festo.com
Reproduction, distribution and utilisation of this document,
as well as the communication of its contents to others
without explicit authorisation, is prohibited. Offenders will
be liable for damages. All rights are reserved, in particular
the right to file patent, utility model or registered design
applications.
Festo P.BE-CPX-FB36-EN en 1309NH English
I
Contents and general instructions
EtherNet/IP®, Modbus®, RSLogix®, RSNetWorx®, SPEEDCON® and TORX®
are registered trademarks of the respective trademark owners in certain countries.
II
Festo P.BE-CPX-FB36-EN en 1309NH English
Contents and general instructions
Table of contents
Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Target group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Information regarding this description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Important user information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VII
VIII
VIII
IX
X
1.
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1
1.1
1.4
1.5
Installation instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1.1
Electrical connection and display elements . . . . . . . . . . . . . . . . . . .
1.1.2
Dismantling and mounting of the bus node . . . . . . . . . . . . . . . . . . .
Setting the DIL switches on the bus node . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.1
Setting the operating mode and protocol . . . . . . . . . . . . . . . . . . . .
1.2.2
Setting the diagnostics mode for Remote I/O . . . . . . . . . . . . . . . . .
1.2.3
Setting the data field size for Remote Controller . . . . . . . . . . . . . . .
1.2.4
Setting IP addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting to the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3.1
General information about networks . . . . . . . . . . . . . . . . . . . . . . . .
1.3.2
Overview of connections, network connectors and cables . . . . . . .
1.3.3
Network connections of the CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . .
1.3.4
Setting the IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3.5
Advanced network settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ensuring protection classIP65/IP67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3
1-4
1-5
1-7
1-9
1-10
1-11
1-12
1-13
1-13
1-14
1-17
1-18
1-22
1-23
1-24
2.
Preparing for commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1
2.1
EtherNet/IP protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3
2.1.1
Multicast telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3
2.1.2
QuickConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.1.3
Device Level Ring protocol (DLR) . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Modbus/TCP protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
1.2
1.3
2.2
Festo P.BE-CPX-FB36-EN en 1309NH English
III
Contents and general instructions
2.3
Notes on commissioning the CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3.1
Requirements for commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3.2
Switching on the power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3.3
Normal operating status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Participants in the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4.1
Participant properties (EDS file) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-11
2-11
2-12
2-12
2-16
2-16
3.
Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1
3.1
3-3
3-4
3-10
3-15
3-19
3-20
3-21
3-22
3-25
3-26
3-26
3-26
3.3
3.4
3.5
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1.1
Configuration with EDS file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1.2
Configuration with Generic Ethernet Module . . . . . . . . . . . . . . . . . .
3.1.3
Configuration with CPX-FMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1.4
Configuration in the Remote Controller operating mode . . . . . . . .
3.1.5
Setting up a listen-only connection . . . . . . . . . . . . . . . . . . . . . . . . .
Parameterisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.1
Parameterisation when switching on (system start) . . . . . . . . . . . .
3.2.2
Methods of parameterisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.3
Parameterisation via configuration data . . . . . . . . . . . . . . . . . . . . .
3.2.4
Parameterisation with the operator unit CPX-MMI . . . . . . . . . . . . .
3.2.5
Parameterisation in the PLC user program . . . . . . . . . . . . . . . . . . .
3.2.6
Parameterisation using CPX-FMT and system start with saved
parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reaction of the outputs in the Fail safe or Idle mode . . . . . . . . . . . . . . . . . . .
Web server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Checklist for commissioning a CPX terminal . . . . . . . . . . . . . . . . . . . . . . . . . .
4.
Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-1
4.1
4.2
Summary of diagnostics options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Diagnostics via LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
4.2.1
CPX-specific LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
4.2.2
Network-specific LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4.2.3
Protocol-specific LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Diagnostics via status bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
Diagnostics via I/O diagnostic interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
2.4
3.2
4.3
4.4
IV
3-27
3-28
3-29
3-30
Festo P.BE-CPX-FB36-EN en 1309NH English
Contents and general instructions
4.5
4.6
4.7
Diagnostics via EtherNet/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
Diagnostics via Modbus TCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16
Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17
A.
Technical appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-1
A.1
Technical data, bus node CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-3
B.
Address assignment of the CPX terminal . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-1
B.1
B.2
B.3
Address assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3
Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-14
Address assignment after extension/conversion . . . . . . . . . . . . . . . . . . . . . . B-22
C.
EtherNet/IP Objects of the CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C-1
C.1
C.2
Overview of Ethernet/IP objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Objects for network settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2.1
Device Level Ring Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2.2
QoS Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2.3
TCP/IP Interface Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2.4
Ethernet Link Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Objects for the I/O connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.3.1
Assembly Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Objects for system data and diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.1
Identity Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.2
Global System Object (for operating mode Remote I/O) . . . . . . . .
C.4.3
Status and Diagnostics Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.4
Diagnostics Trace Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.5
Diagnostics Trace Status Object . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.6
General Module Parameter Object . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.7
Force parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.8
Fail Safe and Idle parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.9
Configuration Array Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.10 Slave Size Object (for operating mode Remote Controller) . . . . . .
C-3
C-8
C-8
C-9
C-10
C-12
C-13
C-13
C-18
C-18
C-20
C-23
C-24
C-26
C-28
C-31
C-36
C-42
C-42
C.3
C.4
Festo P.BE-CPX-FB36-EN en 1309NH English
V
Contents and general instructions
C.5
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-43
C.5.1
Forcing inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-43
C.5.2
Parameterisation with the general Module Parameter Object . . . . C-45
D.
Modbus/TCP Objects of the CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D-1
D.1
D.2
D.3
D.4
Overview of Modbus/TCP objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Commands and addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPX status information (group A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing data (groups B and D) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4.1 Module CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4.2 Electric modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4.3 Pneumatic modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4.4 Technology module CP interface . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4.5 Composition of diagnostic data (diagnostic word) . . . . . . . . . . . . .
D.4.6 Composition of the data of the I/O diagnostic interface . . . . . . . . .
Diagnostic memory (groups C and E) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modbus/TCP Objects (group F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.6.1 Addressing examples for ModbusTCP . . . . . . . . . . . . . . . . . . . . . . .
D-3
D-3
D-4
D-5
D-5
D-6
D-9
D-14
D-18
D-18
D-20
D-22
D-23
E.
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E-1
E.1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E-3
D.5
D.6
VI
Festo P.BE-CPX-FB36-EN en 1309NH English
Contents and general instructions
Intended use
The bus node CPX-FB36 documented in this description is
exclusively intended for use as a participant in networks with
EtherNet/IP or Modbus TCP protocols.
The CPX terminal must only be used as follows:
–
As intended in industrial environments;
outside of industrial environments, e.g. in commercial and
mixed-residential areas, actions to suppress interference
may have to be taken.
–
in original status without unauthorised modifications.
Only the conversions or modifications described in the
documentation supplied with the product are permitted.
–
in perfect technical condition.
The limit values specified for pressures, temperatures, electrical data, torques etc. must be observed.
If standard ancillary components, such as sensors and actuators, are connected, the specified limits for pressures, temperatures, electrical data, torques, etc. must be complied with.
•
Festo P.BE-CPX-FB36-EN en 1309NH English
Observe the regulations of the trade associations, German Technical Control Board (TÜV), VDE stipulations or
corresponding national laws and regulations.
VII
Contents and general instructions
Target group
This description is intended exclusively for technicians
trained in control and automation technology, who have experience in installing, commissioning, programming and diagnosing participants in networks with EtherNet/IP or Modbus TCP protocols.
Service
Please consult your local Festo Service agent if you have any
technical problems.
VIII
Festo P.BE-CPX-FB36-EN en 1309NH English
Contents and general instructions
Information regarding this description
Further information regarding EtherNet/IP can be found here:
www.odva.org
General basic information about the mode of operation, assembly, installation and commissioning of CPX terminals can
be found in the CPX system description P.BE.CPX-SYS.
An overview of the structure of the user documentation for
the CPX terminal can be found in the CPX system description
P.BE.CPX-SYS.
Festo P.BE-CPX-FB36-EN en 1309NH English
IX
Contents and general instructions
Important user information
Danger categories
This description includes instructions on the possible dangers
which can occur if the product is used incorrectly. These instructions are marked with a signal word (Warning, Caution,
etc.), printed on a shaded background and marked additionally with a pictogram. A distinction is made between the following danger warnings:
Warning
... means that failure to observe this instruction may result
in serious personal injury or material damage.
Caution
... means that failure to observe this instruction may result
in personal injury or material damage.
Note
... means that failure to observe this instruction may result
in material damage.
In addition, the following pictogram marks passages in the
text which describe activities with electrostatically sensitive
devices:
Electrostatically sensitive devices: Incorrect handling may
cause damage to devices.
X
Festo P.BE-CPX-FB36-EN en 1309NH English
Contents and general instructions
Marking of special information
The following pictograms mark passages in the text which
contain special information.
Pictograms
Information:
Recommendations, tips and references to other information
sources.
Accessories:
Specifications on necessary or useful accessories for the
Festo product.
Environment:
Information on the environmentally friendly use of Festo
products.
Text designations
•
Bullets denote activities that may be carried out in any
desired order.
1. Numerals denote activities that must be carried out in the
sequence specified.
–
Festo P.BE-CPX-FB36-EN en 1309NH English
Arrowheads indicate general lists.
XI
Contents and general instructions
The following product-specific terms and abbreviations are
used in this description:
Term/abbreviation
Significance
160d
Decimal numbers are marked in part by a low-set “d”.
A0h
Hexadecimal numbers are marked by a low-set “h”.
AA, AO
Analogue output
AE, AI
Analogue input
BOOTP
Dynamic protocol for automatic assignment of IP addresses (Boot
protocol, predecessor of DHCP).
Bus nodes
A bus node connects the CPX terminal to the fieldbus or network; it
transmits control signals to the connected CPX and pneumatic modules
and monitors their operational capability.
C
Output
CEC
Codesys controller, e.g. CPX-CEC, applicable for control, configuration
and commissioning of CPX terminals.
CODESYS
Controller Development System
CP
Compact Performance
CP module
Collective term for the various modules which can be incorporated in
the CP system (decentralised installation system).
CPX-CP interface
Interface for connecting decentrally arranged CP modules to a CPX
terminal.
CPX-FMT
Festo Maintenance Tool for configuration and parameterisation of CPX
terminals.
CPX-MMI
Operator unit for commissioning and service purposes.
Tab. 0/1:
XII
CPX-specific terms and abbreviations – part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
Contents and general instructions
Term/abbreviation
Significance
CPX modules
Collective term for electric modules which can be incorporated into a
CPX terminal: bus nodes, I/O modules and function modules
(technology modules).
CPX modules provide, among other things, electrical inputs and
outputs for connecting sensors and actuators.
CPX modules form the electrical side of the CPX terminal.
CPX terminal
Complete system consisting of various CPX modules with or without
pneumatics modules.
DHCP
Dynamic protocol for automatic assignment of IP addresses (Dynamic
Host Configuration Protocol).
DI
Digital input (or “Discrete input”)
DIL switches
Miniature switches; dual-in-line switches usually consist of several
switch elements which can be used to implement settings.
DO
Digital output (or “Discrete output”)
EtherNet/IP
Communication protocol for connecting various devices in a network.
FEC
Front End Controller, e.g. CPX-FEC, can be used as:
– stand-alone system controller (PLC, stand alone operating mode)
– system controller (PLC, remote controller operating mode)
– fieldbus slave (remote I/O operating mode)
Function module
Collective term for modules with additional functions, e.g.
CPX-CP-interface, Front End Controller (CPX-FEC) and CODESYS
controller (CPX-CEC); function modules are also known as technology
modules.
I
Input
I/O diagnostics interface
Bus-independent, bi-directional diagnostic interface at I/O level;
enables access to the internal data of the CPX terminal.
I/O module
Collective term for CPX modules that provide analogue or digital inputs
and outputs.
I/Os
Analogue or digital inputs and outputs.
Tab. 0/2:
CPX-specific terms and abbreviations – part 2
Festo P.BE-CPX-FB36-EN en 1309NH English
XIII
Contents and general instructions
Term/abbreviation
Significance
I/O signal
Input/output signal of an I/O module; also referred to as a process
signal.
Modbus TCP
Communication protocol via TCP/IP in automation technology.
Pneumatics interface
Interface between CPX modules and pneumatics modules within a CPX
terminal.
The pneumatics interface is used functionally for the electrical side of
the CPX terminal.
Pneumatic modules
Collective term for the pneumatics modules which can be integrated
into a CPX terminal.
Pneumatics modules provide, among other things, outputs (working
ports) for connecting actuators, e.g. cylinders.
Pneumatics modules form the pneumatic side of the CPX- terminal.
Status bits
CPX-internal status information (common diagnostic messages) which
are provided as input signals on the fieldbus of the control system
(optional function)
Technology module
Function module
Tab. 0/3:
XIV
CPX-specific terms and abbreviations – part 3
Festo P.BE-CPX-FB36-EN en 1309NH English
Contents and general instructions
Data type
Quantity
Range of values
Description
ARRAY
—1)
—
Structure with identical
data types
BOOL
1 bit
0 “False” and 1 “True”
Logical data type
BYTE
8 bit
00h … FFh
Bit field
DWORD
32 bit
00000000h … FFFFFFFFh
Bit field
DINT
32 bit
-2147483648 …
2147483647
Signed Double Integer
INT
16 bit
-32.768 … 32.767
Signed Integer
Padded EPATH
Max. 12 bytes
SINT
8 bit
-128 … 127
Signed Short Integer
STRING
8 bit/characters
—
String
SHORT_STRING
8 bit/characters +
8 bit length
specification
—
String with max. 255
characters
STRUCT
—1)
—
Structure of any data
types
UDINT
32 bit
0 … 4294967296
Unsigned Double Integer
UINT
16 bit
0 … 65.536
Unsigned Integer
USINT
8 bit
0 … 256
Unsigned Short Integer
WORD
16 bit
0000h … FFFFh
Bit field
Logical segments of a
path specification
1) Dependent on the data types used.
Tab. 0/4:
Data types used
Festo P.BE-CPX-FB36-EN en 1309NH English
XV
Contents and general instructions
XVI
Festo P.BE-CPX-FB36-EN en 1309NH English
Installation
Chapter 1
Installation
Festo P.BE-CPX-FB36-EN en 1309NH English
1-1
1. Installation
Table of contents
1.
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1
1.1
Installation instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1.1
Electrical connection and display elements . . . . . . . . . . . . . . . . . . .
1.1.2
Dismantling and mounting of the bus node . . . . . . . . . . . . . . . . . . .
Setting the DIL switches on the bus node . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.1
Setting the operating mode and protocol . . . . . . . . . . . . . . . . . . . .
1.2.2
Setting the diagnostics mode for Remote I/O . . . . . . . . . . . . . . . . .
1.2.3
Setting the data field size for Remote Controller . . . . . . . . . . . . . . .
1.2.4
Setting IP addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting to the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3.1
General information about networks . . . . . . . . . . . . . . . . . . . . . . . .
1.3.2
Overview of connections, network connectors and cables . . . . . . .
1.3.3
Network connections of the CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . .
1.3.4
Setting the IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3.5
Advanced network settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ensuring protection classIP65/IP67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3
1-4
1-5
1-7
1-9
1-10
1-11
1-12
1-13
1-13
1-14
1-17
1-18
1-22
1-23
1-24
1.2
1.3
1.4
1.5
1-2
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
1.1
Installation instructions
Warning
Switch off the following components before undertaking
installation and/or maintenance work:
– Compressed air supply
– Operating voltage supply for electronics/sensors
– Load voltage supply for outputs/valves
In this way, you can avoid:
–
sudden uncontrolled movements of loose tubing
–
unexpected movements of the connected actuators
–
undefined switching states of the electronics
Caution
The CPX bus node contains electrostatically sensitive
devices.
• Therefore, do not touch any components.
• Observe the handling specifications for electrostatically
sensitive devices.
They will help you avoid damage to the electronics.
Note
Use protective caps or blanking plugs to seal unused connections. You will then comply with protection class
IP65/IP67 ( section 1.4).
Information about mounting the CPX terminal can be found in
the CPX system description ( P.BE-CPX-SYS).
Festo P.BE-CPX-FB36-EN en 1309NH English
1-3
1. Installation
1.1.1
Electrical connection and display elements
The following connection, setting and display components
can be found on the CPX bus node CPX-FB36:
1
4
3
2
1 Protocol and CPX-specific LEDs
3 DIL switch with transparent cover
2 Network connections X1 and X2
4 Service interface for operator unit
(one 4-pin M12 socket each, D-coded)
(CPX-MMI; V24 interface) und USB
adapter (for CPX-FMT)
Fig. 1/1: Connection, setting and display components on the bus node CPX-FB36
1-4
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
1.1.2
Dismantling and mounting of the bus node
The bus node is mounted in an interlinking block of the CPX
terminal.
1 Bus node
CPX-FB36
3
2 Interlinking block
with contact rails
1
3 Torx T10 screws
2
Fig. 1/2: Dismantling / mounting the bus node
Note
• Check the start behaviour of the CPX terminal before
replacing the bus node.
If the Modify LED (M) illuminates or flashes permanently
after the system start, “System start with saved parametrisation and saved CPX expansion” is set or “Force” is active. In this case parameterisation is not created automatically by the higher-order system when replacing the bus
node or CPX terminal during servicing.
• Therefore, verify which settings are required before re-
placement and restore these settings after replacement.
Festo P.BE-CPX-FB36-EN en 1309NH English
1-5
1. Installation
Dismantling the bus node 1. Loosen the four screws of the bus node with a Torx
screwdriver size T10.
2. Pull the bus node carefully and without tilting away from
the contact rails of the interlinking block.
Note
• Always use the correct screws for the interlinking block,
which depend on whether the block is made of metal or
plastic:
– for plastic interlinking blocks:
self-tapping screws
– for metal interlinking blocks:
screws with metric thread.
Both types of screws are enclosed respectively when ordering
the bus node as a single part.
Mounting the bus node
1. Check the seal and the sealing surfaces between the bus
node and interlinking block.
2. Place the bus node in the interlinking block without
tilting. Make sure that the corresponding slots with the
contacting terminals on the bottom of the bus node are
above the contact rails.
3. Push the bus node carefully and without tilting as far as
possible into the interlinking block.
4. Set the screws so that the self-cutting threads can be
used.
5. Tighten the screws alternately in diagonally opposite
sequence with a Torx screwdriver (size T10). Tightening
torque:0.9…1.1 Nm.
1-6
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
1.2
Setting the DIL switches on the bus node
The DIL switches on the bus node are used to change the
following settings.
1 DIL switch
group 1:
Operating mode
and protocol
1
2
2 DIL switch
3
group 2:
Diagnostics mode
for remote I/O or
number of I/O
bytes for Remote
Controller
3 DIL switch
group 3:
IP addressing
Fig. 1/3: DIL switches on the bus node
Changes to the DIL switches only take effect when the bus
node is restarted.
The DIL switch cover must be removed to change the settings.
Caution
The CPX bus node contains electrostatically sensitive
devices.
• Do not therefore touch any contacts.
• Observe the handling specifications for electrostatically
sensitive devices.
This will help you avoid damage to the bus node electronics.
Festo P.BE-CPX-FB36-EN en 1309NH English
1-7
1. Installation
Procedure
1. Switch off the power supply.
2. Remove the DIL switch cover.
3. Change the DIL switch settings ( section1.2.1 ff.).
4. Mount the cover.
Remove the DIL switch cover
1. Unscrew the two mounting screws in the switch cover.
2. Lift off the cover.
Mounting the DIL switch cover
1. Place the cover carefully on the bus node.
Note
• Make sure that the seal is seated correctly.
2. Tighten the two mounting screws at first by hand and
then with a max. tightening torque of 0.4 Nm.
1-8
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
1.2.1
Setting the operating mode and protocol
•
Use DIL switch group 1 ( Fig. 1/1 1).
Operating mode and protocol
Setting of DIL switch group 1
Remote I/O operating mode
All functions of the CPX terminal are controlled
directly via EtherNet/IP or Modbus TCP.
A CPX-FEC or CPX-CEC that may be integrated
into the CPX terminal works as a passive function
module without controller.
DIL 1.1: OFF
(factory setting)
Operating mode Remote Controller
A CPX-FEC or CPX-CEC integrated into the CPX
terminal takes over I/O control.
DIL 1.1: ON
EtherNet/IP protocol
The CPX terminal uses the EtherNet/IP protocol.
DIL 1.2: OFF
(factory setting)
Modbus TCP protocol
The CPX terminal uses the Modbus/TCP
protocol.
DIL 1.2: ON
Tab. 1/1:
Setting the operating mode and protocol
Setting the diagnostics mode is required for the Remote I/O
operating mode ( chapter1.2.2).
Setting the data field size is required for the Remote Controller operating mode ( chapter1.2.3).
Festo P.BE-CPX-FB36-EN en 1309NH English
1-9
1. Installation
1.2.2
Setting the diagnostics mode for Remote I/O
•
Use DIL switch group 2 ( Fig. 1/1 2).
The functions of these DIL switches depend on the set operating mode of the CPX terminal ( Tab. 1/1).
Diagnostics mode for the Remote I/O operating
mode
Setting of DIL switch group 2
The I/O diagnostic interface and the status bits are
switched off
(+ 0 I/O bits)
2.1: OFF
2.2: OFF
(factory setting)
Status bits are switched on
(+ +16 E-bits (8 used))
2.1: OFF
2.2: ON
The I/O diagnostic interface is switched on 1)
(+ 16 I/O bits)
2.1: ON
2.2: OFF
Reserved
2.1: ON
2.2: ON
1) The I/O diagnostic interface occupies an additional 16 I/O bits.
Tab. 1/2:
Setting of the diagnostics mode for the Remote I/O operating mode
During subsequent activation of the diagnostics module
(status bits or I/O diagnostics interface), the CPX-internal I/O
image can be displaced.
The system controller carries out this adjustment automatically. Manual manipulation, e.g. reconfiguration of the CPX
terminal or manual adaptation of the hardware and network
configuration are not required.
1-10
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
1.2.3
Setting the data field size for Remote Controller
•
Use DIL switch group 2 ( Fig. 1/1 2).
The functions of these DIL switches depend on the set operating mode of the CPX terminal ( Tab. 1/1).
Number of I/O bytes for the Remote Controller
operating mode
Setting of DIL switch group 2
8 byte I/8 byte O for communication of the bus node
with the CPX-FEC or CPX-CEC.
2.1: OFF
2.2: OFF
(factory setting)
Reserved
2.1: ON
2.2: OFF
16 byte I/16 byte O for communication of the bus node
with the CPX-FEC or CPX-CEC.
2.1: OFF
2.2: ON
Reserved
2.1: ON
2.2: ON
Tab. 1/3:
Setting the number of I/O bytes for the Remote Controller operating mode
The assignment of the I/O addresses and diagnostics addresses can be changed as needed by using the configuration
and programming software (e.g. Rockwell RSLogix).
Festo P.BE-CPX-FB36-EN en 1309NH English
1-11
1. Installation
1.2.4
Setting IP addressing
•
Use DIL switch group 3 ( Fig. 1/1 3).
By using DIL switch group 3 you can set the type of addressing or the IP address of the bus node.
•
Set all slide switches to “OFF”, so that when the bus node
is switched on it receives a dynamic or saved IP address
( section1.3.4).
•
Use DIL switches 1 ... 8 to define a binary number other
than 0 and 255.
This number is used as part of the IP address when turning on the bus node.
Tab. 1/4:
8
7
6
Setting:
Host ID of
the IP address
2
3
4
5
Setting:
All switches OFF
(factory setting)
Fixed addressing
1
1
2
3
4
5
6
7
8
Dynamic/saved addressing
Settings for addressing type or IP address
Dynamic addressing is set via DHCP/BOOTP by default.
If all of the switches in DIL switch group 3 are set to “ON”
when switching on the bus node, all IP parameters will be
reset to the factory setting.
•
1-12
Note the detailed information on addressing in section 1.3.4.
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
1.3
1.3.1
Connecting to the network
General information about networks
Note
Sub-assemblies with Ethernet interfaces should only be
operated in networks if all connected network components
are supplied by PELV power supplies or integrated power
supplies with equivalent protection.
Installation guidelines
The installation guidelines can be obtained via the ODVA user
organisation:
Internet: http://www.odva.org
Observe the instructions in these documents.
Use of switches and routers
The switch integrated in the bus node permits division of the
network into several segments.
With use of additional switches and routers, the network can
be divided into additional segments. Thus, it is possible to
structure the network and realise greater network expansions.
Independent of the network structure, the expansion of a
network segment must not exceed certain connection
lengths.
–
Festo P.BE-CPX-FB36-EN en 1309NH English
Copper connecting cable:
(Ethernet twisted pair cable, 22 AWG):
max. 100 m between network participants
1-13
1. Installation
Switches and routers for Industrial Ethernet are available on
the market from various companies. There are many IP20,
IP65 or IP67 components.
1.3.2
–
Unmanaged Switches:
for small network solutions with a low network load or
minimal requirements for deterministics
–
Managed Switches:
for comprehensive network solutions, with diagnostics
and monitoring functions
Overview of connections, network connectors and cables
Note
Faulty installation and high transmission rates may cause
data transmission errors as a result of signal reflections
and attenuations.
Transmission errors can be caused by:
– faulty screened connection
– branches
– transmission over distances which are too long
– inappropriate cables
Observe the cable specification!
Bus nodes
Connection technology
Network connectors
CPX-FB36
2 x M12 socket, D-coded, female, 4-pin,
corresponding to IEC 61076-2
Festo connector,
type NECU-M-S-D12G4-C2-ET
Internet: www.festo.com/catalogue/
Tab. 1/5:
1-14
Overview of connection technology and network plugs
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
RJ45 to M12 converter
For EtherNet/IP installations, it may be necessary to change
between RJ45- and M12 connection technology.
Example:
Connections between devices in the control cabinet with RJ45
connection and IP65/IP67 devices with M12 connection.
Cable specification
Use shielded Industrial Ethernet lines of category
Cat 5/Cat 5e or higher ( Tab. 1/6).
Crossover detection
The CPX bus node supports the “Crossover detection” function (Auto-MDI/MDI-X). Patch cables or crossover cables can
be optionally used for connecting the bus node to your network or a PC. The CPX-FB36 automatically adapts the protective circuit of network connections X1 and X2.
Note
If the “QuickConnect” function has been activated ( section 2.1.2 ), the crossover detection function is not available.
In this case the CPX-FB36 sets the pin allocation of network
connection X2 to “Crossover”.
•
Festo P.BE-CPX-FB36-EN en 1309NH English
Use suitable cables when the crossover detection function
is deactivated:
–
Crossover cable with the same port assignment as the
connected equipment
–
Patch cable with a different port assignment to the
connected equipment
1-15
1. Installation
CPX-FB36 + ...D12G4...
Cable specification1)
Cable type
Ethernet twisted pair cable, shielded (Shielded Twisted Pair, STP)
Transmission class
Category Cat 5/Cat 5e (link class)
Cable diameter
6 ... 8 mm
Wire cross section
0.14 ... 0.75 mm2; 22 AWG2)
Connection length
max. 100 m
1) Length corresponding to specification for EtherNet/IP networks (EtherNet/IP Installation Guide),
based on ISO/IEC 11801, ANSI/TIA/EIA-568 ( section 1.3.1)
Internet: www.odva.org
2) Required for max. connection length between network participants
Tab. 1/6:
Cable specification overview
Note
When mounting the CPX terminal on a moving part of a
machine:
• Make sure that the network cables are provided with
strain relief.
• Comply with the corresponding regulations set out in
EN 60204 part 1.
1-16
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
1.3.3
Network connections of the CPX-FB36
There are two 4-pin, D-coded M12 sockets on the bus node
for the network connection.
The sockets are compatible with SPEEDCON® plugs.
Network connection X1
Connect the CPX-FB36 via connection X1.
•
M12 socket
EtherNet/IP
Tab. 1/7:
Pin allocation
Signal
Pin equivalent with
RJ45 plug
1. TX+
2. RX+
3. TX–
4. RX–
Housing
Transmitted data+
Received data+
Transmitted data–
Received data–
Screening, FE
1
3
2
6
Pin allocation of network connection X1 on the CPX-FB36 (M12 4-pin)
Network connection X2
Connect the CPX-FB36 to the next device via connection X2.
•
M12 socket
EtherNet/IP
Tab. 1/8:
Pin allocation
Signal
Pin equivalent with
RJ45 plug
1. RX+
2. TX+
3. RX–
4. TX–
Housing
Received data+
Transmitted data+
Received data–
Transmitted data–
Screening, FE
3
1
6
2
Pin allocation of network connection X2 on the CPX-FB36 (M12 4-pin)
Note
When crossover detection is activated, the bus node automatically exchanges the RX and TX connections.
Festo P.BE-CPX-FB36-EN en 1309NH English
1-17
1. Installation
Connection with plug from Festo
The CPX terminal is connected to the network with Festo
plugs, type NECU-M-S-D12G4-C2-ET.
The plugs are designed for network cables measuring
6...8 mm in diameter.
To comply with protection class IP65/IP67:
1.3.4
•
Use Festo plugs
•
Seal unused interfaces ( section1.4)
Setting the IP address
The IP address of bus node CPX-FB36 is alternatively set via:
–
Dynamic addressing via DHCP/BOOTP (factory setting)
–
Saved network settings
–
Addressing via DIL switch
Note
When changes are made to the network settings of the
CPX-FB36 via DIL switch, the Modify LED “M” flashes yellow.
• Perform a restart of the bus node so that the modified
network settings are applied.
1-18
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
Dynamic addressing via DHCP/BOOTP
•
Make sure that a DHCP/BOOTP server is located in the
network.
To set the dynamic addressing:
1. Set all switches of DIL switch group 3 to OFF
( Tab. 1/4).
2. Alternatively activate DHCP/BOOTP in the bus node via:
–
Operator unit CPX-MMI
–
Programme “Festo Maintenance Tool” (CPX-FMT)
–
Programme “BOOTP-DHCP Server” from Rockwell
Automation
Saved network settings
The CPX-FB36 offers the option to save the network settings
in a non-volatile memory of the bus node. DHCP/BOOTP is
thereby deactivated.
1. Set all switches of DIL switch group 3 to OFF
( Tab. 1/4).
2. Alternatively change the network settings via:
–
Operator unit CPX-MMI
–
Programme “Festo Maintenance Tool” (CPX-FMT)
–
Programme “BOOTP-DHCP Server” from Rockwell
Automation
Use this setting to activate the storage of network settings in
a non-volatile memory of the bus node.
Festo P.BE-CPX-FB36-EN en 1309NH English
1-19
1. Installation
Addressing via DIL switch
Tip
When addressing via DIL switch the bus node obtains a fixed
IP address.
This setting is recommended for test purposes during commissioning or for small networks.
The IP address of the bus node consists of 4 octets:
–
Octets 1 ... 3 (saved in the bus node)
–
Octet 4 through the setting of DIL switch group 3
( Tab. 1/9)
•
Use DIL switch group 3 to define a binary number
between 1 and 254. This number is then used as the 4th
octet of the IP address when turning on the bus node.
Tab. 1/9:
8
7
6
21 + 22 + 25 =
2 + 4 + 32 =
38
2
3
4
5
20 + 22 =
1+4=
5
Example with IP address:
192.168.001.038
1
1
2
3
4
5
6
7
8
Example with IP address:
192.168.001.005
Examples of fixed values for the 4th octet of the
IP address (binary coded)
If all of the switches in DIL switch group 3 are set to “ON”
when switching on the bus node, all IP parameters will be
reset to the factory setting.
1-20
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
Factory settings of the CPX-FB36
IP address - octet 1 ... 3
192.168.1
IP address - octet 4
01)
Network mask
255.255.255.0
Gateway
0.0.0.0
1) Dynamic addressing via DHCP/BOOTP
Tab. 1/10:
•
Factory settings of the CPX-FB36
Alternatively change the first 3 octets of the IP address
via:
–
Operator unit CPX-MMI
–
Festo Maintenance Tool CPX-FMT
–
Access to corresponding EtherNet/IP objects
The network mask and gateway are set by using the corresponding CPX parameters.
Festo P.BE-CPX-FB36-EN en 1309NH English
1-21
1. Installation
1.3.5
Advanced network settings
The following settings for the network connection can be implemented via Ethernet link objects ( appendixC.2.4).
Automatic setting
When set to the factory setting the CPX-FB36 automatically
detects the baud rate and duplex mode.
Baud rate
Setting via attribute 6 (Forced Interface Speed) of the Ethernet link object:
–
10 Mbit/s
–
100 Mbit/s
Duplex mode
Setting via attribute 6 (Control Bits, Bit 1) of the Ethernet link
object:
1-22
–
Half-Duplex
–
Full-Duplex
Festo P.BE-CPX-FB36-EN en 1309NH English
1. Installation
1.4
Ensuring protection classIP65/IP67.
In order to comply with protection class IP65/IP67, seal any
unused sockets with the appropriate plugs or cover caps.
Connection
Port IP65/IP67
Cover IP65/IP67 1)
X1, X2 (M12)
Festo connector,
type NECU-M-S-D12G4-C2-ET
Cover cap from Festo,
type ISK-M12
Service interface (M12) for
CPX-MMI + CPX-FMT
Connecting cable and plug
of the CPX-MMI or CPX-FMT
Cover cap from Festo,
type ISK-M12 2)
1) if connection is not used
2) included in scope of delivery, always cover unused connection
Tab. 1/11:
Connections and covers for protection class IP65/IP67
Festo P.BE-CPX-FB36-EN en 1309NH English
1-23
1. Installation
1.5
Power supply
Warning
Electric shock
Injury to people, damage to the machine and system
• For the electrical power supply, use only PELV circuits in
accordance with IEC 60204-1 (Protective Extra-Low
Voltage, PELV).
• Observe the general requirements in accordance with
IEC 60204-1 for PELV circuits.
• Use only voltage sources that guarantee a reliable elec-
tric disconnection of operating and load voltage in accordance with IEC 60204-1.
• Always connect all circuits for the operating and load
voltage supplies UEL/SEN, UVAL and UOUT.
The current consumption of a CPX terminal depends on the
number and type of integrated modules and components.
Observe the information on power supply ( electrical connection) as well as on the earthing measures to be carried out
( potential equalisation) contained in the CPX system description.
1-24
Festo P.BE-CPX-FB36-EN en 1309NH English
Preparing for commissioning
Chapter 2
Preparing for commissioning
Festo P.BE-CPX-FB36-EN en 1309NH English
2-1
2. Preparing for commissioning
Table of contents
2.
Preparing for commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1
2.1
EtherNet/IP protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1.1
Multicast telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1.2
QuickConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1.3
Device Level Ring protocol (DLR) . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modbus/TCP protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Notes on commissioning the CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3.1
Requirements for commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3.2
Switching on the power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3.3
Normal operating status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Participants in the network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4.1
Participant properties (EDS file) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3
2-3
2-4
2-8
2-10
2-11
2-11
2-12
2-12
2-16
2-16
2.2
2.3
2.4
2-2
Festo P.BE-CPX-FB36-EN en 1309NH English
2. Preparing for commissioning
2.1
EtherNet/IP protocol
EtherNet/IP is an industrial Ethernet protocol, which is predominantly used in automation technology.
The EtherNet/IP protocol is activated with DIL
switch 1.2 = OFF. The bus node is then identified with the
designation: FB36 - EtherNet IP Remote-IO
After switching the protocol ( section 1.2.1) the following
unmodified parameters are available:
–
IP address
–
Diagnostics mode
–
System parameters
The DIL switch function remains unchanged.
Retentive bus-specific parameters are only active if the relevant protocol is selected ( section 1.2.1).
Parameterisation examples can be found in appendix C.5.
2.1.1
Multicast telegram
EtherNet/IP uses IP Multicast telegrams as standard for
transferring process data. An advantage of Multicast compared to Unicast is that a telegram can be received by multiple participants.
Simple switches, however, cannot distinguish to which participant a Multicast telegram is to be transferred. Therefore,
these switches send the Multicast telegrams to all devices in
the network.
This results in an EtherNet/IP participant receiving numerous
unnecessary telegrams, which must then be discarded from
the device. This can reduce the response times of the participants. The demand on the network bandwidth increases.
Festo P.BE-CPX-FB36-EN en 1309NH English
2-3
2. Preparing for commissioning
This does not pose a problem for smaller networks; the performance for larger networks, however, can be improved with
the following functions and/or protocols.
–
Use of switches with “IGMP snooping”
–
Segmentation of the network
Switches with “IGMP snooping”
By using an IGMP (Internet Group Management Protocol) the
switches are able to decide to which devices the various Multicast telegrams are transferred. This allows unnecessary
Multicast traffic to be avoided.
•
Activate this function in all switches/routers used.
•
Configure at least one switch so that cyclical IGMP queries are sent. The IGMP snooping function cannot work
properly without these IGMP queries.
Segmentation of the network
•
2.1.2
Split the machine into smaller network segments. This can
be realised without changing the network cabling, for
example, by using VLANs.
QuickConnect
The EtherNet/IP function QuickConnect (QC) enables a quicker initialisation of the CPX terminal and a fast connection setup to the EtherNet/IP master.
QuickConnect is commonly used for applications with a tool
change, for which the downtime should be minimised by the
disconnection and connection of devices.
2-4
Festo P.BE-CPX-FB36-EN en 1309NH English
2. Preparing for commissioning
Note
QuickConnect only works if this function is supported by
all participating devices.
• Make sure that intermediate switches and routers in
your network support this function.
Using QuickConnect:
•
•
Deactivate Auto-Negotiation in the bus node for both network connections X1 and X2.
–
Baud rate = 100 Mbit/s
–
Duplex mode = Full-Duplex
Attribute 6d of the Ethernet link object (Interface Control).
Deactivate Auto-Negotiation and crossover detection for
the corresponding network connection of the counterpart
station (e.g. switch connection).
–
Baud rate for connection of the counterpart station =
100 Mbit/s
–
Duplex mode = Full-Duplex
•
Activate QuickConnect via attribute 12 of the TCP/IP interface object. (The QuickConnect function in the bus node is
in a deactivated state when delivered.)
•
Activate QuickConnect in the PLC or in the control program.
Simplified configuration of QuickConnect on CPX-FB36:
•
Set the CPX parameter “IP configuration” to
“With saved parameters and QuickConnect”.
Selecting this setting activates QuickConnect and deactivates
Auto-Negotiation for both network connections.
Festo P.BE-CPX-FB36-EN en 1309NH English
2-5
2. Preparing for commissioning
Crossover detection is automatically deactivated in the bus
node when Auto-Negotiation is deactivated.
Network connection X1 runs in the MDI-mode here and network connection X2 runs in the MDI-X mode.
This allows a line topology to be constructed with patch
cables.
TP1
X2
X1
MDI MDIX
TP2
1
1 PLC or switch
2
X2
X1
MDI MDIX
X2
X1
MDI MDIX
3
3 I/O device (e.g.B. CPX-FB36)
2 Patch cable
Fig. 2/1: QuickConnect line topology with patch cables
The bus node corresponds to a Class A device of the EtherNet/IP specification. When switched on, the bus node requires less than 350 ms to accept a TCP connection.
Note
Due to the rapid establishment of the TCP connection, the
detection of already used IP addresses (IP Address Conflict Detection, ACD) is not executed completely. This can
lead to multiple assigned IP addresses only being detected
at a late stage. This can impair the function of the network.
2-6
Festo P.BE-CPX-FB36-EN en 1309NH English
2. Preparing for commissioning
QuickConnect is available for the following modules.
CPX modules
Type
Bus node CPX-FB36
CPX-FB36
Digital 4-off input module
CPX-4DE
Digital 8-off input module
CPX-8DE
Digital 8-off input module with
channel diagnostics
CPX-8DE-D
Digital 8-off input module, n-switching
CPX-8NDE
Digital 16-off input module
CPX-16DE
Digital 16-off input module with channel diagnostics
CPX-16DE-D
Digital 16-off input module
with terminal strip
CPX-L-16DE16-KL-3POL
Digital 4-off output module
CPX-4DA
Digital 8-off output module
CPX-8DA
Digital 8-off output module,
high-current variant
CPX-8DA-H
Digital 8-off input/output module
CPX-8DE-8DA
Digital 16-off input/output module with terminal
strip
CPX-L-8DE-8DA16-KL-3POL
Analogue 2-off input module
(voltage/current)
CPX-2AE-U-I
Analogue 2-off output module
(voltage/current)
CPX-2AA-U-I
Analogue 4-off input module (current)
CPX-4AE-I
Tab. 2/1:
Festo P.BE-CPX-FB36-EN en 1309NH English
CPX modules which support QuickConnect
2-7
2. Preparing for commissioning
QuickConnect is available for the following pneumatics interfaces and modules.
Pneumatic interfaces
Type
Pneumatics interface for VTSA or
VTSA-F pneumatics
VABA-10S6-x1
Pneumatics interface for MPA-S valves
VMPA-FB-EPL-...
Pneumatics interface for MPA-F valves
VMPAF-FB-EPL-...
Pneumatics interface for MPA-L valves
VMPAL-FB-EPL-...
VMPAL-EPL-CPX
Tab. 2/2:
Pneumatic modules
Type
MPA1 pneumatic module
VMPA1-FB-EM...-8
MPA2 pneumatics module
VMPA2-FB-EM...-4
MPA1 pneumatics module with diagnostic
function
VMPA1-FBEM...-D2-8
MPA2 pneumatics module with diagnostic
function
VMPA2-FBEM...-D2-8
Tab. 2/3:
2.1.3
Pneumatics interfaces which support
QuickConnect
Pneumatics modules which support
QuickConnect
Device Level Ring protocol (DLR)
The Device Level Ring protocol (DLR) allows multiple devices
to be operated in a ring topology.
Requirements
All DLR devices feature an integrated Ethernet switch with at
least 2 external ports and support the DLR Protocol.
2-8
Festo P.BE-CPX-FB36-EN en 1309NH English
2. Preparing for commissioning
Ring
Supervisor
Ring
Ring
Node 4
Node 1
Ring
Ring
Node 3
Node 2
Fig. 2/2: Device Level Ring topology, example
The availability of the network can be increased by using ring
topology as there are redundant communication paths
between two devices. A cable or communication fault
between two devices will therefore not result in communication failure. Only two faults in a ring will lead to a malfunction.
A ring always consists of at least one ring supervisor and any
number of ring nodes.
•
Only use DLR-compatible devices in a ring.
Otherwise, the time required for automatic elimination of
a fault may be adversely affected.
•
Operate the bus node as a ring node either in a beaconbased or announce-based configuration.
Operation as a ring supervisor is not possible. This function is normally executed by an EtherNet/IP scanner.
The DLR protocol is configured via the DLR object (class
code 47h).
Festo P.BE-CPX-FB36-EN en 1309NH English
2-9
2. Preparing for commissioning
2.2
Modbus/TCP protocol
Modbus is an open communication protocol based on the
master-slave architecture. This is a standard for communication via TCP/IP in automation technology.
The Modbus/TCP protocol is activated with DIL
switch 1.2 = ON. The bus node is then identified with the designation: FB36-MB - Modbus TCP Remote-IO
After switching the protocol ( section 1.2.1) the following
unmodified parameters are available:
–
IP address
–
Diagnostics mode
–
System parameters
The DIL switch function remains unchanged.
Retentive bus-specific parameters are only active if the relevant protocol is selected ( section 1.2.1).
The configuration options via Modbus TCP correspond to
those via EtherNet/IP.
Exception: EtherNet/IP objects cannot be accessed via Modbus TCP.
In order to configure the CPX terminal for Modbus/TCP, you
will require the Modbus addresses of the data and of the I/Os
of the CPX terminal ( appendix D).
Addressing examples can be found in appendix D.6.1.
2-10
Festo P.BE-CPX-FB36-EN en 1309NH English
2. Preparing for commissioning
2.3
Notes on commissioning the CPX-FB36
Configuration of the CPX terminal demands a very accurate
procedure, as different configuration specifications are sometimes necessary for each station in the network, due to the
modular structure.
Detailed instructions and further information can be found in
the documentation or online help for the controller or control
program.
Note
Bus node CPX-FB36 can be used on all EtherNet/IP or
Modbus/TCP controllers.
The following section describes the configuration and
commissioning procedure using the example of
Rockwell/Allen-Bradley controllers (PLC) via the Rockwell
RSLogix software platform.
2.3.1
Requirements for commissioning
–
Installation of the bus node is complete ( chapter 1)
–
The DIL switches of the bus node are set correctly.
–
All connecting cables are connected and checked.
Festo P.BE-CPX-FB36-EN en 1309NH English
2-11
2. Preparing for commissioning
2.3.2
Switching on the power supply
Warning
Before switching on:
• Make sure that the requirements for commissioning
have been met. Also observe section 3.1.2, especially
regarding the DIL switch setting.
During operation:
• Do not alter the DIL switch setting. This will prevent acci-
dental and uncontrolled movements of the connected
actuators and undefined switching states of the electronics.
Note
• Please observe the switching-on instructions in the
manual for your controller.
2.3.3
Normal operating status
When the CPX terminal is switched on the status LEDs
( Fig. 4/1) indicate the operating status and correct function of the bus node and of fieldbus communication as a function of the configuration.
–
Bus node not configured Tab. 2/4
–
Bus node configured and higher-order PLC is in stop
mode Tab. 2/5
–
Bus node configured and higher-order PLC is in run mode
Tab. 2/6
Information on diagnostics using the LED displays can be
found in section 4.2.
2-12
Festo P.BE-CPX-FB36-EN en 1309NH English
2. Preparing for commissioning
Bus node not configured
LED display
Status and significance
MS illuminates green:
– Device is ready to operate
PS illuminates green:
– Voltage supply (Power System, PS) is OK
– Operating voltage present
(in the approved range)
NS flashes green:
– Fieldbus communication present (“Online”
operating status), but not configured.
This is correct in this case because the bus node
is not configured.
PL illuminates green:
– Load voltage present (in the approved range) 1)
TP1/TP2 illuminates green:
– Device is correctly connected to the bus node
– Internal communication between bus node and
device 1 or device 2 is error free
– Operating and load voltage present (in the approved range) 1)
1) Display dependent on monitoring and signal from the connected
device.
Tab. 2/4:
Festo P.BE-CPX-FB36-EN en 1309NH English
Status LEDs after switching on –
bus node not configured
2-13
2. Preparing for commissioning
Bus node configured - PLC in stop mode
LED display
Status and significance
MS illuminates green:
– Module status (MS) is error free
PS illuminates green:
– Voltage supply (Power System, PS) is OK
– Operating voltage applied
(in the approved range)
NS illuminates green:
– Network status (NS) is error free (“Online”
operating status)
– Communication with the fieldbus and with the
PLC is OK
PL illuminates green:
– Load voltage present (in the approved range) 1)
TP1/TP2 illuminates green:
– Device is correctly connected to the bus node
– Internal communication between bus node and
device 1 or device 2 is error free
– Operating and load voltage present (in the
approved range) 1)
1) Display dependent on monitoring and signal from the connected
device.
Tab. 2/5:
2-14
Status LEDs after switch on – bus node
configured, PLC in stop mode
Festo P.BE-CPX-FB36-EN en 1309NH English
2. Preparing for commissioning
Bus node configured - PLC in run mode
LED display
Status and significance
MS illuminates green:
– Module status (MS) is error free
PS illuminates green:
– Voltage supply (Power System, PS) is OK
– Operating voltage applied
(in the approved range)
NS illuminates green:
– Network status (NS) is error free (“Online”
operating status)
– Communication with the fieldbus and with the
PLC is OK
PL illuminates green:
– Load voltage present (in the approved range) 1)
TP1/TP2 illuminates green:
– Device is correctly connected to the bus node
– Internal communication between bus node and
device 1 or device 2 is error free
– Operating and load voltage present (in the
approved range) 1)
1) Display dependent on monitoring and signal from the connected
device.
Tab. 2/6:
Festo P.BE-CPX-FB36-EN en 1309NH English
Status LEDs after switch on – bus node
configured, PLC in run mode
2-15
2. Preparing for commissioning
2.4
Participants in the network
When using the CPX terminal as a new network participant for
the first time, the configuration program is to be informed of
certain network properties.
These network properties are integrated into the participant
properties.
2.4.1
Participant properties (EDS file)
The participant properties are predominantly managed by the
configuration program in a list or library e. g. EDS library (EDS
for electronic data sheet).
The following options are available for expanding an EDS library:
–
Installing EDS files
–
Entering participant properties manually
–
Importing participant properties
When the CPX terminal has been registered as a potential
network participant, it can be added to a network.
2-16
Festo P.BE-CPX-FB36-EN en 1309NH English
Commissioning
Chapter 3
Commissioning
Festo P.BE-CPX-FB36-EN en 1309NH English
3-1
3. Commissioning
Table of contents
3.
Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1
3.1
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1.1
Configuration with EDS file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1.2
Configuration with Generic Ethernet Module . . . . . . . . . . . . . . . . . .
3.1.3
Configuration with CPX-FMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1.4
Configuration in the Remote Controller operating mode . . . . . . . .
3.1.5
Setting up a listen-only connection . . . . . . . . . . . . . . . . . . . . . . . . .
Parameterisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.1
Parameterisation when switching on (system start) . . . . . . . . . . . .
3.2.2
Methods of parameterisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.3
Parameterisation via configuration data . . . . . . . . . . . . . . . . . . . . .
3.2.4
Parameterisation with the operator unit CPX-MMI . . . . . . . . . . . . .
3.2.5
Parameterisation in the PLC user program . . . . . . . . . . . . . . . . . . .
3.2.6
Parameterisation using CPX-FMT and system start with saved
parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reaction of the outputs in the Fail safe or Idle mode . . . . . . . . . . . . . . . . . . .
Web server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Checklist for commissioning a CPX terminal . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3
3-4
3-10
3-15
3-19
3-20
3-21
3-22
3-25
3-26
3-26
3-26
3.2
3.3
3.4
3.5
3-2
3-27
3-28
3-29
3-30
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
3.1
Configuration
A CPX terminal with bus node CPX-FB36 can be configured
using various methods.
Method
Description
Benefits
Disadvantages
Configuration with EDS
file
section 3.1.1
Installation of
participant properties
for the CPX terminal in
the “RSLogix 5000”
configuration program.
– With the exception
of the I/O data
length, the entire
configuration is
transferred from the
EDS file.
– Not available with all
EtherNet/IP
masters.
– Parameterisation is
saved locally in the
CPX terminal and is
lost if the terminal is
replaced.1)
Configuration with
Generic Ethernet
Module
section 3.1.2
Creation of a new
participant and manual
configuration in the
“RSLogix 5000”
configuration program.
– Works with all
versions of RSLogix.
– All settings must be
entered manually.
Configuration with
CPX-FMT
section 3.1.3
Export of the CPX
terminal settings by
CPX-FMT and import of
the settings to the
“RSLogix 5000”
configuration program.
– Transfer of the
existing
configuration of the
participant and
parameterisation of
the CPX Terminal.
Tab. 3/1:
Configuration methods
Festo P.BE-CPX-FB36-EN en 1309NH English
3-3
3. Commissioning
3.1.1
Configuration with EDS file
This section describes the commissioning procedure for
EtherNet/IP with an Allen-Bradley controller and the “RSLogix
5000” program from Rockwell.
The fundamental aspects of this description also apply for
other control systems.
Obtaining EDS files
•
Use the following EDS files for the CPX terminal with
CPX-FB36.
File type File name
Language
Description
EDS
English
Provides the communication adapter in the
configuration program.
File with information for the Remote Controller
operating mode.
–
Icon file for representing the CPX terminal or
mode in the configuration program.
cpx_FB36.eds
cpx_FB36RC.eds
ICO
Tab. 3/2:
EDS- files
cpx_FB36.ico
Configuration files for CPX-FB36
Source www.festo.com/sp
1. Enter “CPX-FB36” in the search field.
2. Select the “Firmware and drivers” tab.
3. Click “Device description file”.
4. Select a directory and save the ZIP file.
Icon files
3-4
Use icon files (included in the ZIP file) to assign icons to the
CPX terminal and CPX modules.
(Dependent on the configuration program used).
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
Registering the EDS file in RSLogix
1. Start the program RSLogix.
2. Launch the EDS wizard by selecting “EDS Hardware Installation Tool” from the “Tools” menu.
1
1 Menu command “EDS Hardware Installation Tool”
Fig. 3/1: Launching the EDS wizard
3. Select the option “Register an EDS-file(s)”.
Festo P.BE-CPX-FB36-EN en 1309NH English
3-5
3. Commissioning
Fig. 3/2: EDS wizard - Options
4. Click the “Next >” button.
Fig. 3/3: EDS wizard with selected EDS file
3-6
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
5. Select one of the following options:
–
Register a single file
–
Register a directory of EDS files
6. Click “Browse” to select the directory and name of the
EDS file.
7. Click the “Next >” button.
The procedure for registering the bus node in “RSLogix” is
complete.
Integrating participants in a project
The integration of the bus node in a new RSLogix project can
only be implemented if there is no online connection between
RSLogix and the controller ( “Communications” “Go
offline”).
1. In the “Controller Organizer” window of the “RSLogix
5000” program, right-click on “Ethernet” under the “I/O
Configuration” branch.
Fig. 3/4: Context menu in the “Controller Organizer”
window
Festo P.BE-CPX-FB36-EN en 1309NH English
3-7
3. Commissioning
2. Select the command “New Module...” from the context
menu.
This opens the dialogue window “Select Module Type”.
3. Select the “Catalog” tab and choose the module with the
description “CPX-FB36 Ethernet Module” from the bottom
table.
Fig. 3/5: Integrating bus node CPX-FB36
4. Confirm your selection by pressing “Create”.
Configuring a participant
1. In the “Controller Organizer” window right-click on the
newly integrated module and select the “Properties” command in the context menu.
This opens the dialogue window “Module Properties”.
2. Check and alter the IP address if necessary.
3. Click the “Change” button.
This opens the dialogue window “Module Definition”.
3-8
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
4. Enter the correct length of the CPX I/O data in the “Size”
field.
This value can either be calculated or retrieved using
CPX-FMT or a web server.
The basic configuration of the CPX terminal in the project is
now complete.
•
Festo P.BE-CPX-FB36-EN en 1309NH English
Parameterise the modules and valve terminals used in the
CPX terminal ( chapter 3.2).
3-9
3. Commissioning
3.1.2
Configuration with Generic Ethernet Module
This section describes the manual configuration process of a
participant via the “RSLogix” program using a “Generic Ethernet Module”.
Integrating participants in a project
The integration of the bus node in a new RSLogix project can
only be implemented if there is no online connection between
RSLogix and the controller ( “Communications” “Go
offline”).
1. In the “Controller Organizer” window of the “RSLogix”
program, right-click on “Ethernet” under the “I/O Configuration” branch ( Fig. 3/4).
2. Select the option “New Module” from the context menu.
This opens the dialogue window “Select Module Type”.
3. Select the “Catalog” tab and choose the module with the
description “Generic Ethernet Module” from the bottom
table.
Fig. 3/6: Integrating a bus node as a Generic Ethernet
Module
3-10
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
4. Confirm your selection by pressing “Create”.
Configuring a participant
1. In the “Controller Organizer” window right-click on the
newly integrated module and select the “Properties” command in the context menu.
This opens the dialogue window “Module Properties”.
1
2
1 Name
(freely selectable)
2 Connection
parameters of the
Assembly
lnstances
3 Size of the
Assembly
Instances
4 IP address
5 Data format
5
4
3
Fig. 3/7: “Module Properties” dialogue window
2. Enter a name for the bus node 1.
3. Select one of the following data formats from the list field
“Comm Format” 5:
Festo P.BE-CPX-FB36-EN en 1309NH English
–
DATA - SINT
–
DATA - INT
3-11
3. Commissioning
4. Enter the following values in the “Assembly Instance”
fields 2 depending on the data format.
Data format
DATA - SINT
DATA - INT
Input
101
111
Output
100
110
Configuration
102
102
Tab. 3/3: Input values for “Assembly Instance”
5. Enter the following values in the “Size” fields 3 depending on the operating mode.
Operating
mode
Values
Remote I/O
For “Input” and “Output” the number of
allocated inputs/outputs of the CPX
terminal:
– for data format SINT: in bytes
– for data format INT:
in words
( Appendix Tab. B/9)
For “Configuration”:
– the number of memory slots occupied by
CPX parameters
or
– 0 (standard setting)
Configuration Assembly not used
Remote
Controller
For “Input” and “Output” the number of
inputs and outputs set on the CPX-FB36:
– for data format SINT: in bytes
– for data format INT:
in words
( chapter 1.2.3, Tab. 1/3)
For “Configuration”:
– 0 (standard setting)
Configuration Assembly not used
Tab. 3/4: Input values for “Size”
3-12
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
Note for Remote I/O operating mode
The “RSLogix” program does not allow the input “0” as a
data length (size) for inputs and outputs.
When using a CPX terminal that does not have any inputs:
• Activate the status bits with the help of DIL switch
group 2 ( Tab. 1/2)
The following settings then apply for the input data:
– for SINT format: Size = 2
– for INT format:
Size = 1
6. Enter an “IP address” 4.
7. Confirm all entries by selecting “Apply”.
8. Close the “Module Properties” dialogue window by pressing “OK”.
Using participant properties
•
Use the following data in your controller.
Benefit
Description
Vendor name
Festo Corporation
Vendor ID
26
= 1Ah
Device Type
12
= 0Ch
Product code (depends on operating mode)
– Remote I/O
– Remote Controller
14026
14027
= 36CAh
= 36CBh
Major Revision
1
Input size / output size
Depends on CPX equipment
Tab. 3/5:
Participant properties - Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
3-13
3. Commissioning
Benefit
Description
Assembly Instances
– Input
– Output
– Configuration
SINT format
101
100
102
Product name
CPX-FB36 Remote I/O
CPX-FB36 Remote Controller
INT format
111
110
102
Advanced EtherNet/IP participant properties
Request Packet Interval (RPI)
≥ 1 ms
Connections:
– Total of all connections
– Exclusive Owner
– Input only
– Listen only
Tab. 3/6:
Max. 32
Max. 1
Max. 32
Max. 31 (there has to be simultaneously at least
1 Excl.Owner or an input only connection)
Participant properties - Part 2
This basic configuration of the CPX terminal in the network is
now complete.
Information about parameterisation of the modules and valve
terminals used in the CPX terminal can be found in
chapter 3.2.
3-14
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
3.1.3
Configuration with CPX-FMT
With the help of the CPX Festo Maintenance Tool (CPX-FMT) it
is possible to export the configuration and complete parameterisation of a CPX terminal to a file.
This file can then be imported as an RSLogix project.
Exporting a configuration from CPX-FMT
The CPX-FMT software is available online
www.festo.com/sp/cpx Engineering Software.
1. Start the “CPX-FMT” program.
2. Make sure there is an Ethernet connection between the
CPX-FMT and the CPX terminal.
3. Activate the online function to transfer the current configuration of the bus node to the PC.
4. Change the configuration and parameterisation for the
CPX terminal if necessary with CPX-FB36.
If you do not want to use this online function, you can also
configure the CPX terminal offline.
Modifications are also possible after importing the project to
the “RSLogix” program.
Festo P.BE-CPX-FB36-EN en 1309NH English
3-15
3. Commissioning
5. Open the dialogue window for exporting the configuration
by selecting “File” > “Export” > “RSLogix (.L5K)” (File > Export > RSLogix (.L5K)).
Fig. 3/8: Exporting the configuration for “RSLogix”
6. Select a directory and a name to save the L5K file.
Importing the configuration to “RSLogix”
1. Start the program “RSLogix”.
2. Click “Open” in the “File” menu and select the saved L5K
file.
3. Click “Open”.
4. Select the directory and name of the file to be imported.
5. Click “Import”.
The CPX-FMT file is imported into a new RSLogix project
(.ACD) as an Ethernet module.
3-16
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
Integrating the CPX terminal into an existing
RSLogix project
The CPX terminal which is configured and parameterised under CPX-FMT appears in the “RSLogix 5000” program as a
new Ethernet module.
To integrate this module into an existing RSLogix project:
1. Right-click on the Ethernet module and select the “Copy”
command from the context menu.
Fig. 3/9: Copy the Ethernet module
Festo P.BE-CPX-FB36-EN en 1309NH English
3-17
3. Commissioning
2. Open an RSLogix project to integrate the imported Ethernet module.
3. Right-click on “Ethernet” in the existing RSLogix project
and select the “Paste” command from the context menu.
Fig. 3/10: Inserting an Ethernet module
All of the necessary settings of the CPX terminal are transferred to the RSLogix project. This includes, among other
things, I/O data lengths and IP configuration, as well as all
module and system parameters.
The basic configuration and parameterisation of the CPX terminal in the network is now complete.
To change the parameterisation of the modules and valve
terminals used in the CPX terminal, use the “RSLogix” program.
3-18
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
3.1.4
Configuration in the Remote Controller operating mode
When using a CPX-FEC or CPX-CEC in your CPX terminal, the
CPX-FB36 is to be used as the Remote Controller.
In principle, the bus node is configured in the same manner
as in the Remote I/O operating mode, but with different I/O
data lengths.
The bus node then occupies 8 or 16 input bytes and 8 or 16
output bytes (dependent on the switch position DIL 2.2
Tab. 1/2).
These inputs and outputs are available to the control program of the CPX-FEC or CPX-CEC.
To use the Remote Controller operating mode:
1. Use DIL switch group 1 to set the bus node to the Remote
Controller operating mode and select an EtherNet/IP or
Modbus TCP protocol ( chapter 1.2.1).
–
DIL 1.1: ON
–
DIL 1.2: OFF (EtherNet/IP protocol)
DIL 1.2: ON (Modbus TCP protocol)
2. Use DIL switch group 2 to set the required data field size
( chapter 1.2.3).
3. Follow the instructions in chapter 3.1.1 and 3.1.2 for commissioning with the “RSLogix” program.
The bus node is thus configured as remote controller.
Festo P.BE-CPX-FB36-EN en 1309NH English
3-19
3. Commissioning
3.1.5
Setting up a listen-only connection
When the participant properties have been configured (e.g.
by installation of an EDS file), the following steps are required
for configuration.
1. Install your CPX terminal and set the network addressing
( chapter 1.3.4).
2. Establish a connection to the bus node. To do this, use the
profile “GenericEthernet Device” in the “RSLogix” program ( chapter 3.1.2).
3. Open the “Module Properties” dialogue window.
4. Select the data format “DATA - SINT” from the “Comm
Format” list field ( Fig. 3/7).
5. Enter the following values in the “Connection parameters”
field:
Benefit
Assembly Instance
Size
Input
101
Number of inputs set
on the bus node
Output
1
0
Configuration
102 (Configuration
Assembly)
0
Tab. 3/7: Properties for “Connection parameters”
6. Enter the IP address of the bus node.
3-20
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
3.2
Parameterisation
Warning
Uncontrolled movements of the actuators, undefined
switching states
Injury to people, damage to the machine and system
• During the parameterisation process make sure that
nobody is within the sphere of influence of moving parts
of your system.
Parameterisation of the CPX-FB36 influences the behaviour
of the CPX terminal.
The CPX terminal is supplied from the factory with preset
parameters. These parameters are saved in the bus node.
These parameters can be used to largely adapt the behaviour
of the CPX terminal to the relevant application.
A distinction is made between the following variants:
–
System parameters, e.g. setting reaction times, switching
off fault messages
–
Module parameters (module- and channel-specific), e. g.
diagnostic settings, settings for error handling, settings
for debounce times of inputs, settings for forcing
–
Parameters of the diagnostic memory
A detailed description of the individual parameters as well as
basic principles of application can be found in the CPX system
description ( P.BE-CPX-SYS-...).
The module parameters can be found in the descriptions for
the modules, e.g. description of the CPX pneumatic interfaces
and CPX I/O modules ( P.BE-CPX-EA-...).
Festo P.BE-CPX-FB36-EN en 1309NH English
3-21
3. Commissioning
3.2.1
Parameterisation when switching on (system start)
Parameterisation of the CPX terminal is initially dependent on
the setting of the “System start” parameter. This parameter
establishes whether the default parameters or the parameters saved by the user in the bus node are used when switching on the CPX terminal.
The parameterisation is loaded again after every interruption
of the power supply or the network connection. An exchange
of individual CPX modules is therefore possible, for example,
without the need for re-parameterisation.
Sequence of parameterisation when switching on
the CPX terminal
System start with default parameters
1. The controller transmits the parameterisation that is
saved in the controller to the bus node.
2. The bus node distributes this parameterisation to the
individual modules.
System start with saved parameters
1. The bus node distributes the parameterisation that is
saved in the bus node to the individual modules.
The parameterisation saved in the bus node can be overwritten accidentally by the controller.
•
3-22
Prevent this by changing the “Configuration” connection
parameter using the “RSLogix” programme.
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
To change the “Configuration” connection parameter using
the “RSLogix” programme, proceed as follows:
1. Make sure there is no online connection between RSLogix
and the controller ( “Communications” “Go offline”).
2. Double-click the “Ethernet” branch in the “Controller Organizer” window to open the “Module Properties” dialogue window.
1
1 “Assemblylnstance” connection parameter
for “Configuration”
Fig. 3/11: “Module Properties” dialogue window
3. Enter the value “0” for “Configuration” under the Assembly Instance “Connection Parameters” field.
4. Close the “Module Properties” dialogue window by pressing “Finish >>”.
The setting “System start with saved parameters” is indicated
by the permanent illumination of the M-LED on the bus node
after the system has started.
Festo P.BE-CPX-FB36-EN en 1309NH English
3-23
3. Commissioning
Replacing the bus node
When replacing a bus node with the setting “System start
with saved parameters”, the CPX terminal is not parameterised automatically by the higher-order controller.
1. Before replacing the bus node save the parameterisation
of the CPX terminal in a CPX-FMT file.
2. After replacing the bus node transfer the parameterisation to the new bus node. Use the command “Load settings...” in the CPX menu.
3. Enable all settings in the “Load” window and start the
transfer to the bus node by pressing “OK”.
3-24
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
3.2.2
Methods of parameterisation
Method
Description
Benefits
Disadvantages
Parameterisation via
configuration data
(Configuration Assembly)
section 3.2.3
Export
parameterisation of
the CPX terminal by
using CPX-FMT.
Import the settings in
the programme
“RSLogix”.
– Convenient transfer
of the complete
configuration for a
CPX terminal.
Parameterisation with the
operator unit CPX-MMI
section 3.2.4
Parameterisation is
carried out with
entries via the menus.
– Convenient
parameterisation
via menu
navigation (plain
text).
– Parameterisation of
the CPX terminal is
saved locally in the
bus node and is lost
when replaced.1)
Parameterisation in the
PLC user program
section 3.2.5
Parameterisation
through explicit
messaging;
parameters are saved
in the PLC.
– Parameters are
reloaded after
every restart and
are therefore also
retained if the
device is replaced.
– Requirement: User
program required.
Parameterisation using
CPX-FMT and system start
with saved parameters
section 3.2.6
Parameterisation is
– Fast, simple
carried out with
parameterisation
entries via the menus.
during
Parameters are saved
commissioning for
directly in the
testing the
CPX-FB36.
parameters.
Start with saved
parameters necessary.
– Parameterisation of
the CPX terminal is
saved locally in the
bus node and is lost
when replaced.1)
1) It is possible to copy the current parameterisation with the help of the CPX-MMI operator unit.
Tab. 3/8:
Methods of parameterisation
Further information about parameterisation can be found in
the CPX system description (P.BE-CPX-SYS...).
Festo P.BE-CPX-FB36-EN en 1309NH English
3-25
3. Commissioning
Note
The last parameterisation transferred in the CPX terminal is
always valid.
3.2.3
Parameterisation via configuration data
Parameterisation via configuration data (Configuration Assembly) corresponds to the method for configuration with
CPX-FMT and transfer of all parameters to the “RSLogix” program ( section 3.1.3).
3.2.4
Parameterisation with the operator unit CPX-MMI
The operator unit CPX-MMI offers menu-driven access to the
parameterisation. It does not require any additional configuration software.
Information about using the operator unit can be found in the
corresponding description.
3.2.5
Parameterisation in the PLC user program
Program-controlled access to parameters is effected via “Explicit Messaging”. The addresses of the EtherNet/IP object
model that are required for this can be found in Appendix C.1.
Further information on programming this data transmission
can be found in the manual for your controller.
3-26
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
3.2.6
Parameterisation using CPX-FMT and system start with saved
parameters
Parameterisation corresponds to the method for configuration with CPX-FMT and transfer of all parameters to the
“RSLogix” program ( section 3.1.3).
The parameterisation of the CPX terminal is saved directly in
the CPX-FB36. To use this parameterisation the “System
start” parameter needs to be set to “Saved parameters”
( section 3.2.1).
Festo P.BE-CPX-FB36-EN en 1309NH English
3-27
3. Commissioning
3.3
Reaction of the outputs in the Fail safe or Idle mode
Idle mode is assumed by the participants after a request by
the master.
The error status (Fail safe mode, also referred to as Fault
mode) defines the status the relevant channel is to assume in
the event of fieldbus communication faults.
In this status, the following applies:
–
Inputs are transmitted
–
Output channels of the participants are no longer updated
In the Fail safe or Idle mode, outputs can assume one of the
following states:
Digital outputs/valves
Analogue outputs
Freeze current status
Freeze current status
Reset output
Desired analogue value
Set output
Tab. 3/9:
Possible states in the Fail safe/Idle mode
You can determine the status to be assumed for each output
channel (output or solenoid coil) separately. The standard
setting is “Reset of the output channel”.
Further information can be found in the CPX system description ( P.BE-CPX-SYS-...).
3-28
Festo P.BE-CPX-FB36-EN en 1309NH English
3. Commissioning
3.4
Web server
A web server is integrated in the bus node CPX-FB36. The
web server makes available the most important parameters
and diagnostic functions.
Fig. 3/12: Web server of the CPX-FB36
Procedure
1. Open an Internet browser of your choice on a PC that is
connected to the network.
2. In the address bar of the Internet browser enter the IP
address of the bus node as follows:
http://192.168.2.xxx
Festo P.BE-CPX-FB36-EN en 1309NH English
3-29
3. Commissioning
3.5
3-30
Checklist for commissioning a CPX terminal
•
Please observe the general commissioning instructions in
the CPX system description.
•
Check the DIL switch settings and the network configuration before using and replacing CPX terminals.
•
Check the configured address range. If necessary, test the
I/Os.
•
Check the address assignment of the I/Os on the CPX
terminal. For this purpose you can, if necessary, force the
I/Os ( CPX system description).
•
Make sure that the desired parameterisation of the CPX
terminal in the start-up phase or after network interruptions is restored by the interface module.
This ensures that if the CPX terminal is replaced, the new
terminal will also be operated with the desired parameter
settings.
•
Use spot checks if necessary to check the parameterisation, either with a configuration program (e.g. RSLogix) or
with an operator unit (e.g.B. CPX-MMI).
Festo P.BE-CPX-FB36-EN en 1309NH English
Diagnostics
Chapter 4
Diagnostics
Festo P.BE-CPX-FB36-EN en 1309NH English
4-1
4. Diagnostics
Table of contents
4.
Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-1
4.1
4.2
Summary of diagnostics options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics via LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.1
CPX-specific LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.2
Network-specific LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.3
Protocol-specific LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics via status bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics via I/O diagnostic interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics via EtherNet/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics via Modbus TCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3
4-4
4-6
4-9
4-10
4-12
4-13
4-15
4-16
4-17
4.3
4.4
4.5
4.6
4.7
4-2
Festo P.BE-CPX-FB36-EN en 1309NH English
4. Diagnostics
4.1
Summary of diagnostics options
The CPX terminal provides comprehensive and user-friendly
options for diagnostics and error handling. The following options
are available, depending on the configuration:
Diagnostics
option
Brief description
Benefits
Detailed description
LED display
The LEDs show directly
configuration errors, hardware
errors, bus errors, etc.
Fast “On-the-spot” recognition
of errors
Section 4.2
Status bits
Internal inputs that supply
coded common diagnostic
messages.
Fast access to error messages,
irrespective of the module and
master.
Section 4.3 and
CPX system
description
I/O
diagnostics
interface
The I/O diagnostic interface is
a bus-independent diagnostic
interface at I/O level which
permits access to internal data
of the CPX terminal (16 inputs
and 16 outputs).
Detailed error detection
irrespective of the fieldbus
used.
Section 4.4 and
CPX system
description
Diagnostics via Access to all system data of
EtherNet/IP
the CPX terminal via the
fieldbus.
Detailed module-related and
channel-related error detection
as well as access to the
diagnostic memory in the
online mode of the
programming/configuration
software and in the PLC user
program.
Appendix B
(EtherNet/IP
Objects)
Diagnostics via Operator unit CPX-MMI for
the operator
convenient and menu-driven
unit
display of diagnostic
information.
Fast “On-site” error detection
Operator unit
description
Tab. 4/1:
Diagnostics options
Note
Observe that the diagnostic information displayed depends on the parameterisation of the CPX terminal.
Festo P.BE-CPX-FB36-EN en 1309NH English
4-3
4. Diagnostics
4.2
Diagnostics via LEDs
LEDs for the diagnostics of the CPX terminal are available on
the bus node as well as on the individual modules.
The meaning of the LEDs on the electric modules can be
found in the description for the relevant module.
LEDs at the bus node CPX-FB36
The LEDs on the cover indicate the operating status of the
CPX bus node.
1 CPX-specific LEDs
PS: Power system
PL: Power Load
SF: System Failure
MS
PS
NS
PL
TP1
SF
TP2
M
MS
PS
NS
PL
TP1
SF
TP2
M
1
M: Modifiy
2 Bus status LEDs
MS: Module Status
NS: Network Status
2
TPx:Link/Traffic 1/2
Fig. 4/1: LEDs on the CPX bus node
4-4
Festo P.BE-CPX-FB36-EN en 1309NH English
4. Diagnostics
The LEDs are shown in their various states as follows:
lit;
flashing;
off;
Normal operating status
In normal operating status the following LEDs illuminate
green. The SF LED does not illuminate. The M-LED only illuminates with the setting “System start with stored parameterisation and stored CPX expansion” ( function number 4402).
LED display
MS
PS
NS
PL
TP1
SF
TP2
M
Operating
status
The following LEDs illuminate green:
– PS
– PL
– MS
– NS
– TP1/2 1)
The SF LED does not illuminate:
– SF
M-LED 2)
Standard
1) Steady light: Ready for data transmission
Flashing: Data transmission ongoing
2) Only illuminates when starting with saved parameters
Tab. 4/2:
Festo P.BE-CPX-FB36-EN en 1309NH English
Normal operating status
4-5
4. Diagnostics
4.2.1
CPX-specific LEDs
PS (power system) – power sensor/logic supply
LED (green)
Sequence
Status
Significance/error handling
ON
No error. Operating
voltage/sensor supply
applied
–
Operating voltage/sensor
supply outside the
tolerance range
Eliminate undervoltage
Internal fuse for the
operating voltage/sensor
supply has responded
1. Eliminate short circuit/overload on
module side.
2. Dependent on the parameterisation
of the module (module
parameter)1):
• The sensor supply voltage will be
switched on again automatically
after the short circuit has been
eliminated (factory setting)
• Power Off/On is necessary
Operating voltage/sensor
supply is not applied1)
Check the operating voltage
connection of the electronics
OFF
LED
illuminated
ON
OFF
LED flashes
ON
OFF
ON
OFF
LED not
illuminated
1) The short-circuit, overload and undervoltage diagnostic messages (SCS/SCO/SCV, UOUT/VAL) for
the complete CPX terminal can be suppressed using the “Monitoring” system parameter (function
no. 4401).
Monitoring that is set separately for each module ( parameter “Monitoring CPX module”) is not
affected by this system parameter.
Tab. 4/3:
4-6
LED display PS (Power System)
Festo P.BE-CPX-FB36-EN en 1309NH English
4. Diagnostics
PL (power load) – power load supply (outputs/valves)
LED (green)
Sequence
Status
Significance/error handling
ON
No error. Load voltage
applied
None
Load voltage at the system
supply or additional power
supply outside the
tolerance range1)
Eliminate undervoltage
OFF
LED
illuminated
ON
OFF
LED flashes
1) The short-circuit, overload and undervoltage diagnostic messages (SCS/SCO/SCV, UOUT/VAL) for
the complete CPX terminal can be suppressed using the “Monitoring” system parameter (function
no. 4401).
Monitoring that is set separately for each module ( parameter “Monitoring CPX module”) is not
affected by this system parameter.
Tab. 4/4:
LED display PL (Power load voltage)
SF (system failure) – system fault
LED (red)
Sequence1)
Status
Significance/error handling
ON
No error.
–
Simple error/information
(error class 1)
Description of error numbers in the
Error
(error class 2)
Description of error numbers in the
OFF
LED not
illuminated
ON
OFF
CPX system description
LED flashes
ON
OFF
CPX system description
LED flashes
1) The System Failure LED flashes dependent on the applicable error class.
Error class 1 (minor error):
1 * flash, pause time
Error class 2 (error):
2 * flashes, pause time
Error class 3 (severe error):
3 * flashes, pause time
Tab. 4/5:
LED display SF (system error) - Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
4-7
4. Diagnostics
SF (system failure) – system fault
LED (red)
Sequence1)
Status
Significance/error handling
ON
Severe error
(error class 3)
Description of error numbers in the
OFF
CPX system description
LED flashes
1) The System Failure LED flashes dependent on the applicable error class.
Error class 1 (minor error):
1 * flash, pause time
Error class 2 (error):
2 * flashes, pause time
Error class 3 (severe error):
3 * flashes, pause time
Tab. 4/6:
LED display SF (system error) - Part 2
M (modify) – parameterisation modified or forcing active
LED (yellow)
Sequence
Status
Significance/error handling
ON
System start with standard
parametrisation (factory
setting) and current CPX
expansion set; external
parameterisation is
possible (presetting)
None
System start with saved
parametrisation and saved
CPX expansion has been
set;
Parameters and CPX
expansion are saved
remanently; external
parameterisation is
blocked 1)
Caution when replacing CPX valve
terminals with saved parametrisation.
With these CPX valve terminals,
parametrisation is not carried out
automatically by the higher-order
PLC/IPC when the terminal is
replaced. In these cases, check which
settings are required before the
replacement and make these settings
if necessary.
OFF
LED not
illuminated
ON
OFF
LED
illuminated
1) The display of the Force function (LED flashing) has precedence over the display of the setting for
system start (LED illuminated).
Tab. 4/7:
4-8
LED display M (Modify) - Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
4. Diagnostics
M (modify) – parameterisation modified or forcing active
LED (yellow)
Sequence
Status
Significance/error handling
ON
– Force is active 1)
– The force function is enabled
( system parameter force mode;
function no. 4402).
– Restart CPX-FB36 (Power OFF/ON),
( section 1.3.4)
OFF
LED flashes
– Network settings have
been modified
1) The display of the Force function (LED flashing) has precedence over the display of the setting for
system start (LED illuminated).
Tab. 4/8:
4.2.2
LED display M (Modify) - Part 2
Network-specific LEDs
Connection/data traffic (Link/Traffic)
LED TP1/2
Sequence
Status
Error handling
ON
OFF
No network connection /
network cable not connected
• Check network connection
ON
Network connection OK (Link)
–
Data traffic (traffic)
Flashing frequency is
dependent on the traffic.
–
Does not
illuminate
OFF
Illuminates
green
ON
OFF
Flashes green
Tab. 4/9:
LED display TPx (Link/Traffic)
Festo P.BE-CPX-FB36-EN en 1309NH English
4-9
4. Diagnostics
4.2.3
Protocol-specific LEDs
EtherNet/IP protocol
Module status when using the EtherNet/IP protocol
LED MS
Does not
illuminate
Sequence
Status
Significance/error handling
ON
Logic supply for bus interface
not applied
• Check logic supply
OFF
ON
Operating status normal
None
CPX terminal must be placed in
operation as the configuration
is missing, incomplete or
incorrect.
• Carry out, complete or correct
Error can be rectified
• Complete or correct the
OFF
Illuminates
green
ON
OFF
Flashes green
ON
the configuration
configuration
OFF
Flashes red
ON
Error cannot be rectified
OFF
as other LEDs and, if
necessary, request service
Illuminates red
ON
• Check CPX expansion as well
CPX terminal is in self-test
None
OFF
Flashes
red-green
Tab. 4/10: LED display MS (module status) for EtherNet/IP protocol
Network status when using the EtherNet/IP protocol
LED NS
Does not
illuminate
Sequence
Status
Significance/error handling
ON
The CPX terminal is offline
• Check network connection
OFF
Tab. 4/11: LED display NS (network status) for EtherNet/IP protocol - Part 1
4-10
Festo P.BE-CPX-FB36-EN en 1309NH English
4. Diagnostics
Network status when using the EtherNet/IP protocol
LED NS
Sequence
Status
Significance/error handling
ON
CPX terminal is online and has
received an IP address, but the
CPX terminal does not have a
configured connection.
• Check configuration; it is
The CPX terminal is online and
has a connection to the
fieldbus
None (normal operating status)
One or more “I/O connections”
are in the time-out status
• Check the physical
Communication has failed.
– Non-permitted IP address
set and already used in the
network
• Correct IP address
CPX terminal is in self-test
None
OFF
Flashes green
ON
OFF
Illuminates
green
ON
OFF
possible that the CPX
terminal is not assigned to a
master/scanner or
connection to the
master/scanner (EtherNet
cable).
Flashes red
ON
OFF
Illuminates red
ON
OFF
Flashes
red/green
Tab. 4/12: LED display NS (network status) for EtherNet/IP protocol - Part 2
Modbus/TCP protocol
Module status when using the Modbus/TCP protocol
LED MS
Is off
Sequence
Status
Significance/error handling
ON
Not ready for Modbus connections
–
OFF
ON
Ready for Modbus connections
–
OFF
Illuminates
green
Tab. 4/13: LED display MS (module status) for Modbus/TCP protocol - Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
4-11
4. Diagnostics
Network status when using the Modbus/TCP protocol
LED NS
Sequence
Status
Significance/error handling
ON
No Modbus connection active
–
At least one Modbus
connection active.
–
OFF
Is off
ON
OFF
Illuminates
green
Tab. 4/14: LED display MS (module status) for Modbus/TCP protocol - Part 2
4.3
Diagnostics via status bits
Status bits are internal inputs (1 input byte), which serve to
display common diagnostic messages (global error messages).
Note
If status bits are to be transmitted via a “Polled” or
“Change of state” connection, you must set the DIL
switches on the bus node accordingly ( Tab. 1/2).
If all status bits supply logic 0, no error will be reported. The
following table shows the diagnostic information when there
is a 1-signal:
Bit
Diagnostic information
with logic 1
Description
0
Error at valve
Module type in which an
error has occurred
1
Error at output
2
Error at input
Tab. 4/15: Overview of status bits - Part 1
4-12
Festo P.BE-CPX-FB36-EN en 1309NH English
4. Diagnostics
Bit
Diagnostic information
with logic 1
Description
3
Error at analogue
module/technology module
Module type in which an
error has occurred
4
Undervoltage
Error type
5
Short circuit/overload
6
wire break
7
Other error
Tab. 4/16: Overview of status bits - Part 2
If various errors occur simultaneously on different types of
modules, these errors cannot be assigned via the status bits.
Errors may be uniquely determined through the I/O diagnostics interface or diagnostics via EtherNet/IP access.
Further instructions on the function and content of the status
bits can be found in the CPX system description.
4.4
Diagnostics via I/O diagnostic interface
For the bus node CPX-FB36, access to the EtherNet/IP Objects through Explicit Message programming is in principle
more appropriate than the use of the I/O diagnostic interface
( section C.1).
Detailed diagnostic information can be accessed via the I/O
diagnostic interface. You can ascertain exactly, for example,
on which module and on which channel an error has occurred. System diagnostics are retrieved by means of 16 input bits and 16 output bits, through which all diagnostics
data can be read.
Festo P.BE-CPX-FB36-EN en 1309NH English
4-13
4. Diagnostics
Note
To use the I/O diagnostics interface, it must be activated via
DIL switches on the bus node ( Tab. 1/2).
If the I/O diagnostic interface is active, it will occupy the first
16 inputs and outputs in the address range ( Tab. B/10).
Information on the I/O diagnostics interface (diagnostic information, function numbers) CPX system description.
Overview of diagnostic data
Diagnostic data
Contents / description
Global diagnostic data
– General overview of errors
Module diagnostics data
– Detail diagnostics per module
Status of diagnostic
memory
– Number of entries in the diagnostic
memory
– Operating mode
Diagnostic memory data
– Long-term memory
– Detail diagnostics + relative time
stamp per error event
Tab. 4/17: Diagnostic data
4-14
Festo P.BE-CPX-FB36-EN en 1309NH English
4. Diagnostics
4.5
Diagnostics via EtherNet/IP
The CPX system enables diagnostics via the EtherNet/IP protocol. The following diagnostics options are supported here:
–
Explicit Messaging via EtherNet/IP Master
–
Diagnostics via user program. The I/O diagnostic interface can also be read out here.
Overview of diagnostic data with Explicit Messaging
The following EtherCat/IP Objects offer detailed diagnostic
information:
Object
classes
Name
Diagnostic data
101d
General Module Parameter
Object
– Faulty channel type
– Number of the faulty channel
– Module error number
133d
Status and Diagnostic Object
– Number of the module in which an error has
occurred
– Diagnostic status (specifies whether there are
diagnostic data).
– System error number
134d
Diagnostic Trace Object
– Long-term memory
(max. 40 entries)
– Detail diagnostics + relative time stamp per error
event
135d
Diagnostic Trace Status Object
– Number of entries in the diagnostic memory
– Trace status
Tab. 4/18: Diagnostic data with Explicit Messaging
Festo P.BE-CPX-FB36-EN en 1309NH English
4-15
4. Diagnostics
Possible sequence of diagnostics
Possible sequence of diagnostics
Diagnostic data
Object which
supplies the
diagnostic data
1. Check to see if there are diagnostic data
available
Diagnostic status
Status and Diagnostic
Object (133d)
2. Ascertain the number of the module in which
an error has occurred
Number of the module
Status and Diagnostic
Object (133d)
3. Ascertain relevant module diagnostic data
Error number, channel
type and number of
the faulty channel
General Parameter
Object Module (101d)
Tab. 4/19:
4.6
Possible sequence of diagnostics
Diagnostics via Modbus TCP
The CPX system enables diagnostics via the Modbus/TCP
protocol.
4-16
–
Diagnostics is implemented via the CPX status register
( description P.BE.CPX-FEC-..., chapter 6.2.2)
–
CPX diagnostic memory and I/O diagnostic interface
( description P.BE.CPX-FEC-..., chapter 6.2.4)
Festo P.BE-CPX-FB36-EN en 1309NH English
4. Diagnostics
4.7
Error handling
The behaviour of the CPX terminal in the event of the following malfunctions depends on the configured behaviour of the
master module and on the parameterised Fail Safe setting:
–
Telegram failure
–
Stopping of the master
The settings under Idle Mode apply here
–
Interruption of the bus line.
Depending on the parameterisation, the outputs (valves and
electric outputs) will be switched off (factory setting),
switched on or retain their status ( CPX system description).
Warning
• Ensure that valves and outputs are put into a safe status
if the stated malfunctions occur.
An incorrect status of the valves and outputs can lead to
dangerous situations!
Note
Please observe the following if the outputs are reset in the
event of a PLC stop or fieldbus interruption or malfunction:
– Monostable valves move to the basic position
– Double-solenoid valves remain in the current position
– Mid-position valves go into mid-position (pressurized,
exhausted or closed, depending on valve type).
Festo P.BE-CPX-FB36-EN en 1309NH English
4-17
4. Diagnostics
4-18
Festo P.BE-CPX-FB36-EN en 1309NH English
Technical appendix
Appendix A
Technical appendix
Festo P.BE-CPX-FB36-EN en 1309NH English
A-1
A. Technical appendix
Table of contents
A.
Technical appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-1
A.1
Technical data, bus node CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-3
A-2
Festo P.BE-CPX-FB36-EN en 1309NH English
A. Technical appendix
A.1
Technical data, bus node CPX-FB36
General
General technical data
CPX system description P.BE-CPX-SYS-...
Protection class to EN 60529
IP65 / IP67
CPX-FB36 completely mounted, plug connector according
to accessories, plugged in or equipped with protective
cap.
Protection against electric shock
(Protection against direct and indirect
contact in accordance with IEC/
DIN 60204-1)
through the use of PELV circuits
(Protected Extra Low Voltage)
Intrinsic current consumption at 24 V
– from operating voltage supply for
electronics/sensors (UEL/SEN)
typ. 100 mA
Galvanic isolation
– Ethernet/IP interface
Galvanically separated
Module code (CPX-specific)
Remote I/O:
Remote Controller:
224
171
Module identifier (operator unit)
Remote I/O:
Remote Controller:
FB36 - EtherNet IP Remote-IO
FB36 - Modbus TCP Remote-IO
Tab. A/1:
Technical data – general
Communication
Transmission technology
Switched Fast Ethernet;
design 100BaseTX according to IEEE 802.3
Transmission rate
10/100 Mbit/s, full/half duplex
Festo P.BE-CPX-FB36-EN en 1309NH English
A-3
A. Technical appendix
Communication
Protocols
–
–
–
–
–
–
–
Fieldbus protocols
EtherNet/IP and Modbus TCP
– based on industrial Ethernet
– based on the Ethernet protocol (IEEE 802.3)
Network connections
2 x M12, D-coded, female, 4-pin
section 1.1.1 (detailed information)
Crossover detection
Auto-MDI/MDI-X
Maximum data field size
(Input/Output-Size)
Remote I/O operating mode: 64 bytes each for inputs and
outputs
Remote Controller operating mode: 8/16 bytes each for
inputs and outputs (dependent on the DIL switch position
section 1.2.3)
Tab. A/2:
A-4
IEEE 802.3 (Ethernet) according to RFC 894
Internet Protocol (RFC 791)
User Datagram Protocol (UDP) (RFC 768)
Transmission Control Protocol (TCP) (RFC 793)
Address Resolution Protocol (ARP) (RFC 826)
Internet Control Messaging Protocol (ICMP) (RFC 792)
Internet Group Management Protocol (IGMP) (RFC 1112
& 2236)
– HTTP
– FTP
– DHCP
Technical data - communication
Festo P.BE-CPX-FB36-EN en 1309NH English
Address assignment of the CPX terminal
Appendix B
Address assignment of the CPX terminal
Festo P.BE-CPX-FB36-EN en 1309NH English
B-1
B. Address assignment of the CPX terminal
Table of contents
B.
Address assignment of the CPX terminal . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-1
B.1
B.2
B.3
Address assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3
Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-14
Address assignment after extension/conversion . . . . . . . . . . . . . . . . . . . . . . B-22
B-2
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
B.1
Address assignment
Note
The address space of a CPX terminal in the EtherNet/IP
network is limited.
The CPX bus node for EtherNet/IP provides the CPX terminal with an address space of up to 64 bytes for inputs (I)
and 64 bytes for outputs (O).
Each module of the CPX terminal occupies a certain number of I/O bits, I/O bytes or words in the context of module
communication.
The number of occupied I/O bytes (of the respective module) can be found in the following tables (Tab. B/1 ...
Tab. B/7).
Certain functions, such as the I/O diagnostics interface
(STI), also reduce the number of available I/O bytes (in
favour of status or diagnostic functions).
Take account of this fact for the planning of your CPX terminal.
Determine the number of assigned inputs and outputs prior
to commissioning or configuring the CPX terminal. Tab. B/8
and Tab. B/9 provide help with this.
Use the configuration documents, the operator unit (CPXMMI) or the Festo Maintenance Tool (CPX-FMT) to determine
address assignment or terminal configuration.
In the operator unit display, the individual modules of the CPX
terminal are displayed with the respective module identifiers.
Using the module identifier and the following tables, you can
determine the module type and, with it, the number of inputs
and outputs occupied by the module.
Festo P.BE-CPX-FB36-EN en 1309NH English
B-3
B. Address assignment of the CPX terminal
Module identifiers
Each module, including the bus node, has its own identifier,
the so-called module identifier. It serves to determine and
localise the module type, for example as part of configuration.
Apply the module identifiers – from left to right, corresponding to the physical order as installed in the CPX terminal – in
your configuration program (e.g. RSLogix).
In graphically oriented configuration programs, the module
identifiers are typically found in a separate listing of all available hardware modules or network participants (field
devices), e.g. in a module directory or module catalogue.
Electric modules
Tab. B/1 ... Tab. B/3 provide an overview of the assigned address spaces of different electrical modules and of the bus
node in the Remote I/O operating mode.
Tab. B/4 shows the assigned address space of the bus node
in the Remote Controller operating mode.
The address assignment within the individual CPX I/O
modules can be found in the description for the I/O module
(P.BE-CPX-EA-...).
Details on the CP interface can be found in the description for
the CP interface (P.BE-CPX-CP-...).
B-4
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
Electric modules
Module
type
Module
identifier1)
Designation
Allocated address
space
Inputs
Outputs
Bus node for EtherNet/IP
in Remote I/O operating mode2)
without diagnostic access
CPX-FB36
FB36-RIO...
–
–
Bus node for EtherNet/IP
in Remote I/O operating mode2)
with status bits [Status]
CPX-FB36
FB36-RIO...
2 bytes/
8 (16) E3)
(8 bit used)
–
Bus node for EtherNet/IP
in Remote I/O operating mode2)
with I/O diagnostic interface
[System Table Interface, STI]
CPX-FB36
FB36-RIO...
2 bytes/16I
2 bytes/
16 O
Digital 4-off input module
CPX-4DE
4DI
1 byte/4 (8)
I3)
–
Digital 8-off input module
CPX-8DE
8DI
1 byte/8 I
–
Digital 8-off input module with
channel diagnostics
CPX-8DE-D
8DI-D
1 byte/8 I
–
Digital 8-input module, n-switching:
CPX-8NDE
8NDI
1 byte/8 I
–
Digital 16-off input module
CPX-16DE
16DI
2 bytes/16 I
–
Digital 16-off input module with
channel diagnostics
CPXM-16DE-D
16DI-D
2 bytes/16 I
–
Digital 16-off input module with
terminal strip
CPX-L-16DE16-KL-3POL
L-16DI-PI
2 bytes/16 I
–
1) Module identifier in the operator unit or in the hardware configuration of the programming
software
2) Number of occupied I/O bytes in the Remote Controller operating mode: Tab. B/4
3) Diagnostics mode status bits assigned 2 bytes of address space (8 I or 8 bits remain unused);
4-off modules (CPX-4DE and CPX-4DA) occupy 8 I or 8 O, or 1 byte of address space (4 I/O or 4 bits
of address space remain unused)
Tab. B/1:
Address assignment of electric CPX modules (overview; bus node in Remote
I/O operating mode) – Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
B-5
B. Address assignment of the CPX terminal
Electric modules
Module type Module
identifier1)
Designation
Allocated address
space
Inputs
Outputs
Digital 4-off output module
CPX-4DA
4DO
–
1 byte/
4 (8) O2)
Digital 8-off output module
CPX-8DA
8DO
–
1 byte/
8O
Digital 8-output high current output
module
CPX-8DA-H
8DO-H
–
1 byte/
8O
Digital multi I/O module with terminal
strip
CPX-L-8DE8DA-16-KL3POL
L-8DI8DO-PI
1 byte/
8I
1 byte/
8O
Digital multi I/O module
CPX-8DE-8DA
8DI/8DO
1 byte/
8I
1 byte/
8O
Analogue 2-off input module
CPX-2AE-U-I
2AI
2 words/
32 I
–
Analogue 4-off input module
CPX-4AE-U-I
4AI
4 words/
64 I
–
Analogue 4-off input module
CPX-4AE-I
4AI-I
4 words/
64 I
–
Analogue 4-off input module
(temperature module for RTD sensors)
CPX-4AE-T
4AI-T
2 words
or
4 words/
32/64 I3)
–
Analogue 4-off input module
(temperature module for TC sensors)
CPX-4AE-TC
4AI-TC
4 words/
64 I
–
Analogue 4-off input module
(pressure sensor module 0 ... 10 bar)
CPX-4AEP-B10
4AI-P-B10
4 words/
64 I
–
1) Module identifier in the operator unit or in the hardware configuration of the programming
software
2) Diagnostics mode status bits assigned 2 bytes of address space (8 I or 8 bits remain unused);
4-off modules (CPX-4DE and CPX-4DA) occupy 8 I or 8 O, or 1 byte of address space (4 I/O or 4 bits
of address space remain unused)
3) Number of inputs switchable between 2 and 4
Tab. B/2:
B-6
Address assignment of electric CPX modules (overview; bus node in Remote
I/O operating mode) – Part 2
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
Electric modules
Module type Module
identifier1)
Designation
Allocated address
space
Inputs
Outputs
Analogue 4-off input module
(pressure sensor module -1 ... 1 bar)
CPX-4AE-P-B2
4AI-P-B2
4 words/
64 I
–
Analogue 2-off output module
CPX-2AA-U-I
2AO
–
2 words/
32 O
CP interface
CPX-CP-4-FB
CPI
max.
8 words/
128 I2)
max.
8 words/
128 O2)
CTEL master module
32 byte I and 32 byte O
CPXCTEL-4-M125POL
CTEL
max.
16 words/
256 I2)
max.
16 words/
256 O2)
1) Module identifier in the operator unit or in the hardware configuration of the programming
software
2) Address space assignment depends on the string allocation
Tab. B/3:
Address assignment of electric CPX modules (overview; bus node in Remote
I/O operating mode) – Part 3
Configuration
of the bus node
The identification of the bus node and the diagnostics mode
are configured in the Remote I/O operating mode
( Tab. B/1 ... Tab. B/3).
Only the identification of the bus node is configured in the
Remote Controller operating mode ( Tab. B/4).
Electric modules
Module type Module
identifier1)
Designation
Bus node for EtherNet/IP
in Remote Controller operating mode
CPX-FB36
FB36-RC...
Allocated address
space
Inputs
Outputs
8 bytes/
64 I
8 bytes/
64 O
1) Module identifier in the operator unit or in the hardware configuration of the programming
software
Tab. B/4:
Address assignment of the bus node in the Remote Controller operating
mode
Festo P.BE-CPX-FB36-EN en 1309NH English
B-7
B. Address assignment of the CPX terminal
Pneumatic interfaces and pneumatic modules
Tab. B/5 ... Tab. B/7 provide an overview of the assigned address spaces of various pneumatic interfaces and modules.
Configuration
The valves are configured according to the pneumatic interof the pneumatics (valves) face used:
–
Valves of type 03 (Midi/Maxi), type 12 (CPA) and
type 44/45 (VTSA/VTSA-F or ISO):
For expansion of the valve side, only one configuration
process is required for the pneumatics interface. In the
pneumatic interface, the number of valve coils is set using
a DIL switch.
–
Valves of type 32 and 33 (MPA, MPA-F, MPA-L and MPA-P
or VPPM pneumatic modules):
From a technical point of view, the individual MPA pneumatic modules each represent an electric module for controlling the attached valves.
A configuration process is required for each pneumatic
module of type MPA:
– Pneumatic modules of type MPA1 each occupy 1 byte of
address space or 8 outputs regardless of how many
valves are attached to the pneumatic module.
– Pneumatic modules of type MPA2 each occupy 1 byte of
address space or 8 outputs, but only 4 bits are used.
- Pneumatic modules of type MPA-P each occupy 1 word
(2 bytes) of address space or 16 inputs.
- Pneumatic modules of type VPPM each occupy 2 words
of address space or 1 word I/1 word O or 16 inputs and
16 outputs.
Pneumatic modules of type MPA-P and VPPM are analogue modules. Observe the order of the modules in addressing or I/O mapping ( Tab. B/10).
B-8
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
Additional information on the pneumatics can be found in the
corresponding pneumatics descriptions ( document overview “Descriptions of the CPX terminal” in the CPX system
description P.BE-CPX-SYS...).
The manuals for the pneumatic valve cluster (Midi/Maxi, CPA,
MPA and VTSA/VTSA-F or ISO) contain the address assignment within the pneumatic modules.
For further information about MPA pneumatic modules and
the pneumatic interfaces: description of the CPX I/O modules P.BE-CPX-EA-...).
Festo P.BE-CPX-FB36-EN en 1309NH English
B-9
B. Address assignment of the CPX terminal
CPX pneumatic interfaces1)
Type
Module
identifier1) 4)
Allocated address
space
Inputs
Outputs
Pneumatics interface for MPA-S
valves (type 32)
VMPA-FB-EPL-...
–
–
–
Pneumatic interface for MPA-F
valves (type 33)
VMPAF-FB-EPL-...
–
–
–
Pneumatic interface for MPA-L
valves (type 34)2)
– 1...4 solenoid coils
– 1...8 solenoid coils
– 1...16 solenoid coils
– 1...24 solenoid coils
– 1...32 solenoid coils
VMPAL-FB-EPL-...
–
–
Pneumatic interface for VTSA or
VTSA-F pneumatics
(CPX type 44/45: 1-..-..)
with setting:3)
– 1...8 solenoid coils
– 1...16 solenoid coils
– 1...24 solenoid coils
– 1...32 solenoid coils
VABA-10S6-x1
Pneumatic interface for Midi/Maxi
valves (CPX type 03: 1-..-..)
with setting:3)
– 1...8 solenoid coils
– 1...16 solenoid coils
– 1...24 solenoid coils
– 1…32 solenoid coils (26 effective)
CPX-GP-03-4.0
Pneumatic interface for CPA valves
(CPX type 12: 1-..-..)
with setting:3)
– 1...8 solenoid coils
– 1...16 solenoid coils
– 1…24 solenoid coils (22 effective)
CPX-GP-CPA-10
CPX-GP-CPA-14
1 byte/8 O
1 byte/8 O
2 bytes/16 O
3 bytes/24 O
4 bytes/32 O
ISO plug-in or
type 44 or
type 453)
–
1 byte/8 O
2 bytes/16 O
3 bytes/24 O
4 bytes/32 O
TYPE3
–
1 byte/8 O
2 bytes/16 O
3 bytes/24 O
4 bytes/32 O
CPA10/14
–
1 byte/8 O
2 bytes/16 O
3 bytes/24 O
1) Module identifier in the operator unit or in the hardware configuration of the programming software
2) Setting with rotary switch in the pneumatic interface
3) Setting with DIL switch in the pneumatic interface
4) Display text (module identifier) dependent on the version of the operator unit
Tab. B/5:
B-10
Overview of CPX pneumatic interfaces
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
CPX pneumatic modules for
MPA-S and MPA-F
Type of
electronics
module
Module
identifier1)
MPA1 pneumatic module
(CPX type 32/33: 1-8V..)
without electrical isolation
VMPA1-FB-EMS-8
MPA1 pneumatic module
(CPX type 32/33-G: 1-8V..)
with electrical isolation
Allocated address
space
Inputs
Outputs
MPA1S
–
1 byte/
8O
VMPA1-FB-EMG-8
MPA1G
–
1 byte/
8O
MPA2 pneumatics module
(CPX type 32/33: 1-4V..)
without electrical isolation
VMPA2-FB-EMS-4
MPA2S
–
1 byte/
4 (8) O2)
MPA2 pneumatics module
(CPX type 32/33-G: 1-4V..)
with electrical isolation
VMPA2-FB-EMG-4
MPA2G
–
1 byte/
4 (8) O2)
MPA1 pneumatic module
(CPX type 32/33: 1-8V..)
with diagnostic function D2
VMPA1-FB-EMSD2-8
MPA1S-D
–
1 byte/
8O
MPA1 pneumatic module
(CPX type 32/33-G: 1-8V..)
with electrical isolation,
with diagnostic function D2
VMPA1-FB-EMGD2-8
MPA1G-D
–
1 byte/
8O
MPA2 pneumatics module
(CPX type 32/33: 1-4V..)
without electrical isolation,
with diagnostic function D2
VMPA2-FB-EMSD2-4
MPA2S-D
–
1 byte/
4 (8) O2)
MPA2 pneumatics module
(CPX type 32/33-G: 1-4V..)
with electrical isolation,
with diagnostic function D2
VMPA2-FB-EMGD2-4
MPA2G-D
–
1 byte/
4 (8) O2)
1) Module identifier in the operator unit or in the hardware configuration of the programming software
2) In principle, MPA2 modules occupy 8 O (1 byte) of address space (4 O or 4 bits remain unused)
Tab. B/6:
Overview of CPX pneumatic modules for MPA-S and MPA-F - Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
B-11
B. Address assignment of the CPX terminal
CPX pneumatic modules for
MPA-S and MPA-F
Module type
Module
identifier1)
Allocated address
space
Inputs
Outputs
VPPM proportional pressure-regulating valve (type 32)
VPPM-6TA-L-1-F...
VPPM
1 word/
16 I
1 word/
16 O
MPA−P pressure sensor module
VMPA-FB-PS-...
MPA-P
1 word/
16 I
–
1) Module identifier in the operator unit or in the hardware configuration of the programming software
Tab. B/7:
Overview of CPX pneumatic modules for MPA-S and MPA-F - Part 2
Calculating the number of inputs/outputs
Use Tab. B/8 and Tab. B/9 to calculate the number of inputs
and outputs (address assignment) of your CPX terminal.
Input/output modules and system diagnostics
Inputs
Outputs
1.
Status bits or I/O diagnostics interface1)
+ ____ I
+ ____ O
2.
Number of input modules CPX-4DE
+ __ x 8I2)
+ ____ I
3.
Number of input modules CPX-8DE, 8DE-D, -8NDE
+ __ x 8 I
+ ____ I
4.
Number of input modules CPX-(M-)16D(E),
L-16DE-…
+ __ x 16I
+ ____ I
5.
Number of output modules CPX-4DA
+ __ x 8O2)
+ ____ O
6.
Number of output modules CPX-8DA, 8DA-H
+ __ x 8 O
+ ____ O
7.
Number of multi I/O modules CPX-8DE-8DA,
L-8DE-8DA…
+ __ x 8 I/O
+ ____ I
8.
Number of analogue input modules CPX-2AE-U-I
+ __ x 32 I
+ ____ I
9.
Number of analogue input modules CPX-4AE-I,
4AE-U-I
+ __ x 64 I
+ ____ I
+ __ x 32 I/ x 64 I
+ ____ I
10. Number of analogue input modules CPX-4AE-T
Tab. B/8:
B-12
+ ____ O
Identifying the assigned address space (total of inputs and outputs) - Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
Input/output modules and system diagnostics
Inputs
11. Number of analogue input modules CPX-4AE-TC
+ __ x 64 I
+ ____ I
12. Number of analogue input modules CPX-4AE-P-…
+ __ x 64 I
+ ____ I
13. Number of analogue output modules CPX-2AA-U-I + __ x 32 O
14. Number of inputs and outputs of other modules
(e.g. CP interface, VPPM-/MPA-P pneumatic
module)
+ __ I/O
+ ____ O
+ ____ I
15. Midi/Maxi, CPA-, MPA-L and VTSA/VTSA-F pneumatic interfaces:
Number of configured valve solenoid coils (+ 8 O ... 32 O; factory
configured presets are 32 O (Midi/Maxi, VTSA/VTSA-F/MPA-L) or
24 O (CPA))
16. Number of MPA1- or MPA2 pneumatic modules
17. Sum total of inputs/outputs to be configured
Total from 1 to 16 (max. 512 I and 512 O)
Outputs
+ ____ O
+ ____ O
+ __ x 8 O2)
+ ____ O
= ____ I
= ____ O
1) Number of occupied inputs /outputs Tab. B/1
2) 4-off modules CPX-4DE and CPX-4DA as well as MPA2 pneumatic modules generally occupy 8
inputs or outputs (1 byte; available address space remains partially unused)
Tab. B/9:
Identifying the assigned address space (total of inputs and outputs) - Part 2
Festo P.BE-CPX-FB36-EN en 1309NH English
B-13
B. Address assignment of the CPX terminal
B.2
Addressing
Basic rules for addressing
–
The address assignment of the inputs does not depend on
the address assignment of the outputs.
–
Counting from left to right, addressing bytewise: Modules
with less than 8 bits occupy an 8-bit address space, but
do not use it completely.
–
The bus node counts as a module with 0 inputs and 0 outputs when the status bits and the I/O diagnostic interface
are deactivated.
–
The I/Os of different module types are assigned separately from each other.
The sequence in the following table applies:
Sequence of addressing
Description
1.
I/O diagnostics interface1)
Can be activated by DIL switch. If the interface is activated, it
will occupy the first 16 inputs and outputs in the address
range.
2.
Analogue modules
Modules with analogue inputs/outputs
3.
Technology modules
e.g. CP interface, Front End Controller CPX-FEC
4.
Digital modules
Modules with digital inputs/outputs
1) Depending on the setting, this address range can also be occupied by status bits ( Note above
and Tab. 1/2).
Tab. B/10: Sequence of addressing
B-14
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
Data formats
In RSLogix the I/Os of the bus node can be configured in SINT
or INT format.
Using the SINT format
If the SINT format is used, the data length of the Assembly
Instances corresponds to the precise byte of the current CPX
terminal configuration.
These Assembly Instances are used for the SINT format.
–
Inputs: Assembly Instance 101
–
Outputs: Assembly Instance 100
Using the INT format
If the INT format is to be used, then the size of the process
data must be a multiple of 16 bits.
If the total size of process data for the CPX terminal is not a
multiple of 16 bits, the process data will be rounded to the
nearest 16-bit limit at the end with dummy I/Os.
Two CPX modules share a 16-bit tag in RSLogix depending on
the configuration of the CPX terminal.
These Assembly Instances are used for the INT format:
–
Inputs: Assembly Instance 111
–
Outputs: Assembly Instance 110
Note
• Make sure that the two output assemblies 100 and 110
are not accessed simultaneously.
Festo P.BE-CPX-FB36-EN en 1309NH English
B-15
B. Address assignment of the CPX terminal
Configuration examples
Example 1: CPX terminal with MPA1- and MPA2 pneumatic
The following diagram shows as an example a CPX terminal
with MPA pneumatics and the following setting:
–
1
Module no.: 0
Status bits and I/O diagnostic interface deactivated
2
8DI
3
4
5
6
4DO
1
2
3
4
1 Bus node CPX-FB36
3 MPA1 pneumatic modules (8 DO each)
2 MPA pneumatic interface
4 MPA2 pneumatic modules (4 DO each)
Fig. B/1: Example terminal 1: (with MPA1- and MPA2 pneumatic)
The following table shows the address assignment for the
CPX terminal in Fig. B/1:
Module
no.
Module
Input address
Output address
0
Bus node CPX-FB36
–
–
1
Digital 8-input module CPX-8DE
I0 ... I7
–
Tab. B/11: Addressing of example terminal 1 - Part 1 ( Fig. B/1)
B-16
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
Module
no.
Module
Input address
Output address
2
Digital 4-output module CPX-4DA
–
O0 ... O71)
3
MPA1 pneumatic module (8 DO)
–
O8 ... O15
4
MPA1 pneumatic module (8 DO)
–
O16 ... A23
5
MPA2 pneumatic module (4DO)
–
O24 ... O311)
6
MPA2 pneumatic module (4DO)
–
O32 ... O391)
1) 8 bits occupied, 4 bits used.
Tab. B/12: Addressing of example terminal 1 - Part 2 ( Fig. B/1)
Festo P.BE-CPX-FB36-EN en 1309NH English
B-17
B. Address assignment of the CPX terminal
Example 2: CPX terminal with CP interface
The address assignment for this CPX terminal can be found
on the next page in Tab. B/13. The settings are:
–
Module no.:
1
0
8DI
Status bits and I/O diagnostic interface deactivated
2
3
4DO
4
8DI
5
6
8DO
1
3
2
4
5
6
1 Bus node CPX-FB36
4 Sensor
2 CPV valve terminal (16DO) on the CP
5 Cylinder
interface (string 1)
3 CP input module (16 DI)
6 CP output module (16DO) on the CP
interface (string 4)
Fig. B/2: Example terminal 2 (with CP interface)
B-18
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
Module
no.
Module
Input address
Output address
0
Bus node CPX-FB36
–
–
1
Digital 8-input module CPX-8DE
I32 ... I39
–
2
Digital 4-output module CPX-4DA
–
O128...O1351)
3
CP interface
CP-I, here: 4 byte I, 16 byte O
I0 ... I31
O0 ... A127
4
Digital multi I/O module
CPX-8DE-8DA
I40 ... I47
O136 ... A143
5
MPA1 pneumatic module (8 DO)
–
O144 ... A151
6
MPA1 pneumatic module (8 DO)
–
O152 ... A159
1) 8 bits occupied, 4 bits used
Tab. B/13: Addressing of example terminal 2 ( Fig. B/2)
Festo P.BE-CPX-FB36-EN en 1309NH English
B-19
B. Address assignment of the CPX terminal
Example 3: CPX terminal with analogue module and VTSA
pneumatic
The address assignment for this CPX terminal can be found
on the next page in Tab. B/14. The settings are:
Module no.: 0
1
8DI
–
Status bits activated and /I/O diagnostic interface deactivated
–
On the pneumatic interface set with DIL switch to
1...8 valve coils (8 DO).
2
8DI
3
4DO
4
5
8DI 8DO
1
1 Bus node CPX-FB36 (with DIL 3.2 to
6
2AO
2
3
3 VTSA pneumatics (type 44)
ON for status bits)
2 Pneumatic interface (set with DIL
switch to 1...8 valve coils)
Fig. B/3: Example terminal 3 (with analogue module and VTSA pneumatics)
B-20
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
Module
no.
Module
Input address
Output address
0
Bus node CPX-FB36 with status bits
I0 ... I151)
–
1
Digital 8-input module CPX-8DE
I16 ... I23
–
2
Digital 8-input module CPX-8DE
I24 ... I31
–
3
Digital 4-output module CPX-4DA
–
O32 ... O392)
4
Digital multi I/O module
CPX-8DE-8DA
I32 ... I39
O40 ... A47
5
Analogue 2-output module
CPX-2AA
–
O0 ... A31
6
VTSA pneumatic interface set with
DIL switch to 1 ... 8 valve coils
–
O48 ... A55
1) 16 bits occupied, 8 bits used
2) 8 bits occupied, 4 bits used
Tab. B/14: Addressing of example terminal 3 ( Fig. B/3)
Festo P.BE-CPX-FB36-EN en 1309NH English
B-21
B. Address assignment of the CPX terminal
B.3
Address assignment after extension/conversion
A special feature of the CPX terminal is its flexibility. If the
requirements placed on the machine change, the equipment
on the CPX terminal can also be modified.
Caution
If the CPX terminal is extended or converted at a later
stage, the input/output addresses may be shifted. This
applies in the following cases:
– Additional modules are inserted between existing modules.
– Existing modules are removed or replaced by other modules which have fewer or more input/output addresses.
– Interlinking blocks (VTSA) and/or pneumatic manifold
blocks (MPA-L) for monostable valves are replaced by
interlinking blocks/manifold blocks for bistable valves or
vice versa ( pneumatics description).
– Additional interlinking blocks (VTSA) and/or manifold
blocks (MPA-L) are inserted between existing ones.
– Status bits or the I/O diagnostic interface are activated/
deactivated.
B-22
Festo P.BE-CPX-FB36-EN en 1309NH English
B. Address assignment of the CPX terminal
Example terminal 3
modified
The next diagram shows with terminal 3 as an example
( Fig. B/3) the effects of modifications to the address assignment.
The following has been changed:
Module no.: 0
1
16DI
1
–
The status bits have been deactivated.
–
In the case of module no. 1 an 8-input module has been
replaced by a 16-input module.
–
The pneumatic interface has been set to 16 solenoid coils
(outputs) in order to reserve addresses for an extension
to the pneumatics.
2
8DI
3
4DO
2
1 Modified status bits deactivated
2 Modified: 8DI module replaced by
4
5
8DI 8DO
6
2AO
3
3 Modified: Pneumatic interface (set
with DIL switch to 1...16 valve coils)
16DI module
Fig. B/4: Example terminal 3 after extension/modification(compare with Fig. B/3)
Festo P.BE-CPX-FB36-EN en 1309NH English
B-23
B. Address assignment of the CPX terminal
Module
no.
Module
Input address
Output address
0
Bus node CPX-FB36 with
deactivated status bits
Dependent on DIL switch settings
( Tab. 1/2)
1
Digital 16-input module CPX-16DE
I0 ... I15
–
2
Digital 8-input module CPX-8DE
I16 ... I23
–
3
Digital 4-output module CPX-4DA
–
O32 ... O391)
4
Digital multi I/O module
CPX-8DE-8DA
I24 ... I31
O40 ... A47
5
Analogue 2-output module
CPX-2AA
–
O0 ... A31
6
VTSA pneumatic interface set with
DIL switch to 1 ... 16 valve coils
–
O48 ... A63
bold = modified module
1) 8 bits occupied, 4 bits used
Tab. B/15: Addressing of example terminal 3 after extension/modification ( Fig. B/4)
B-24
Festo P.BE-CPX-FB36-EN en 1309NH English
EtherNet/IP Objects of the CPX-FB36
Appendix C
EtherNet/IP Objects of the CPX-FB36
Festo P.BE-CPX-FB36-EN en 1309NH English
C-1
C. EtherNet/IP Objects of the CPX-FB36
Table of contents
C.
EtherNet/IP Objects of the CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C-1
C.1
C.2
Overview of Ethernet/IP objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Objects for network settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2.1
Device Level Ring Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2.2
QoS Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2.3
TCP/IP Interface Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.2.4
Ethernet Link Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Objects for the I/O connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.3.1
Assembly Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Objects for system data and diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.1
Identity Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.2
Global System Object (for operating mode Remote I/O) . . . . . . . .
C.4.3
Status and Diagnostics Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.4
Diagnostics Trace Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.5
Diagnostics Trace Status Object . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.6
General Module Parameter Object . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.7
Force parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.8
Fail Safe and Idle parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.9
Configuration Array Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.4.10 Slave Size Object (for operating mode Remote Controller) . . . . . .
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.5.1
Forcing inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C.5.2
Parameterisation with the general Module Parameter Object . . . .
C-3
C-8
C-8
C-9
C-10
C-12
C-13
C-13
C-18
C-18
C-20
C-23
C-24
C-26
C-28
C-31
C-36
C-42
C-42
C-43
C-43
C-45
C.3
C.4
C.5
C-2
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
C.1
Overview of Ethernet/IP objects
This chapter describes the representation of the CPX terminal
within the Ethernet/IP object model. Some of the information
is in English even in the documentation in other languages, so
that the original terms of the Ethernet/IP specification can be
used uniquely.
EtherNet/IP Class Services
The CPX terminal supports various services, depending on
the Object:
Service Code
Service Name
05 (05h)
Reset
01 (01h)
Get Attribute All
14 (0Eh)
Get Attribute Single
16 (10h)
Set Attribute Single
Tab. C/1:
Class services and instance services
Festo P.BE-CPX-FB36-EN en 1309NH English
C-3
C. EtherNet/IP Objects of the CPX-FB36
Ethernet/IP object classes
The following objects are supported:
Object class Instances
(dec.)
Name
Comment
1d
1
Identity object
General CIP
Objects
2d
1
Message Router Object
4d
100 ... 102,
110, 111
Assembly Object
6d
1 ... 10
Connection Manager Object
244d
1
Port Object
245d
1
TCP/IP Interface Object
246d
2
Ethernet Link Object
71d
1
Device Level Ring Object
72d
1
QoS Object
132d
1
Global System Object
133d
1
Status and Diagnosis Object
134d
1 ... 40
Diagnosis Trace Object
135d
1
Diagnosis Trace Status Object
199d
1
Configuration Array Object
108d ... 111d,
116d ... 119d,
124d ... 127d
1 ... 48
Force Parameter
112d, 113d,
120d, 121d,
128d, 129d
1 ... 48
Fail safe Parameter
Tab. C/2:
C-4
EtherNet/IPspecific Objects
CPX-specific
objects for
parameterisation and diagnostics
Overview of EtherNet/IP objects of the CPX-FB36 - Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Object
class
Instances
(dec.)
Name
Comment
114d … 115d
122d, 123d
130d, 131d
1 ... 48
Idle Parameter
CPX-specific
objects for
parameterisation
101d
1 ... 48
Generic Parameter Object
102d
1 ... 48
Discrete Input Object
103d
1 ... 48
Discrete Output Object
104d
1 ... 48
Analogue Input Object
105d
1 ... 48
Analogue Output Object
106d
1 ... 48
Function Input Object
107d
1 ... 48
Function Output Object
108d
1 ... 48
Discrete Input Force State Object
109d
1 ... 48
Discrete Input Force Mode Object
110d
1 ... 48
Discrete Output Force State Object
111d
1 ... 48
Discrete Output Force Mode Object
112d
1 ... 48
Discrete Output Fail safe State Object4)
113d
1 ... 48
Discrete Output Fail safe Mode Object
114d
1 ... 48
Discrete Output Idle State Object
115d
1 ... 48
Discrete Output Idle Mode Object
Tab. C/3:
CPX-specific
objects for
parameterisation of the inputs and outputs
CPX-specific
objects for
parameterisation of Force,
Fail safe and
Idle mode
Overview of EtherNet/IP objects of the CPX-FB36 - Part 2
Festo P.BE-CPX-FB36-EN en 1309NH English
C-5
C. EtherNet/IP Objects of the CPX-FB36
Object
class
Instances
(dec.)
Name
Comment
116d
1 ... 48
Analogue Input Force State Object
117d
1 ... 48
Analogue Input Force Mode Object
118d
1 ... 48
Analogue Output Force State Object
119d
1 ... 48
Analogue Output Force Mode Object
CPX-specific
objects for
parameterisation of Force,
Fail safe and
Idle mode
120d
1 ... 48
Analog Output Fail safe State Object
121d
1 ... 48
Analog Output Fail safe Mode Object
122d
1 ... 48
Analogue Output Idle State Object
123d
1 ... 48
Analogue Output Idle Mode Object
124d
1 ... 48
Function Input Force State Object
125d
1 ... 48
Function Input Force Mode Object
126d
1 ... 48
Function Output Force State Object
127d
1 ... 48
Function Output Force Mode Object
128d
1 ... 48
Function Output Fail safe State Object
129d
1 ... 48
Function Output Fail safe Mode Object
130d
1 ... 48
Function Output Idle State Object
131d
1 ... 48
Function Output Idle Mode Object
Tab. C/4:
Overview of EtherNet/IP objects of the CPX-FB36 - Part 3
Object
class
Instances
(dec.)
Name
Comment
136d
1
Slave Size Object
CPX-specific
Object
Tab. C/5:
C-6
Special EtherNet/IP object for the remote controller operating mode
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Counting mode
Applicable for the module-oriented objects in Tab. C/3 ...
Tab. C/4 is: Instance number = Module number + 1
Explanation:
– counting of the modules begins with 0 for the bus node
– counting of the instances begins with 1 for the bus node.
An overview of the available data and parameters, their function numbers as well as their assignment to the objects can
be found in the following sections.
A description of the functions of the individual parameters
and data as well as basic information on parametrizing can be
found in the CPX system manual.
Festo P.BE-CPX-FB36-EN en 1309NH English
C-7
C. EtherNet/IP Objects of the CPX-FB36
C.2
C.2.1
Objects for network settings
Device Level Ring Object
Object class:
71d
Instances:
1
Attr.
No.
Access
Description
Type
1
Get
Network Topology:
0: Linear
1: Ring
USINT
2
Get
Network Status:
0: Normal
1: Ring Fault
2: Unexpected loop detected
3: Partial network fault
4: Rapid fault / restore cycle
USINT
10
Get
Active Supervisor Address:
– Supervisor IP address
– Supervisor MAC address
STRUCT of
UDINT
ARRAY of
6 USINT
12
Get
Capability Flags
Bit 0:
Announce-based
RingNode1)
Bit 1:
Beacon-based
RingNode1)
Bit 2...4: reserved. Shall be set to
zero
Bit 5:
Supervisor Capable
Bit 6...31: reserved. Shall be set to
zero
Bits 0 and 1 are mutually exclusive
DWORD
1) EtherNet/IP specification, chapter 9-5.4
Tab. C/6:
C-8
Network settings with Device Level Ring Object
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
C.2.2
QoS Object
Object class:
72d
Instances:
1
IEEE 802.1D/Q describes Ethernet Frames that contain an
additional 32-bit header. This header contains, among other
things, a VLAN ID and a prioritisation field.
Attr.
No.
Access
Description
Type
1
Set
802.1Q Tag enable
Enables or disables sending 802.1Q
frames on CIP and IEEE 1588 messages
default = 0
USINT
4
Set
DSCP Urgent1)
default = 55
USINT
5
Set
DSCP Scheduled1)
default = 47
USINT
6
Set
DSCP High1)
default = 43
USINT
7
Set
DSCP Low
default = 31
USINT
8
Set
DSCP Explicit
default = 27
USINT
1) These attributes describe the IP header priority of various EtherNet/IP Frames:
Urgent = CIP Motion
Scheduled = CIP Safety
High = I/O
Tab. C/7:
Festo P.BE-CPX-FB36-EN en 1309NH English
Network settings with QoS Object
C-9
C. EtherNet/IP Objects of the CPX-FB36
C.2.3
TCP/IP Interface Object
Object class:
245d
Instances:
1
With the TCP/IP Interface Object you can configure the network settings of a device.
Attr.
No.
Access
Description
Type
1
Get
Status:
Interface Status
DWORD
2
Get
Configuration Capability
DWORD
3
Get/Set
Configuration Control
DWORD
4
Get
Physical Link Object
Path Size
Path
STRUCT of
UINT +
Padded
EPATH
5
Get/Set
Interface Configuration:
– IP Address
– Network Mask
– Gateway Address
– Name Server
– Name Server 2
– Domain Name
STRUCT of
UDINT
UDINT
UDINT
UDINT
UDINT
String
6
Get/Set
HostName
String
8
Get/Set
TTL Value
for EtherNet/IP multicast packets
USINT
9
Get/Set
Mcast config:
IP multicast address configuration
– Alloc Control
– Reserved
– Num Mcast
– Mcast Start Addr
STRUCT of
Tab. C/8:
C-10
USINT
USINT
UINT
UDINT
Network settings with TCP/IP Interface Object Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Attr.
No.
Access
Description
Type
10
Set
SelectAcd
BOOL
11
Get/Set
LastConflictDetected:
– ACDactivity
– RemoteMAC
STRUCT of
USINT
ARRAY of
6 USINT
ARRAY of
28 USINT
– ArpPDU
12
Set
Tab. C/9:
Festo P.BE-CPX-FB36-EN en 1309NH English
QuickConnect
BOOL
Network settings with TCP/IP Interface Object Part 2
C-11
C. EtherNet/IP Objects of the CPX-FB36
C.2.4 Ethernet Link Object
Object class:
246d
Instances:
2
One instance per Ethernet port.
Instance 1 corresponds to Ethernet Port X1.
Instance 2 corresponds to Ethernet Port X2.
Via the Ethernet Link Object you can undertake extended
settings for the Ethernet connection ( section 1.3.5):
Attr.
No.
Access
Description
Type
1
Get
Interface Speed
UDINT
2
Get
Interface Status Flags
DWORD
3
Get
Physical MAC address
ARRAY of
6 USINT
6
Get/Set
Interface Control
– Control Bits
– Forced Interface Speed
STRUCT of
WORD,
UINT
Tab. C/10: Network settings with Ethernet Link Object
Examples:
To set Port X1 to 100 Mbit/s/Full-Duplex (Auto-Negotiation
off), the following values must be written in Attribute 6, Instance 1: [0002h][0064h].
To activate Auto-Negotiation, the following values must be
written in Attribute 6, Instance 1: [0001h][0000h].
Further details can be found in the EtherNet/IP specification.
C-12
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
C.3
C.3.1
Objects for the I/O connection
Assembly Object
Object class:
4d
Instances:
5
The Assembly Object bundles together Attributes of various
Objects, so that the exchange of data with the Objects can
take place via one connection.
The following Object instances are saved in the Assembly
Object:
Instance
Description
100
Output data
101
Input data
102
Configuration data
110
Output data with padding (output data in INT
format)
111
Input data with padding (input data in INT format)
Tab. C/11: Instances for Assembly Object
Festo P.BE-CPX-FB36-EN en 1309NH English
C-13
C. EtherNet/IP Objects of the CPX-FB36
Remote I/O operating mode
Each data range begins on the LSB (least significant bit) of a
word.
Instance 101: Input
Within the instance “Input Assembly Object” all inputs of the
CPX system are transmitted cyclically over the network by
means of a communication connection.
The following sequence applies during transmission:
Sequence of transmission
1.
I/O diagnostic interface, if active (16-bit orientated)
2.
Object instances of the analogue channels (16-bit orientated)
3.
Instances of the technology modules (16 or 8-bit orientated)
4.
Object instances of the digital inputs (8-bit orientated)
Tab. C/12: Sequence of transmission for Instance 101
Instance 101 (input) possesses the following member list in
the operating mode Remote I/O:
Obj.
Instances
Attributes
(= Module no. + 1) (channel)
Entries in member list
Type
102
1 ... 48
1 ... 64
Digital Data
BOOL
104
1 ... 48
1 ... 32
Analogue channel data
WORD
106
1 ... 48
1 ... 64 /
65 ... 96
Technology module
BYTE/WO
RD
133
1
0/1
I/O diagnostic interface data, if
active
WORD
Tab. C/13: Instance 101 member list in the Remote I/O operating mode
C-14
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Instance 100: Output
Within the Instance Output in the Assembly Object all outputs
of the CPX system will be transmitted over the network by
means of one communication connection. The following sequence applies during transmission:
Sequence of transmission
1.
I/O diagnostic interface/status byte, if active (16-bit
orientated)
2.
Object instances of the analogue channels (16-bit orientated)
3.
Instances of the technology modules (16 or 8-bit orientated)
4.
Object instances of the digital outputs (8-bit orientated)
Tab. C/14: Sequence of transmission for Instance 100
Instance 100 (Output) possesses the following member list in
the operating mode Remote I/O:
Obj.
Instances
Attributes
(= Module no. + 1) (channel)
Entries in member list
Type
103
1 ... 48
1 ... 64
Digital Data
BOOL
105
1 ... 48
1 ... 32
Analogue channel data
WORD
107
1 ... 48
1 ... 64 /
65 ... 96
Technology module
BYTE/
WORD
133
1 ... 48
0/1
I/O diagnostic interface data, if
active
WORD
Tab. C/15: Instance 100 member list in the Remote I/O operating mode
Festo P.BE-CPX-FB36-EN en 1309NH English
C-15
C. EtherNet/IP Objects of the CPX-FB36
Instance 102: Configuration
Instance 102 (Configuration) possesses the following member
list:
Obj.
Number
of
Entries in member list
Type
199
1
Configuration Array data
ARRAY
Tab. C/16: Instance 102 member list
The I/O Objects 102 ... 107 also possess the following attributes:
Attribute
Entries
Type
100
Number of data of the
module in BYTE or
WORD
BYTE
101
Data type:
– D1h: BYTE
– D2h: WORD
BYTE
102
All data values
ARRAY
Tab. C/17: Attributes of I/O Objects 102 ... 107
C-16
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Remote Controller operating mode
Each data range begins on the LSB (least significant bit) of a
word.
Instance 100: Output
Instance 100 (Output) possesses the following member list in
the operating mode Remote Controller:
Obj.
Attributes
Entries in member list
Type
107
1 ... 64 /
65 ... 96
Technology module
BYTE/
WORD
Tab. C/18: Instance 100 member list
Instance 101: Input
Instance 101 (input) possesses the following member list:
Obj.
Attributes
Entries in member list
Type
106
1 ... 64 /
65 ... 96
Technology module
BYTE/
WORD
Tab. C/19: Instance 101 member list
Transmission by communication types Polled communication
or Change of state / Cyclic communication.
Instance 102: Configuration
Instance 102 (Configuration) must have the value “0” in the
operating mode Remote Controller.
Festo P.BE-CPX-FB36-EN en 1309NH English
C-17
C. EtherNet/IP Objects of the CPX-FB36
C.4
Objects for system data and diagnosis
C.4.1 Identity Object
Object class:
1d
Instances:
1
The Identity Object contains the identification and general
information on the CPX-FB36.
Service Code
5d:
Reset
Parameter 0 emulates a Power Cycle
Parameter 1 resets the device to the factory settings and then
emulates a Power Cycle.
Attr. Access Description
No.
Type
1
Get
VendorID:
1Ah
UINT
2
Get
Device Type:
0Ch
UINT
3
Get
Product Code:
Remote I/O:
Remote Controller:
36CAh
36CBh
4
Get
UINT
Revision (major/minor)
ARRAY of
2 USINT
Tab. C/20: Attributes of the Identity Object - Part 1
C-18
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Attr. Access Description
No.
Type
5
WORD
Get
Status
Bit 0:
Bit 1:
Bit 2:
Bit 3:
Bit 4-7:
Bit 8:
Bit 9:
Bit 10:
Bit 11:
Bit 12-15:
Owned
reserved, shall be 0
Configured
reserved, shall be 0
Extended Device Status
Minor Recoverable Fault
Minor Unrecoverable Fault
Major Recoverable Fault
Major Unrecoverable Fault
reserved, shall be 0
6
Get
Serial number
UDINT
7
Get
Product Name
CPX-FB36 Remote-I/O
CPX-FB36 Remote Controller
SHORT_S
TRING
14
Get/
Set
Semaphore
STRUCT
100
Get
Operating Mode:
Remote Controller: TRUE
Remote I/O: FALSE
BOOL
101
Get
External Module Identifiers
ARRAY
Tab. C/21: Attributes of the Identity Object - Part 2
Festo P.BE-CPX-FB36-EN en 1309NH English
C-19
C. EtherNet/IP Objects of the CPX-FB36
C.4.2 Global System Object (for operating mode Remote I/O)
Object class:
132d
Instances:
1
This Object is only available in the operating mode Remote
I/O.
Attr.
No.
Access
Description
Type
Function no.
1
Get
CPX operating mode (bit 0 ... 3)
0: Remote I/O without FEC/CEC
1: Remote I/O with FEC or CEC
2: Remote controller without bus node
3: Remote controller with bus node
BYTE
0 (bit 0 ... 3)
CPX equipment status (bit 4)
Specifies whether the current equipment fitted
to the CPX corresponds to the saved CPX
equipment status.
0: equal
1: unequal
0 (bit 4)
Operator unit (bit 5)
Specifies whether or not an operator unit is
connected.
0: No operator unit connected
1: Operator unit connected
0 (bit 5)
Force mode (bit 6)
Specifies whether Force is blocked or enabled.
0: blocked
1: enabled
0 (bit 6)
Bit 7: reserved
0 (bit 7)
Tab. C/22: Attributes of the System Object for operating mode Remote I/O (Part 1)
C-20
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Attr.
No.
Access
Description
Type
Function no.
2
Get
Fail safe mode
Specifies whether the Fail Safe mode is active or
inactive.
0: inactive
1: active
BYTE
1 (bit 0, 1)
System Idle mode
Specifies whether Idle mode is active or inactive.
0: inactive
1: active
1 (bit 2, 3)
3
Get
Monitoring CPX terminal (bit 0 ... 7)
Specifies whether the monitoring of short
circuit/overload and undervoltage is active or
inactive.
Bit 0:
Monitoring SCS (short
circuit/overload sensor supply)
Bit 1:
Monitoring SCO (short
circuit/overload outputs)
Bit 2:
Monitoring UOut
(Undervoltage outputs)
Bit 3:
Monitoring UVal
(Undervoltage valves)
Bit 1:
Monitoring SCV (short circuit valves)
Bit 5 ... 7: reserved
0: inactive
1: active
BYTE
2 (bit 0 ... 7)
4
Get
Number of input bytes (Rx size)
Specifies the number of input bytes of the CPX
terminal.
BYTE
-
5
Get
Number of output bytes (Tx size)
Specifies the number of output bytes of the CPX
terminal.
BYTE
-
Tab. C/23: Attributes of the System Object for operating mode Remote I/O - Part 2
Festo P.BE-CPX-FB36-EN en 1309NH English
C-21
C. EtherNet/IP Objects of the CPX-FB36
Attr.
No.
Access
Description
Type
Function no.
9
Get/Set
Monitoring (bit 0 ... 7)
Bit 0:
Monitoring SCS (short
circuit/overload sensor supply)
Bit 1:
Monitoring SCO (short
circuit/overload outputs)
Bit 2:
Monitoring UOUT (undervoltage
outputs)
Bit 3:
Monitoring UVAL (undervoltage
valves)
Bit 4:
Monitoring SCV (short circuit valves)
Bit 5 ... 7: reserved
1: active (presetting)
0: inactive
BYTE
4401 (bit 0 ... 7)
10
Get/Set
Fail safe mode
0: Reset all outputs (presetting)
1: Hold last state (Retain signal status)
2: Assume Fail safe mode
BYTE
4402 (bit 0, 1)
11
Get/Set
Force mode
0: blocked
1: enabled
BYTE
4402 (bit 2, 3)
12
Get/Set
System Idle mode
0: Reset all outputs (presetting)
1: Hold last state (Retain signal status)
2: Assume Idle mode
BYTE
4402 (bit 4, 5)
13
Get/Set
System start
0: System start with standard parameters
(factory setting) and current CPX expansion;
external parameterisation possible
(presetting)
1: System start with saved parameters and
saved CPX expansion; parameters and CPX
expansion are saved remanently; external
parameterisation is blocked; the M-LED on
the CPX bus node illuminates
BYTE
4402 (bit 6)
Tab. C/24: Attributes of the System Object for operating mode Remote I/O (Part 3)
C-22
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
C.4.3 Status and Diagnostics Object
Object class:
133d
Instances:
1
The status bits and the I/O diagnostic interface are mapped
here.
Attr.
No.
Access
Description
1
Get
Status bits (8 bit)
Source of error:
Bit 1:
Bit 2:
Bit 3:
Error type: Bit 4:
Bit 5:
Bit 6:
Bit 7:
Type
Function
no.
BYTE
1936
1937
Bit 0:
Valve
Output
Input
Analogue/technology module
Undervoltage
Short circuit/overload
Wire break
Other error
2
Get
Number of the first module in which a fault has
occurred
BYTE
3
Get
Diagnostic status
BYTE
4
Get
Error number
BYTE
5
Get/Set
Address I/O diagnostic interface
16 output bits (task data) of the I/O diagnostic
interface
WORD
6
Get
Data I/O diagnostic interface
16 input bits (reply data) of the I/O diagnostic interface
WORD
1938
Tab. C/25: Attributes of the Status and Diagnostics Object
Festo P.BE-CPX-FB36-EN en 1309NH English
C-23
C. EtherNet/IP Objects of the CPX-FB36
C.4.4 Diagnostics Trace Object
Object class:
134d
Instances:
1 ... 40
An instance is created for each diagnostic entry.
Attr.
No.
Access
1
Get
2
Get
3
4
Name
Description
Type
Function no.
3488 + n 1)
Marking the first entry after
Power on
Supplies 1 if it is the first
entry after Power on.
BYTE
n = 10 * d + 4
(bit 7)
Days
Number of days 2)
BYTE
n = 10 * d + 0
Get
Hours
Number of hours 2)
BYTE
n = 10 * d + 1
Get
Minutes
Number of minutes 2)
BYTE
n = 10 * d + 2
BYTE
n = 10 * d + 3
5
Get
Seconds
Number of seconds 2)
6
Get
Milliseconds
Number of 10 msec 2)
BYTE
n = 10 * d + 4
(bits 0 ... 6)
7
Get
Module
code 3)
Module code of the module
which registered the error
BYTE
n = 10 * d + 5
8
Get
Module
number
Module position of the
module which registered the
error; 63 = error not
module-related
BYTE
n = 10 * d + 6
(bits 6, 7)
9
Get
Channel
number 3)
Number of the first faulty BYTE
channel
n = 10 * d + 7
(bits 0 ... 5)
1) d (diagnostic event) = 0 ... 39 ; most current diagnostic event = 0;
2) Measured from the time the power supply was switched on
3) If the error number = 0, the content is also 0. If the error number is between 128 ... 199
(error class 3), the content is not relevant (service case).
Tab. C/26: Attributes of the Diagnostics Trace Object - Part 1
C-24
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Attr.
No.
Access
Name
Description
Type
Function no.
3488 + n 1)
10
Get
Error number
Possible error messages
System description,
chapter 5
BYTE
n = 10 * d + 8
11
Get
Subsequent
channels 1)
Number of subsequent
channels with the same error
BYTE
n = 10 * d + 9
1) If the error number = 0, the content is also 0. If the error number is between 128 ... 199
(error class 3), the content is not relevant (service case).
Tab. C/27: Attributes of the Diagnostics Trace Object - Part 2
Festo P.BE-CPX-FB36-EN en 1309NH English
C-25
C. EtherNet/IP Objects of the CPX-FB36
C.4.5 Diagnostics Trace Status Object
Object class:
135d
Instances:
1
Attr.
No.
Access
Name
Type
Function
no.
1
Get
Number of trace entries in the diagnostic memory
BYTE
3482
(bits 0 ... 7)
2
Get
Status of diagnostic memory
0: Recording active
1: Recording inactive
BYTE
3483
(bits 0, 1)
3
Get/Set
Clear_trace1, access via EDS
BYTE
-
4
Get/Set
Clear_trace2, access via explicit messaging;
Confirms activity carried out by resetting (0) the attribute value
BYTE
-
5
Get/Set
Entries remanent with Power on
0: active (presetting)
1: inactive
BYTE
3480
(bit 0)
6
Get/Set
Run/stop filter 1
0: Stop after 40 entries (store the first 40 entries)
1: Overwrite old entries (store the last 40 entries),
presetting)
BYTE
3480
(bit 1)
7
Get/Set
Run/stop filter 2
0: Run/stop filter 2 inactive (presetting)
1: Record up to the defined FN
2: Record up to the defined FN + MN
3: Record up to the defined FN + MN + KN
4: Record from the defined FN
5: Record from the defined FN + MN
6: Record from the defined FN + MN + KN
7: reserved
BYTE
3484
(bits 0 ... 2)
Tab. C/28: Attributes of the Diagnostics Trace Status Object - Part 1
C-26
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Attr.
No.
Access
Name
Type
Function
no.
8
Get/Set
End of error filter
0: Record going errors (end of error) (filter inactive,
presetting)
1: Do not record going errors (end of error) (filter
active)
BYTE
3484
(bit 3)
9
Get/Set
Error number filter
FN = error number
0: Error number filter inactive (presetting)
1: Record only defined FN
2: Do not record defined FN
3: reserved
BYTE
3484
(bits 4, 5)
10
Get/Set
Module/channel filter
With this diagnostic memory filter, the registering of
errors of other modules or channels can be suppressed in order that errors in a particular module or
channel can be analysed.
FN = error number
0: Module/channel filter inactive (presetting)
1: Record only FN of a module
2: Record only FN of a channel
3: reserved
BYTE
3484
(bits 6, 7)
11
Get/Set
Module number
Module number for the diagnostic memory filter
BYTE
3485
(bits 0 ... 7)
12
Get/Set
Channel number
Channel number for the diagnostic memory filter
BYTE
3486
(bits 0 ... 7)
13
Get/Set
Error number
Fault number for the diagnostic memory filter
BYTE
3487
(bits 0 ... 7)
Tab. C/29: Attributes of the Diagnostics Trace Status Object - Part 2
Festo P.BE-CPX-FB36-EN en 1309NH English
C-27
C. EtherNet/IP Objects of the CPX-FB36
C.4.6 General Module Parameter Object
Object class:
101d
Instances:
1 ... 48
Applicable is: Instance number = Module number + 1
This Object enables general access to the module parameters
of all existing and future CPX modules.
•
Use this Object for parameterising modules with word or
double-word parameters.
Examples of modules with word or double-word parameters:
– analogue 4-input module CPX-4AE-I
– temperature module CPX-4AE-T
– CPX-CP interface
You can access three types of parameters via the Attributes of
the general Module Parameter Object:
– byte parameters
through the Attribute 1 ... 64
– word parameters
through the Attribute 65 ... 127
– double-word parameters through the Attribute 129 ... 189
Procedure for
parameterisation
1. Refer to the module manual for the function number of
the parameter which you wish to set.
2. Search for this function number in the last column of
Tab. C/30 (byte and word parameter) or Tab. C/31
(double-word parameter)
3. Read the appropriate Attribute number from the table.
Examples for parameterisation with the general Module Parameter Object can be found in section C.5.2.
C-28
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Attribute no.
Byte
Parameter
Function no.
Parameters: Description of the respective
module
4828 + m * 64 + 0
Word Word
1
–
65
2
4828 + m * 64 + 1
66
4828 + m * 64 + 2
3
67
4828 + m * 64 + 3
4
68
4828 + m * 64 + 4
5
69
4828 + m * 64 + 5
6
70
4828 + m * 64 + 6
7
71
4828 + m * 64 + 7
8
72
4828 + m * 64 + 8
9
73
4828 + m * 64 + 9
10
74
4828 + m * 64 + 10
11
75
4828 + m * 64 + 11
12
76
...
4828 + m * 64 + ...
...
...
4828 + m * 64 + ...
...
...
4828 + m * 64 + ...
...
4828 + m * 64 + 59
...
124
4828 + m * 64 + 60
61
125
4828 + m * 64 + 61
62
126
4828 + m * 64 + 62
63
127
64
–
4828 + m * 64 + 63
Tab. C/30: General module parameter object: Assignment of the Attributes for word
parameters to the function numbers
Festo P.BE-CPX-FB36-EN en 1309NH English
C-29
C. EtherNet/IP Objects of the CPX-FB36
Attribute no.
Byte
–
–
–
2
129
133
4828 + m * 64 + 7
135
9
10
...
4828 + m * 64 + 11
...
...
185
4828 + m * 64 + 59
187
62
4828 + m * 64 + 60
188
–
189
4828 + m * 64 + ...
4828 + m * 64 + ...
186
61
64
4828 + m * 64 + ...
...
...
4828 + m * 64 + 9
4828 + m * 64 + 10
...
...
63
4828 + m * 64 + 8
136
12
4828 + m * 64 + 5
4828 + m * 64 + 6
134
8
4828 + m * 64 + 1
4828 + m * 64 + 4
132
6
...
4828 + m * 64 + 0
4828 + m * 64 + 3
131
5
11
Parameters:
Description of the
respective module
4828 + m * 64 + 2
130
4
7
Function no.
DWord DWord DWord DWord
1
3
Parameter
4828 + m * 64 + 61
4828 + m * 64 + 62
–
–
4828 + m * 64 + 63
Tab. C/31: General module parameter object: Assignment of the Attributes for doubleword parameters to the function numbers
C-30
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
C.4.7 Force parameter
The first word receives the lowest instance number of the
relevant Object. The second word receives the second lowest
instance number, etc.
Object
Description
108
Force state digital inputs
109
Force mode digital inputs
110
Force state digital outputs
111
Force mode digital outputs
Tab. C/32: Objects for Force Parameter of digital I/O
modules
Object
Description
116
Force state analogue inputs
117
Force mode analogue inputs
118
Force state analogue outputs
119
Force mode analogue outputs
Tab. C/33: Objects for Force Parameter of analogue I/O
modules
Object
Description
124
Force state inputs technology module
125
Force mode inputs technology module
126
Force state outputs technology module
127
Force mode outputs technology module
Tab. C/34: Objects for Force Parameter for technology
module
Festo P.BE-CPX-FB36-EN en 1309NH English
C-31
C. EtherNet/IP Objects of the CPX-FB36
Composition of the Objects for Force mode
Objects for Force mode: 109d, 111d, 117d, 119d, 125d, 127d
( Tab. C/32 ... Tab. C/34)
Instances:
1 ... 48
Attr.
No.
Access
Description
Type
1
Get/Set
Value for Force mode:
Channel 0:
0: Force blocked
1: Force enabled
BOOL
2
Get/Set
Channel 1:
0: Force blocked
1: Force enabled
BOOL
...
...
...
...
64
Get/Set
Channel 63:
0: Force blocked
1: Force enabled
BOOL
100
Get
Number of channels
BYTE
101
Get
All channels: values for Force mode
ARRAY
Tab. C/35: Basic composition of the Objects for Force mode
C-32
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Composition of the Objects for Force state
for digital I/O modules
Objects for Force state: 108d, 110d ( Tab. C/32)
Instances:
1 ... 48
Attr.
No.
Access
Description
Type
1
Get/Set
Value for Force state:
Channel 0:
0: Reset signal
1: Set signal
BOOL
2
Get/Set
Channel 1:
0: Reset signal
1: Set signal
BOOL
...
...
...
...
64
Get/Set
Channel 63:
0: Reset signal
1: Set signal
BOOL
100
Get
Number of channels
BYTE
101
Get
All channels: values for Force state
ARRAY
Tab. C/36: Composition of the Objects for Force state for
digital I/O modules
Festo P.BE-CPX-FB36-EN en 1309NH English
C-33
C. EtherNet/IP Objects of the CPX-FB36
Composition of the Objects for Force state
for analogue I/O modules
Objects for Force state: 116d, 118d ( Tab. C/33)
Instances:
1 ... 48
Attr.
No.
Access
Description
Type
1
Get/Set
Channel 0:
Value for Forcing
WORD
2
Get/Set
Channel 1:
Value for Forcing
WORD
...
...
...
...
32
Get/Set
Channel 31:
Value for Forcing
WORD
Tab. C/37: Composition of the Objects for Force state for
analogue I/O modules
C-34
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Composition of the Objects for Force state
for technology modules
Objects for Force state: 124d, 126d
( Tab. C/34)
Instances:
1 ... 48
Attr.
No.
Access
Description
Type
1
Get/Set
Channel 0:
Value for Forcing
BYTE
2
Get/Set
Channel 1:
Value for Forcing
BYTE
...
...
...
...
64
Get/Set
Channel 63:
Value for Forcing
BYTE
65
Get/Set
Channel 0:
Value for Forcing
WORD
...
...
...
...
96
Get/Set
Channel 31:
Value for Forcing
WORD
100
Get
Number of channels
BYTE
101
Get
Data type:
– D1h: BYTE
– D2h: WORD
BYTE
102
Get/Set
All channels: values for Force state
ARRAY
Tab. C/38: Composition of the Objects for Force state
technology modules
Festo P.BE-CPX-FB36-EN en 1309NH English
C-35
C. EtherNet/IP Objects of the CPX-FB36
C.4.8 Fail Safe and Idle parameters
The first word receives the lowest instance number of the
relevant Object. The second word receives the second lowest
instance number, etc.
Object
Description
112
Fail safe state digital outputs
113
Fail safe mode digital outputs
114
Idle state digital outputs
115
Idle mode digital outputs
Tab. C/39: Objects for Fail Safe and Idle parameters of
digital output modules
Object
Description
120
Fail safe state analogue outputs
121
Fail safe mode analogue outputs
122
Idle state analogue outputs
123
Idle mode analogue outputs
Tab. C/40: Objects for Fail Safe and Idle parameters of
analogue output modules
C-36
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Object
Description
128
Fail safe state outputs technology module
129
Fail safe mode outputs technology module
130
Idle state outputs technology module
131
Idle mode outputs technology module
Tab. C/41: Objects for the Fail Safe and Idle parameters for
technology modules
Festo P.BE-CPX-FB36-EN en 1309NH English
C-37
C. EtherNet/IP Objects of the CPX-FB36
Composition of the Objects for Fail safe and Idle
mode
Objects for Fail safe mode: 113d, 121d, 129d
Objects for Idle mode:
115d, 123d, 131d
( Tab. C/39 ... Tab. C/41)
Instances:
1 ... 48
Attr.
No.
Access
Description
Type
1
Get/Set
Channel 0:
0: Hold last state
1: Fail safe/Idle state
BOOL
2
Get/Set
Channel 1:
0: Hold last state
1: Fail safe/Idle state
BOOL
...
...
...
...
64
Get/Set
Channel 63:
0: Hold last state
1: Fail safe/Idle state
BOOL
100
Get
Number of channels
BYTE
101
Get
All channels: values for Fail safe
mode and Idle mode
ARRAY
Tab. C/42: Composition of the Objects for Fail safe mode
and Idle mode
C-38
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Composition of the Objects for Fail safe state and
Idle state
for digital output modules
Objects for Fail safe state:
112d
Objects for Idle state:
114d
( Tab. C/39)
Instances:
1 ... 48
Attr.
No.
Access
Description
Type
1
Get/Set
Channel 0:
0: Hold last state
1: Fail safe/Idle state
BOOL
2
Get/Set
Channel 1:
0: Hold last state
1: Fail safe/Idle state
BOOL
...
...
...
...
64
Get/Set
Channel 63:
0: Hold last state
1: Fail safe/Idle state
BOOL
100
Get
Number of channels
BYTE
101
Get
All channels: values for Fail safe
state and Idle state
ARRAY
Tab. C/43: Composition of the Objects for Fail safe state and
Idle state for digital output modules
Festo P.BE-CPX-FB36-EN en 1309NH English
C-39
C. EtherNet/IP Objects of the CPX-FB36
Composition of the Objects for Fail safe state and
Idle state
for analogue output modules
Objects for Fail safe state:
120d
Objects for Idle state:
122d
( Tab. C/40)
Instances:
1 ... 48
Attr.
No.
Access
Description
Type
1
Get/Set
Channel 0:
value for Fail safe state and Idle
state
WORD
2
Get/Set
Channel 1:
value for Fail safe state and Idle
state
WORD
...
...
...
...
32
Get/Set
Channel 31:
value for Fail safe state and Idle
state
WORD
Tab. C/44: Composition of the Objects for Fail safe state and
Idle state for analogue output modules and
technology modules
C-40
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
Composition of the Objects for Fail safe state and
Idle state
for technology modules
Objects for Fail safe state:
128d
Objects for Idle state:
130d
( Tab. C/41)
Instances:
1 ... 48
Attr.
No.
Access
Description
Type
1
Get/Set
Channel 0: value for Fail safe state
and Idle state
BYTE
2
Get/Set
Channel 1: value for Fail safe state
and Idle state
BYTE
...
...
...
...
64
Get/Set
Channel 63: value for Fail safe state
and Idle state
BYTE
65
Get/Set
Channel 0: value for Fail safe state
and Idle state
WORD
...
...
...
...
96
Get/Set
Channel 31: value for Fail safe state
and Idle state
WORD
100
Get
Number of channels
BYTE
101
Get
Data type:
– D1h: BYTE
– D2h: WORD
BYTE
102
Get/Set
All channels: values for Fail safe
state and Idle state
ARRAY
Tab. C/45: Composition of the Objects for Fail safe state and
Idle state for analogue output modules and
technology modules
Festo P.BE-CPX-FB36-EN en 1309NH English
C-41
C. EtherNet/IP Objects of the CPX-FB36
C.4.9 Configuration Array Object
The Configuration Array Object is available only for revision
statuses later than Rev. 1.2. Further information about this
Object can be found at www.festo.com/sp.
Object class:
199d
Instances:
1
Attr.
No.
Access
Description
Type
Function
no.
1
Get/Set
Data field with all system and module parameters.
ARRAY
–
C.4.10 Slave Size Object (for operating mode Remote Controller)
Object class:
136d
Instances:
1
This Object is only available in the operating mode Remote
Controller. It contains the number of I/O bytes for communication of theCPX-FB36 with the CPX-FEC or CPX-CEC. The setting is implemented via DIL switches on the CPX-FB36
( Tab. 1/3).
Attr.
No.
Access
Description
Type
1
Get
Number of input bytes for the operating mode Remote Controller
Sint
2
Get
Number of output bytes for the operating mode Remote Controller
Sint
C-42
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
C.5
Examples
C.5.1
Forcing inputs
In this example the Force mode of an analogue input module
is parameterised.
Module no.:
0
1
2
3
4
5
6
Instance no.:
1
2
3
4
5
6
7
MS
PS
NS PL
TP1 SF
TP2 M
4 AI
8DI
8DI
8DO
Ou t 2
I n1
8O
8O
1
1 Parameterisation: Module CPX-4AE-I, setting of Force mode for channel 2:
Object class 117 ( Tab. C/33)
Instance 3 (= Module number + 1)
Attribute 3 (for channel 2, Tab. C/35 and Tab. C/46)
Fig. C/1: Example of Forcing (sequence see text)
1. Enable Force mode
Enable the Force mode for the CPX terminal with the System
Object 132 ( Tab. C/2 and section C.4.2):
System Object:
Instance:
Attribute
Festo P.BE-CPX-FB36-EN en 1309NH English
132
1
11 (Force mode)
C-43
C. EtherNet/IP Objects of the CPX-FB36
2. Define value for Force state for channel 2:
Objects Force state:
Instance:
116 ( Tab. C/37)
3
Attr.
No.
Access
Parameter
Type
...
...
...
...
3
Get/Set
Channel 2:
Value for Forcing
word
...
...
...
...
100
Get
Number of channels
BYTE
101
Get
All channels: values for Force mode
ARRAY
Tab. C/46: Example: Set Force state for module no. 2
3. Define Force mode for channel
Objects Force state:
Instance:
117 ( Tab. C/35)
3
Attr.
No.
Access
Parameter
Type
...
...
...
...
3
Get/Set
Value for Force mode, channel 2:
0 = Force blocked
1 = Force enabled
BOOL
...
...
...
...
100
Get
Number of channels
BYTE
101
Get
All channels: values for Force mode
ARRAY
Tab. C/47: Example: Set Force mode for module no. 2
C-44
Festo P.BE-CPX-FB36-EN en 1309NH English
C. EtherNet/IP Objects of the CPX-FB36
C.5.2
Parameterisation with the general Module Parameter Object
In this example a signal extension time with a digital input
module and a lower limit value with an analogue input module are parameterised.
Module no.:
0
1
2
3
4
5
6
Instance no.:
1
2
3
4
5
6
7
8DI
4
AI-I
8DI
8DO
8O
1
8O
2
1 Parameterisation module CPX-8DE: Enable signal extension channel 5:
Object class 101 ( section C.4.6)
Instance 1 (= module number)
Attribute 7 ( Tab. C/48)
2 Parameterisation module CPX-4AE-I: Lower limit channel 2
Object class 101
Instance 2 (= module number)
Attribute 82 ( Tab. C/49)
Fig. C/2: Examples for parameterisation with the general Module Parameter Object
The following tables show you how to ascertain the Attributes
for the parameterisation. The parameters of the relevant modules are entered in the tables.
Information on the parameters can be found in the description for the relevant module.
Festo P.BE-CPX-FB36-EN en 1309NH English
C-45
C. EtherNet/IP Objects of the CPX-FB36
Attribute no.
Byte
Parameter (module no. 1 in Fig. C/2)
Function no.
–
Monitoring the CPX module
4828 + m * 64 + 0
4828 + m * 64 + 1
66
Bit 0: Behaviour after short circuit/overload
Bit 4, 5: Input debouncing time
Bit 6, 7: Signal extension time
–
4828 + m * 64 + 2
–
4828 + m * 64 + 3
–
4828 + m * 64 + 4
–
4828 + m * 64 + 5
Signal extension channel x
4828 + m * 64 + 6
–
4828 + m * 64 + 7
Word Word
1
65
2
3
67
4
68
5
69
6
70
7
71
8
...
Tab. C/48: Example: parameterisation of signal extension for module no. 1
Attribute no.
Byte
Parameter (module no. 2 in Fig. C/2)
Function no.
Monitoring the CPX module
4828 + m * 64 + 0
Bit 0: Behaviour after short circuit/overload
4828 + m * 64 + 1
...
4828 + m * 64 + ...
...
4828 + m * 64 + ...
Lower limit channel 1
4828 + m * 64 + 14
Lower limit channel 1
4828 + m * 64 + 15
Lower limit channel 2
4828 + m * 64 + 16
Lower limit channel 2
4828 + m * 64 + 17
...
4828 + m * 64 + ...
Word Word
1
–
65
2
66
...
...
...
...
15
80
16
81
17
82
18
83
...
...
Tab. C/49: Example: parameterisation of the lower limit value (module no. 2, channel 2)
C-46
Festo P.BE-CPX-FB36-EN en 1309NH English
Modbus/TCP Objects of the CPX-FB36
Appendix D
Modbus/TCP Objects of the CPX-FB36
Festo P.BE-CPX-FB36-EN en 1309NH English
D-1
D. Modbus/TCP Objects of the CPX-FB36
Table of contents
D.
Modbus/TCP Objects of the CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D-1
D.1
D.2
D.3
D.4
Overview of Modbus/TCP objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Commands and addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPX status information (group A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing data (groups B and D) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4.1 Module CPX-FB36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4.2 Electric modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4.3 Pneumatic modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4.4 Technology module CP interface . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.4.5 Composition of diagnostic data (diagnostic word) . . . . . . . . . . . . .
D.4.6 Composition of the data of the I/O diagnostic interface . . . . . . . . .
Diagnostic memory (groups C and E) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modbus/TCP Objects (group F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D.6.1 Addressing examples for ModbusTCP . . . . . . . . . . . . . . . . . . . . . . .
D-3
D-3
D-4
D-5
D-5
D-6
D-9
D-14
D-18
D-18
D-20
D-22
D-23
D.5
D.6
D-2
Festo P.BE-CPX-FB36-EN en 1309NH 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 in order that the original terms
of the protocol specification can be used clearly.
D.2
Commands and addresses
The table below shows the correlation between the Modbus
address and data or parameters of the CPX terminal. The data
are assigned to various groups.
Modbus
command
Function
code
Modbus
address
Meaning
Remote
I/O 16-bit
access
group
read
4x registers
3
45357...45391
45392...45647
45648...45655
45656...46055
CPX status information
Processing data inputs
Diagnostic memory parameters
Diagnostic memory data
Read
Read
Read
Read
A
B
C
C
write
4x registers
6, 16
40001...40256
40257...40264
Processing data outputs
Write
Diagnostic memory parameters Write
D
E
read/write
4x registers
23
45357...45391
45392...45647
45648...45655
45656...46055
40001...40256
40257...40264
CPX status information
Processing data inputs
Diagnostic memory parameters
Diagnostic memory data
Processing data outputs
Diagnostic memory parameters
Read
Read
Read
Read
Write
Write
A
B
C
C
D
E
Objects
objects ID0, 1, 2, 3, 4, 5
Read
F
read device
43
identification
Tab. D/1:
Overview of the Modbus function codes for the CPX-FB36 in the Remote I/O
operating mode
Festo P.BE-CPX-FB36-EN en 1309NH 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 configuration and the fault status of the CPX terminal. It lies in the
Modbus address range 45367 to 45391.
Modbus
address
CPX terminal configuration
Processing data inputs
Bit
15
14
13
45367
Module 0 ... 15
45368
Module 16 ... 31
45369
Module 32 ... 47
12
11
10
9
8
7
6
5
4
3
2
1
0
2
1
0
Bit n = 0: Module does not exist
Bit n = 1: Module exists
Tab. D/2:
Modbus
address
Configuration information on the modules of the CPX terminal
Error detection
Processing data inputs
Bit
15
14
13
45383
Module 0 ... 15
45384
Module 16 ... 31
45385
Module 32 ... 47
12
11
10
9
8
7
6
5
4
3
Bit n = 0: No fault
Bit n = 1: Fault in module n
Tab. D/3:
D-4
Reognition, which module registers a fault
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
Modbus
address
Status register
Processing data inputs
Bit
45391
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:
D.4
15
Further status information (extract from system data)
Processing data (groups B and D)
The processing 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 they are fitted from left to right in the CPX
terminal.
The Modbus addresses depend accordingly on the modules
fitted on your 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).
Addressing examples ( section D.6.1)
D.4.1 Module CPX-FB36
Modbus
CPX-FB36 Remote I/O
address1)
Processing data inputs
Bit
n
Tab. D/5:
15
12
11
8
7
Processing data outputs
4
3
Result of access to the I/O diagnostic
interface1)
0
15
12
11
8
7
4
3
0
Access to the I/O diagnostic interface2)
CPX-FB36 Remote I/O – Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
D-5
D. Modbus/TCP Objects of the CPX-FB36
Modbus
CPX-FB36 Remote I/O
address1)
n+1
Data from the system table
(read access)
Data for the system table2)
(write access)
n+2
Module diagnostics data ( Tab. D/26)
–
1) n corresponds to the first Modbus address of the module.
2) Composition of the I/O diagnostic interface Tab. D/27 ... Tab. D/28
Tab. D/6:
CPX-FB36 Remote I/O – Part 2
D.4.2 Electric modules
Modbus
Digital 4-off input module (CPX-4DE)
address1)
Processing data inputs
Bit
15
12
11
8
7
n
0
n+1
Module diagnostics data
Processing data outputs
4
3
0
Inputs
15
12
11
8
7
4
3
0
4
3
0
–
–
1) n corresponds to the first Modbus address of the module.
Tab. D/7:
Digital 4-off input module (CPX-4DE)
Modbus
Digital 8-off input module (CPX-8DE)
address1)
Processing data inputs
Bit
n
Tab. D/8:
D-6
15
0
12
11
8
7
Inputs
Processing data outputs
4
3
0
15
12
11
8
7
–
Digital 8-off input module (CPX-8DE) - Part 1
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
Modbus
Digital 8-off input module (CPX-8DE)
address1)
n+1
Module diagnostics data
–
1) n corresponds to the first Modbus address of the module.
Tab. D/9:
Digital 8-off input module (CPX-8DE) - Part 2
Modbus
Digital 4-off output module (CPX-4DA)
address1)
Processing data inputs
Bit
15
12
11
8
7
n
x
n+1
Module diagnostics data
Processing data outputs
4
3
0
Echo
outputs
15
12
11
8
7
4
x
3
0
Outputs
–
1) n corresponds to the first Modbus address of the module.
Tab. D/10: Digital 4-off output module (CPX-4DA)
Modbus
Digital 8-off input/output module (CPX-8DE-8DA)
address1)
Processing data inputs
Bit
15
12
11
8
7
Processing data outputs
4
3
0
15
n
0
Inputs
x
n+1
x
Echo outputs
–
n+2
Module diagnostics data
12
11
8
7
4
3
0
Outputs
–
1) n corresponds to the first Modbus address of the module.
Tab. D/11: Digital 8-off input/output module (CPX-8DE-8DA)
Festo P.BE-CPX-FB36-EN en 1309NH English
D-7
D. Modbus/TCP Objects of the CPX-FB36
Modbus
Analogue 2-off input module (CPX-2AE)
address1)
Processing data inputs
Bit
15
12
11
8
7
Processing data outputs
4
3
0
15
n
Analogue inputs channel 0
–
n+1
Analogue inputs channel 1
–
n+2
Module diagnostics data
–
12
11
8
7
4
3
0
4
3
0
1) n corresponds to the first Modbus address of the module.
Tab. D/12: Analogue 2-off input module (CPX-2AE)
Modbus
Analogue 2-off output module (CPX-2AA)
address1)
Processing data inputs
Bit
15
12
11
8
7
Processing data outputs
4
3
0
15
12
11
8
7
n
Echo analogue outputs channel 0
Analogue outputs channel 0
n+1
Echo analogue outputs channel 1
Analogue outputs channel 1
n+2
Module diagnostics data
–
1) n corresponds to the first Modbus address of the module.
Tab. D/13: Analogue 2-off output module (CPX-2AA)
D-8
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
D.4.3 Pneumatic modules
Modbus
Pneumatic MPA1 module type 32 (1 ... 8 valves)
address1)
Processing data inputs
Bit
15
12
11
8
7
n
x
n+1
Module diagnostics data
Processing data outputs
4
3
0
Echo outputs
15
12
11
8
x
7
4
3
0
3
0
Outputs
–
1) n corresponds to the first Modbus address of the module.
Modbus
Pneumatic MPA2 module type 32 (1 ... 4 valves)
address1)
Processing data inputs
Bit
15
12
11
8
7
n
x
n+1
Module diagnostics data
Processing data outputs
4
3
0
Echo
outputs
15
x
12
11
8
7
4
Outputs
–
1) n corresponds to the first Modbus address of the module.
Tab. D/14: MPA pneumatic modules
Festo P.BE-CPX-FB36-EN en 1309NH English
D-9
D. Modbus/TCP Objects of the CPX-FB36
Modbus
Pneumatic interface for CPA pneumatics type 12
address1) set to 1 ... 8 valves
Processing data inputs
Bit
15
12
11
n
x
n+1
Diagnostic data
8
7
Processing data outputs
4
3
0
Echo outputs
15
12
11
8
x
7
4
3
0
3
0
Outputs
–
1) n corresponds to the first Modbus address of the module.
Tab. D/15: CPA pneumatic interface
Modbus
Pneumatic interface for CPA pneumatics type 12
address1) set to 1 ... 16 valves
Processing data inputs
Bit
15
12
11
8
7
Processing data outputs
4
3
0
15
12
n
Echo outputs
Outputs
n+1
Diagnostic data
–
11
8
7
4
1) n corresponds to the first Modbus address of the module.
Tab. D/16: CPA pneumatic interface
D-10
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
Modbus
Pneumatic interface for CPA pneumatics type 12
address1) set to 1 ... 22 valves
Processing data inputs
Bit
15
12
11
8
n
Echo outputs 0 … 15
n+1
x
n+2
Diagnostic data
7
Processing data outputs
4
3
0
15
12
11
8
7
4
3
0
Outputs 0 ... 15
Echo outputs
16 ... 22
x
Outputs 16 ... 22
–
1) n corresponds to the first Modbus address of the module.
Tab. D/17: CPA pneumatic interface
Modbus
Pneumatic interface for pneumatics type Midi/Maxi (type 03)
address1) set to 1 ... 8 valves
Processing data inputs
Bit
15
12
11
n
x
n+1
Diagnostic data
8
7
Processing data outputs
4
3
Echo outputs
0
15
x
12
11
8
7
4
3
0
Outputs
–
1) n corresponds to the first Modbus address of the module.
Tab. D/18: Midi/Maxi pneumatic interface
Festo P.BE-CPX-FB36-EN en 1309NH English
D-11
D. Modbus/TCP Objects of the CPX-FB36
Modbus
Pneumatic interface for pneumatics type Midi/Maxi (type 03)
address1) set to 1 ... 16 valves
Processing data inputs
Bit
15
12
11
8
7
Processing data outputs
4
3
0
15
12
n
Echo outputs
Outputs
n+1
Diagnostic data
–
11
8
7
4
3
0
4
3
0
1) n corresponds to the first Modbus address of the module.
Tab. D/19: Midi/Maxi pneumatic interface
Modbus
Pneumatic interface for pneumatics type Midi/Maxi (type 03)
address1) set to 1 ... 24 valves
Processing data inputs
Bit
15
12
11
8
n
Echo outputs 0 … 15
n+1
x
n+2
Diagnostic data
7
Processing data outputs
4
3
0
15
12
11
8
7
Outputs 0 ... 15
Echo outputs
16 ... 24
x
Outputs 16 ... 24
–
1) n corresponds to the first Modbus address of the module.
Tab. D/20: Midi/Maxi pneumatic interface
D-12
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
Modbus
Pneumatic interface for pneumatics type Midi/Maxi (type 03)
address1) set to 1 ... 32 valves2)
Processing data inputs
Bit
15
12
11
8
n+1
Echo outputs 0 … 15
n+2
x
n+3
Diagnostic data
7
Processing data outputs
4
3
0
15
12
11
8
7
4
3
0
Outputs 0 ... 15
Echo outputs
16 ... 26
x
Outputs 16 ... 26
–
1) n corresponds to the first Modbus address of the module.
2) Only 26 valves can be used.
Tab. D/21: Midi/Maxi pneumatic interface
Festo P.BE-CPX-FB36-EN en 1309NH English
D-13
D. Modbus/TCP Objects of the CPX-FB36
D.4.4 Technology module CP interface
The CP interface has connections for 4 strings to each of
which maximum 4 CP modules 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
CPX-CP interface
address1) used string: 1 (Line 1)
Processing data inputs
Bit
15
12
11
8
7
Processing data outputs
4
3
0
15
12
11
8
7
4
3
n
Data byte 1
Data byte 0
Data byte 1
Data byte 0
n+1
Data byte 3
Data byte 2
Data byte 3
Data byte 2
n+2
Echo output data 1
Echo output data 0
–
n+3
Echo output data 3
Echo output data 2
–
n+4
Diagnostic data
0
–
1) n corresponds to the first Modbus address of the module.
Tab. D/22: CPX-CP interface
D-14
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
Modbus
CPX-CP interface
address1) used strings: 1, 2 (Line 1 ... 2)
Processing data inputs
Bit
15
12
11
8
7
Processing data outputs
4
3
0
15
12
11
8
7
4
3
n
Data byte 1
Data byte 0
Data byte 1
Data byte 0
n+1
Data byte 3
Data byte 2
Data byte 3
Data byte 2
n+2
Data byte 5
Data byte 4
Data byte 5
Data byte 4
n+3
Data byte 7
Data byte 6
Data byte 7
Data byte 6
n+4
Echo output data 1
Echo output data 0
–
n+5
Echo output data 3
Echo output data 2
–
n+6
Echo output data 5
Echo output data 4
–
n+7
Echo output data 7
Echo output data 6
–
n+8
Diagnostic data
0
–
1) n corresponds to the first Modbus address of the module.
Tab. D/23: CPX-CP interface
Festo P.BE-CPX-FB36-EN en 1309NH English
D-15
D. Modbus/TCP Objects of the CPX-FB36
Modbus
CPX-CP interface
address1) used strings: 1, 2, 3 (Line 1 ... 3)
Processing data inputs
Bit
15
12
11
8
7
Processing data outputs
4
3
0
15
12
11
8
7
4
3
n
Data byte 1
Data byte 0
Data byte 1
Data byte 0
n+1
Data byte 3
Data byte 2
Data byte 3
Data byte 2
n+2
Data byte 5
Data byte 4
Data byte 5
Data byte 4
n+3
Data byte 7
Data byte 6
Data byte 7
Data byte 6
n+4
Data byte 9
Data byte 8
Data byte 9
Data byte 8
n+5
Data byte 11
Data byte 10
Data byte 11
Data byte 10
n+6
Echo output data 1
Echo output data 0
–
n+7
Echo output data 3
Echo output data 2
–
n+8
Echo output data 5
Echo output data 4
–
n+9
Echo output data 7
Echo output data 6
–
n+10
Echo output data 9
Echo output data 8
–
n+11
Echo output data 11 Echo output data 10 –
n+12
Diagnostic data
0
–
1) n corresponds to the first Modbus address of the module.
Tab. D/24: CPX-CP interface
D-16
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
Modbus
CPX-CP interface
address1) used strings 1, 2, 3, 4 (Line 1 ... 4)
Processing data inputs
Bit
15
12
11
8
7
Processing data outputs
4
3
0
15
12
11
8
7
4
3
n
Data byte 1
Data byte 0
Data byte 1
Data byte 0
n+1
Data byte 3
Data byte 2
Data byte 3
Data byte 2
n+2
Data byte 5
Data byte 4
Data byte 5
Data byte 4
n+3
Data byte 7
Data byte 6
Data byte 7
Data byte 6
n+4
Data byte 9
Data byte 8
Data byte 9
Data byte 8
n+5
Data byte 11
Data byte 10
Data byte 11
Data byte 10
n+6
Data byte 13
Data byte 12
Data byte 13
Data byte 12
n+7
Data byte 15
Data byte 14
Data byte 15
Data byte 14
n+8
Echo output data 1
Echo output data 0
–
n+9
Echo output data 3
Echo output data 2
–
n+10
Echo output data 5
Echo output data 4
–
n+11
Echo output data 7
Echo output data 6
–
n+12
Echo output data 9
Echo output data 8
–
n+13
Echo output data 11 Echo output data 10 –
n+14
Echo output data 13 Echo output data 12 –
n+15
Echo output data 15 Echo output data 14 –
n+16
Diagnostic data
0
–
1) n corresponds to the first Modbus address of the module.
Tab. D/25: CPX-CP interface
Festo P.BE-CPX-FB36-EN en 1309NH English
D-17
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
0/1
0/1
Channel number (0 … 63)
9
8
7
6
5
4
3
2
1
0
2
1
0
Fault number (0 … 255)
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 fault
1 1: reserved
Tab. D/26: Module diagnostics data
D.4.6 Composition of the data of the I/O diagnostic 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
Data from the system table
Bit 15 (control bit): write access is made to the I/O diagnostics interface with a positive edge (0 } 1)
Bit 14 = 0: Byte value, 1: Word value
Bit 13 = 0: Read request, 1: Write request
Tab. D/27: I/O diagnostics interface - Write access
D-18
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
I/O diagnostics interface
Read access
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Result of last request
Data from the system table
Result of last request:
= 0: Wait
= 8000h: Request successful
> 8000h: Error
8001h: Write protection or operator unit has write access
8002h: Writing not permitted, reserved range
8003h: Internal error
Tab. D/28: I/O diagnostics interface - Read access
Information on the I/O diagnostics interface and examples of
its use can be found in the CPX system description in the
chapter “Diagnostics and error handling”.
Festo P.BE-CPX-FB36-EN en 1309NH English
D-19
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
Input data
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
45648
Run/Stop filter 1 (CPX function number 3480)
45652
Run/Stop filter 2 (CPX function number 3484)
45652
Fault end filter (CPX function number 3484)
45652
Fault number filter (CPX function number 3484)
45652
Module/Channel filter (CPX function number 3484)
45653
Module number MN (CPX function number 3485)
45654
Channel number CN (CPX function number 3486)
45655
Fault number FN (CPX function number 3487)
45650
Diagnostic memory data – number of entries (CPX function number 3482)
45651
Diagnostic memory data – overrun (CPX function number 3483)
45651
Diagnostic memory data – status (CPX function number 3483)
45656
Diagnostic memory data (CPX function number 3488 + n1))
...
...
1
0
1) CPX system description
Tab. D/29: Read access to diagnostic memory parameters and data
D-20
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
Modbus
address
Diagnostic memory parameters
Write access
Output data – write and modify
Bit
15
14
13
12
11
10
9
8
7
6
40257
Run/Stop filter 1 (CPX function number 3480)
40261
Run/Stop filter 2 (CPX function number 3484)
40261
Fault end filter (CPX function number 3484)
40261
Fault number filter (CPX function number 3484)
40261
Module/Channel filter (CPX function number 3484)
40262
Module number MN (CPX function number 3485)
40263
Channel number CN (CPX function number 3486)
40264
Fault number FN (CPX function number 3487)
5
4
3
2
1
0
Tab. D/30: Write access to diagnostic memory parameters
Information on the diagnostic memory can be found in the
CPX system description in the appendix “Parameters and
data of the CPX terminal”.
Festo P.BE-CPX-FB36-EN en 1309NH English
D-21
D. Modbus/TCP Objects of the CPX-FB36
D.6
Modbus/TCP Objects (group F)
Object ID
Object name
Table of contents
0
Manufacturer name
“Festo AG & Co. KG”
1
Product code
“CPX-FB36”
2
MajorMinorRevision
“x.y”1)
3
VendorURL
“http://www.festo.com”
4
Product name
“Modbus TCP”
5
Model name
“CPX-Terminal”
1) x: Version Modbus driver, y: Revision code CPX terminal
Tab. D/31: Modbus/TCP Objects
D-22
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
D.6.1 Addressing examples for ModbusTCP
CPX terminal with digital I/O modules and MPA
pneumatics
8DI
1
2
1 CPX-FB36
4DO
3
3 MPA pneumatics
2 Digital I/O modules
Fig. D/1: Example 1: CPX terminal with digital I/O modules and MPA pneumatics
Festo P.BE-CPX-FB36-EN en 1309NH English
D-23
D. Modbus/TCP Objects of the CPX-FB36
Module
Location
Modbus
address
Bit
CPX-FB36
Remote I/O
Digital 8-off input
module (CPX-8DE)
Digital 4-off
output module
(CPX-4DA)
0
1
2
MPA pneumatics
module with
diagnostic
function
3
MPA pneumatics
module with
diagnostic
function
4
MPA pneumatics
module with
diagnostic
function
5
MPA pneumatics
module with
diagnostic
function
6
Input data
15
8
7
4
3
45392
Result of access to the I/O diagnostic interface
45393
Data from the system table (read access)
45394
Diagnostic data
45395
0
45396
Diagnostic data
45397
x
45398
Diagnostic data
45399
x
45400
Diagnostic data
45401
x
45402
Diagnostic data
45403
x
45404
Diagnostic data
45405
x
45406
Diagnostic data
0
Input data
Echo output
data
Echo output data
Echo output data
Echo output data
Echo output data
Tab. D/32: Input data addressing example 1 (CPX terminal from Fig. D/1)
D-24
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
Module
Location
Modbus
address
Bit
CPX-FB36
Remote I/O
0
Output data
15
8
7
4
3
40001
Result of access to the I/O diagnostic interface
40002
Data for the system table (write access)
Digital 4-off output module
(CPX-4DA)
2
40003
x
MPA pneumatics
module with
diagnostic function
3
40004
x
Output data
MPA pneumatics
module with
diagnostic function
4
40005
x
Output data
MPA pneumatics
module with
diagnostic function
5
40006
x
Output data
MPA pneumatics
module with
diagnostic function
6
40007
x
Output data
0
Output data
Tab. D/33: Output data addressing example 1 (CPX terminal from Fig. D/1)
Festo P.BE-CPX-FB36-EN en 1309NH English
D-25
D. Modbus/TCP Objects of the CPX-FB36
CPX terminal with digital and analogue I/O modules
8DI
1
2AI
2
2AO
3
4
1 CPX-FB36
3 Analogue I/O modules
2 Digital I/O modules
4 MPA pneumatics
Fig. D/2: Example 2: CPX terminal with digital and analogue I/O modules and MPA
pneumatics
D-26
Festo P.BE-CPX-FB36-EN en 1309NH English
D. Modbus/TCP Objects of the CPX-FB36
Module
Location
Modbus
address
Bit
CPX-FB36
Remote I/O
Digital 8-off input
module (CPX-8DE)
Analogue 2-off
input module
(CPX-2AE)
Analogue 2-off
output module
(CPX-2AA)
0
1
2
3
MPA pneumatics
module with
diagnostic
function
4
MPA pneumatics
module with
diagnostic
function
5
MPA pneumatics
module with
diagnostic
function
6
Input data
15
8
7
4
3
45392
Result of access to the I/O diagnostic interface
45393
Data from the system table (read access)
45394
Diagnostic data
45395
0
45396
Module diagnostics data
45397
Analogue inputs channel 0
45398
Analogue inputs channel 1
45399
Module diagnostics data
45400
Echo analogue outputs channel 0
45401
Echo analogue outputs channel 1
45402
Module diagnostics data
45403
x
45404
Module diagnostics data
45405
x
45406
Module diagnostics data
45407
x
45408
Module diagnostics data
0
Input data
Echo output data
Echo output data
Echo output data
Tab. D/34: Input data addressing example 2 (CPX terminal from Fig. D/2)
Festo P.BE-CPX-FB36-EN en 1309NH English
D-27
D. Modbus/TCP Objects of the CPX-FB36
Module
Location
Modbus
address
Output data
Bit
–
–
15
CPX-FB36
Remote I/O
0
40001
Result of access to the I/O diagnostic interface
40002
Data for the system table (write access)
40003
Analogue outputs channel 0
40004
Analogue outputs channel 1
8
7
4
Analogue 2-off
output module
(2AO)
3
MPA pneumatics
module with
diagnostic
function
4
40005
x
Output data
MPA pneumatics
module with
diagnostic
function
5
40006
x
Output data
MPA pneumatics
module with
diagnostic
function
6
40007
x
Output data
3
0
Tab. D/35: Output data addressing example 2 (CPX terminal from Fig. D/2)
D-28
Festo P.BE-CPX-FB36-EN en 1309NH English
Index
Appendix E
Index
Festo P.BE-CPX-FB36-EN en 1309NH English
E-1
E. Index
Table of contents
E.
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E-1
E.1
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E-3
E-2
Festo P.BE-CPX-FB36-EN en 1309NH English
E. Index
E.1
Index
A
Abbreviations, Product-specific . . . . . . . . . . . . . . . . . . . . . XII
Address assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3
Address space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3
Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-14
Address assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3
Addressing example, Remote I/O Modbus TCP . . . . . . . D-23
Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
B
Baud rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22
C
Cables, Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
CEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Connecting
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13, 1-17
Voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24
Connection technology . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
CP interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-18
CPA pneumatics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8
CPX-CEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
CPX-FEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
D
Diagnostic data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14
Diagnostics options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Festo P.BE-CPX-FB36-EN en 1309NH English
E-3
E. Index
Diagnostics via I/O diagnostic interface . . . . . . . . . . . . . 4-13
Diagnostics via LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Diagnostics via status bits . . . . . . . . . . . . . . . . . . . . . . . . 4-12
DIL switch cover, Remove and mount . . . . . . . . . . . . . . . . . 1-8
DIL switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Dismantling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
DLR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
Duplex mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22
E
Electric modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4
Electrical connection and display components . . . . . . . . 1-4
EtherNet/IP Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-3
F
Fail safe mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
fec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Force parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-31
I
I/O diagnostics interface . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
ICO/BMP file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
IGMP snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Inputs, Calculate address allocation . . . . . . . . . . . . . . . . B-12
Instructions on the description . . . . . . . . . . . . . . . . . . . . . . . IX
Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VII
Interfaces, Pneumatics . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8
IP address, Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18
E-4
Festo P.BE-CPX-FB36-EN en 1309NH English
E. Index
IP65/IP67 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23
ISO pneumatics (VTSA) . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8
L
Layout
Bus nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
in Remote Controller operating mode . . . . . . . . . . . . .
Pneumatics (valves) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
with CPX-FMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
with EDS files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
with Generic Ethernet Module . . . . . . . . . . . . . . . . . . .
B-7
3-19
B-8
3-15
3-4
3-10
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
M
Midi/Maxi pneumatics . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8
Module identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3, B-4
modules
electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4
pneumatic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8
Multicast telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
N
Network
Connection technology . . . . . . . . . . . . . . . . . . . . . . . .
Network cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network connectors . . . . . . . . . . . . . . . . . . . . . . . . . . .
Segmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-14
1-14
1-14
2-4
Network setting, Saved . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19
Network settings, advanced . . . . . . . . . . . . . . . . . . . . . . 1-22
Festo P.BE-CPX-FB36-EN en 1309NH English
E-5
E. Index
O
Objects
for network settings . . . . . . . . . . . . . . . . . . . . . . . . . . . .
for system data and diagnostics . . . . . . . . . . . . . . . . .
for the I/O connection . . . . . . . . . . . . . . . . . . . . . . . . .
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C-8
C-18
C-13
C-3
Outputs, Calculate address allocation . . . . . . . . . . . . . . B-12
P
Parameterisation
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
via configuration data . . . . . . . . . . . . . . . . . . . . . . . . .
with CPX-FMT and system start with saved parameters
With operator unit . . . . . . . . . . . . . . . . . . . . . . . . . . . .
with PLC user program . . . . . . . . . . . . . . . . . . . . . . . . .
C-43
3-26
3-27
3-26
3-26
PELV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24
Pictograms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XI
Pin allocation, Network interface
X1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-17
X2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-17
Plug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14, 1-18
Pneumatic interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8
Pneumatic modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8
Protection class IP65/IP67 . . . . . . . . . . . . . . . . . . . . . . . 1-23
Protocol
Device Level Ring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
EtherNet/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
IGMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
Modbus TCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Q
QuickConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
R
Remote Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13
E-6
Festo P.BE-CPX-FB36-EN en 1309NH English
E. Index
S
Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VIII
Setting
Data size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
Diagnostics mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10
DIL switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
IP addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12
Operating mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Status bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
Strain relief . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-16
Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13
T
Target group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VIII
Technical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Text markings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XI
U
Used, Modbus TCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-22
User instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X
V
Voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24
VTSA pneumatics (ISO) . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8
W
Web server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29
Festo P.BE-CPX-FB36-EN en 1309NH English
E-7
E. Index
E-8
Festo P.BE-CPX-FB36-EN en 1309NH English