ManualElectronics
MeasurementModule TypeCPX-CMIX-M1-1
CPX Terminal
Manual567 054en 1208a[8021701]
Contents and general safety instructions
I
Original de. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Edition en 1208a. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Designation P.BE-CPX-CMIX-EN. . . . . . . . . . . . . . . . . . . . . . .
Order no. 567 054. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© (Festo SE & Co. KG, D-73726 Esslingen, Germany, 2012) Internet: http://www.festo.comE-Mail: [email protected]
Reproduction, distribution or sale of this document or communication of its contents to others without express authorization is prohibited. Offenders will be liable for damages. All rights reserved in the event that a patent, utility model or design patent is registered.
Festo P.BE-CPX-CMIX-EN en 1208a
Contents and general safety instructions
II Festo P.BE-CPX-CMIX-EN en 1208a
PROFIBUS, PROFIBUS-DP, PROFINET IO®, DeviceNet®, RSLinx, RSLogix, RSNetworx forDeviceNet®, EtherNet/IP® and TORX® are registered trademarks of the respective ownersin certain countries.
Contents and general safety instructions
IIIFesto P.BE-CPX-CMIX-EN en 1208a
Table of contents
Designated use VII. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Safety note VIII. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Target group IX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Service IX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Required software versions X. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Important user instructions XI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Notes on this manual XIII. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Glossary XV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. Overview CPX 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 CMIX measuring module 1-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1.1 Connection and display elements of the CMIX 1-3. . . . . . . . . . . . . . . .
1.1.2 Function of the CMIX 1-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1.3 CMIX in the CPX terminal 1-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 Layout 1-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2. Fitting and installation 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1 General notes on fitting and installation 2-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Fitting and removing the CMIX 2-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Installation of the drive and displacement encoder 2-6. . . . . . . . . . . . . . . . . . . .
2.3.1 General requirements of the mechanics 2-7. . . . . . . . . . . . . . . . . . . . .
2.3.2 Drive and displacement encoder 2-8. . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 Mounting the CASM-... sensor interface 2-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5 Electrical installation 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.1 Earthing 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.2 Axis connection 2-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.3 Permissible module and string lengths 2-13. . . . . . . . . . . . . . . . . . . . . .
2.5.4 Sensor interface CASM 2-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.5 Ensuring protection class IP65 2-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6 Power supply 2-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6.1 Determining the current consumption 2-17. . . . . . . . . . . . . . . . . . . . . . .
2.6.2 Power supply arrangement – formation of power zones 2-18. . . . . . . .
Contents and general safety instructions
IV Festo P.BE-CPX-CMIX-EN en 1208a
3. Commissioning 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1 Overview / procedure for commissioning 3-3. . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Notes on the available CPX nodes 3-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 I/O assignment of the CMIX / address range 3-5. . . . . . . . . . . . . . . . . . . . . . . . .
3.3.1 Control byte and status byte assignment 3-6. . . . . . . . . . . . . . . . . . . .
3.3.2 Data format of actual value and setpoint value 3-9. . . . . . . . . . . . . . . .
3.3.3 Notes on displaying speed 3-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 Commissioning with various drives/measuring systems 3-11. . . . . . . . . . . . . . . .
3.4.1 Digital measuring system (DGCI, DDLI) 3-11. . . . . . . . . . . . . . . . . . . . . .
3.4.2 Encoder (DNCI, DDPC) 3-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4.3 Potentiometer (MLO-..., DSMI) 3-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4.4 Examples 3-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5 Resetting to status as at delivery 3-18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4. Diagnosis 4-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1 Errors of the CMIX 4-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.1 Error numbers of the CMIX 4-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.2 Acknowledging errors 4-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Diagnostics via LEDs 4-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.1 LEDs on the sensor interface 4-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.2 LEDs on the measuring system (DGCI only) 4-7. . . . . . . . . . . . . . . . . . .
4.3 Diagnosis via the display/7-segment display 4-8. . . . . . . . . . . . . . . . . . . . . . . . .
4.4 Diagnosis via the CPX node 4-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.1 Module output and input data 4-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.2 Status bits of the CPX terminal 4-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.3 I/O diagnostic interface and diagnostic memory 4-11. . . . . . . . . . . . . .
Contents and general safety instructions
VFesto P.BE-CPX-CMIX-EN en 1208a
A. Technical appendix A-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.1 Technical Data CMIX A-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2 Components and accessories A-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2.1 Components with the CMIX A-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2.2 Supported drives or measuring systems A-5. . . . . . . . . . . . . . . . . . . . .
A.3 Characteristic values for various measuring systems A-8. . . . . . . . . . . . . . . . . .
A.4 Replacing components A-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.5 Display with the handheld unit A-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Configuration with CPX node B-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.1 CPX-FEC B-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.1.1 Configuration B-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.1.2 Parameterising the CMIX B-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.1.3 Save actual configuration as the nominal configuration B-5. . . . . . . . .
B.1.4 Address assignment B-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.1.5 Diagnosis B-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.2 CPX-FB13 (PROFIBUS-DP) B-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.2.1 General configuration information B-12. . . . . . . . . . . . . . . . . . . . . . . . . .
B.2.2 Configuration with STEP 7 B-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.2.3 Parameterisation B-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.2.4 Addressing B-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.3 CPX-FB11 (DeviceNet) B-24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.3.1 Configuring DeviceNet station properties (EDS) B-24. . . . . . . . . . . . . . .
B.3.2 Parameterising B-26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.3.3 Addressing B-26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C. Index C-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents and general safety instructions
VI Festo P.BE-CPX-CMIX-EN en 1208a
Contents and general safety instructions
VIIFesto P.BE-CPX-CMIX-EN en 1208a
Designated use
The CPX-CMIX-C-1-H1 measuring module documented in thismanual is intended exclusively for use in Festo CPX terminalsfor installation in a machine or an automation control system.
In combinaton with a CPX terminal with suitable CPX nodes aswell as suitable drives with measuing system, the CMIXpermits processing of position values of the conected drive inthe CPX node.
The CPX terminal may only be used with the CMIX as follows:
– as specified in industrial applications
– without any modifications by the user. Only theconversions or modifications described in thedocumentation supplied with the product are permitted.
– In faultless technical condition.
– In combination with suitable components(drive/measuring system combinations, see section 1.2).
The limit values specified for pressures, temperatures,electrical data, torques etc. should be observed.
Please comply with the regulations of the workers’ com-pensation insurance association, the German Technical Con-trol Board (TÜV) and the electrical requirements of the VDE orthe corresponding national and local safety regulations.
Contents and general safety instructions
VIII Festo P.BE-CPX-CMIX-EN en 1208a
Safety note
Protection against dangerous movements
WarningHigh acceleration forces at the connected actuators!Unexpected motion can cause collisions and severeinjuries.
Dangerous movements can occur through faultycontrolling of connected actuators, e.g. via:
– unsafe or faulty circuitry or cabling,
– faulty operation of the components,
– faults in the measured value and signal generators,
– faulty or non-EMC-compliant components,
– faults in the higher-order control system.
• Before carrying out assembly, installation andmaintenance work, always switch off the power supplyand compressed air supply.Always make sure that the compressed air supply andpower supply are switched off and locked beforeworking in the machine area.
• Make sure that no persons are in the operating range ofthe drives or any other connected actuators.
• Simply switching off the compressed air supply or loadvoltage are not suitable locking procedures. In the eventof a fault, this could lead to unintentional movement ofthe drive.
• Do not switch on the compressed air supply until thesystem is correctly installed and parameterised.
• If used in safety relevant applications, additionalmeasures are necessary, e.g. in Europe the standardslisted under the EU machine guidelines must beobserved. Without additional measures in accordancewith statutory minimum requirements, the product is notsuitable for use in safety-related sections of controlsystems.
Contents and general safety instructions
IXFesto P.BE-CPX-CMIX-EN en 1208a
Protection from pressurised tubing
CautionDanger of injury through inappropriate handling ofpressurised tubing!
Sudden unexpected movement of the connected actuatorsand uncontrolled movements of loose tubing can causeinjury to human beings or damage to property.
• Do not connect, disconnect or open pressurised tubing.
• The tubes must always be exhausted before removal(release compressed air).
• Use suitable protective equipment (e.g. safety goggles,safety shoes, etc.).
Target group
This description is intended exclusively for technicianstrained in control and automation technology, who haveexperience in installing, commissioning, programming anddiagnosing positioning systems.
Service
Please consult your local Festo Service if you have anytechnical problems.
Contents and general safety instructions
X Festo P.BE-CPX-CMIX-EN en 1208a
Required software versions
Particular software versions for the CPX node are required foroperating the CMIX (versions as at July 2012):
Bus node/FEC Required version 1) Support/Operation
CPX-FEC from Revision 18 (R18) suitable
CPX-FB6 (Interbus) from Revision 22 (R22) on request
CPX-FB11 (DeviceNet) from Revision 20 (R20) suitable
CPX-FB13 (PROFIBUS-DP) from Revision 25 (R25) suitable
CPX-FB14 (CANopen) from Revision 20 (R20) suitable
CPX-FB23 (CC-Link) from Revision 19 (R19) suitable
CPX-FB32 (EtherNet/IP) from Revision 11 (R11) suitable
CPX-FB33 (PROFINET, M12) from Revision 7 (R7) suitable
CPX-FB34 (PROFINET, RJ45) from Revision 7 (R7) suitable
CPX-FB38 (EtherCat) all suitable
CPX-CEC all suitable
1) Revisions version (R...) see type plate
Tab. 0/1: Overview of CPX bus node / CPX-FEC
Please also observe the notes on the software status in thedocumentation for the CPX node.
Contents and general safety instructions
XIFesto P.BE-CPX-CMIX-EN en 1208a
Important user instructions
Danger categories
This manual contains instructions on the possible dangerswhich may occur if the product is not used correctly. Theseinstructions are marked (Warning, Caution, etc.), printed on ashaded background and marked additionally with a picto-gram. A distinction is made between the following dangerwarnings:
WarningThis means that failure to observe this instruction mayresult in serious personal injury or damage to property.
CautionThis means that failure to observe this instruction mayresult in personal injury or damage to property.
NoteThis means that failure to observe this instruction mayresult in damage to property.
The following pictogram marks passages in the text whichdescribe activities with electrostatically sensitive compo-nents.
Electrostatically sensitive components may be damaged ifthey are not handled correctly.
Contents and general safety instructions
XII Festo P.BE-CPX-CMIX-EN en 1208a
Marking special information
The following pictograms mark passages in the textcontaining special information.
Pictograms
Information:Recommendations, tips and references to other sources ofinformation.
Accessories:Information on necessary or sensible accessories for theFesto product.
Environment:Information on environment-friendly use of Festo products.
Text markings
• The bullet indicates activities which may be carried out inany order.
1. Figures denote activities which must be carried out in thenumerical order specified.
– Hyphens indicate general activities.
Contents and general safety instructions
XIIIFesto P.BE-CPX-CMIX-EN en 1208a
Notes on this manual
This manual refers to the following versions:
– CPX-CMIX-M1-1 measuring module from ab softwarestatus V 1.0
This manual contains special information on the functioning,mounting, installation and commissioning of the CMIXmeasuring module with associated modules and componentson the axis string (see Tab. 0/2).
Information on controlling, programming and diagnosing of aCMIX with the used CPX node is provided in chapter 3.
Special information on configuration for particular CPX nodesis provided in appendix B.
General basic information on the mode of operation, onfitting, installing and commissioning CPX terminals can befound in the CPX system manual, type P.BE-CPX-SYS-...
General information on operating the Handheld can be foundin the manual for the CPX Handheld, type P.BE-CPX-MMI-1-...
Contents and general safety instructions
XIV Festo P.BE-CPX-CMIX-EN en 1208a
This manual contains information about the followingmodules and components:
Module/Component – Type Description
CPX-CMIX-M1-1 CMIX measuring module with 7-segment display as well as aconnection to the sensor interface or measuring system.The CMIX is a CPX module (technology module) in a CPXterminal.
CASM-S-D2-R3CASM-S-D3-R7
Sensor interfaces with connection to the CMIX, for connectingspecial displacement encoders to the axis string:– Analogue, absolute measuring system (potentiometer)– Digital, incremental measuring system
DGCI,DDLI
DGP(L)-... withMLO-POT-...-TLF
DNCI,DDPC-...
DNC-... withMLO-POT-...-LWG
DNCM-...
DSMI-...
Permissible drives with displacement encoders: 1)
– Linear drive with permanently installed or integrateddisplacement encoder (digital, absolute)
– Linear drive with external displacement encoder(analogue, absolute – potentiometer)
– Standard cylinder with integrated displacement encoder(digital, incremental)
– Standard cylinder with external displacement encoder(analogue, absolute – potentiometer)
– Standard cylinder with external displacement encoder(analogue, absolute – potentiometer)
– Semi-rotary drive with integrated displacement encoder.(analogue, absolute – potentiometer)
1) Support for other drives in preparation
Tab. 0/2: Overview of modules and components
Contents and general safety instructions
XVFesto P.BE-CPX-CMIX-EN en 1208a
Glossary
The following product-specific terms and abbreviations areused in this manual:
Term / abbreviation Meaning
0 signal Input or output provides 0 V (also LOW, FALSE or logical 0)
1 signal Input or output provides 24 V (also HIGH, TRUE or logical 1)
Absolute displacementencoder
A displacement encoder with fixed (absolute) assignment of measurementvalues (position, angle, etc.) and measurement units
Axis string The entire collection of all modules and cables connected to the CMIX axisconnection
Bus node Provides the connection to specific fieldbuses. Transmit control signals tothe connected modules and monitor their functioning (as CPX module:CPX bus node)
CPX modules Collective term for the various modules integrated in the CPX terminal
CPX terminal Complete system consisting of CPX modules with or without pneumatics
Drive In this manual, the term “drive” represents linear drives (DGCI, DDLI,DGP), standard cylinders, positioning drives (DNC, DNCI, DDPC, DNCM) orswivel modules (DSMI)
I Digital inputFrom the point of view of the master control system, the CMIX statusoutputs are module input data, see section 3.3
I/Os Digital inputs and outputs
Incrementaldisplacement encoder
A path measuring system in which the measurement variable refers to areference point and is determined by counting equally large measurementsteps (increments)
O Digital outputFrom the point of view of the master control system, the CMIX controlinputs are module output data, see section 3.3
OB / IB Output byte / input byte
Contents and general safety instructions
XVI Festo P.BE-CPX-CMIX-EN en 1208a
Term / abbreviation Meaning
Parameters Parameters which must be set with measuring system type potentiometerin order to be operated. These are drive length/swivel angle as well asminimum and maximum position.
PLC/IPC Programmable logic controller/industrial PC
Tab. 0/3: Terms and abbreviations
Overview CPX
1-1Festo P.BE-CPX-CMIX-EN en 1208a
Chapter 1
Overview CPX
1. Overview CPX
1-2 Festo P.BE-CPX-CMIX-EN en 1208a
Table of contents
1.1 CMIX measuring module 1-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1.1 Connection and display elements of the CMIX 1-3. . . . . . . . . . . . . . . .
1.1.2 Function of the CMIX 1-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1.3 CMIX in the CPX terminal 1-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 Layout 1-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. Overview CPX
1-3Festo P.BE-CPX-CMIX-EN en 1208a
1.1 CMIX measuring module
1.1.1 Connection and display elements of the CMIX
The following connection and display elements can be foundon the CMIX:
1 Status LEDs
2 X: Control interface(connection formeasuring system orsensor interface)
3 Identification labels(accessories)
4 3-character display
5 Rating plate see side
1
23
4
5
Fig. 1/1: Connection and display elements of the CMIX
1. Overview CPX
1-4 Festo P.BE-CPX-CMIX-EN en 1208a
1.1.2 Function of the CMIX
The CMIX measuring module, in combination with a drive witha displacement encoder, permits recording and furtherprocessing of the absolute position values or speed values ofthe connected drive (see section 1.2).
When an incremental measuring system is used, themeasuring system must be referenced after switch-on.
When a potentiometer measuring system is used, drivelength/swivel angle as well as minimum and maximumposition must be entered.
1.1.3 CMIX in the CPX terminal
The CMIX is integrated into a CPX terminal as a CPX moduleand is controlled by the CPX node (bus node or FEC) via theinternal bus using 6 module output bytes and 6 module inputbytes, see section 3.3.
Information on commissioning the CMIX via the CPX bus nodeor CPX-FEC is provided in chapter 3.
1. Overview CPX
1-5Festo P.BE-CPX-CMIX-EN en 1208a
1.2 Layout
To record position, you typically need the followingcomponents (see Fig. 1/2):
1 CPX terminal withCMIX
2 Axis string
3 A sensor interfacewith measuringsystem cable(optional, dependingon the measuringsystem used)
4 Drive withdisplacementencoder(here DNCI asexample)
1 2 3 4
Fig. 1/2: Set-up to record positioning
Specific information on the set-up is provided in chapters 2.
1. Overview CPX
1-6 Festo P.BE-CPX-CMIX-EN en 1208a
Fitting and installation
2-1Festo P.BE-CPX-CMIX-EN en 1208a
Chapter 2
Fitting and installation
2. Fitting and installation
2-2 Festo P.BE-CPX-CMIX-EN en 1208a
Table of contents
2.1 General notes on fitting and installation 2-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Fitting and removing the CMIX 2-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Installation of the drive and displacement encoder 2-6. . . . . . . . . . . . . . . . . . . .
2.3.1 General requirements of the mechanics 2-7. . . . . . . . . . . . . . . . . . . . .
2.3.2 Drive and displacement encoder 2-8. . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 Mounting the CASM-... sensor interface 2-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5 Electrical installation 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.1 Earthing 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.2 Axis connection 2-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.3 Permissible module and string lengths 2-13. . . . . . . . . . . . . . . . . . . . . .
2.5.4 Sensor interface CASM 2-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.5 Ensuring protection class IP65 2-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6 Power supply 2-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6.1 Determining the current consumption 2-17. . . . . . . . . . . . . . . . . . . . . . .
2.6.2 Power supply arrangement – formation of power zones 2-18. . . . . . . .
2. Fitting and installation
2-3Festo P.BE-CPX-CMIX-EN en 1208a
2.1 General notes on fitting and installation
Information about fitting the CPX terminal can be found in theCPX system manual (P.BE-CPX-SYS-...).
NoteThe use of components that have not been approved foroperation with the CMIX may lead to malfunctions.
Use only the special matching components from Festo forsetting up and wiring the system.
When fitting the pneumatic components, observe also thenotes on fitting in the operating instructions supplied and thenotes on installation in this chapter.Only then can you guarantee faultless operation.
2. Fitting and installation
2-4 Festo P.BE-CPX-CMIX-EN en 1208a
2.2 Fitting and removing the CMIX
The CMIX is mounted in an interlinking block (see alsosection 2.6) of the CPX terminal, see Fig. 2/1.
Note• Always switch off the power supply before fitting orremoving CPX modules.
NoteThe CMIX contains electrostatically sensitive components.
• Therefore, do not touch any components.
• Observe the handling specifications for electrostaticallysensitive components.
Removal Remove the CMIX as follows:
1. Loosen the four screws of the CMIX with a T10 TORXscrewdriver.
2. Pull the CMIX carefully and without tilting away from thepower rails of the interlinking block.
1 CMIX
2 Interlocking block
3 Contact rails
4 TORX T10 screws
3
4
1
2
Fig. 2/1: Removal/fitting of the CMIX
2. Fitting and installation
2-5Festo P.BE-CPX-CMIX-EN en 1208a
Fitting Fit the CMIX as follows:
1. Place the CMIX in the interlinking block. Make sure thatthe grooves with the power contact terminals on thebottom of the CMIX lie above the power rails.
2. Push the CMIX carefully and without tilting as far aspossible into the interlinking block.
3. Tighten the screws at first only by hand. Place the screwsso that the self-cutting threads can be used.
4. Tighten the screws with a TORX screwdriver size T10 withtorque 0.9 ... 1.1 Nm.
The parameterisation is saved in the CMIX. Therefore, afterreplacing a CMIX, check the parameters and, if necessary,repeat the commissioning process; see chapter 3.Observe the instructions in section A.4.
2. Fitting and installation
2-6 Festo P.BE-CPX-CMIX-EN en 1208a
2.3 Installation of the drive and displacement encoder
Use the permitted combinations of drives and measuringsystems approved by Festo for the CMIX.
The following drives can be used:
Drive Measuring system Sensorinterface
Design Type Function Type
Linear drive DGCI,DDLI
Digital, absolute Installed,integrated
–
DGP(L) Analogue, absolute MLO-POT-TLF-... CASM-S-D2-R3
Cylinder DNCI,DDPC
Digital, incremental Integrated CASM-S-D3-R7
DNC Analogue, absolute MLO-POT-LWG-... CASM-S-D2-R3
DNCM Analogue, absolute Installed CASM-S-D2-R3
Semi-rotary drive DSMI Analogue, absolute Integrated CASM-S-D2-R3
Tab. 2/1: Drive overview (as at July 2012)
Further drives, sizes and mounting positions are inpreparation.
2. Fitting and installation
2-7Festo P.BE-CPX-CMIX-EN en 1208a
2.3.1 General requirements of the mechanics
NoteConnect the drive, guide, measuring system and load freeof play and flush with each other.
Mechanical play, such as between the cylinder’s piston rodand the mass to be moved, results in worse measurementvalues.
NoteLateral loadings produce false measuring results and maydamage the measuring system.
• Use an external guide for the working load in order toprevent transverse loadings on the drive.
• Use fastening elements which will permanently resist theacceleration forces.
NotePlease observe the notes in the operating instructions forthe axis used. Make sure that:
– the permitted lateral force,
– the permitted longitudinal force,
– the permitted mass moment of inertia,
– the maximum permitted speeds and swivel frequenciesare observed.
2. Fitting and installation
2-8 Festo P.BE-CPX-CMIX-EN en 1208a
2.3.2 Drive and displacement encoder
Tab. 2/2 provides notes on mounting the measuring system.
Drive Displacement encoder Mounting instructions
DGCI, DDLI Permanently installed orintegrated displacement encoder.
–
DGP(L) External displacement encoder oftype MLO-POT-...-TLF
• For safe and quick mounting of the measuringsystem: Use the BB-TLF-DGPL-... mounting kit.
• Mount the measuring system electricallyisolated on the mounting surface using theclamping brackets provided.
When used under difficult environmentalconditions (dusty environment):• Mount the measuring system with the actuator
slide facing downwards. The drip edge on bothsides prevents excessive dirt from forming onthe running surface.
DNCI, DDPC Integrated displacement encoder –
DNC External displacement encoder oftype Type MLO-POT-...-LWG
–
DNCM External displacement encoderalready mounted on delivery
• Always leave the measuring system mountedon the standard cylinder
• Observe the notes in the operating manual
DSMI Integrated displacement encoder –
Tab. 2/2: Notes on mounting the displacement encoder
2. Fitting and installation
2-9Festo P.BE-CPX-CMIX-EN en 1208a
2.4 Mounting the CASM-... sensor interface
Mount the CASM-... sensor interface on an even surface withtwo M4 bolts and one retaining washer each; see Fig. 2/2.The symbol marks the position of the fastening screws.The outer fastening screw serves at the same time forearthing (1 ).Tightening torque: 2 Nm.
1 Fastening screw(connect earthing)
S1
S2
1
Fig. 2/2: Mounting the CASM-...
Fastening on H-rails as per EN 60715 is possible withmounting kit type CP-TS-HS35; see Fig. 2/3.
1 H-rail 1
Fig. 2/3: Mounting the CASM-... on H-rails
2. Fitting and installation
2-10 Festo P.BE-CPX-CMIX-EN en 1208a
2.5 Electrical installation
The CMIX power supply is provided via the CPX terminal;see section 2.6.
2.5.1 Earthing
The CMIX earthing is provided via the CPX terminal; see theCPX system description.
Observe the additional earthing measures described below,depending on the components used.
NoteFunctional faults can occur through incorrect or missingearthing.
• Connect the specified earth connections at low impe-dance (short cable with large cross-section) to the earthpotential.
Unless otherwise specified, the earthing conductors musthave:
– a cable cross-section of at least 2.5 mm2
– a cable length as short as possible (typically 20 ... 30 cm).
Sensor interface earthing
When using a sensor interface:
• Make a low-ohm connection between the earthing con-nection of the sensor interface and the earth potential ofthe CPX terminal.
2. Fitting and installation
2-11Festo P.BE-CPX-CMIX-EN en 1208a
Earthing the drive/measuring system...
Depending on the drive or measuring system used, thesemust be earthed; see Tab. 2/3.
Drive Description Earthing notes
DGCI,DDLI
Linear drive with permanentlyinstalled or integrateddisplacement encoder
• Make a low-ohm connection (earthing strip)between the flat plug of the displacementencoder and the earth potential!– Flat plug (DIN 46246-2, width: 4.8 mm)
DGP(L) Linear drive with externaldisplacement encoder,type MLO-POT-...-TLF
• Install the displacement encoder electricallyisolated 1)
DNCI,DDPC
Standard cylinder with integrateddisplacement encoder
• Make a low-ohm connection (short cable withlarge cross-section) between the earthconnection at the cylinder and the earthpotential 1)
A self-tapping screw for fastening an earth strapis supplied with the displacement encoder.
DNC Standard cylinder with externaldisplacement encoder,type MLO-POT-...-LWG
• Make a low-ohm connection (earthing strapsupplied) between the flat plug of thedisplacement encoder and the earth potential!
DNCM Standard cylinder, externaldisplacement encoder alreadymounted on delivery
No additional earthing required 1)
DSMI Semi-rotary drive with integrateddisplacement encoder
• Make a low-ohm connection (earthing strap)between the earth connection of the DSMI andthe earth potential!
1) Alternatively: Mount the drive on an earthed machine bed.
Tab. 2/3: Notes on earthing the drive and displacement encoder
2. Fitting and installation
2-12 Festo P.BE-CPX-CMIX-EN en 1208a
2.5.2 Axis connection
The displacement encoder or a sensor interface (dependingon the measuring system) is connected to the ’X’ axisconnection of the CMIX.
This forms an axis string.
Notes on connecting the modules to the axis connection areprovided in section 2.5.3.
The axis connection pin assignments for the CMIX and sensorinterface or measuring system are shown in Tab. 2/4.
Pin Assignment CMIX X CASM: S1
1 Operating voltage 24 V
2 +24 V load voltage
3 0 V
4 CAN_H
5 CAN_L
Housing Cable shield 1)
1) Cable screening on CASM connected to the earth terminal,screening for DGCI or DDLI connected to the housing.
Tab. 2/4: Pin allocation of the axis connections
2. Fitting and installation
2-13Festo P.BE-CPX-CMIX-EN en 1208a
2.5.3 Permissible module and string lengths
Maximum permissible cable length of the axis string: 30 m(total length CMIX – sensor interface or measuring system)
Connecting cable Length Type
Connecting cable WS-WD,angled plug – angled socket
0.25 m KVI-CP-3-WS-WD-0,25
0.5 m KVI-CP-3-WS-WD-0,5
2 m KVI-CP-3-WS-WD-2
5 m KVI-CP-3-WS-WD-5
8 m KVI-CP-3-WS-WD-8
Connecting cable GS-GD,straight plug – straight socket
2 m KVI-CP-3-GS-GD-2
5 m KVI-CP-3-GS-GD-5
8 m KVI-CP-3-GS-GD-8
Connecting piece,for control cabinet feed-through
– KVI-CP-3-SSD
Tab. 2/5: Overview of cables between CMIX, sensor interface, measuring system
2. Fitting and installation
2-14 Festo P.BE-CPX-CMIX-EN en 1208a
2.5.4 Sensor interface CASM
The sensor interface type CASM-... has an incoming (S1)connection; see section 2.5.2.
A corresponding input (S2) for connecting the specificdisplacement encoder is also available; see Tab. 2/6.
Drive Displacementencoder
Sensor interface Connecting cable
DGCI, DDLI permanently installedor integrated
(no sensor interfacerequired)
KVI-CP-3-...
DNCI, DDPC integrated CASM-S-D3-R7 permanently connected to DNCI/DDPC
DNC external,MLO-POT-...-LWG
CASM-S-D2-R3
NEBC-P1W4-K-0,3-N-M12G5
DSMI integrated
DGP(L) external,MLO-POT-...-TLF
NEBC-A1W3-K-0,3-N-M12G5DNCM external, fitted on
delivery
Tab. 2/6: Overview of sensor interfaces and measuring system cables
In principle, other potentiometers can be used: Observe thefollowing:
– The potentiometer must have a connection resistance of3 ... 20 kΩ.
– If the potentiometer has worse values for linearity andtemperature coefficient, the measured value will be lessaccurate.
– To connect it to the sensor interface, you might have tofabricate a special cable.
2. Fitting and installation
2-15Festo P.BE-CPX-CMIX-EN en 1208a
CASM-S-D3-R7 Sensor interface for digital, incremental measuring systems,with M12 measuring system connection (socket, 8 pin)
Pin Assignment S2
1 +Vb Sensor (5 V)
4
3
7
16
5 8
2
2 0 V
3 Signal sine +
4 Signal sine –
5 Signal cosine –
6 Signal cosine +
7 Screening
8 n.c. (not connected)
Housing Earthing connection (FE)
The cable screening is connected to the earthing terminal of thesensor interface.
Tab. 2/7: Pin assignment of connection S2 with theCASM-S-D3-R7
2. Fitting and installation
2-16 Festo P.BE-CPX-CMIX-EN en 1208a
CASM-S-D2-R3 Sensor interface for analogue, absolute measuring system(potentiometer), with M12 measuring system connection(socket, 5 pin)
Pin Assignment S2
1 Measuring system housing 3
2
4
1
5
2 n.c. (not connected)
3 Analogue GND (OGND)
4 Reference voltage 5 V (REF 5V)
5 Analogue input 0 ... 5 V (INPUT)
Housing Earthing connection (FE)
The cable screening is connected to the earthing terminal of thesensor interface.
Tab. 2/8: Pin assignment of connection S2 with theCASM-S-D2-R3
2.5.5 Ensuring protection class IP65
With a completely installed axis string (all plug connectionsinserted), the CMIX in the CPX terminal conforms to protec-tion class IP65.
NoteIn order to achieve protection class IP65:
• Seal unused connections with the protective capssupplied.
If the axis connection is not used, then seal this using aFLANSCHDOSE (flangesocket), S712 protective cap. You willthen achieve protection class IP65.
2. Fitting and installation
2-17Festo P.BE-CPX-CMIX-EN en 1208a
2.6 Power supply
The power supply for the CMIX is provided via the followingconnections on the CPX terminal (interlinking blocks withpower supply):
Interlocking blockCPX-EV-S... orCPX-M-EV-S... (VEL/SEN)
The power supply for the following is provided via theoperating voltage supply for the electronics/sensors(VEL/SEN) of the CPX terminal:
– internal electronics of the CMIX
– connected sensor interface (optional)
– connected displacement encoder.
Interlocking blockCPX-EV-V..., CPX-M-EV-V...,CPX-EV-S... orCPX-M-EV-S... (VVAL)
The CMIX does not need any load supply for the valves(VVAL) of the CPX terminal.But the voltages 0 VEL/SEN and 0 VVAL are connected by theCMIX; see section 2.6.2.
2.6.1 Determining the current consumption
Tab. 2/9 shows current consumption of the CMIX.
Current consumption of the CMIX made up of VEL/SEN ofthe CPX terminal
Typical current consumption dependent on themeasuring system
80 ... 110 mA
Maximum current consumption 110 mA
Tab. 2/9: Current consumption via VEL/SEN of theCPX terminal
2. Fitting and installation
2-18 Festo P.BE-CPX-CMIX-EN en 1208a
2.6.2 Power supply arrangement – formation of power zones
The modular power supply arrangement of the CPX terminalfacilitates the formation of power zones.
Observe the following:
– The CMIX connects the internal contact rails 0 VEL/SEN to 0VVAL of the CPX terminal.This means that the operating voltage for the electronics/sensors (VEL/SEN) of the CPX terminal and the CMIX loadsupply for the valves (VVAL) are thus no longer electricallyisolated.
NoteDamage to components and functional damage!
• At the module position of the CMIX, the same potential(common power unit of connection of the 0 V cables)must be supplied as the operating power supply for theelectronics/sensors (VEL/SEN) and the CPX terminal.
The CMIX always connects the 0 V supply for the elec-tronics with the 0 V supply for the valves. This must benoted when a CPX-GE-EV-V interlinking block is located tothe left of the CMIX because this can remove an intentionalvoltage isolation.
Basic information on the power supply arrangement of theCPX terminal can be found in the CPX system manual.
Commissioning
3-1Festo P.BE-CPX-CMIX-EN en 1208a
Chapter 3
Commissioning
3. Commissioning
3-2 Festo P.BE-CPX-CMIX-EN en 1208a
Table of contents
3.1 Overview / procedure for commissioning 3-3. . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Notes on the available CPX nodes 3-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 I/O assignment of the CMIX / address range 3-5. . . . . . . . . . . . . . . . . . . . . . . . .
3.3.1 Control byte and status byte assignment 3-6. . . . . . . . . . . . . . . . . . . .
3.3.2 Data format of actual value and setpoint value 3-9. . . . . . . . . . . . . . . .
3.3.3 Notes on displaying speed 3-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 Commissioning with various drives/measuring systems 3-11. . . . . . . . . . . . . . . .
3.4.1 Digital measuring system (DGCI, DDLI) 3-11. . . . . . . . . . . . . . . . . . . . . .
3.4.2 Encoder (DNCI, DDPC) 3-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4.3 Potentiometer (MLO-..., DSMI) 3-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4.4 Examples 3-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5 Resetting to status as at delivery 3-18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3. Commissioning
3-3Festo P.BE-CPX-CMIX-EN en 1208a
3.1 Overview / procedure for commissioning
The following steps must be performed duringcommissioning:
1. Check set-up of the used components on the axis string,if necessary.
2. Check power supply of the CPX terminal; switch on powersupply.
3. Configure CPX node.
4. Depending on the drive or measuring system used:
– Digital measuring system (e.g. DGCI, DDLI)No commissioning necessary. A zero point canoptionally be set.
– Encoder (e.g. DNCI):The incremental measuring system must bereferenced after switch-on.
– Potentiometer (e.g. MLO-POT-..., DSMI, DNCM):The min. and max. position value must be set onceand the effective stroke length (max. measurementlength) written in 1/100 mm.
After commissioning:
5. Check function of the CMIX.
3. Commissioning
3-4 Festo P.BE-CPX-CMIX-EN en 1208a
3.2 Notes on the available CPX nodes
Tab. 3/1 shows an overview of the available CPX nodes thatare suitable for operation with the CMIX (as of July 2012).
Bus node/FEC Support/operation Special instructions
CPX-FEC suitable Appendix B.1
CPX-FB6 (Interbus) on request Not present
CPX-FB11 (DeviceNet) suitable Appendix B.3
CPX-FB13 (PROFIBUS-DP) suitable Appendix B.2
CPX-FB14 (CANopen) suitable Not present
CPX-FB23 (CC-Link) suitable Not present
CPX-FB32 (EtherNet/IP) suitable Not present
CPX-FB33 (PROFINET, M12) suitable Not present
CPX-FB34 (PROFINET, RJ45) suitable Not present
CPX-FB38 (EtherCat) suitable Not present
CPX-CEC suitable Not present
Tab. 3/1: Note, CPX node
Depending on the bus, up to 9 CMIX can be installed in oneCPX terminal.
General parameterisation instructions are provided in therespective manuals for the CPX node used.
3. Commissioning
3-5Festo P.BE-CPX-CMIX-EN en 1208a
3.3 I/O assignment of the CMIX / address range
The CMIX is controlled by the CPX node via the internal bususing 6 bytes of output data and 6 bytes of input data.
Byte 4 serves as control or status byte; in bytes 0 ... 3 actualvalue and setpoint value are transferred.
Format 32-bit integer (DINT, int32)
(Control byte CCON B1 = 0)
I/O Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Output data Setpoint value Control byteCCON
reserved
LSB ... ... MSB
Input data Actual value: position or speed Status byteSCON
reserved
LSB ... ... MSB
Tab. 3/2: Module output data of the CMIX with 32-bit integer format
Decimal format
Especially for controls that can only process 16-bit values.
(Control byte CCON B1 = 1)
I/O Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Output data Setpoint value Control byteCCON
Reserved
16 bit before the decimal 16 bit after the decimal
Input data Actual value: position or speed Status byteSCON
Reserved
16 bit before the decimal 16 bit after the decimal
Tab. 3/3: Module output data of the CMIX with decimal format
3. Commissioning
3-6 Festo P.BE-CPX-CMIX-EN en 1208a
3.3.1 Control byte and status byte assignment
CCON With the control byte (CCON), the number format and outputmode of the CMIX are controlled as well as the performanceof the commissioning functions.
Assignment of the control byte CCON (byte 4)
CCON B7PARAM1
B6PARAM0
B5LOAD_P
B4REF
B3RESET
B2MODE
B1FORMAT
B0UNIT
Parameters Loadpara-meters
Setreferencepoint
Acknowl-edgeerror
Mode Numberformat
Unit
Tab. 3/4: Byte 4 of the module output data of the CMIX: CCON
SCON The status byte (SCON) reports the condition of the CMIX.
Assignment of the status byte SCON (byte 4)
SCON B7ERROR
B6–
B5ACK
B4REF_OK
B3ERROR3
B2ERROR2
B1ERROR1
B0ERROR0
Errors – Para-meteraccepted
Refe-rencepoint set
Error code
Tab. 3/5: Byte 4 of the module input data of the CMIX: SCON
3. Commissioning
3-7Festo P.BE-CPX-CMIX-EN en 1208a
Control byte 4 (CCON)
Bit DE EN Description
B0UNIT
Einheit Unit Unit used, dependent on mode and measuring system.
Position (B2 = 0) Speed (B2 = 1)
= 0: Increments 1)
= 1: 0.01 mm 2)= 0: Increment/s 1)
= 1: 0.01 mm/s 2)
B1FORMAT
Zahlen-format
Format Number format of the actual and setpoint values.= 0: 32-bit integer= 1: Decimal (2 x 16-bit integer, before the decimal,
after the decimal)
B2MODE
Modus Mode Mode of the output actual values= 0: Actual value is position= 1: Actual value is speed
B3RESET
Fehlerquittieren
Reset Error A positive edge (0 -> 1) resets the error when the cause hasbeen eliminated. The signal must be on at least 20 ms.
B4REF
Nullpunkt/Referenz-punktsetzen
Set zeropoint /referencepoint
With a positive edge (0 -> 1), the current position is set as zeropoint (= reference position for DNCI). The bit can be reset assoon as acceptance is confirmed with ACK = 1 (and for DNCIwith REF_OK = 0).For digital measuring system (DGCI, DDLI) and potentiometer,the zero point also remains stored after switching on/off.
B5LOAD_P
LadeParameter
Loadparameter
With a positive edge (0 -> 1), the value in the setpoint value isaccepted as parameter corresponding to B6 and B7 (only forpotentiometer). The bit can be reset as soon as acceptance isconfirmed with ACK.
B6PARAM0
Parameter Parameter Bit 7 6 ValueParameter transferred (only potentiometer)
0 0 0 Set effective stroke length in 1/100 mm0 1 1 Accept current position as min. pos.1 0 2 Accept current position as max. pos.1 1 3 – (reserved)
B7PARAM1
1) Size dependent on measuring system:DGCI, DDLI (Digital): 5 μmDNCI (Encoder): 4.8828 μmMLO-..., DSMI (Potentiometer): 0 ... 65535 increments, with respect to the nominal length of themeasuring system (the effective stroke length is not considered).
2) For the potentiometer, the max. position, min. position and effective stroke length or swivel anglemust be entered; see section 3.4.3.For swivel modules, the unit 0.01° is valid correspondingly.
3. Commissioning
3-8 Festo P.BE-CPX-CMIX-EN en 1208a
Status byte 4 (SCON)
Bit DE EN Description
B0ERROR0
Error code Error code Error code of the error.Bit 3 2 1 0 Value Error
0 0 0 0 0 No error0 0 0 1 1 Measuring system is not present/
defect or communication erroror time out (E80)
0 0 1 0 2 Checksum error in the measuringsystem (E81)
0 0 1 1 3 Under voltage in CMIX module (E52)0 1 0 1 5 Impermissible entry of the
effective stroke length (E84) 100 ≥ Effective stroke length≥ 500000
0 1 1 0 6 Undervoltage in the measuring system(E85)
1 0 0 0 8 Measuring system defective (E87)
All other values are reserved.
B1ERROR1
B2ERROR2
B3ERROR3
B4REF_OK
Referenz-punktgesetzt
Referencepoint set
Status of referencing (or zero point).= 0: Reference position is set.= 1: No reference position set yet.
B5ACK
Parameterüber-nommen
Acknowl-edgeParameter
Confirmation (handshake) of parameter acceptance.= 0: No parameter acknowledgement (LOAD_P = 0)= 1: Parameter acknowledged LOAD_P can be reset to 0
B6–
– – Reserved (= 0)
B7ERROR
Fehler Error Error bit.= 0: No error= 1: Error present; see B0 ... B3
3. Commissioning
3-9Festo P.BE-CPX-CMIX-EN en 1208a
3.3.2 Data format of actual value and setpoint value
Multiple-byte values are interpreted as standard by the CMIXin the byte order “MOTOROLA (MSB-LSB)”.Example, effective stroke length 750 mm:
MOTOROLA (MSB-LSB) – Big Endian
Example 75.000d = 00 01 24 F8h
Byte address 3 2 1 0
Bit no. 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Bin 1 1 1 1 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
Hex F8h 24h 01h 00h
If your control system has to use another byte sequence, youmust take this into account accordingly, e.g. in yourapplication programs.
CPX parameter “Analogue process value presentation”
Some CPX bus nodes (e.g. CPX-FB13, FB33, FB34 and FB35)support the global system parameter “Analogue process valuepresentation” (system table function number 4402, bit 7):
– Value “0”: INTEL (LSB-MSB) – default
– Value “1”: MOTOROLA (MSB-LSB)
INTEL (LSB-MSB) – Little Endian
Example 75.000d = 00 01 24 F8h
Byte address 3 2 1 0
Bit no. 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Bin 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 1 1 1 1 1 0 0 0
Hex 00h 01h 24h F8h
3. Commissioning
3-10 Festo P.BE-CPX-CMIX-EN en 1208a
3.3.3 Notes on displaying speed
Unit increments
Based on the unit inc, only values without the last 3 digits areoutput.
Unit 0.01 mm/s
With the digital measuring system (DGCI, DDLI), only speedsthat have no after-decimal places result, since here 5 μm isalways calculated.
For the potentiometer or encoder (DNCI, DDPC), after-decimaldigits are putput, since for the potentiometer the effectivestroke length is divided by 65535 and for the encoder anincrement is calculated as 4.8828 μm.
3. Commissioning
3-11Festo P.BE-CPX-CMIX-EN en 1208a
3.4 Commissioning with various drives/measuring systems
3.4.1 Digital measuring system (DGCI, DDLI)
Immediately after switch-on, the measuring system providesthe position value. Commissioning is not necessary.
If needed, the current position can be set as zero point withthe bit REF = 1 in the control byte CCON. Confirmation takesplace via ACK = 1 in the status byte SCON. Negative valuesare output below the zero point, positive values above it.
If a zero point is established, it remains stored even afterswitching on or off.
3.4.2 Encoder (DNCI, DDPC)
The incremental measuring system must be referenced afterswitch-on.
The current position is accepted as zero point (referencepoint) with setting of the bit REF in the control byte CCON.Confirmation takes place via the bits ACK = 1 and REF_OK = 0in the status byte SCON. Negative values are output belowthe zero point, positive values above it.
3. Commissioning
3-12 Festo P.BE-CPX-CMIX-EN en 1208a
3.4.3 Potentiometer (MLO-..., DSMI)
At initial commissioning, the min. and max. position valuemust be set once and the effective stroke length (maximummeasurement length) written in 1/100 mm or 1/100°.
If no effective stroke length is written, 100 mm or 100° isused as default setting.
The values remain stored after switching on and off. If theexisting potentiometer is replaced by one with anotherlength, the initial commissioning must be carried out again.
Proceed as follows:
1. For definition of the min. and max. position values, themeasuring system (potentiometer) must be pushedsuccessively into the stroke-limiting mechanical stops ofthe drive or run with compressed air. To accept thepositions, the following bits are set in the control byteCCON:
Min. position: PARAM0 = 1 and PARAM1 = 0 Accept with LOAD_P = 1Max. position: PARAM0 = 0 and PARAM1 = 1 Accept with LOAD_P = 1
With the bit ACK (bit 5), the process is acknowledged witha 1-signal each.
2. If the actual position should be output in millimetres or thespeed in millimetres/second (or correspondingly in de-grees, etc.), the effective stroke length must be measuredand input in 1/100 mm or 1/100°. This requires setting thebit UNIT in the control byte CCON to 1 (Z 1/100 mm).
Measuring errors in the input have a negative effect on themaximum achievable accuracy.This applies especially for the swivel modules, for which thescale used by its nature does not permit measurement in1/100°. That is, an entry of 27000 (32-bit integer) or 270.00(decimal) equals the nominal swivel angle of 270°. But theexact angle between the stops can differ from it.
3. Commissioning
3-13Festo P.BE-CPX-CMIX-EN en 1208a
The effective stroke length is specified either in the 32-bitinteger or decimal format (depending on the bit UNIT) inthe output data byte 0 ... 3. For the length to be accepted,the bits PARAM0 and PARAM1 must equal 0.
The value is accepted with the bit LOAD_P = 1.Confirmation takes place through the bit ACK = 1 in thestatus byte SCON.
3. A zero point can be defined with the bit REF = 1.Confirmation takes place through the bit ACK = 1.REF_OK is already previously = 0.Negative values are output below the zero point, positivevalues above it.
If a zero point is established, it remains stored even afterswitching on or off.
Generally: Play within the measurement application has anegative effect on the achievable accuracy.
Tip: You can also perform all one-time settings with theCPX-FMT. Fig. 3/4 shows the effective stroke lengthbeing written as an example.
Fig. 3/4: Writing the effective stroke length with theCPX-FMT
3. Commissioning
3-14 Festo P.BE-CPX-CMIX-EN en 1208a
3.4.4 Examples
Potentiometer commissioning
Step 1 Bring measuring system into the lower stroke-limitingmechanical stop of the drive.
Output data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 00000000 00000000 00000000 00000000 01000000 00000000
Hex. 0x00 0x00 0x00 0x00 0x40 0x00
Description Not relevant Bit 6, 7:Min. position Reserved
Input data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 00000000 00000000
Hex. 0xXX 0xXX 0xXX 0xXX 0x00 0x00
Description X: Not relevant Bit 5: No acceptanceBit 7: No error
Reserved
Step 2 Accept lower stop.
Output data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 00000000 00000000 00000000 00000000 01100000 00000000
Hex. 0x00 0x00 0x00 0x00 0x60 0x00
Description Not relevant Bit 5: Accept positionBit 6, 7:Min. position
Reserved
Input data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 00100000 00000000
Hex. 0xXX 0xXX 0xXX 0xXX 0x20 0x00
Description X: Not relevant Bit 5: Pos. acceptedBit 7: No error
Reserved
3. Commissioning
3-15Festo P.BE-CPX-CMIX-EN en 1208a
Step 3 Bring measuring system into the upper stroke-limitingmechanical stop of the drive.
Output data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 00000000 00000000 00000000 00000000 10000000 00000000
Hex. 0x00 0x00 0x00 0x00 0x80 0x00
Description Not relevant Bit 6, 7:Max. position Reserved
Input data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 00000000 00000000
Hex. 0xXX 0xXX 0xXX 0xXX 0x00 0x00
Description X: Not relevant Bit 5: No acceptanceBit 7: No error
Reserved
Step 4 Accept upper stop.
Output data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 00000000 00000000 00000000 00000000 10100000 00000000
Hex. 0x00 0x00 0x00 0x00 0xA0 0x00
Description Not relevant Bit 5: Pos. acceptedBit 6, 7:Max. position
Reserved
Input data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 00100000 00000000
Hex. 0xXX 0xXX 0xXX 0xXX 0x20 0x00
Description X: Not relevant Bit 5: Pos. acceptedBit 7: No error
Reserved
3. Commissioning
3-16 Festo P.BE-CPX-CMIX-EN en 1208a
Step 5 Set effective stroke length.
Output data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 01110100 10111101 00000000 00000000 00000001 00000000
Hex. 0x74 0xBD 0x00 0x00 0x01 0x00
Description Effective stroke length setpoint value,example 485 mm (Z 48500d = 0x0000BD74)
Bit 0: Unit 0.01 mmBit 1: Format 32-bit int.Bit 2: Position modeBit 6, 7: Effective stroke
length
Reserved
Input data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 00000000 00000000
Hex. 0xXX 0xXX 0xXX 0xXX 0x00 0x00
Description X: Not relevant Bit 5: No acceptanceBit 7: No error
Reserved
Step 6 Accept effective stroke length.
Output data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 01110100 10111101 00000000 00000000 00100001 00000000
Hex. 0x74 0xBD 0x00 0x00 0x21 0x00
Description Effective stroke length setpoint value,example 485 mm (Z 48500d = 0x0000BD74)
Bit 0: Unit 0.01 mmBit 1: Format 32-bit int.Bit 2: Position modeBit 5: Accept lengthBit 6, 7: Effective stroke
length
Reserved
3. Commissioning
3-17Festo P.BE-CPX-CMIX-EN en 1208a
Input data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 01110100 10111101 00000000 00000000 00100000 00000000
Hex. 0x74 0xBD 0x00 0x00 0x20 0x00
Description Actual value of current position in 0.01 mm:485 mm (Drive is still at the upper stop)
Bit 5: Par. acceptedBit 7: No error
Reserved
Step 7 Optional: Set zero point.
Output data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 00000000 00000000 00000000 00000000 00010001 00000000
Hex. 0x00 0x00 0x00 0x00 0x11 0x00
Description Not relevant Bit 4: Set zero point Reserved
Input data Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
Bit 7 ... 0 00000000 00000000 00000000 00000000 00010000 00000000
Hex. 0x00 0x00 0x00 0x00 0x10 0x00
Description Current position = 0 Bit 4: Accept zero pointBit 7: No error
Reserved
Example decimal format
In the decimal format, all values (position values, effectivestroke length, etc.) are interpreted as follows:
L = 488.02 mm before decimal = 488 (0x01E8)after decimal = 02 (0x0002)
3. Commissioning
3-18 Festo P.BE-CPX-CMIX-EN en 1208a
3.5 Resetting to status as at delivery
This is how to reset the CMIX to the condition at delivery:
1. Switch off power supply of the CPX terminal.
2. Remove cable to the measuring system or sensorinterface.
3. Switch on power supply of the CPX terminal.
4. Set the bit LOAD_P in the control byte CCON(0 -> 1, positive edge).
5. Switch off power supply of the CPX terminal.
6. Plug cable back in to the measuring system orsensor interface.
7. Switch on power supply of the CPX terminal.
The CMIX is back in the delivery condition.
Diagnosis
4-1Festo P.BE-CPX-CMIX-EN en 1208a
Chapter 4
Diagnosis
4. Diagnosis
4-2 Festo P.BE-CPX-CMIX-EN en 1208a
Table of contents
4.1 Errors of the CMIX 4-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.1 Error numbers of the CMIX 4-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.2 Acknowledging errors 4-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Diagnostics via LEDs 4-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.1 LEDs on the sensor interface 4-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.2 LEDs on the measuring system (DGCI only) 4-7. . . . . . . . . . . . . . . . . . .
4.3 Diagnosis via the display/7-segment display 4-8. . . . . . . . . . . . . . . . . . . . . . . . .
4.4 Diagnosis via the CPX node 4-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.1 Module output and input data 4-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.2 Status bits of the CPX terminal 4-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4.3 I/O diagnostic interface and diagnostic memory 4-11. . . . . . . . . . . . . .
4. Diagnosis
4-3Festo P.BE-CPX-CMIX-EN en 1208a
4.1 Errors of the CMIX
4.1.1 Error numbers of the CMIX
Errors Errorbits 1)
Description Error handling CPX error
E52 = 3 Undervoltage in CMIXmodule
• Check power supply of theCPX terminal
105:System error B
E80 = 1 Measuring system isnot present/defectiveor communicationerror or time out
• Check connection cable for theaxis string.Cable fracture?Plug inserted correctly?
108:Error on themeasuringsystem
E87 = 8 Measuring systemdefective 2)
• Check measuring system cable.Cable fracture?Plug inserted correctly?
• Check measuring system.
108:Error on themeasuringsystem
E81 = 2 Checksum error in themeasuring system
Sensor interface is defective.• Check sensor interface, replace or
service, if necessary.
108:Error on themeasuringsystem
E84 = 5 Impermissible entry ofthe effective strokelength 3)
Effective stroke length outside thevalid range, or position at thepotentiometer outside the permittedrange (electric reserve).• Transfer correct effective stroke.• Check installation.
108:Error on themeasuringsystem
E85 = 6 Undervoltagemeasuring system
Logic voltage for CASM too low, e.g.connecting cable for axis string toolong (max. 30 m) or damaged.• Check connection cable for the
axis string; replace if necessary.
108:Error on themeasuringsystem
1) Value of the error bits ERROR0 ... ERROR32) For potentiometer, the error does not have to be acknowledged after its cause is repaired3) 100 ≥ Effective stroke ≥ 500000
Tab. 4/1: Error messages of the CMIX
4. Diagnosis
4-4 Festo P.BE-CPX-CMIX-EN en 1208a
Error numbers on the CPX terminal
All CMIX errors are also signaled as CPX error message 108(measuring system error). This can be examined via the I/Odiagnostic interface, for example.
Function number Module diagnostic data
2008+m*4+1 Module error number
Furthermore, the following errors can occur during the com-missioning phase for the CPX bus node with the parameter“System start” = “saved parameterising and CPX-FEC systemequipment status” or for the CPX-FEC:
Error no. Description Error handling
16 Module code not permitted or incorrectmodule(Handheld: [Module code incorrect] )– The string allocation stored in the CMIX is
different from the configuration stored inthe CPX bus node or the CPX-FEC
• For the CPX bus node:Change parameter “System start...”to “... default parameterisation andcurrent CPX equipment status”
• With the CPX-FEC:Save the actual configuration as theset configuration using the FSTsoftware
Tab. 4/2: Additional error message of the CPX terminal
4.1.2 Acknowledging errors
Errors can basically only be acknowledged after the cause ofthe error has been rectified.
In order to delete the error:
– acknowledge the error with the RESET_FAULT bit
or
– switch the operating voltage off and then on again.
4. Diagnosis
4-5Festo P.BE-CPX-CMIX-EN en 1208a
4.2 Diagnostics via LEDs
LEDs for diagnosing the CPX terminal are provided on theCMIX as well as on the individual modules at the axisconnection.
The meaning of the LEDs on the modules at the axis stringcan be found in the manual for the relevant module.
LEDs at the CMIX
The light-emitting diodes on the cover indicate CMIX errors.
1 ErrorsP (red)
2 Power LoadPL (not used) PL
1
2
Fig. 4/1: LEDs at the CMIX
LED Description
Error LED Lights up when CMIX errors occur.
PL Power Load Not used by CMIX
Tab. 4/3: LEDs of the CMIX
4. Diagnosis
4-6 Festo P.BE-CPX-CMIX-EN en 1208a
4.2.1 LEDs on the sensor interface
LEDs on the CASM-S-D2-R3
LED S1 LED S2 Status
green off Ready to operate, without error
green red Initialising via CAN completed
flashes green red 24 V present
off off 24 V not present
green flashes red once Error: Sensor error (supply voltage < 12 V for longer than 15 ms)
green flashes red twice Error: Sensor error (cable break in sensor cable or electrical endposition reached)
green flashes red 3 times Error: Supply voltage (< 17 V for longer than 15 ms)
green flashes red 4 times Error: Communication error (Bus Off state)
LEDs on the CASM-S-D3-R7
LED S1 LED S2 CASM-S-D2-R3 state
green off Ready to operate, without error
green red Initialising via CAN completed
flashes green red 24 V present
flashes green off Not yet referenced
off off 24 V not present
green flashes red once Error: Sensor error
green flashes red twice Error: Sensor cable (cable break in the sensor cable)
green flashes red 3 times Error: Supply voltage (< 17 V for longer than 15 ms)
green flashes red 4 times Error: Communication error (Bus Off state)
4. Diagnosis
4-7Festo P.BE-CPX-CMIX-EN en 1208a
4.2.2 LEDs on the measuring system (DGCI only)
LEDs on the DGCI measuring system
Power LED Error LED Status
green off No error (normal operating status)
off off No power supply
off red Error: Initialising via CAN failed
green red Error: Magnet not recognised or incorrect number of magnets
flashes green flashes red Error: Operating voltage not within permissible range
4. Diagnosis
4-8 Festo P.BE-CPX-CMIX-EN en 1208a
4.3 Diagnosis via the display/7-segment display
The CMIX shows status or diagnostic information directly onthe display/7-segment display.
Possible status information
Display Description
When the power supply is switched on, the firmware version (e.g. 1.03) is displayedfor approx. 1 s
Power supply below the permitted range when switched on.Measuring system power supply still switched off.
In error-free operation, the measuring system type is displayed.
– dGC: Digital measuring system (e.g. DGCI, DDLI)
– dnC: Encoder (e.g. DNCI)
– POt: Potentiometer (e.g. MLO-..., DSMI)
An error exists (Error). Input bit ERROR supplies a 1-signal.
E52: Undervoltage in CMIX module
E80: Measuring system is not present/defective, communication error or time out
E81: Checksum error in the measuring system.
E84 Impermissible entry of the effective stroke length(100 ≥ Effective stroke ≥ 500000)
E85 Undervoltage measuring system
E87 Measuring system defective
Tab. 4/4: Status information display
4. Diagnosis
4-9Festo P.BE-CPX-CMIX-EN en 1208a
4.4 Diagnosis via the CPX node
Errors in the CMIX or the connected modules are reported tothe CPX bus node as CPX error messages. The followingsections contain the special features of the presentation forthe CPX-specific diagnostic possibilities.
– I/O data module (see section 4.4.1),
– status bits (see section 4.4.2),
– diagnostic memory (I/O diagnostic interface,see section 4.4.3).
4.4.1 Module output and input data
Among other information, the following diagnosticinformation is available via the I/O data module(see section 3.3).
Errors
Error exists The ERROR bit shows that an error is present.With the RESET bit, the error can be acknowledged.
Error number The error number of an existing error is provided in the bitsERROR0 ... 3.
4. Diagnosis
4-10 Festo P.BE-CPX-CMIX-EN en 1208a
4.4.2 Status bits of the CPX terminal
Tab. 4/5 shows the message indicating a CMIX error in theCPX terminal status bits.
Bit Diagnostic informationwith 1-signal
Description Cause of CMIX error
0 Error at valve Module type in whichan error has occurred
–
1 Error at output –
2 Error at input –
3 Error on analogue module/technology module
Bit 3 is set for all CMIX errors
4 Undervoltage Type of error –
5 Short circuit/overload –
6 Wire break –
7 Other error –
Tab. 4/5: Overview of status bits
Further instructions on the function and content of the statusbits can be found in the CPX system manual.
4. Diagnosis
4-11Festo P.BE-CPX-CMIX-EN en 1208a
4.4.3 I/O diagnostic interface and diagnostic memory
A range of different diagnostic information is accessible viathe I/O diagnostic interface and the diagnostic memory of theCPX terminal.
Diagnostic memory data(Handheld and I/O diagnostic interface)
The specific representation of diagnostic messages of theCMIX in the diagnostic memory of the CPX terminal occurs asshown in Tab. 4/6.
Diagnostic memory data (10 bytes per entry, max. 40 entries) Function no. 1)
Byte Designation Description Value 3488 + n
12345
Days [day]Hours [h]Minutes [m]Seconds [s]Milliseconds [ms]
Time information for the reportederror, measured from the point whenthe power supply was switched on(CPX standard).
0 ... 2550 ... 230 ... 590 ... 590 ... 99(128 ... 227)
n = 10 * d + 0
6 Module code Module code of the CMIX: 180 0 ... 255 n = 10 * d + 5
7 Module position[Pos]
Module number of the CPX modulethat signaled the error
0 ... 47 n = 10 * d + 6
8 Channel number Bit 7 6 5 ... 0 Description
1 0 0 ... 0 Error inI-channel 0
128(0 ... 255)
n = 10 * d + 7
9 Error number [FN] CPX error number 108(see section 4.1)
108(0 ... 255)
n = 10 * d + 8
10 Following channels Always 0 for the CMIX 0 (0 ... 63) n = 10 * d + 9
1) d (diagnostic event) [NB] = 0 ... 39; most current diagnostic event = 0
Tab. 4/6: Diagnostic memory data of the CMIX
Instructions on diagnosis with the I/O diagnostic interfacecan be found in the CPX system manual.
4. Diagnosis
4-12 Festo P.BE-CPX-CMIX-EN en 1208a
Example of diagnostic memory entry
Diagnostic memory data Value
Byte Designation Description Dec Hex Bin
12345
Days [day]Hours [h]Minutes [m]Seconds [s]Milliseconds [ms]
Errors were signaled 22.66 ms afterswitching on the power supply(bit 7 in byte 5 is set if this is the firstentry since Power ON).
0d0d0d22d194d
00h00h00h16hC2h
00000000b00000000b00000000b00010110b11000010b
6 Module code Module code of the CMIX: 180 180d B4h 10110100b
7 Module position[Pos]
In this case, the CMIX is CPX moduleNo. 2
2d 02h 00000010b
8 Channel number Bit 7 6 5 ... 0 Description1 0 0 ... 0 Error in I channel
128d 80h 10000000b
9 Error number [FN] CPX error number: 108 108d 6Ch 01101100b
10 Following channels Always 0 for the CMIX 0d 00h 00000000b
Tab. 4/7: Example of diagnostic memory entry
4. Diagnosis
4-13Festo P.BE-CPX-CMIX-EN en 1208a
Diagnostic data of the module (I/O diagnosticinterface)
The specific representation of module diagnostic data(error messages) of the CMIX occurs as shown in Tab. 4/8 andTab. 4/9.
Module diagnostic data: Type of error and location where error arose
Function no. 2008 + m * 4 + 0; m =module number (0 ... 47)
Description Describes where the relevant error occurred.
Bit Bit 0 ... 7 Type of error and location where error arose
Values Bit 7 6 5 ... 0 : Description1 0 00000 : Error in I-channel 0
Tab. 4/8: Type of error and location where error arose
Module diagnostic data: Module error number
Function no. 2008 + m * 4 + 1; m =module number (0 ... 47)
Description Error number
Bit Bit 0 ... 7 Error number
Values 108 CPX error number, (see example Tab. 4/7)
Remark For CMIX error messages, see section 4.1
Tab. 4/9: Module error number
4. Diagnosis
4-14 Festo P.BE-CPX-CMIX-EN en 1208a
Additional information
Module code
Function no: 16 + m*16 + 0:Module code: 180
Revision code
Function no: 16 + m*16 + 13Shows the module version: 0 ... 255 according to the name
plate of the module
Serial number
Function no: 784 + m*4 + 0784 + m*4 + 1784 + m*4 + 2784 + m*4 + 3
Serial number of the module.byte 0: lower nibble = year,
higher nibble = month of the series.bytes 1 ... 3: each nibble contains one digit of the serial
number (BCD encoded)
Technical appendix
A-1Festo P.BE-CPX-CMIX-EN en 1208a
Appendix A
Technical appendix
A. Technical appendix
A-2 Festo P.BE-CPX-CMIX-EN en 1208a
Table of contents
A.1 Technical Data CMIX A-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2 Components and accessories A-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2.1 Components with the CMIX A-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2.2 Supported drives or measuring systems A-5. . . . . . . . . . . . . . . . . . . . .
A.3 Characteristic values for various measuring systems A-8. . . . . . . . . . . . . . . . . .
A.4 Replacing components A-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.5 Display with the handheld unit A-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A. Technical appendix
A-3Festo P.BE-CPX-CMIX-EN en 1208a
A.1 Technical Data CMIX
General CMIX
General technical data See CPX system manual P.BE-CPX-SYS-...
Product weight (with CPX-GE-EV-S) approx. 240 g
Protection class as per EN 60529, completelyinstalled, plug connector inserted or providedwith protective cap
IP65
Protection against electric shock(protection against direct and indirect contact asper IEC/DIN EN 60204-1)
By means of PELV power circuit(Protected Extra-Low Voltage)
Module code (CPX-specific) 180
Module identifier (in the handheld) CPX-CMIX-M1-1 CMIX Sensor Interface
CMIX power supply
Operating voltage / load voltage See CPX system manual P.BE-CPX-SYS-...
CMIX current consumption– from operating power supply
Electronics/Sensors (VEL/SEN)Typ. 80 ... 110 mA at 24 V,max. 110 mA
Electrical isolation– between the operating voltage supply for the
electronics/sensors (VEL/SEN) and the loadvoltage supply for the valves (VVAL)
None
Power failure bridging time 10 ms (for systems with DGCI or DDLI,a power failure > 1 ms causes error E80)
CMIX measuring system connection
Axis stringNumber of axis strings / Number of axesMax. total length (all cables)Type of axis connection
1 / 130 mSocket M9, 5-pin
A. Technical appendix
A-4 Festo P.BE-CPX-CMIX-EN en 1208a
A.2 Components and accessories
Necessary and useful CMIX accessories:www.festo.com/catalogue/CMIX
Information on drives, and other modules on the axis stringand their accessories, is provided in sections A.2.1 and A.2.2and also in the documentation for the modules used.Information on accessories for the CPX terminal can be foundin the CPX system manual or in the manual for the CPXmodules used.
A.2.1 Components with the CMIX
Tab. A/1 provides an overview of the components with theCMIX.
Components Description e.g. type
CPX terminal withCMIX measuringmodule
The CMIX makes available the positionor speed data of the connected drive ormeasuring system in the CPX terminal
CPX terminal withCPX-CMIX-M1-1measuring module
Drive with displace-ment encoder, sensorinterface, connectioncables and, if present,additional fixed stops
Permissible drive and displacementencoder (in this example a DGC withMLO-POT-...-LWG) and possibly a sensorinterface (depending on the measuringsystem)
See section A.2.2
Tab. A/1: Components with the CMIX
A. Technical appendix
A-5Festo P.BE-CPX-CMIX-EN en 1208a
A.2.2 Supported drives or measuring systems
The following tables show show the supported drives ormeasuring systems (as of July 2012).
The external measuring systems can be combinedcorrespondingly with any other drives.
Linear drive DGCI and DDLI
Fig. Components Description Type
Drive with measuringsystem
Linear drive with permanently installedor integrated displacement encoder(digital, absolute).With integrated connection cable forconnecting to the CMIX
DGCI-...
DDLI-...
Tab. A/2: Components for linear drive DGCI and DDLI
DGP(L) linear drive and MLO-POT-...-TLF measuring system
Fig. Components Description Type
Drive Linear drive, can be combined with anexternal displacement encoder via theorder code or as an accessory
DGP(L)-...
Measuring system External displacement encoder(analogue, absolute – potentiometer)
MLO-POT-...-TLF
Connection cable forthe axis string
Connection cable between CMIX andCASM-S-D2-R3
KVI-CP-3-...
Sensor interface Sensor interface for connection to ananalogue absolute displacement encoder(potentiometer) on the axis string
CASM-S-D2-R3
Connection cable forthe measuring system
Connection cable between aCASM-S-D2-R3 and anMLO-POT-...-TLF
NEBC-A1W3-K-0.3-N-M12G5
Tab. A/3: Components with DGP(L) linear drive and MLO-POT-...-TLF measuring system
A. Technical appendix
A-6 Festo P.BE-CPX-CMIX-EN en 1208a
DNCI/DDPC standard cylinder
Fig. Components Description Type
Drive withmeasuring system
Standard cylinder with integrated dis-placement encoder (digital, incremental).With an integrated connection cable forconnection to the CASM-S-D3-R7
DNCI-...DDPC-...
Connection cablefor the axis string
Connection cable between a CMIX and aCASM-S-D3-R7
KVI-CP-3-...
Sensor interface Sensor interface for connection to a digitalincremental displacement encoder on theaxis string
CASM-S-D3-R7
Tab. A/4: Components with a DNCI/DDPC standard cylinder
DNC standard cylinder and MLO-POT-...-LWG displacement encoder
Fig. Components Description Type
Drive Standard cylinder, which can be combinedwith an external displacement encoderusing accessories
DGP-...
Measuring system External displacement encoder(analogue, absolute – potentiometer)
MLO-POT-...-LWG
Connection cablefor the axis string
Connection cable between CMIX andCASM-S-D2-R3
KVI-CP-3-...
Sensor interface Sensor interface for connection to ananalogue absolute displacement encoder(potentiometer) on the axis string
CASM-S-D2-R3
Connection cablefor the measuringsystem
Connection cable between aCASM-S-D2-R3 and anMLO-POT-...-LWG
NEBC-P1W4-K-0.3-N-M12G5
Tab. A/5: Components with DNC standard cylinder and MLO-POT-...-LWG displacementencoder
A. Technical appendix
A-7Festo P.BE-CPX-CMIX-EN en 1208a
DNCM standard cylinder
Fig. Components Description Type
Drive Standard cylinder with mounted externaldisplacement encoder LWH (analogue,absolute – potentiometer)
DNCM-...
Connection cablefor the axis string
Connection cable between CMIX andCASM-S-D2-R3
KVI-CP-3-...
Sensor interface Sensor interface for connection to ananalogue absolute displacement encoder(potentiometer) on the axis string
CASM-S-D2-R3
Connection cablefor the measuringsystem
Connection cable between aCASM-S-D2-R3 and a DNCMdisplacement encoder
NEBC-A1W3-K-0.3-N-M12G5
Tab. A/6: Components with DNC standard cylinder
DSMI semi-rotary drive
Fig. Components Description Type
Drive Semi-rotary drive with integrateddisplacement encoder (analogue,absolute – potentiometer)
DSMI-...
Connection cablefor the axis string
Connection cable between CMIX andCASM-S-D2-R3
KVI-CP-3-...
Sensor interface Sensor interface for connection to ananalogue absolute displacement encoder(potentiometer) on the axis string
CASM-S-D2-R3
Connection cablefor the measuringsystem
Connection cable between aCASM-S-D2-R3 and a DSMI
NEBC-P1W4-K-0.3-N-M12G5
Tab. A/7: Components with DSMI semi-rotary drive
A. Technical appendix
A-8 Festo P.BE-CPX-CMIX-EN en 1208a
A.3 Characteristic values for various measuring systems
Characteristic values of the digital measuring system (DGCI, DDLI)
Linearity ≤ ±0.01 % full scale (nominal length).
Repetition accuracy . ±0.01 mm
Hysteresis . 4μm
Max. speed of travel 3 m/s
Smallest measurable speed 10 mm/s
Tab. A/8: Characteristic values for digital measuring system
Characteristic values for encoder (DNCI, DDPC)
Entire system linearity ≤ ±0.07 mm
Repetition accuracy . ±0.02 mm
Hysteresis . 0.03 mm
Max. speed of travel 1 m/s
Smallest measurable speed 10 mm/s
Tab. A/9: Characteristic values for encoder
A. Technical appendix
A-9Festo P.BE-CPX-CMIX-EN en 1208a
Characteristic values for potentiometer 100 ... 500 (MLO-POT-... , DSMI)
Measuring length 100 150 225 300 360 450 500
Linearity (± % of stroke) 0.1 0.09 0.08 0.07 0.06 0.05 0.05
Repetition accuracy (± in mm) 0.01 0.01 0.01 0.01 0.011 0.014 0.016
Max. speed of travel 3 m/s
Smallest measurable speed (mm/s) 3 5 7 9 11 14 15
Temperature coefficient 5 ppm/° C
Tab. A/10: Characteristic values for potentiometer 100 ... 500
Characteristic values for potentiometer 600 ... 2000 (MLO-POT-... , DSMI)
Measuring length 600 750 1000 1250 1500 1750 2000
Linearity (± % of stroke) 0.05 0.04 0.04 0.03 0.03 0.03 0.02
Repetition accuracy (± in mm) 0.019 0.023 0.03 0.038 0.046 0.054 0.062
Max. speed of travel 3 m/s
Smallest measurable speed (mm/s) 18 23 31 38 46 53 61
Temperature coefficient 5 ppm/° C
Tab. A/11: Characteristic values for potentiometer 600 ... 2000
A. Technical appendix
A-10 Festo P.BE-CPX-CMIX-EN en 1208a
A.4 Replacing components
When replacing components, observe the instructions inTab. A/12.
Replacement Description
... of a CMIX orCPX terminal
• Zero pointAny zero point set is stored in the CMIX and must be reset.
• Effective stroke length and minimum/maximum position:The effective stroke length and minimum/maximum position for the poten-tiometer measuring system type is stored in the CMIX and must be reset.
... of drive ormeasuring system
• Zero pointAny zero point set is stored in the CMIX and is retained.
• Effective stroke length and minimum/maximum position:The effective stroke length and minimum/maximum position for the poten-tiometer measuring system type is stored in the CMIX and is retained.
Note, however, that the reference system may change when the drive ormeasuring system is replaced!
... of othercomponents
Identical electrical components, such as the sensor interface, can be replacedwithout further changes.
Tab. A/12: Replacing components
A. Technical appendix
A-11Festo P.BE-CPX-CMIX-EN en 1208a
A.5 Display with the handheld unit
The following displays are available on the CPX-MMI typehandheld unit.
Representation
The CMIX is displayed as module “CMIX sensor interface” onthe handheld.
Parameters (Menu [Parameters] )
The CMIX does not have any module parameters.
Position value/speed value(Menu [Monitoring/Forcing] )
System Overview _CPX terminal0: ... module ...1: ... module ...2: CMIX sensor interf3: ... module ...
_____________________________________________________
Diag OK
12:CMIX _Monitoring/Forcing (M)Diagnostics (D)Parameters (P)Fail safe (F)Module data (MD)_____________________________________________________
Back OK
2:CMIX:M _Process state
InpCh 0: 425InpCh 1: 4InpCh 2: 0Outp Ch 2: 0_____________________________________________________
Back Force mode
2
1 [Monitoring/Forcing] menu 2 Input and output channels
Fig. A/1: Position value/speed display ([Monitoring/Forcing] menu)
With the decimal format and positive values, the value ofinput channel 0 equals the position in whole millimetres, thevalue of input channel 1 the decimal places in 1/100 milli-metres. The values in Fig. A/1 thus equal the position425.04 mm, for example.
System Overview _CPX terminal0: ... module ...1: ... module ...2: CMIX sensor interf3: ... module ...
_____________________________________________________
Diag OK
A. Technical appendix
A-12 Festo P.BE-CPX-CMIX-EN en 1208a
Information on the CMIX ([Module Data] menu)
The module data of the CMIX is displayed in the[Module data] menu.
System Overview _CPX terminal0: ... module ...1: ... module ...2: CMIX sensor interf3: ... module ...
_____________________________________________________
Diag OK 1
2:CMIX _Monitoring/Forcing (M)Diagnostics (D)Parameters (P)Fail safe (F)Module data (MD)
_____________________________________________________
Back OK
2:CMIX :MD _Sensor interfaceType code: 180Revision: 2Serial No: 0x12345678
_____________________________________________________
Back2
1 “Module data” menu 2 Information (scroll using or)
Fig. A/2: Displaying information with the handheld unit
Module data Description
Type code Module code (CPX-specific, for the CMIX: 180)
Revision Revision status of the CMIX
Serial No Serial number of the CMIX
Tab. A/13: Module data on the handheld unit
Configuration with CPX node
B-1Festo P.BE-CPX-CMIX-EN en 1208a
Appendix B
Configuration with CPX node
B. Configuration with CPX node
B-2 Festo P.BE-CPX-CMIX-EN en 1208a
Table of contents
B.1 CPX-FEC B-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.1.1 Configuration B-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.1.2 Parameterising the CMIX B-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.1.3 Save actual configuration as the nominal configuration B-5. . . . . . . . .
B.1.4 Address assignment B-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.1.5 Diagnosis B-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.2 CPX-FB13 (PROFIBUS-DP) B-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.2.1 General configuration information B-12. . . . . . . . . . . . . . . . . . . . . . . . . .
B.2.2 Configuration with STEP 7 B-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.2.3 Parameterisation B-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.2.4 Addressing B-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.3 CPX-FB11 (DeviceNet) B-24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.3.1 Configuring DeviceNet station properties (EDS) B-24. . . . . . . . . . . . . . .
B.3.2 Parameterising B-26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B.3.3 Addressing B-26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Configuration with CPX node
B-3Festo P.BE-CPX-CMIX-EN en 1208a
B.1 CPX-FEC
General information on configuration using the FST isprovided in the CPX-FEC manual (type P.BE-CPX-FEC-...).Detailed information on operating the FST can be found in theFST manual (type P.BE-FST-...).
B.1.1 Configuration
Use Festo Software Tools (FST 4.1 or higher) with theHardware Configurator in order to configure your CPXterminal with CPX-FEC.
To configure the CMIX, this must be in the catalogue of theCPX configurator (CPX terminal / Technology module /CPX-CMIX...). You may require an FST software update for this(CPX configuration update):
www.festo.com Downloads Download Area:Software, Drivers and firmware Enter search term: CMIX
CautionIf you have connected a CPX terminal to your PC forconfiguration: Test projects and programs at first withoutactive actuators or without compressed air.You will then avoid damage in the test phase.
I/O configuration / CPX configuration
You can create the configuration in the following ways:
– Nominal/actual comparison in the editor mode
– Change to the online mode
– Manual configuration with the Hardware Configurator
The first two methods require the CPX terminal to beconnected and ready for operation. The hardwareconfiguration with the CMIX is automatically recognised.
B. Configuration with CPX node
B-4 Festo P.BE-CPX-CMIX-EN en 1208a
With manual configuration, the CMIX can initially beconfigured without a connection to the CPX terminal.
12
1 Configuration with drag & drop 2 Configured modules in theconfiguration table
Fig. B/1: Manual configuration of the CPX terminal in the Hardware Configurator
B. Configuration with CPX node
B-5Festo P.BE-CPX-CMIX-EN en 1208a
Input word / Output word addresses
Set the start address of the input words and output words ofthe CMIX.
Module Moduleidentifiers
Allocated addressspace
Remarks
CPX-CMIX sensorInterface
T23 CMIX 3 Input words (6 bytes)3 Output words (6 bytes)
For assignment of theaddresses, see section B.1.4.
Tab. B/1: CMIX technology module
B.1.2 Parameterising the CMIX
The CMIX does not have any module parameters.
B.1.3 Save actual configuration as the nominal configuration
In order to save the changes permanently, after the changes:
– the actual configuration must be saved as the nominalconfiguration,
– or the project must be loaded into the CPX-FEC(a program must exist for this).
NoteMake sure that you have supplied taught parameters, orparameters edited via the keyboard or the CPX-MMI, to theCPX configurator.
B. Configuration with CPX node
B-6 Festo P.BE-CPX-CMIX-EN en 1208a
B.1.4 Address assignment
Address assignment example
8DI 2AI4DO
8 O 8 O
1
MPA
2 4 53
1 CPX-FEC
2 Digital I/O modules
3 CMIX technology module
4 Analogue I/O modules
5 MPA1 pneumatics(2 pneumatic modules)
Fig. B/2: CPX-FEC address assignment example
Loca-tion
Module Inputaddress
Outputaddress
Remarks
0 CPX-FEC 128 128 The outputs are not used
1 8-way digital input module (8DI) 0 – –
2 4-way digital output module (4DO) – 0 –
3 CMIX measuring module (T23) 129 ... 131 129 ... 131 For assignments,see Tab. B/3
4 2-way analogue input module (2AI) 64, 65 – –
– MPA pneumatic interface – – Passive module
5 MPA pneumatic module(CPX-Typ32: 1-8V)
– 32 –
6 – 33 –
Tab. B/2: Configuration of address assignment for example Fig. B/2
B. Configuration with CPX node
B-7Festo P.BE-CPX-CMIX-EN en 1208a
Module output data Module input data
OW Contents Address IW Contents Address
OW129 Setpoint value word 0(VK) 1)
O129.0 ... 15 IW129 Actual value word 0(VK) 1)
I129.0 ... 15
OW130 Setpoint value word 1(NK) 1)
O130.0 ... 15 IW130 Actual value word 1(NK) 1)
I130.0 ... 15
OW131 Control byte CCON:
Bit Name0 UNIT1 FORMAT2 MODE3 RESET4 REF5 LOAD_P6 PARAM07 PARAM1
O131.0O131.1O131.2O131.1O131.0O131.1O131.1O131.1
IW131 Status byte SCON:
Bit Name0 ERROR01 ERROR12 ERROR23 ERROR34 REF_OK5 ACK6 –7 ERROR
I131.0I131.1I131.2I131.3I131.4I131.5I131.6I131.7
– (reserved) O131.8 ... 15 – (reserved) I131.8 ... 15
1) For decimal format
OW/ IW: output word / input word
Tab. B/3: Addresses of the CMIX input and output bytes in the example Fig. B/2
B. Configuration with CPX node
B-8 Festo P.BE-CPX-CMIX-EN en 1208a
B.1.5 Diagnosis
Diagnosis with the Hardware Configurator
With the Hardware Configurator you can carry out a completediagnosis of the CPX terminal. For this, the CPX terminal mustbe connected online to your PC: Diagnostic messages of themodules are displayed directly in the Hardware Configuratorwith an icon on the appropriate module:
1
2
1
1 View current diagnostic message(properties or module entry)
2 View diagnostic memory(context menu)
Fig. B/3: Warning icon as diagnostic message in the Hardware Configurator
B. Configuration with CPX node
B-9Festo P.BE-CPX-CMIX-EN en 1208a
View current diagnostic message
• Diagnostic message in the Hardware Configurator.
• Display the “Diagnosis” tab of the “Module...” dialog bydouble-clicking or via the [Properties] context menu.
Fig. B/4: Diagnostic message in the Properties dialog
B. Configuration with CPX node
B-10 Festo P.BE-CPX-CMIX-EN en 1208a
Trace memory
• Display the “Trace-Memory” dialog via the[Trace-Memory] context menu of the HardwareConfigurator.
Fig. B/5: Tarce memory
Diagnosis with the online control panel
• Select [Online] [Control Panel].
Coded diagnostic information is displayed under “Error”:Error type, CPX error number, module number
Fig. B/6: FST online control panel
B. Configuration with CPX node
B-11Festo P.BE-CPX-CMIX-EN en 1208a
Diagnosis in the user program
You can read out diagnostic information in your user programvia function modules (CFM).
Modules Description
C_STATUS Interrogate diagnostic status
C_TR_rd Read entries in diagnostic memory
C_MD_rd Read module diagnostic data
Tab. B/4: CFMs for diagnosing the CPX terminal
Error program If a fault occurs during running time, an error number will beentered in the error word (FW). Depending on whether anerror program has been configured, the following applies:
– Error program = 0 (no error program defined):Programs will be stopped.
– Error program > 0:Programs will be stopped and the error program with theentered number will be started.
The following example shows a program for error treatment.Enter it as “Error program” in the register “Run mode” in the“Controller settings”.
STEP 1
“Wait for fault quitting
IF E0.7 ’Reset FEC Error
THEN RESET F ’Error
LOAD V0
TO FW ’Fault word
RESET P63 ’Fault quitting
SET P0 ’General - organisational
Fig. B/7: Sample extract from an error program
B. Configuration with CPX node
B-12 Festo P.BE-CPX-CMIX-EN en 1208a
B.2 CPX-FB13 (PROFIBUS-DP)
General information on configuration is provided in theCPX-FB13 manual (type P.BE-CPX-FB13-...).
B.2.1 General configuration information
Identifier
Module (order code) Module identifiers Occupied bytes IdentifierSiemens / EN 50170
CPX-CMIX-M1-1 (T23)measuring module
CMIX 6 bytes I, 6 bytes O 6AE / 192h
Device master file (GSD file) and icon files
Obtainable from Current GSD files and icon files can be found on the FestoInternet pages at:
www.festo.com Downloads Download Area:Software, Drivers and firmware Enter search term: CMIX
GSD file You will require one of the following GSD files for the CPXterminal with the CMIX:
– Cpx_059e.gsd (German version)
– Cpx_059e.gse (English version)
Depending on the configuration program used, install theGSD file and the icon files with the aid of the appropriatemenu command or copy the files manually into a particulardirectory of your peripheral/PC.
B. Configuration with CPX node
B-13Festo P.BE-CPX-CMIX-EN en 1208a
B.2.2 Configuration with STEP 7
This manual refers to software version V 5.3.
An appropriate device master file (GSD file) must be installedfor configuration.
Proceed as follows for configuration (see Fig. B/8):
1. Add a DP master system1 and the CPX terminal2 tothe CPX-FB13, as per the instructions.
2. Fill the configuration table with the modules of yourCPX system.Open the component “Festo CPX-Terminal” in theHardware Catalogue (file \PROFIBUS-DP\Additional FieldDevices\Valves\...)3 .There are two entries for the CMIX:
Entry Description
CPX-CMIX: 6 Byte E/6 Byte A CMIX with 6 bytes I / 6 bytes O,(occupies 3 bytes of parameterisation data) 1)
1) The maximum number of parameterisation data for the CPX terminal is limited to 234.
3. Assign each of the starting addresses in the“Properties – DP slave” window4.
This concludes the station selection and configuration.
B. Configuration with CPX node
B-14 Festo P.BE-CPX-CMIX-EN en 1208a
1 2 34
Fig. B/8: Configuration with STEP7 – Hardware catalogue
B. Configuration with CPX node
B-15Festo P.BE-CPX-CMIX-EN en 1208a
B.2.3 Parameterisation
The CMIX does not have any module parameters.
CPX parameter “Analogue process value presentation”
Some CPX bus nodes (e.g. CPX-FB13, FB33, FB34 and FB35)support the global system parameter “Analogue processvalue presentation” (system table function number 4402,bit 7):
– Value “0”: INTEL (LSB-MSB) – default
– Value “1”: MOTOROLA (MSB-LSB)
Fig. B/9: CPX parameter “Analogue process valuepresentation”
Note the byte order of the actual and setpoint values whenusing the INTEL format; see section B.2.4.General information can be found in section 3.3.2.
B. Configuration with CPX node
B-16 Festo P.BE-CPX-CMIX-EN en 1208a
B.2.4 Addressing
Example: Addresses used as from input/output word 7
8DI 2AI4DO
8 O 8 O
MPA
1 2 3 4 5 6Module no.: 0
EA-Diag.Interf.
I7.0...I8.7
Q7.0...Q8.7
I9.0...I9.7
Q9.0...Q9.3
I10.0...I15.7
Q10.0...Q15.7
I16.0...I19.7
Q16.0...Q16.7
Q17.0...Q17.7
Fig. B/10: CPX-FB13 address assignment example
No. Module DP identifierSiemens
Addresses
I address O address
0 CPX-FB13 (FB13: DPV1, EA-Diag.Interface) 192 7 ... 8 7 ... 8
1 8-way digital input module (E: CPX-8DE) 8DE 9 –
2 4-way digital output module (A : CPX-4DA 2x) 8DA – 9
3 CMIX (CPX-CMIX-M1-1) measuring module,for assignments, see Tab. B/6
192 10 ... 15 10 ... 15
4 Analogue input module (A : CPX4AE-I) 2AE 16 ... 19 –
– MPA pneumatic interface (passive module) – – –
5 MPA1 pneumatic module(VI: VMPA1-FB-EMS-8)
8DA – 16
6 8DA – 17
Tab. B/5: Input and output addresses for the example, see Fig. B/10
B. Configuration with CPX node
B-17Festo P.BE-CPX-CMIX-EN en 1208a
Module output data Module input data
QB Contents Address IB Contents Address
QB10 Setpoint value byte 0(LSB)
Q10.0 ... 7 IB10 Actual value byte 0(LSB)
I10.0 ... 7
QB11 Setpoint value byte 1 Q11.0 ... 7 IB11 Actual value byte 1 I11.0 ... 7
QB12 Setpoint value byte 2 Q12.0 ... 7 IB12 Actual value byte 2 I12.0 ... 7
QB13 Setpoint value byte 3(MSB)
Q13.0 ... 7 IB13 Actual value byte 3(MSB)
I13.0 ... 7
QB14 Control byte CCON:
Bit Name0 UNIT1 FORMAT2 MODE3 RESET4 REF5 LOAD_P6 PARAM07 PARAM1
Q14.0Q14.1Q14.2Q14.3Q14.4Q14.5Q14.6Q14.7
IB14 Status byte SCON:
Bit Name0 ERROR01 ERROR12 ERROR23 ERROR34 REF_OK5 ACK6 –7 ERROR
I14.0I14.1I14.2I14.3I14.4I14.5I14.6I14.7
QB15 – (reserved) Q15.0 ... 7 IB15 – (reserved) I15.0 ... 7
Tab. B/6: Addresses of the CMIX input and output bytes in the example Fig. B/10(INTEL format)
The following examples show a variable table each for variousformat and data formats; see also section 3.3.
B. Configuration with CPX node
B-18 Festo P.BE-CPX-CMIX-EN en 1208a
Variable table: actual position, 32 bit integer, MOTOROLA format
Axis is at position 981.60 mmFormat 32-bit integerData format MOTOROLA
1
Input double word ED100 (ID100)
EW100 (IW100) EW 102 (IW102)
EB100(IB100)
EB101(IB101)
EB102(IB102)
EB103(IB103)
0x00 0x01 0x7F 0x70
MSB LSB
Result
32-bit integer1
ED100 (ID100)0x00017F7098160 [1/100 mm]
Tab. B/7: Variable table example: actual position, 32 bit integer, MOTOROLA format
B. Configuration with CPX node
B-19Festo P.BE-CPX-CMIX-EN en 1208a
Variable table: actual position, decimal, MOTOROLA format
Axis is at position 981.60 mmDecimal formatData format MOTOROLA
1
2
Input double word ED100 (ID100)
EW100 (IW100) EW102 (IW102)
EB100(IB100)
EB101(IB101)
EB102(IB102)
EB103(IB103)
0x00 0x3C 0x03 0xD5
MSB LSB
After the decimal Before the decimal
Result:
Before the
decimal1After the decimal
2
EW102 (IW102)0x03D5981
EW100 (IW100)0x003C60
Tab. B/8: Variable table example: actual position, decimal, MOTOROLA format
B. Configuration with CPX node
B-20 Festo P.BE-CPX-CMIX-EN en 1208a
Variable table: actual position, 32 bit integer, INTEL format
Axis is at position 981.60 mmFormat 32-bit integerINTEL data format
1
Input double word ED100 (ID100)
EW100 (IW100) EW102 (IW102)
EB100(IB100)
EB101(IB101)
EB102(IB102)
EB103(IB103)
0x70 0x7F 0x01 0x00
LSB MSB
QB1 writes the input double word intoa marker double word and writes theI bytes in the right order
Marker double word MD100
MB100 MB101 MB102 MB103
0x00 0x01 0x7F 0x70
LSB MSB
Result:
32-bit integer1
MD1000x00017F7098160 [1/100 mm]
Tab. B/9: Variable table example: actual position, 32 bit integer, INTEL format
B. Configuration with CPX node
B-21Festo P.BE-CPX-CMIX-EN en 1208a
Variable table: actual position, decimal, INTEL format
Axis is at position 981.60 mmDecimal formatINTEL data format
1
2
Input double word ED100 (ID100)
EW100 (IW100) EW (IW102)
EB100(IB100)
EB101(IB101)
EB102(IB102)
EB103(IB103)
0xD5 0x03 0x3C 0x00
LSB MSB
Before thedecimal
After the decimal
QB1 writes the input double word intoa marker double word and writes theI bytes in the right order
Marker double word MD100
MB100 MB101 MB102 MB103
0x00 0x3C 0x03 0xD5
LSB MSB
After the decimal Before the decimal
Result:
Before the
decimal1After the decimal
2
MW1020x03D5981
MW1000x003C60
Tab. B/10: Variable table example: actual position, decimal, INTEL format
B. Configuration with CPX node
B-22 Festo P.BE-CPX-CMIX-EN en 1208a
Variable table: effective stroke, 32 bit integer, MOTOROLA format
Effective stroke of the potentiometer224 mmFormat 32-bit integerData format MOTOROLA
1
2
Input in the output data:0x0000578022400
1 2
AB120(QB120)
AB121(QB121)
AB122(QB122)
AB123(QB123)
0x00 0x00 0x57 0x80
MSB LSB
Tab. B/11: Variable table example: effective stroke, 32 bit integer, MOTOROLA format
B. Configuration with CPX node
B-23Festo P.BE-CPX-CMIX-EN en 1208a
Variable table: effective stroke, 32 bit integer, INTEL format
Effective stroke of the potentiometer224 mmFormat 32-bit integerINTEL data format
1
2
Input in the output data:0x0000578022400
1 2
AB120(QB120)
AB121(QB121)
AB122(QB122)
AB123(QB123)
0x80 0x57 0x00 0x00
LSB MSB
Tab. B/12: Variable table example: effective stroke, 32 bit integer, INTEL format
B. Configuration with CPX node
B-24 Festo P.BE-CPX-CMIX-EN en 1208a
B.3 CPX-FB11 (DeviceNet)
General information on configuration is provided in theCPX-FB11 manual (type P.BE-CPX-FB11-...).
B.3.1 Configuring DeviceNet station properties (EDS)
When starting up a new DeviceNet station for the first time,you must inform your configuration program about certainproperties of the station.
The features of the various slaves are usually administered bythe configuration program in a list or library e. g. EDS library(EDS for electronic data sheets).
The following possibilities can be used with a CMIX:
– Install an EDS file:Modular EDS.Parameterising of technology modules such as the CMIXis only supported via modular EDS.
– Manually enter the slave features (no parameter settingpossible).
Observe the notes in the manual for the CPX-FB11.
Reference source for EDS files
Reference source Current EDS files, icon files and information on the EDS filescan be found under the following address in Internet:
www.festo.com Downloads Download Area:Software, Drivers and firmware Enter search term: CMIX
B. Configuration with CPX node
B-25Festo P.BE-CPX-CMIX-EN en 1208a
Installing a modular EDS file
You will require the following files for the CPX terminal:
File type File name Language Description
EDS cpx_chassis.eds English Base file for modular EDS.
EDS cpx_fb11...eds English Provides the communication adapter in theconfiguration program.
EDS cpx_...eds English There is an EDS file for every module type.It contains the information needed forconfiguration and parameterisation.
ICO cpx_...ico – Icon file for representing the CPX terminal ormode in the configuration program.
Tab. B/13: Configuration files (modular EDS) for the CPX terminal for DeviceNet
Installing modularEDS files
• Install the files with your configuration program.
You must install at least the Chassis EDS and the EDS files ofthe required modules.Recommendation: Install all EDS files.
Icon files Depending on the configuration program used, you canassign icon files (.ico format) to the CPX terminal or the CPXmodules. The CPX terminal or the modules will then berepresented accordingly in the configuration program.
Notes on installing the EDS files and the icon files can befound in the documentation for your configuration program.
B. Configuration with CPX node
B-26 Festo P.BE-CPX-CMIX-EN en 1208a
B.3.2 Parameterising
The CMIX does not have any module parameters.
B.3.3 Addressing
Assign the I/O addresses of the slave (RSNetworx example)
1. Double-click on the scanner in the network. A dialoguebox will open.
2. With the registers “Input” and “Output”, you assign theI/O addresses of the CPX terminal to the PLC operands.
Fig. B/11: Output address assignment
B. Configuration with CPX node
B-27Festo P.BE-CPX-CMIX-EN en 1208a
Example: scanner 1747-SDN (SLC 500 series)
Addressing for sample terminal with:
– 2 input bytes for status bits (strobed data)
– 11 input bytes, input address from I:1.1.0
– 9 output bytes, output address from O:1.1.0
8DI 2A04DO
8 O 8 O
1
MPA
2 4 53
Module no.: 0 1 2 3 4 5 6
1 CPX-FB11 (with status bits)
2 Digital I/O modules
3 CMIX technology module
4 Analogue I/O modules
5 MPA pneumatics(2 pneumatic modules)
Fig. B/12: CPX example terminal 3(address example for scanner 1747-SDN, see Tab. B/14)
B. Configuration with CPX node
B-28 Festo P.BE-CPX-CMIX-EN en 1208a
Module no. Module Addressing
Input address Output address
0 Fieldbus node CPX-FB11 I:1.1.0 ... I:1.1.15(for status bits)
–
1 Digital 8-input moduleCPX-8DE
I:1.7.0 ... I:1.7.7 –
2 Digital 4-output moduleCPX-4DA
– O:1.4.0 ... O:1.4.3
3 Measuring moduleCPX-CMIX-M1-1
I:1.4.0 ... I:1.4.15I:1.5.0 ... I:1.5.15I:1.6.0 ... I:1.6.15
O:1.1.0 ... O:1.1.15O:1.2.0 ... O:1.2.15O:1.3.0 ... O:1.3.15
4 Analogue 2-input moduleCPX-2AE
O:1.2.0 ... O:1.2.15O:1.3.0 ... O:1.3.15
–
5 MPA1 pneumatic module – O:1.4.8 ... O:1.4.15
6 MPA1 pneumatic module – O:1.5.0 ... O:1.5.7
Tab. B/14: Addressing example for scanner 1747-SDN
B. Configuration with CPX node
B-29Festo P.BE-CPX-CMIX-EN en 1208a
Module output data Module input data
OW Contents Address IW Contents Address
OW:1.4 Setpoint value byte 0(LSB)
O:1.4.0 ... 7 IW:1.1 Actual value byte 0(LSB)
I:1.1.0 ... 7
Setpoint value byte 1 O:1.4.8 ... 15 Actual value byte 1 I:1.1.8 ... 15
OW:1.5 Setpoint value byte 2 O:1.5.0 ... 7 IW:1.2 Actual value byte 2 I:1.2.0 ... 7
Setpoint value byte 3(MSB)
O:1.5.8 ... 15 Actual value byte 3(MSB)
I:1.2.8 ... 15
OW:1.6 Control byte CCON:
Bit Name0 UNIT1 FORMAT2 MODE3 RESET4 REF5 LOAD_P6 PARAM07 PARAM1
O:1.6.0O:1.6.1O:1.6.2O:1.6.3O:1.6.4O:1.6.5O:1.6.6O:1.6.7
IW:1.3 Status byte SCON:
Bit Name0 ERROR01 ERROR12 ERROR23 ERROR34 REF_OK5 ACK6 –7 ERROR
I:1.3.0I:1.3.1I:1.3.2I:1.3.3I:1.3.4I:1.3.5I:1.3.6I:1.3.7
– (reserved) O:1.6.8 ... 15 – (reserved) I:1.3.8 ... 15
Tab. B/15: Addresses of the CMIX input and output bytes in the example Fig. B/12
B. Configuration with CPX node
B-30 Festo P.BE-CPX-CMIX-EN en 1208a
Index
C-1Festo P.BE-CPX-CMIX-EN en 1208a
Appendix C
Index
C. Index
C-2 Festo P.BE-CPX-CMIX-EN en 1208a
C. Index
C-3Festo P.BE-CPX-CMIX-EN en 1208a
Numbers
0 signal XV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 signal XV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A
Abbreviations, product-specific XV. . . . . . . . . . . . . . . . . . . . .
Absolute (displacement encoder) XV. . . . . . . . . . . . . . . . . . . .
Acknowledging errors 4-4. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Axis string XV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C
CCON 3-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CMIXAddress range 3-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Components A-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Connection and display elements 1-3. . . . . . . . . . . . . . . . . .
CPX bus node / CPX-FEC X. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Current consumption 2-17. . . . . . . . . . . . . . . . . . . . . . . . . . . .
D
DiagnosisIn the user program B-11. . . . . . . . . . . . . . . . . . . . . . . . . . .With the Hardware Configurator B-8. . . . . . . . . . . . . . . . . .
Diagnostic memory 4-11, 4-13. . . . . . . . . . . . . . . . . . . . . . . . .
Displacement encoder 2-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . .Absolute XV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Incremental XV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Drive XV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Drives A-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C. Index
C-4 Festo P.BE-CPX-CMIX-EN en 1208a
E
ErrorsAcknowledge 4-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Error numbers 4-3, 4-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Overview 4-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
G
GSD file B-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
H
HandheldDiagnostic memory 4-11, 4-13. . . . . . . . . . . . . . . . . . . . . . .
I
I/O diagnostic interfaceDiagnostic memory 4-11, 4-13. . . . . . . . . . . . . . . . . . . . . . .
Important user instructions XI. . . . . . . . . . . . . . . . . . . . . . . . . .
Incremental (displacement encoder) XV. . . . . . . . . . . . . . . . .
Intended use VII. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
L
LEDs 4-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
M
Measuring system 2-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Measuring systems A-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modular EDS files B-25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Module diagnostic dataModule error number 4-13. . . . . . . . . . . . . . . . . . . . . . . . . .Number of the first faulty channel 4-13. . . . . . . . . . . . . . . .
C. Index
C-5Festo P.BE-CPX-CMIX-EN en 1208a
N
Notes on the manual XIII. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
P
Pictograms XII. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power supply 2-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power supply conceptFormation of power zones 2-18. . . . . . . . . . . . . . . . . . . . . .
Power zones 2-18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
S
Safety note VIII. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SCON 3-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Service IX , X. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status bits 4-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status information 4-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
T
Target group IX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Technical Data A-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Text markings XII. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Trace memory B-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C. Index
C-6 Festo P.BE-CPX-CMIX-EN en 1208a