Festo

P.BE-CMM-FHPP-SW - Regulator Festo - Free user manual and instructions

Find the device manual for free P.BE-CMM-FHPP-SW Festo in PDF.

📄 254 pages English EN Download 💬 AI Question 10 questions ⚙️ Specs
Notice Festo P.BE-CMM-FHPP-SW - page 9
Pick your language and provide your email: we'll send you a specifically translated version.
Product Type Motor Controller with Festo Handling and Positioning Profile (FHPP)
Brand Festo
Model P.BE-CMM-FHPP-SW (manual for FHPP profile)
Supported Controllers CMMP-AS, CMMS-AS, CMMS-ST, CMMD-AS
Communication Protocols CANopen, PROFIBUS, DeviceNet, EtherCAT
Operating Modes Record selection, Direct mode (Profile Position, Profile Torque, Profile Velocity)
Control Data Format 8-byte control/status bytes (I/O), optional 8-byte FPC parameter channel, up to 24-byte FHPP+ extension
Homing Methods Over 20 methods including limit switch, reference switch, index pulse, and stop
Diagnostics Fault and warning memory, diagnosis via FHPP status bytes (SCON, SPOS, SDIR)
Parameters Extensive parameter list (PNU) for axis, drive, and function configuration
Power Supply (Logic) 24 V DC
Power Supply (Load) Depending on controller (e.g., 230 V AC or 24 V DC)
Dimensions (Typical Controller) Approx. 200 x 100 x 80 mm (varies by model)
Weight (Typical Controller) Approx. 1.5 kg (varies by model)
Safety Follow safety instructions in manual; use barriers and warnings; only qualified technicians
Maintenance No user maintenance required; refer to controller-specific manual
Spare Parts Contact Festo service for spare parts; no field-replaceable parts listed
Environmental Industrial environment; see controller manual for specific ratings

Frequently Asked Questions - P.BE-CMM-FHPP-SW Festo

What are the main operating modes of the FHPP profile?
The FHPP profile supports two main operating modes: Record selection (executing predefined positioning records) and Direct mode (transmitting setpoints directly in the I/O telegram). Direct mode includes Profile Position, Profile Torque, and Profile Velocity modes.
How do I enable the drive and start positioning?
Set CCON.B0 (ENABLE) to 1 to enable the drive. Then set CCON.B1 (STOP) to 1 to enable operation. To start a positioning task, set CPOS.B1 (START) with a rising edge while HALT is 1.
How can I perform homing?
Homing is started with a rising edge on CPOS.B2 (HOM). The homing method is configured via parameter PNU 1011 (Homing method). Supported methods include limit switch, reference switch, index pulse, and stop. After successful homing, SPOS.B7 (REF) is set.
What is the difference between Record selection and Direct mode?
In Record selection, a record number is transmitted in the cyclic I/O data, and the controller executes a pre-defined positioning record. In Direct mode, the setpoint values (position, velocity, torque) are sent directly in the I/O telegram, allowing dynamic setpoint changes from the PLC.
How do I configure the I/O data for FHPP?
The FHPP protocol uses 8 bytes of input and output data. Byte 1 is fixed as control/status byte CCON/SCON. Byte 2 is CPOS/SPOS. Bytes 3-8 depend on the operating mode. For Record selection, byte 3 is record number; for Direct mode, bytes 3-8 carry CDIR/SDIR and setpoint/actual values.
Can I chain multiple positioning records automatically?
Yes, using conditional record chaining via record control byte 2 (PNU 402). Set the step enabling condition (e.g., MC, position, time) to automatically proceed to the next record. Record chaining is configured via the Festo Configuration Tool (FCT).
How do I interpret the status bytes?
SCON shows drive enable, operation enabled, warnings, faults, and operating mode. SPOS indicates halt, start acknowledge, motion complete, axis moving, drag error, standstill control, and reference. SDIR (Direct mode) reflects control mode and function feedback.
What fieldbus protocols are supported?
The FHPP profile is designed for CANopen, PROFIBUS-DP, DeviceNet, and EtherCAT. Additional manuals describe the protocol-specific implementation for each fieldbus.
How do I diagnose and reset faults?
Faults are indicated by SCON.B3 (FAULT). The fault code can be read from the diagnostic memory. To reset a fault, set CCON.B3 (RESET) with a rising edge. Warnings are shown by SCON.B2 (WARN) and do not disable the drive.
What is the FHPP+ extension?
FHPP+ allows additional parameters (PNUs) to be transmitted in the cyclic telegram, beyond the standard 8-byte I/O data and optional FPC channel. It can include up to 24 bytes of additional data, configured via the FCT plug-in telegram editor.

User questions about P.BE-CMM-FHPP-SW Festo

0 question about this device. Answer the ones you know or ask your own.

Ask a new question about this device

The email remains private: it is only used to notify you if someone responds to your question.

No questions yet. Be the first to ask one.

Download the instructions for your Regulator in PDF format for free! Find your manual P.BE-CMM-FHPP-SW - Festo and take your electronic device back in hand. On this page are published all the documents necessary for the use of your device. P.BE-CMM-FHPP-SW by Festo.

USER MANUAL P.BE-CMM-FHPP-SW Festo

FESTO

Description FHPP

Motorcontroller Type

-C M M P - A S

-CMMS-ST

-CMMS-AS

-CMMD-AS

Festohandling and positioningprofile

Description

555696

en1011b

[757714]

Contentsandgeneralsafetyinstructions

Originalde....

Editionen1011b.

DesignationP.BE-CMM-FHPP-SW-EN.

Orderno.555696....

©(FestoAG&Co.KG,D-73726Esslingen,2010)

Internet:http://www.festo.com

E-Mail: service_international@festo.com

Thecopying,distributionandutilizationof thisdocument as wellasthe communicationofitscontentstootherswithout expressauthorizationisprohibited.Offenderswillbeheld liable for the payment of damages. All rights are reserved, inparticulartherighttocarry outpatent,registereddesign orornamentaldesign registration.

Contentsandgeneralsafetyinstructions

CANopen ^® , DeviceNet ^® , E t h e r C A, f n d P R O F I B ^® U a f e r g i s t e r e d t r a d e m a r k s o f t h e r e s p t e c i v e t r a d e m a r k o w n e r s i n c e r t a i n c o u r t i e r s.

Contents

IntendeduseVII....

SafetyinstructionsVIII.

TargetgroupIX.

Service IX

Important user instructions ...... X

Information about the version ..... XII

Terms and abbreviations ...... XIII

1. I/O data and sequence control 1-1

1.1 Overview of Festo Handling and Positioning Profile (FHPP) 1-3
1.2 Setpoint specification (FHPP operating modes) 1-5

1.2.1 Switching FHPP operating modes 1-5
1.2.2 Record selection 1-6
1.2.3 Direct mode 1-7

1.3 Configuration of the I/O data 1-8

1.3.1 Concept 1-8
1.3.2 Assignment of the I/O data for CMMD 1-9
1.3.3 I/O data in the various FHPP operating modes (control view) .... 1-10

1.4 Assignment of the control bytes and status bytes (overview) 1-11
1.5 Description of the control bytes 1-12

1.5.1 Control byte 1 (CCON) 1-12
1.5.2 Control byte 2 (CPOS) 1-13
1.5.3 Control byte 3 (CDIR) – Direct mode 1-14
1.5.4 Bytes 4 and 5 ... 8 - Direct mode ..... 1-15
1.5.5 Bytes 3 and 4 ... 8 - Record selection 1-15

1.6 Description of the status bytes 1-16

1.6.1 Status byte 1 (SCON) 1-16
1.6.2 Status byte 2 (SPOS) 1-17
1.6.3 Status byte 3 (SDIR) – Direct mode 1-18
1.6.4 Bytes 4 and 5 ... 8 - Direct mode ..... 1-19
1.6.5 Bytes 3, 4 and 5 ... 8 - Record selection 1-20

1.7FHPPfinitestatemachine1-22.....

1.7.1 Establishing thereadystatus1-24.
1.7.2 Positioning1-25.
1.7.3 Special features dependent on FHPP operating mode 1-27
1.7.4 Examples of control and status bytes 1-27

2. Drive functions 2-1

2.1 Reference system for electric drives 2-3
2.2 Calculation rules for the reference system 2-5
2.3 Homing 2-5
2.3.1 Homing for electric drives 2-7
2.3.2Homingmethods 2-8....

2.4 Jog mode 2-13

2.5 Teaching via fieldbus 2-15

2.6 Carry out record (Record selection) 2-17

2.6.1 Record selection sequence charts 2-18

2.6.2Recordstructure 2-22....

2.6.3 Conditional record chaining (PNU 402) 2-23

2.7 Direct mode 2-27

2.7.1 Sequence for discrete setpoint value 2-29

2.7.2 Sequence for Profile Torque mode (torque and current control) .. 2-30

2.7.3 Sequence for Profile Velocity mode 2-32

2.8 Standstill control 2-34

2.9 On-the-fly measurement (position sampling) 2-36

3. Fault reaction and diagnosis 3-1

3.1 Classifying the faults 3-3
3.1.1 Warnings 3-4
3.1.2 Fault type 1 3-5
3.1.3 Fault type 2 3-6

3.2 Diagnostic memory (faults) 3-7

3.3 Warning memory (CMMP only) 3-8

3.4Faultnumbers3-9.....

3.4.1CMMPfaultnumbers3-9.....
3.4.2CMMS/CMMDfaultnumbers3-47.....

3.5 Diagnosis using FHPP status bytes 3-53

  1. Parameters 4-1

4.1 FHPP general parameter structure 4-3
4.2 Access protection 4-4

4.2.1 Access via PLC and FCT 4-4

4.3 Overview of FHPP parameters 4-5
4.4 Descriptions of FHPP parameters 4-12

4.4.1 Representation of the parameter entries 4-12
4.4.2 PNUs for the telegram entries for FHPP+ 4-13
4.4.3 Device data – Standard parameters 4-15
4.4.4 Device data – Extended parameters 4-16
4.4.5 Diagnostics 4-19
4.4.6 Process data 4-23
4.4.7 On-the-fly measurement 4-28
4.4.8 Record list 4-29
4.4.9 Project data – General project data 4-41
4.4.10 Project data – Teaching 4-42
4.4.11 Project data-Jog mode 4-43
4.4.12 Project data – Direct mode, Profile Position mode ..... 4-44
4.4.13 Project data – Direct mode, Profile Torque mode 4-45
4.4.14 Project data – Direct mode, Profile Velocity mode 4-46
4.4.15 Function data – Camming function 4-47
4.4.16 Function data – Position triggers and rotor position triggers ..... 4-49
4.4.17 Axis parameters for electric drives 1 – Mechanical parameters ... 4-52
4.4.18 Axis parameters for electric drives 1 – Homing parameters ..... 4-55
4.4.19 Axis parameters for electric drives 1 – Closed-loop controller parameters 4-57
4.4.20 Axis parameters for electric drives 1 – Electronic rating plate 4-60
4.4.21 Axis parameters for electric drives 1 – Standstill control ..... 4-61

4.4.22Axisparametersforelectricdrives1–Dragerrormonitoring4-62....
4.4.23 Axis parameters for electric drives 1 – Other parameters ..... 4-62
4.4.24Functionparametersfordigitall/Os4-63.....

5. Parametrisation with FPC 5-1

5.1 Parametrisation with FHPP 5-3

5.1.1 Festo Parameter Channel (FPC) for cyclic data (I/O data) ..... 5-3
5.1.2 Task identifiers, response identifiers and error numbers ..... 5-5
5.1.3 Rules for task-response processing 5-7

A. Technical appendix ...... A-1

A.1 Conversion factors (factor group) A-3

A.1.1 Overview A-3
A.1.2 Objects in the factor group A-5
A.1.3 Calculating the positioning units A-6
A.1.4 Calculating the units of velocity A-9
A.1.5 Calculating the units of acceleration A-13

B. FHPP+ and cam disk expansions ...... B-1

B.1 FHPP+ overview B-3

B.1.1 Structure of the FHPP+ telegram B-4
B.1.2 Examples B-5
B.1.3 Configuration of the fieldbuses with FHPP+.... B-6
B.1.4 Telegram editor for FHPP+ B-6
B.1.5 Overview of FHPP+ parameters B-6

B.2 CMMP-AS - operation of cam disks B-7

B.2.1 Camming function in Direct mode B-8
B.2.2 Camming function in Record selection mode B-10
B.2.3 Parameters for the camming function B-10
B.2.4 Extended finite state machine with camming function ...... B-11

C. Index C-1

Intendeduse

ThisdescriptionincludestheFestoHandlingandPosition Profile(FHPP)fortheCMMxproductfamilycorrespondingto Tab.0/1inthe"Versioninformation"section.

This provides you with supplementary information about controlling, diagnosing and parametrising themotor controllers via the fieldbus.

Festo P.BE-CMM-FHPP-SW - Intendeduse - 1

The completesetofinformationcanbefoundinthedocumentationforthemotorcontrollerinquestion:

-DescriptionP.BE-CMM...-HW-...: Mechanicalsystem-Electricalsystem-Overviewofthe functionrange.

Festo P.BE-CMM-FHPP-SW - Intendeduse - 2

Note

Alwaysfollowthesafety-relatedinstructionslistedinthe productmanualforthemotorcontrollerinquestion.

Dependingonwhichfieldbusisused,youcanfindfurther informationinthefollowingmanualsfortheCMMxproduct family:

-DescriptionP.BE-CMM...-CO-...: DescriptionoftheimplementedCANopenprotocolasper DSP402.

-DescriptionP.BE-CMM...-PB-...: DescriptionoftheimplementedPROFIBUS-DPprotocol.

-DescriptionP.BE-CMM...-DN-...: DescriptionoftheimplementedDeviceNetprotocol.

-DescriptionP.BE-CMM...-EC-...: DescriptionoftheimplementedEtherCATprotocol.

Safetyinstructions

When commissioning and programming positioningsystems, you must always observ the safety regulations in this manual as well as those in the operating instructions for the other components used.

Theusermustmakesurethatnobodyiswithinthesphereof influenceoftheconnectedactuatorsoraxissystem.Access tothepotentialdangerareamustbepreventedbysuitable measuresuchasbarriersandwarningsigns.

Festo P.BE-CMM-FHPP-SW - Safetyinstructions - 1

Warning

Axescanmovewithhighforceandathighspeed.Collisionscanleadtoseriousinjuriesanddamagetocomp nents.

Makesurethatnobodycanreachintothesphereofinfluenceoftheaxesorotherconnectedactuatorsandthatno itemsarewithinthepositioningrangewhilethesystemis connectedtoenergysources.

Festo P.BE-CMM-FHPP-SW - Warning - 1

Warning

Errorsintheparametrisationcancauseinjuriesand damagetoproperty.

Enablethecontrolleronlyiftheaxissystemhasbeen correctlyinstalledandparametrised.

Targetgroup

Thismanualisintendedexclusivelyfortechnicianstrainedin controlandautomationtechnology,whohaveexperiencein installing,commissioning,programminganddiagnosingpositioningsystems.

Service

Please consult your local Festo Service department or write to the following e-mail address if you have any technical problems:

service_international@festo.com

Importantuserinstructions

Dangercategories

This description contains instructions on the possible dangers which can arise if the product is not used correctly. These instructions are marked (Warning, Caution, etc.), printed on a shaded background and marked additionally with a pictogram. Adistinctionism made between the following danger warnings:

Festo P.BE-CMM-FHPP-SW - Dangercategories - 1

Warning

...meansthatfailuretoobservethisinstructionmayresult inseriouspersonalinjuryormaterialdamage.

Festo P.BE-CMM-FHPP-SW - Warning - 1

Caution

...meansthatfailuretoobservethisinstructionmayresult inpersonalinjuryormaterialdamage.

Festo P.BE-CMM-FHPP-SW - Caution - 1

Note

...meansthatfailuretoobservethisinstructionmayresult inmaterialdamage.

Festo P.BE-CMM-FHPP-SW - Note - 1

Additionally, the following pictogram designatest text passages, which describe activities with the electrostatically sensitived devices:

Electrostaticallysensitivedevices:inappropriatehandling canresultindamagetocomponents.

Identificationofspecialinformation

The following pictograms designatetextpassage that contains special information.

Pictograms

i ..

Information: Recommendations, tips and reference to others of information.

Accessories: InformationonnecessaryorusefulaccessoriesfortheFesto product.

Environment: Informationontheenvironmentally-friendlyuseofFesto products.

Textdesignations

- Bulletpointsindicateactivitiesthatmaybecarriedoutin anysequence.

  1. Numeralsindicateactivities that must be carried out in thesequences specified.

–Arrowheadsindicategenerallistings.

Informationabouttheversion

Festo P.BE-CMM-FHPP-SW - Informationabouttheversion - 1

ThismanualreferstoverssetoutinTab.0/1.

ControllerFirmwareDescription
CMMP-AS-...Version 3.5.1501.4.1 and higherPremium motor controller for servo motorsNote:Thisdescriptiondoesnotapplytothe variantsCMMP-AS-...-M3. Use the special FHPPdescriptionforthesevariants.
CMMS-ST-...Version 1.3.0.1.14 and higherStandard motor controller for stepper motors.
CMMS-AS-...Version 1.3.0.1.15 and higherStandard motor controller for servo motors.
CMMD-AS-...Version 1.4.0.3.1 and higherStandard double motor controller for servo motors.

Tab.0/1: Controllerandfirmwareversions

Festo P.BE-CMM-FHPP-SW - Informationabouttheversion - 2

Forolderversions: Youmayneedtousethecorrespondingolderversionofthis document.

Festo P.BE-CMM-FHPP-SW - Informationabouttheversion - 3

Note Withnewerfirmwareversions,checkwhetherthereisa newerversionofthisdescriptionavailable: www.festo.com

Termsandabbreviations

The following terms and abbreviations are used in this manual:

Term/abbreviationMeaning
AxisMechanicalcomponentofadrivethattransfersthedriveforceforthe motion.Anaxisenablestheattachmentandguidingoftheworkload andtheattachmentofareferenceswitch.
Axiszeropoint(AZ)Pointofreferenceforthesoftwareendpositionsandtheprojectzero pointPZ.TheaxiszeropointAZisdefinedbyapresetdistance(offset) fromthereferencepointREF.
ControllerContainspowerelecttronics+closed-loopcontrollers+position controller,evaluatessensorsignals,calculatesmovementsandforces andprovidesthepowersupplyforthemotorviathepowerelectronics.
DriveCompleteactuator,consstingofmotor,encoderandaxis,optionally withagearbox,ifapplicablewithcontroller.
EncoderElectricalpulsegenerator(generallyarotorpositiontransducer). Thecontrollerevaluatestheelectricalsignalsthataregeneratedand usesthemtocalculatethepositionandspeed.
FestoConfigurationTool (FCT)Softwarewithstandardisedprojectanddatamanagementforsup- porteddevicetypes.Thespecialrequirementsofadevicetypeare supportedwiththenecessarydescriptionsanddialoguesbymeansof plug-ins.
FestoHandlingand PositioningProfile(FHPP)UniformfieldbusdataprofileforpositioncontrollersfromFesto
FestoParameterChannel (FPC)Parameteraccessasperthe“FestoHandlingandPositioningProfile” (I/Omessaging,optionallyadditional8-bytel/O)
FHPPstandardDefinesthesequencecontrolasperthe“FestoHandlingandPosition- ingProfile”(I/Omessaging,8-bytel/O)
HMIHuman-MachineInterface,e.g.controlpanelwithLCDscreenand operatingbuttons.
HomingPositioning procedure in which the reference point and therefore the originofthemeasuringreferencesystemoftheaxisaredefined.
Homing methodMethod for defining the reference position: against a fixed stop (overloadcurrentevaluation/speedevaluation)orwithreference switch.
Term/abbreviationMeaning
HomingmodeDefinesthemeasuringreferencesystemoftheaxis
IOIOInput.Output.Inputand/oroutput.
JogmodeManualpositioningpositiveornegativedirection.Functionforsettingpositionsbyapproachingthetargetposition,e.g.byteachingpositioningrecords(Teachmode).
Load voltage, logic voltageThe load voltage supplies the power electronics of the controller and therebythemotor.Thelogicvoltagesuppliesthevaluationandcontrollogicofthecontroller.
Logic00Vpresentatinputoroutput(positivelogic,correspondstoLOW).
Logic 124 V present at input or output (positive logic, corresponds to HIGH).
Operating modeType of control, or internal operating mode of the controller.-Typeofcontrol:Recordselection,Directmode-Operatingmodeofthecontroller:ProfilePositionmode,ProfileTorquemode,ProfileVelocitymode-Predefinedsequences:Homingmode...
PLCProgrammablelogiccontroller;controlsystemforshort(alsoIPC:industrialPC).
PositioningrecordPositioningcommanddefinedinthepositioningrecordtable,consistingoftargetposition,positioningmode,positioningspeed andaccelerations.
Profile Position modeOperating mode for executing a positioning record or a direct positioningtaskwithclosed-looppositioncontrol.
Profile Torque modeOperating mode for executing a direct positioning task with force control(open-looptransmissioncontrol)byregulationofthemotor current.
Project zero point (PZ)Point of reference for all positions in positioning tasks. The project zeropointPZformsthebasisforallabsolutepositionspecifications (e.g.inthepositioningrecordtableorwithdirectcontrolviaacontrol interface).TheprojectzeropointPZisdefinedbyapresetdistance (offset)fromtheaxiszeropoint.
Reference point (REF)Point of reference for the incremental measuring system. The referencepointdefinesaknownorientationorpositionwithinthe positioningpathofthedrive.
ReferenceswitchExternalsensprusedforascertainingthereferencepositionandconnecteddirectlytothecontroller.
SoftwareendpositionProgrammablestrokelimitation(pointofreference=axiszeropoint)-Softwareendposition,positive:max.limitpositionofthestrokeinpositivedirection;mustnotbeexceededduringpositioning.-Softwareendposition,negative:min.limitpositioninnegativedirection;mustnotbefallenshortofduringpositioning.
Speedadjustment(ProfileVelocitymode)Operatingmodeforeexecutingapositioningrecordoradirectpositioningtaskwithclosed-loopcontrolofthespeed/velocity.
TeachmodeOperatingmodeforsettingpositionsbymovingtothetargetposition,e.g.whencreatingpositioningrecords.

Tab.0/2:Indexoftermsandabbreviations

Contentsandgeneralsafetyinstructions

I/Odataandsequencecontrol

Chapter1

Contents

1.1OverviewofFestoHandlingandPositioningProfile(FHPP)1-3.....
1.2 Setpoint specification (FHPPoperating modes) 1-5.

1.2.1 Switching FHPP operating modes 1-5
1.2.2 Record selection 1-6
1.2.3 Direct mode 1-7

1.3 Configuration of the I/O data 1-8

1.3.1 Concept 1-8
1.3.2 Assignment of the I/O data for CMMD 1-9
1.3.3 I/O data in the various FHPP operating modes (control view) .... 1-10

1.4 Assignment of the control bytes and status bytes (overview) 1-11
1.5 Description of the control bytes 1-12

1.5.1 Control byte 1 (CCON) 1-12
1.5.2 Control byte 2 (CPOS) 1-13
1.5.3 Control byte 3 (CDIR) – Direct mode 1-14
1.5.4 Bytes 4 and 5 ... 8 - Direct mode 1-15
1.5.5 Bytes 3 and 4 ... 8 – Record selection 1-15

1.6 Description of the status bytes 1-16

1.6.1 Status byte 1 (SCON) 1-16
1.6.2 Status byte 2 (SPOS) 1-17
1.6.3 Status byte 3 (SDIR) – Direct mode 1-18
1.6.4 Bytes 4 and 5 ... 8 - Direct mode ..... 1-19
1.6.5 Bytes 3, 4 and 5 ... 8 – Record selection ..... 1-20

1.7 FHPP finite state machine 1-22

1.7.1 Establishing the ready status 1-24
1.7.2 Positioning 1-25
1.7.3 Special features dependent on FHPP operating mode 1-27
1.7.4 Examples of control and status bytes 1-27

1.1 Overview of Festo Handling and Positioning Profile (FHPP)

Festo has developed an optimised data profile especially tailored to the target applications for handling and positioning tasks, the "FestoHandlingandPositioningProfile(FHPP)". The FHPP enables uniform control and programming for the various fieldbus systems and controllers from Festo.

Inaddition, it defines the following so that they are largely uniform for the user:

-Theoperatingmodes,
-I/Odatastructure,
-Parameterobjects,
-Sequencecontrol.

Festo P.BE-CMM-FHPP-SW - Overview of Festo Handling and Positioning Profile (FHPP) - 1

natural_image Two technical illustrations of industrial electronic components, one with internal wiring and the other with a grid-patterned base (no text or symbols)

Fieldbuscommunication

Festo P.BE-CMM-FHPP-SW - Overview of Festo Handling and Positioning Profile (FHPP) - 2

flowchart
graph TD
    A["Recordselection"] --> B["1"]
    A --> C["2"]
    A --> D["3"]
    A --> E["..."]
    A --> F["n"]
    G["DirectmodeParameterisation"] --> H["PositionVelocityTorque"]
    G --> I["Freeaccesstoall parameters-readandwrite"]
    H --> J["Device 1"]
    H --> K["Device 2"]
    H --> L["Device 3"]
    H --> M["..."]
    I --> N["Device 4"]
    I --> O["Device 5"]

Fig.1/1: TheFHPPprinciple

Controlandstatusdata(FHPPStandard)

Communicationoverthefieldbusiseffectedbywayof8-byte control and status data. Functions and status messages requiredinoperationcanbewrittenandreaddirectly.

Parametrisation(FPC)

The control system can access all parameter values of the controller via the field bus by means of the parameter channel. A further 8 bytes of / O data are used for this purpose.

Noteonthecontrollers

Each controller has specific features and tasks. They therefore each havetheirownfinitestatemachineandaseparatedatabase.

The FestoHandlingandPositioningProfile(FHPP)provides userswithinformationaboutacontroller'sindividualcharacteristics.Theprofileisimplementedasindependentlyaspossible from each controller and fieldbus.

1.2 Setpoint specification(FHPPoperatingmodes)

TheFHPPoperatingmodesdifferinthecontentandmeaningof the cyclicI/O data and in the function that can be a the controller.

OperatingmodeDescription
RecordselectionAspecificnumbererofpositioningrecordscanbesavedinthecontroller.Arecordcontainsalltheparameterswhicharespecifiedforapositioningtask.Therecordnumberistransmittedinthecyclicl/Odataasthesetpointoractualvalue.
DirectmodeThepositioningtaskstransmitteddirectlyinthel/Otelegram.Themostimportantsetpointvalues(position,velocity,torque)aretransmittedhere.Supplementaryparameters(e.g.acceleration)aredefinedbytheparametrising.

Tab.1/3:OverviewofFHPPoperatingmodesinCMM...

1.2.1 SwitchingFHPPoperatingmodes

TheFHPPoperatingmodeisswitchedbytheCCONcontrol byte(seebelow)andindicatedintheSCONstatusword.

Switchingbetweenrecordselectionanddirectmodeisonly permittedinthe"Ready"state;seesection1.7, Fig.1/2.

1.2.2 Recordselection

Eachcontrollerhasaspecificnumberofrecords,whichcontainalltheinformationneededforonepositioningtask.The maximumnumberofrecordsisspecifiedseparatelyforeach controller.

Therecordnumberthatthecontrolleristoprocessatthe nextstartistransmittedinthePLC'soutputdata.Theinput datacontainstherecordnumberthatwasprocessedlast. Thepositioningtaskitselfdoesnotneedtobeactive.

Thecontrollerdoesnotsupportanyautomaticmode,i.e.no userprogram.Recordscannotbeprocessedautomatically withaprogrammablelogic.Thecontrollercannotaccomplish anyusefultasksinastand-alonestate;closecouplingtothe PLCisnecessary.

However, depending on the controller, it is also possible to concatenate various records and executethemone after the other with the help of fast command. It is also possible (again, dependent on the controller) to definerecord chaining before the target position is reached.

Itisonlypossibletosetalloftheparametersfortherecord chaining("routeprogram") (e.g. the following record) using the FCT.

In this way, positioning profilescan be created without the inactivetimes (which arise from the transfer in the fieldbus and the PLC's cycle time) having an effect.

Festo P.BE-CMM-FHPP-SW - Recordselection - 1

  1. I/Odataandsequencecontrol

1.2.3 Directmode

Inthedirectmode, positioningtasksareformulateddirectly inthePLC'soutputdata.

Thetypicalapplicationcalculatesdynamicallythetargetset-pointvaluesforeachtaskorjustforsometasks. This makes it possible to adjust the system to different workpiecesizes, for example, without having to -parametrisetherecordlist. The positioning data is managed completely in the PLC and sent directly to the controller.

1.3Configurationofthel/Odata

1.3.1 Concept

TheFHPPprotocolstipulates8bytesofinputdataand8bytesofoutputdata. Ofthese, thefirstbyteisfixed (the firsttwobytesintheFHPPoperatingmodesRecordselection andDirectmode). Itremainsintactineachoperatingmode andcontrolstheenablingofthecontrollerandtheFHPPoperatingmodes. TheotherbytesaredependentontheFHPP operatingmodethatwasselected. Additionalcontrol statusbytesandsetpointandactualvaluescanbetrans- mittedhere.

Inthecyclicdata, afurther8bytesofinputdata and 8bytes of output data are permissible to transmit parameters according to the FPC protocol.

APLCexchangesthefollowingdatawiththeFHPP:

-8-bytecontrolandstatusdata:

-Controlandstatusbytes
-Recordnumberorsetpointpositionintheoutputdata
-Feedbackofactualpositionandrecordnumberinthe inputdata
-Additionalmode-dependentsetpointandactual values

-Ifrequired,anadditional8bytesofinputand8bytesof outputdataforFPCparametrisation,seesection5.1.

-Ifrequired,upto24(withoutFPC)or16(withFPC)additionalbytessupportl/OdataforparametertransferviaFHPP+,seeAppendixB.1.

If applicable, observethespecificationinthebusmaster fortherepresentationofwordsanddoublewords(Intel/Motorola).

E.g. in the "littleendian" representation when transmitted via CAN (lowest-valuebytefirst).

Festo P.BE-CMM-FHPP-SW - Concept - 1

1.3.2 Assignmentofthel/OdataforCMMD

WithCMMD, controlviaFHPPforaxis1andaxis2always takesplaceoverasharedfieldbusinterface. If an interface is activated, its always valid for both axes.

Eachaxisthenhasitsownl/Odatacorrespondingtosection 1.3.1or1.3.3.

Assignmentofthel/Odataoverthefieldbusdependsonthe controlinterfaceused:

- C A N o p e n : ThetwoaxeshaveaseparateCANaddress,eachwith8 (withoutFPC)or16I/Obytesdata(withFPC). Theaddressofaxis1issetattheDIPswitches.A alwaysassignedthesubsequentaddress:

$$ \text { CANaddress } _ {\text { axis2 }} = \text { CANaddress } _ {\text { axis1 + 1 }} $$

- P R O F I B U S a n d D e v i c e N e

Thetwoaxeshaveasharedbusaddress,whichissetvia theDIPswitches.

Thel/Odataforthetwoaxesaretransferredinashared telegramofdoublelength.

Example(withFPC):

Byte1...8: control/statusbytesaxis1

Byte9...16: FPCaxis1

Byte17...24: control/statusbytesaxis2

Byte25...32: FPCaxis2

Festo P.BE-CMM-FHPP-SW - Assignmentofthel/OdataforCMMD - 1

Note:

With PROFIBUSandDeviceNet, the1/Odataforaxis2are readbyaxis1, passedontoaxis2 and evaluated there. The answerisreturnedtoaxis1 with thenextinternalcommunicationtask (every1.6ms) at the earliest. Onlythencanthe answerbereturnedviathefieldbus. This mean that the processing time of the fieldbus protocol is twice as long as with CMMS-AS.

1.3.3I/OdatainthevariousFHPPoperatingmodes(controlview)

Recordselection
Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
Output dataCCONCPOSRecordno.ReservedReserved
Input dataSCONSPOSRecord no.no.RSBActualposition
Directmode
Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
Output dataCCONCPOSCDIRSetpoint value1Setpointvalue2
Input dataSCONSPOSSDIRActual value1Actualvalue2

Further8bytesofl/OdataforFPCparametrisation (seesection5.1):

FestoFPC
Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
Output dataReservedSubindexTask identifier (ReqID) +parameter number(PNU)Parametervalue
Input dataReservedSubindexResponseidentifier (ResID) +parameter number(PNU)Parametervalue

1.4 Assignment of the control bytes and status bytes (overview)

Assignmentofthecontrolbytes(overview)

CCON(all)B7OPM2B6OPM1B5LOCKB4-B3RESETB2BRAKEB1STOPB0ENABLE
SelectFHPPoperatingmodeSoftware access locked-ResetfaultOpen brakeStopDriveenable
CPOS(Record selection and Direct mode)B7-B6CLEARB5TEACHB4JOGNB3JOGPB2HOMB1STARTB0HALT
-Clearre-maining positionTeach actual valueJognegativeJogpositiveStart homingStart position-ingtaskHalt
CDIR(Direct mode)B7FUNCB6FGRP2B5FGRP1B4FNUM2B3FNUM1B2COM2B1COM1B0ABS
Execute functionFunctiongroupFunctionnumberControlmode(position,torque, velocity,...)Absolute/Relative

Assignmentofthestatusbytes(overview)

SCON(all)B7OPM2B6OPM1B5LOCKB424VLB3FAULTB2WARNB1OPENB0ENABLED
DisplayFHPPoperatingmodeDrivecontrolby softwareSupply voltageis appliedFaultWarningOperation enabledDrive enabled
SPOS(Record selection and Direct mode)B7REFB6STILLB5DEVB4MOVB3TEACHB2MCB1ACKB0HALT
Axisis referencedStandstill controlDrag (deviation) errorAxisis movingAcknowledge teach/samplingMotion completeAcknowledge startHalt
SDIR(Direct mode)B7FUNCB6FGRP2B5FGRP1B4FNUM2B3FNUM1B2COM2B1COM1B0ABS
Function isexecutedFunctiongroupfeed-backFunctionnumber feedbackControlmodefeedback(position, torque,velocity)Absolute/ Relative

1.5 Description of the control bytes

1.5.1 Controlbyte1(CCON)

Controlbyte1(CCON)
BitENDescription
B0 ENABLEDriveEnable=1:Enabledrive(controller)=0:Drive(controller)disabled
B1 STOPStop=1:Operationenabled.Anyerrorwillbedeleted.=0:STOPactive(cancelemergencyramp+positioningtask).Thedrive stopswithmaximumbrakingramp,thepositioningtaskis reset.
B2 BRAKEOpen Brake= 1: Release brake= 0: Activate brakeNote: it is only possible to release the brake if the controller is disabled.Assoonasthecontrollerisenabled,ithaspriorityoverthebrake'scontrolsystem.
B3 RESETReset FaultWith a rising edge a fault is acknowledged and the fault value is deleted.
B4--Reserved, must be at 0.
B5 LOCKSoftwareAccessLockedControlsaccesstothecontroller'slocal(integrated)diagnosticinterface.=1:Thesoftwarecanonlyobservethecontroller;thesoftwarecannot takeoverdevicecontrol(HMIcontrol)fromthesoftware.=0:Thesoftwaremaytakeoverthedevicecontrol(inordertomodify parametersortocontrolinputs).
B6 OPM1SelectOperatingModeBit 76 Operatingmode0 0 Recordselection0 1 Direct mode1 0 Reserved1 1 Reserved
B7 OPM2

CCON controls statuses in all FHPP operating modes. For moreinformation,seethe descriptionofthe drivefunctionsin Chapter 2.

1.5.2 Controlbyte2(CPOS)

Controlbyte2(CPOS)
BitENDescription
B0 HALTHalt=1:Haltisnotactive=0:Haltactivated(donotcancelbrakingramp+positioningtask).Theaxisstopswithadefinedbrakingramp,thepositioningtask remainsactive(withB6theremainingpositioningdistancecanbe deleted).
B1 STARTStartPositioningTaskWith a rising edge the current setpoint values will be transferred and positioningstarted(evenifrecord0= homing,forexample).
B2 HOMStart HomingWith a rising edge homing is started with the set parameters.
B3 JOGPJog positiveThe drive moves at the specified velocity or rotational speed in the directionoflargeractualvalues,providingthebitisset.Themovementbeginswiththerisingedgeandendswiththefallingedge.
B4 JOGNJog negativeThe drive moves at the specified velocity or rotational speed in the directionofsmalleractualvalues,seeB3.
B5 TEACHTeach Actual ValueAt a falling edge the current actual value is imported into the setpoint registerofthecurrentlyaddressedpositioningrecord;seesection2.5.TheteachtargetisdefinedwithPNU520.Thetypeisdeterminedbythe recordstatusbyte(RSB).Seealsosection2.5.
B6 CLEARClearRemainingPositionIn the “Halt” status a rising edge causes the positioning task to be deletedandtransfertothestatus“Ready.”
B7 --Reserved, must be at 0.

CPOScontrolsthepositioningsequencesinthe“Record selection”and“Directmode”FHPPoperatingmodes,assoon asthedriveisenabled.

1.5.3 Controlbyte3(CDIR)-Directmode

Controlbyte3(CDIR)-Directmode
BitENDescription
B0ABSAbsolute/Relative=0:Setpointvalueisabsolute=1:Setpointvalueisrelativetolastsetpointvalue
B1COM1Control ModeBit 2 1 Control mode00 ProfilePositionmode01 ProfileTorquemode(torque,current)10 ProfileVelocitymode(speed)1 1 ReservedOnly Profile Position mode can be used for the camming function.
B2COM2
B3FNUM1FunctionNumberWithout camming function (CDIR.B7, FUNC = 0): no function, = 0!If the camming function is used (only with CMMP, CDIR.B7, FUNC = 1):No. Bit4 3 Functionnumber 1)0 0 0 Reserved1 0 1 Synchronisation with an external input2 1 0 Synchronisation with an external input with camming function3 1 1 Synchronisation with a virtual master with camming function
B4FNUM2
B5FGRP1FunctionGroupWithout camming function (CDIR.B7, FUNC = 0): no function, = 0!If the camming function is used (only with CMMP, CDIR.B7, FUNC = 1):No.Bit6 5 Function group0 0 0 Synchronisation with/without cam diskAll other values (No. 1 ... 3) are reserved.
B6FGRP2
B7FUNCFunction= 0: Normal task= 1: Execute camming function (only permissible with CMMP,Bit 3 ... 6 = function number and group)
1) With function numbers 1 and 2 (Synchronisation with an external input), bits CPOS.B0 to CPOS.B2 are not relevant. With function number 3 (Virtual master, internal) bits CPOS.B0 to CPOS.B2 determine the reference and the closed-loop control mode of the master.

In Direct mode, CDRI specifies the type of positioning task more precisely.

1.5.4Bytes4and5...8-Directmode

Controlbyte4(setpointvalue1)-Directmode
BitENDescription
B0...B7Velocitypreselection depends on the closed-loop control mode (CDIR.B1/B2): -ProfilePositionmode:Velocityaspercentageof basevalue(PNU540)
--ProfileTorquemode:Nofunction,=0!
Velocityramp-ProfileVelocitymode:Velocityrampaspercentageof basevalue(PNU560)
Controlbytes5...8(setpointvalue2)-Directmode
BitENDescription
B0...B31Preselectiondependsonclosed-loopcontrolmode(CDIR.B1/B2),in eachcasealittle-endian32-bitnumber:
Position-ProfilePositionmode:Positioninpositioningunit(seeappendixA.1)
Torque-ProfileTorquemode:Torquesetpointaspercentageoftherated torque(PNU1036)
Velocity-ProfileVelocitymode:Speedinunitofvelocity(seeappendixA.1)

1.5.5Bytes3and4...8-Recordselection

Controlbyte3(recordnumber)-Recordselection
BitENDescription
B0...B7Record numberPreselectionofrecordnumberforrecordselection.
Controlbytes4...8-Recordselection
BitENDescription
B0...B7-Reserved(=0)

1.6 Description of the status bytes

1.6.1Statusbyte1(SCON)

Statusbyte1(SCON)
BitENDescription
B0 ENABLEDDrive Enabled= 0: Drive disabled, controller not active=1:Drive(controller)enabled
B1 OPENOperation En-abled= 0: STOP active=1:Operationenabled,positioningpossible
B2 WARNWarning= 0: Warning not registered=1:Warningregistered
B3 FAULTFault= 0: No fault=1:Thereisafaultorfaultreactionisactive.Fault code in the diagnostic memory.
B4 24VLSupply Voltage isApplied=0:No loadvoltage=1:Loadvoltageapplied
B5 LOCKDriveControl bySoftwareControl sovereignty, meaning which device or system has higher control priority (seePNU125,section 4.4.4)=0:Devicecontrolunassigned(software,fieldbus,DIN)= 1: Device control by software (FCT or DIN)(PLC control isLocked)
B6 OPM1Display OperatingModeBit 76 Operatingmodeacknowledgment0 0 Record selection0 1 Direct mode1 0 Reserved1 1 Reserved
B7 OPM2

1.6.2Statusbyte2(SPOS)

Statusbyte2(SPOS)
BitENDescription
B0 HALTHalt= 0 : HALT is active= 1: HALT is not active, axis can be moved
B1 ACKAcknowledge Start=0: Ready forstart(homing,jog)=1: Startcarried out(homing,jog)
B2 MCMotion Com-plete=0: Positioningtaskactive=1: Positioningtaskcompleted,whereapplicablewitherrorNote: MC is set for the first time after switch-on (status“Drivedisabled”).
B3 TEACHAcknowledge Teach/SamplingDependingonthesettinginPNU354:-PNU354=0:DisplayoftheteachstatusSPOS.B3=0:Ready forteachingSPOS.B3 = 1: Teaching carried out, actual value is transferred-PNU 354 = 1: Display of the sampling statusSPOS.B3 =0:Noedge.SPOS.B3=1:An edgehasappeared. Newpositionvalueavailable.Forpositionsampling:seesection2.9.
B4 MOVAxis is moving= 0: Speed of the axis < limit value=1: Speedoftheaxis>=limitvalue
B5 DEVDrag(devi-ation)Error=0: Nodragerror(also-called“followingerror”)=1: Drageroractive
B6 STILLStandstill control= 0: After MC, axis remains in tolerance window=1: Axishasleftthetolerance windowafterMC
B7 REFAxisrefer-enced=0: Homingmustbecarried out= 1: Reference information present, homing not necessary

1.6.3Statusbyte3(SDIR)-Directmode

TheSDIRstatusbyteacknowledgesthepositioningmode.

Statusbyte3(SDIR)-Directmode
BitENDescription
B0ABSAbsolute/Relative=0:Setpointvalueisabsolute=1:Setpointvalueisrelativetolastsetpointvalue
B1COM1ControlModefeedbackBit21Controlmodefeedback00ProfilePositionmode01ProfileTorquemode(torque,current)10ProfileVelocitymode(speed)1 1 Reserved
B2COM2
B3FNUM1FunctionNumberfeedbackOnlyifthecammingfunctionisused(SDIR.B7,FUNC=1):No. Bit4 3 Functionnumber0 0 0 CAM-IN / CAM-OUT / Change active1 0 1 Synchronisation with an external input2 1 0 Synchronisation with an external input with camming function3 1 1 Synchronisation with a virtual master with camming function
B4FNUM2
B5FGRP1FunctionGroupfeedbackOnly ifthecammingfunctionisused(SDIR.B7, FUNC =1):No.Bit65 Functiongroup0 0 0 Synchronisation with/without cam diskAll other values (No. 1 ... 3) are reserved.
B6FGRP2
B7FUNCFunctionfeedback= 0: Normal task= 1: Cammingfunction is executed(bits 3 ... 6 = function number and group)

1.6.4 Bytes 4 and 5...8-Directmode

Statusbyte4(actualvalue1)-Directmode
BitENDescription
B0...B7VelocityFeedbackdependsontheclosed-loopcontrolmode(CDIR.B1/B2):-ProfilePositionmode:Velocityaspercentageofbasevalue(PNU540)
Torque-ProfileTorquemode:Torqueaspercentageoftheratedtorque(PNU1036)
--ProfileVelocitymode:nofunction,=0
Statusbytes5...8(actualvalue2)-Directmode
BitENDescription
B0...B31Feedbackdependsonclosed-loopcontrolmode(CDIR.B1/B2),ineach casealittle-endian32-bitnumber:
Position-ProfilePositionmode:Positioninpositioningunit,seeappendixA.1
Torque-ProfileTorquemode:Positioninpositioningunit,seeappendixA.1
Velocity-ProfileVelocitymode:Speedasanabsolutevalueinunitofvelocity

1.6.5 Bytes 3,4 and 5...8-Record selection

Statusbyte3(recordnumber)-Recordselection
BitENDescription
B0...B7Record numberAcknowledgementofrecordnumberforrecordselection.
Statusbyte4(RSB)-Recordselection
BitENDescription
B0RC11stRecord ChainingDone=0:Astepenablingconditionwasnotconfiguredornotachieved.=1:Thefirststepenablingconditionwasachieved.
B1RCCRecordChain-ingCompleteValidassoonasMCapplies.=0:Recordchainingcancelled.Atleastonestepenablingconditionhas notbeenmet.=1:Recordchainwasprocessedtotheendofthechain.
B2--Reserved
B3FNUM1FunctionNumberfeedbackOnlyifthecammingfunctionisused(RSB.B7,FUNC=1):No. Bit43 Functionnumber
0 0 0 CAM-IN/CAM-OUT/Changeactive1 0 1 Synchronisation with an external input
B4FNUM22 1 0 Synchronisation with an external input with camming function3 1 1 Synchronisation with a virtual master with camming function
B5FGRP1FunctionGroupfeedbackOnlyifthecammingfunctionisused(RSB.B7,FUNC=1):No.Bit65 Functiongroup
B6FGRP20 0 0 Synchronisation with/without cam diskAllotherevalues(No.1...3)arereserved.
B7FUNCFunctionfeedback=0: Normal task=1:Cammingfunctionisexecuted(bits3...6=functionnumberandgroup)
Statusbytes5...8(position)-Recordselection
BitENDescription
B0...B31Position,...Acknowledgmentoftheposition:-Positioninpositioningunit,seeappendixA.1(32-bitnumber,lowbytefirst)

1.7FHPPfinitestatemachine

Festo P.BE-CMM-FHPP-SW - 1.7FHPPfinitestatemachine - 1

flowchart
graph TD
    Switchedoff --> S1["Controller switchedon"]
    S1 -->|T1| S2["Drivenisabled"]
    S2 -->|T5| S3["Driveenabled"]
    S3 -->|T4| SA1["Ready"]
    SA1 -->|TA9| Jogpositive["SA5 Jogpositive"]
    SA1 -->|TA10| Jognegative["SA6 Jognegative"]
    SA1 -->|TA11| Jogpositive
    SA1 -->|TA12| Jognegative
    SA2["Positioningtask active"] -->|TA2| SA3["Intermediatestop"]
    SA2 -->|TA3| SA3
    SA2 -->|TA5| Homingisbeing_carriedout["SA4 Homingisbeing carriedout"]
    SA2 -->|TA6| Homingisbeing_carriedout
    S5["Reactiontofault"] -->|T8| S6["Fault"]
    S6 -->|T10| S3
    S6 -->|T11| S5
    S7["always highest priority."] --> Switchedoff
    S7 --> Fromallstates

Fig.1/2: Finitestatemachine

Notesonthe"Operationenabled"state

ThetransitionT3changestostateS4,whichitselfcontainsits ownsub-statemachine,thestatesofwhicharemarkedwith "SAx"andthetransitionsofwhicharemarkedwith "TAX"; seeFig.1/2.Thisenablesanequivalentcircuitdiagram (Fig.1/3)tobeused,inwhichtheinternalstatesSAxare omitted.

Festo P.BE-CMM-FHPP-SW - Notesonthe"Operationenabled"state - 1

flowchart
graph TD
    Switchedoff --> S1["Controller switched"]
    S1 -->|T1| S2["Driven disabled"]
    S2 -->|T5| S3["Driven enabled"]
    S3 -->|T4| S4["Operation enabled"]
    S4 -->|T6| S2
    S2 -->|T9| S6["Fault"]
    S6 -->|T10| S2
    S6 -->|T7*| S5["Reactionto fault"]
    S5 -->|T8| S6
    S6 -->|T11| S5

Fig.1/3: Finitestatemachine equivalent circuit diagram

TransitionsT4,T6andT7*areexecutedfromeverysub-state SAxandautomaticallyhaveahigherprioritythananytransitionTAX.

Reactiontofaults

T7("Faultrecognised")hasthehighestpriority(andreceives theasterisk"*").

T7isexecutedfromS5+S6ifanfaultofhigherpriorityoccurs. Thismeansthataseriousfaultcandisplaceasimplefault.

1.7.1 Establishing thereadystatus

Festo P.BE-CMM-FHPP-SW - Establishing thereadystatus - 1

Tocreatethereadystatus, additional inputsignalsarerequired, depending on the controller, at DIN4, DIN5, DIN13, etc., forexample.

Formoredetailedinformationaboutthis,seethedescription ofthecontrollerinquestion.

TInternalconditionsActionsoftheuser
T1Driveisswitchedon.Thereisnofaultdetected.
T2Loadvtoltageapplied.ControlsovereigntywithPLC.“Driveenable”=1CCON=xxx0.xxx1
T3“Stop”=1CCON=xxx0.xx11
T4“Stop”=0CCON=xxx0.xx01
T5“Drive enable”=0CCON=xxx0.xxx0
T6“Drive enable”=0CCON=xxx0.xxx0
T7*Faultdetected.
T8Reactionontofaultcompleted,drivestopped.
T9Thereisnolongerafault.It was a serious fault.“Resetfault”=0→1CCON=xxx0.Pxxx
T10Thereisnolongerafault.Itwasasimplefault.“Resetfault”=0→1CCON=xxx0.Pxx1
T11Fault still exists.“Reset fault” = 0 → 1CCON=xxx0.Pxx1
Key:P=positiveedge,N=negativeedge,x=any

1.7.2 Positioning

Asageneralrule:

TransitionsT4,T6andT7*alwayshavepriority.

TAInternalconditionsActionsoftheuser
TA1Homing has been carried out.Start positioning task = 0→1Halt=1CCON=xxx0.xx11CPOS=0xx0.00P1
TA2MotionComplete=1Thecurrentrecorddiscompleted.Thenextrecordisnottobecarriedoutautomatically“Halt”statusisanyCCON=xxx0.xx11CPOS=0xxx.xxxx
TA3Motion Complete = 0Halt = 1 → 0CCON=xxx0.xx11CPOS=0xxx.xxxN
TA4Halt=1Startpositioningtask=0→1Clearremainingposition=0CCON=xxx0.xx11CPOS=00xx.xxP1
TA5Recordselection:- Asinglerecordisfinished.- Thenextrecorddistobecarriedoutautomatically.CCON=xxx0.xx11CPOS=0xxx.xxx1
Directmode:- Anewpositioningtaskhasarrived.CCON=xxx0.xx11CPOS=0xxx.xx11
TA6Clearremainingposition=0→1CCON=xxx0.xx11CPOS=0Pxx.xxxx
TA7Start homing = 0→1Halt=1CCON=xxx0.xx11CPOS=0xx0.0Px1
TA8Homing finished or Halt.Only for Halt:Halt=1→0CCON=xxx0.xx11CPOS=0xxx.xxxN
Key:P=positiveedge,N=negativeedge,x=any

1.I/Odataandsequencecontrol

TAActionsoftheuserInternalconditions
TA9ogpositive=0→1Halt=1CCON=xxx0.xx11CPOS=0xx0.Pxx1
TA10Either- Jog positive = 1→0- CCON=xxx0.xx11- CPOS=0xxx.Nxx1or- Halt = 1 → 0- CCON=xxx0.xx11- CPOS=0xxx.xxxN
TA11Jog negative = 0 → 1Halt=1CCON=xxx0.xx11CPOS=0xxP.0xx1
TA12Either- Jog negative = 1 → 0- CCON= xxx0.xx11- CPOS=0xxN.xxx1or- Halt = 1 → 0- CCON= xxx0.xx11- CPOS=0xxx.xxxN
Key: P = positive edge, N = negative edge, x = any

Festo P.BE-CMM-FHPP-SW - 1.I/Odataandsequencecontrol - 1

There are additional transitions if the camming function is used;seeappendix B.2.

1.7.3 Specialfeatures dependent on FHPPoperating mode

FHPPoperating modeNotesonspecialfeatures
RecordselectionNorestrictions.
DirectmodeTA2:Theconditionthatnonewrecordmaybeprocessednolongerapplies.TA5:Anewrecordcanbestartedatanytime.

1.7.4Examplesofcontrolandstatusbytes

Onthefollowingpagesyouwillfindtypicalexamplesofcontrolstatusbytes:

  1. Safeguarddevicecontrol
  2. Createreadinesstöoperate—Recordselection
    2.Createreadinesstooperate-Directmode
    3.Faulthandling
    4.Homing
  3. Positioning with record selection
  4. Positioningwithdirectmode

Forinformationaboutthestatemachine,seesection1.7.

Festo P.BE-CMM-FHPP-SW - 1.7.4Examplesofcontrolandstatusbytes - 1

Forallexamples:

Additionaldigitall/OsarerequiredforCMM...controller enablingandclosed-loopcontrollerenabling;seemanual for the CMM... controller used.

  1. Safeguarddevicecontrol
Step/DescriptionControlbytesStatusbytes
ByteB7B6B5B4B3B2B1B0ByteB7B6B5B4B3B2B1B0
0.1Drivecontrolby software=onByte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCON00000x00SCON00110000
Byte 2-CLEARTEACHJOGNJOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS00000000SPOS00000100
0: logic 0; 1: logic 1; x: not relevant (any); F: positive edge

Tab. 1/4: Control and status bytes for “Device control active”

Descriptionof0.Safeguarddevice control:

0.1 Devicecontrolviasoftware (e.g.FestoConfiguration Tool)isactivated.

To control using the fieldbus interface, device control viathesoftwarehastobedeactivated first.

1.Createreadinesstöoperate—Recordselection

Step/DescriptionControlbytesStatusbytes
ByteB7B6B5B4BB2B1B0ByteB7B6B5B4B3B2B1B0
1.1Basicstatus(Drivecontrolby software=off)Byte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCON00000x00SCON00010000
Byte 2-CLEARTEACHJOGNJOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS00000000SPOS00000100
1.2Disabledevice control by softwareByte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCONxx10xxxxSCONxx0xxxxx
Byte 2-CLEARTEACHJOGNJOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS0xxxxxxxSPOSxxxxxxxx
1.3Enabledrive, enableoperation(Recordselection)Byte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCON00x00x11SCON00010011
Byte 2-CLEARTEACHJOGNJOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS00000001SPOS00000101
0: logic 0; 1: logic 1; x: not relevant (any); F: positive edge

Tab.1/5: Controlandstatusbytesfor“Createreadinesstöoperate–Recordselection”

Descriptionof1.Createreadinesstöoperate:

1.1 Basicstatusofthedrivewhenthesupplyvoltagehas beenswitchedon. →Step1.2or1.3

1.2 Disabledevicecontrolbysoftware. Optionally, assuming of device control by the software can be disabled with CCON.B5=1(LOCK). →Step1.3

1.3 EnabledriveinRecordselectionmode. →Homing:example4,Tab.1/8.

Festo P.BE-CMM-FHPP-SW - Descriptionof1.Createreadinesstöoperate: - 1

If there are faults afterswitching on or aftersetting CCON.B0 (ENABLE): →Faulthandling:see example3,Tab.1/7.

2.Createreadinesstöoperate–Directmode

Step/DescriptionControlbytesStatusbytes
ByteB7B6B5B4B3B2B1B0ByteB7B6B5B4B3B2B1B0
2.1Basicstatus(Drivecontrolby software=off)Byte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCON00000x00SCON00010000
Byte 2-CLEARTEACHIOGNIOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS00000000SPOS00000100
2.2Disable device controlbysoftwareByte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCONxx10xxxxSCONxx0xxxxx
Byte 2-CLEARTEACHIOGNIOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS0xxxxxxxSPOSxxxxxxxx
2.3Enabledrive, enableoperation(Directmode)Byte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCON01x00x11SCON01010011
Byte 2-CLEARTEACHIOGNIOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS00000001SPOS00000101
0: logic 0; 1: logic 1; x: not relevant (any); F: positive edge

Tab. 1/6: Control and status bytes for “Create readiness to operate – Direct mode”

Descriptionof2.Createreadinesstöoperate:

2.1 Basic status of the drive when the supply voltage has been switched. →Step2.2or2.3

2.2 Disable devicecontrol bysoftware. Optionally, assuming of device control by the software can be disabled with CCON.B5=1 (LOCK). →Step2.3

2.3 Enabledrive in Directmode. →Homing: example4, Tab.1/8.

If there are faults after switching on or after setting CCON.B0 (ENABLE): → Fault handling: see example 3, Tab. 1/7.

Festo P.BE-CMM-FHPP-SW - Descriptionof2.Createreadinesstöoperate: - 1

3.Faulthandling

Step/DescriptionControlbytesStatusbytes
ByteB7B6B5B4BB2B1B0ByteB7B6B5B4B3B2B1B0
3.1FaultByte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCONxxx0xxxxSCONxxxx1xxx
Byte 2-CLEARTEACHJOGNJOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS0xxxxxxxSPOSxxxxx0xx
3.2WarningByte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCONxxx0xxxxSCONxxxxx1xx
Byte 2-CLEARTEACHJOGNJOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS0xxxxxxxSPOSxxxxx0xx

Tab.1/7: Controlandstatusbytesfor“Faulthandling”

Descriptionof3.Faulthandling

3.1AfaultisshownwithSCON.B3(FAULT).
→Positioningcannolongerbeundertaken.
3.2 A warning is shown with SCON.B2 (WARN).
→Positioningcanstillbeundertaken.
3.3 ResetfaultwithpositiveedgeatCCON.B3(RESET).
→FaultbitSCON.B3(FAULT)or
SCON.B3(WARN)isreset
→SPOS.B2(MC)isset
→Driveisreadytooperate

FaultsandwarningscanbealsoresetusingDIN5(closed-loopcontrollerenable),seemanualforthecontrollerused.

Festo P.BE-CMM-FHPP-SW - Descriptionof3.Faulthandling - 1

4.Homing(requiresstatus1.3or2.3)

Step/DescriptionControlbytesStatusbytes
ByteB7B6B5B4BB2B1B0ByteB7B6B5B4B3B2B1B0
4.1StarthomingByte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCON0xx00x11SCON0x010011
Byte 2-CLEARTEACHJOGNJOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS00000F01SPOS00000011
4.2HomingrunningByte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCON0xx00x11SCON0x010011
Byte 2-CLEARTEACHJOGNJOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS00000101SPOS00010011
4.3HomingfinishedByte 1OPM2OPM1LOCK-RESETBRAKESTOPENABLByte 1OPM2OPM1LOCK24VLFAULTWARNOPENENABL
CCON0xx00x11SCON0x010011
Body 2-CLEARTEACHJOGNJOGPHOMSTARTHALTByte 2REFSTILLDEVMOVTEACHMCACKHALT
CPOS00000001SPOS10000101
0: logic 0; 1: logic 1; x: not relevant (any); F: positive edge

Tab.1/8: Controlandstatusbytesfor“Homing”

Descriptionfor4.Homing:

4.1 A positiveedgeatCPOS.B2(HOM, Starthoming) startsthehoming. The startisconfirmed with SPOS.B1 (Acknowledgestart) as longasCPOS.B2(HOM) isset.
4.2 MovementoftheaxisisshownwithSPOS.B4(MOV, Axisismoving).
4.3AftersuccessfulhomingSPOS.B2(MC,Motion Complete)andSPOS.B7(REF)willbeset.

If there are faults during homing: → Faulthandling: see example3, Tab.1/7.

Festo P.BE-CMM-FHPP-SW - Descriptionfor4.Homing: - 1

  1. Positioning with record selection (requires status 1.3/2.3 and possibly 4.3)
Step/Descrip-tionControlbytesStatusbytes
ByteB7E6B534B3B2B1B0BByteE7B6B5B4B3B2B1B0
5.1Preselectrecord number(controlbyte3)Byte 3Record No.Record numberRecordno.(0...)Byte 3Record No.Record numberPreviousrecordno.(0...)
5.2StarttaskByte 1CCONOPM20OPM10LOCKx-0RESET0BRAKexSTOP1ENABL1Byte 1SCONOPM20OPM10LOCK024VL1FAULT0WARN0OPEN1
Byte 2CPOS-0CLEAR0TEACH0JOGN0JOGP0HOM0STARTFHALT1Byte 2SPOSREF1STILL0DEV0MOV0TEACH0MC0ACK1
5.3TaskrunningByte 1CCONOPM20OPM10LOCKx-0RESET0BRAKexSTOP1ENABL1Byte 1SCONOPM20OPM10LOCK024VL1FAULT0WARN0OPEN1
Byte 2CPOS-0CLEAR0TEACH0JOGN0JOGP0START1HALT1Byte 2SPOSREF1STILL0DEV0MOV1TEACH0MC0ACK1
Byte 3Record No.Record numberRecordno.(0...)Byte 3Record No.Record numberCurrentrecordno.(0...)
5.4TaskfinishedByte 1CCONOPM20OPM10LOCKx-0RESET0BRAKexSTOP1ENABL1Byte 1SCONOPM20OPM10LOCK024VL1FAULT0WARN0OPEN1
Byte 2CPOS-0CLEAR0TEACH0JOGN0JOGP00START0HALT1Byte 2SPOSREF1STILL0DEV0MOV0TEACH0MC1ACK0
Byte 5...8-ReservedReservedByte 5...8Act.pos.PositionActualposition(positioningunits)
0: logic 0; 1: logic 1; x: not relevant (any); F: positive edge

Tab. 1/9: Control and status bytes for “Positioning with record selection”

Descriptionof5.Positioningwithrecordselection:

(steps5.1...5.4conditionalsequence)

When thereadinesstooperateiscreatedandhominghas beencarriedout, apositioningtaskcanbestarted.

5.1 Preselectrecordnumber: Byte3oftheoutputdata

0 = H o m i n g 1...=Programmablepositioningrecords

5.2WithCPOS.B1(START,Startpositioningtask)the preselectedpositioningtaskwillbestarted.Thestart isconfirmedwithSPOS.B1(Acknowledgestart)aslong asCPOS.B1(START)isset.

5.3 MovementoftheaxisisshownwithSPOS.B4 (MOV, Axis is moving).

5.4 Attheendofthepositioning task, SPOS.B2 (MC, MotionComplete) will beset.

If there are faults during positioning:

→Faulthandling:seeexample3,Tab.1/7.

Festo P.BE-CMM-FHPP-SW - Descriptionof5.Positioningwithrecordselection: - 1

6.Positioningwithdirectmode

(requirestatus1.3/2.3andpossibly4.3)

Step/DescriptionControlbytesStatusbytes
ByteB7B6B5B4BB3B2B1B0ByteB7B6B5B4B3B2B1B0
6.1Preselectposition andspeed(bytes4and5...8)Byte4VelocityVelocityByte4Speedpreselect(0...100%)VelocityVelocityitySpeedfeedback(0...100%)
Byte 5...8Set-point pos.PositionSetpointposition(positioningunits)Byte 5...8Act. pos.PositionActualposition(positioningunits)
6.2StarttaskByte 1CCONOPM20OPM11LOCKx-0RESET0BRAKexSTOP1ENABL1Byte 1SCONOPM20OPM11LOCK024VL1FAULT0WARN0OPEN1ENABL1
Byte 2CPOS-0CLEAR0TEACH0JOGN0JOGP0HOM0STARTFHALT1Byte 2SPOSREF1STILL0DEV0MOV0TEACH0MC0ACK1HALT1
Byte 3CDIRFUNC0FAST0XLIM0VLIM0CONT0COM20COM10ABSsByte 3SDIRFUNC0FAST0XLIM0VLIM0CONT0COM20COM10ABSs
6.3. Task runningByte 1CCONOPM20OPM11LOCKx-0RESET0BRAKexSTOP1ENABL1Byte 1SCONOPM20OPM11LOCK024VL1FAULT0WARN0OPEN1ENABL1
Byte 2CPOS-0CLEAR0TEACH0JOGN0JOGP0HOM0START1HALT1Byte 2SPOSREF1STILL0DEV0MOV1TEACH0MC0ACK1HALT1
6.4TaskfinishedByte 1CCONOPM20OPM11LOCKx-0RESET0BRAKexSTOP1ENABL1Byte 1SCONOPM20OPM11LOCK024VL1FAULT0WARN0OPEN1ENABL1
Byte 2CPOS-0CLEAR0TEACH0JOGN0IOGP0HOM0START0HALT1Byte 2SPOSREF1STILL0DEV0MOV0TEACH0MC1ACK0HALT1
0: logic 0; 1: logic 1; x: not relevant (any); F: positive edge; S:positioningcondition:0=absolute;1=relative

Tab.1/10:Controlandstatusbytesfor"Positioningwithdirectmode"

Descriptionofpositioningwithdirectmode:

(step6.1...6.4conditionalsequence)

When thereadinesstooperateiscreatedandhominghas beencarriedout,asetpointpositionmustbepreselected.

6.1 Thesetpointpositionistransferredinpositioningunits inbytes5...8oftheoutputword. Thesetpointspeedistransferredin%inbyte4 (0=nospeed;100=max.speed).
6.2 With CPOS.B1 (START, Start positioning task) the preselected positioning task is started. The start is confirmed with SPOS.B1 (Acknowledgestart) as long as CPOS.B1 (START) is set.
6.3 Movement of the axis is shown with SPOS.B4 (MOV, Axis is moving).
6.4 At the end of the positioning task, SPOS.B2 (MC, Motion Complete) will be set.

If there are faults during positioning:

→Faulthandling:seeexample3,Tab.1/7.

Festo P.BE-CMM-FHPP-SW - Descriptionofpositioningwithdirectmode: - 1

Drivefunctions

Chapter2

2.Drivefunctions

Contents

2.1Referencesystemforelectricdrives2-3.....
2.2 Calculation rules for the references system 2-5.
2.3Homing2-5.....

2.3.1 Homing for electric drives 2-7
2.3.2 Homing methods 2-8

2.4 Jog mode 2-13
2.5 Teaching via fieldbus 2-15
2.6 Carry out record (Record selection) 2-17

2.6.1 Record selection sequence charts 2-18
2.6.2 Record structure 2-22
2.6.3 Conditional record chaining (PNU 402) 2-23

2.7 Direct mode 2-27

2.7.1 Sequence for discrete setpoint value 2-29
2.7.2 Sequence for Profile Torque mode (torque and current control) .. 2-30
2.7.3 Sequence for Profile Velocity mode 2-32

2.8 Standstill control 2-34
2.9 On-the-fly measurement (position sampling) 2-36

2.Drivefunctions

2.1Referencesystemforelectricdrives

Referencesystemforelectriclineardrives

Positionsincreasinginsize, "positive"travel
REFHoming point (reference point)aAxis zero point offset
AZAxis zero pointbProject zero point offset
PZProject zero pointcTarget/actual position offset
LSELower software end positiond, eSoftware end position offsets
USEUpper software end position1Effective stroke
LESLower end switch (lower limit switch)2Nominal stroke
HES Higherendswitch(higherlimitswitch)
TP, APTarget/actual position

Tab.2/1: Referencesystemforelectricdrives

2. Drivefunctions

Referencesystemforelectricrotarydrives

Rotationaxis: example with negative references switch homing method

onaxis:examplewithnegative aceswitchhomingmethod REF 1 AZ PZ d a b e

REFReferencepoint:pointascertainedduringhoming:referenceswitch,limitswitchorstop,withindexpulsewhereapplicable.
AZAxis zero point: point of reference for the project zero point and the software end positions.
PZProject zero point: point of reference (= zero point) for actual position and absolute positionsinthepositioningrecordtable.
aAxis zero point offset: distance of axis zero point AZ from reference point REF
bProjectzeropointoffset:distancefromAZ
d,eSoftwareendpositionoffsets:limitthepermittedpositioningrange(usablestroke).Optional:endlesspositioningpossible
1Effectivestroke:permittedpositioningrange

Tab.2/2: Referencesystemforelectricrotarydrives

2.2 Calculation rules for thereferences system

ReferencepointCalculationrule
Axis zero pointAZ= REF + a
Project zero pointPZ= AZ + b= REF + a + b
Lower software end positionLSE= AZ + d= REF + a + d
Upper software end positionUSE= AZ + e= REF + a + e
Target/actual positionTP, AP= PZ + c= AZ + b + c = REF + a + b + c

Tab.2/3: Calculationrulesforthereferencesystemwithinincrementalmeasuringsystems

2.3Homing

In the case of drives within incremental measuringsystem, homing must always be carried out when the device is switched on.

Thisisdefineddrive-specificallywiththeparameter“Homing required”(PNU1014).

Varioushomingmodesarepermitted,dependingonthe controlleranddrive.

AnoverviewisshowninTab.2/4.

Foradescriptionofthehomingmodes,seesection2.3.2.

Festo P.BE-CMM-FHPP-SW - 2.3Homing - 1

2.Drivefunctions

HomingmodeController
HexDecDescriptionCMMP-ASCMMS-AS/
CMMD-ASCMMS-ST
01h1Negative limit switch with index pulsexx x^1)
02h2Positive limit switch with index pulsexx x^1)
07h7Referenceswitchinpositivedirectionwith indexpulsex—
0Bh11Reference switch in negative direction with indexpulsex—
11h17Negative limit switchxxx
12h18Positive limit switchxxx
17h23Reference switch in positive directionx
1Bh27Reference switch in negative directionx
21h33Index pulse in negative directionxx x^1)
22h34Index pulse in positive directionxx x^1)
23h35Current positionxxx
FFh-1Negative stop with index pulsexx x^1)
FEh-2Positive stop with index pulsexx x^1)
EFh-17Negative stopxx x^1)
EEh-18Positive stopxx x^1)
E9h-23Reference switch in positive direction with traveltostoporlimitswitchx—
E5h-27Reference switch in negative direction with traveltostoporlimitswitchx—
1) Only possible formotorswithanencoder

Tab.2/4: Permissiblehomingmodes,asofAugust2007

2.3.1 Homingforelectricdrives

Thedrivehomesagainstastop, alimitswitchorareference switch. An increase in the motor current indicates that a stop has been reached. Astedrivemust not continuously reference against the stop, it must move at least one millimetre back into the restroker range.

Sequence:

  1. Searchforthereferencepointinaccordancewiththe configuredmethod.

  2. Travelthedistanceofthe"axiszeropointoffset"relative tothereferencepoint.

  3. Setataxiszeropoint: Currentposition=0-projectzeropointoffset.

Overviewofparametersinvolved(seealsosection4.4.17)

ParametersinvolvedDescriptionPNU
Axiszeropointoffset1010
Homingmethod1011
Homingspeeds1012
Homingaccelerations1013
Homingrequired1014
CMMPonly:Homingmaximumtorque1015
Start(FHPP)CPOS.B2=positiveedge:Starthoming
Feedback(FHPP)SPOS.B1=positiveedge:AcknowledgestartSPOS.B7=Axisisreferenced
RequirementDevice control by PLC/fieldbusControllermustbeinstatus“Operation enabled”There must not be any command for jogging

Tab.2/5:Parametersinvolvedinhoming

2. Drivefunctions

2.3.2 Homingmethods

Festo P.BE-CMM-FHPP-SW - Homingmethods - 1

ThehomingmethodsareorientedtowardsCANopenDS402.

Withsomemotors(thosewithabsoluteencoders, single/multi-turn)thedrivemaybepermanentlyreferenced.Insuch cases,methodsinvolvinghomingtoanindexpulse(=zero pulse)mightnotcausehomingtobecarriedout; ratherthe drivewillmovedirectlytotheaxiszeropoint(ifithasbeen enteredintheparameters).

Homingmethods
HexDecDescription
01h1Negativelimitswitchwithindexpulse1)Festo P.BE-CMM-FHPP-SW - Homingmethods - 2
1.Ifthenegativelimitswitchisinactive:runatsearchspeedinnegativededirectiontonegativelimitswitch.2.Runatcrawlspeedinpositivedirectionuntilthelimitswitchbecomesinactive,thenontofirstindexpulse.Thispositionissavedasthereferencepoint.3.Ifthishasbeenenteredintheparameters:runattravelspeedtoaxiszeropoint.
02h2Positivelimitswitchwithindexpulse1)Festo P.BE-CMM-FHPP-SW - Homingmethods - 3
1.Ifthepositivelimitswitchisinactive:runatsearchspeedinpositivedirectiontopositivelimitswitch.2.Runatcrawlspeedinnegativededirectionuntilthelimitswitchbecomesinactive,thenontofirstindexpulse.Thispositionissavedasthereferencepoint.3.Ifthishasbeenenteredintheparameters:runattravelspeedtoaxiszeropoint.
1) Onlypossibleformotorswithanencoder.
HexDescriptionDec
07h7Referenceswitchinpositivedirectionwithindex pulse1)Festo P.BE-CMM-FHPP-SW - Homingmethods - 4
0B11Referenceswitchinnegativedirectionwith indexpulse1)Festo P.BE-CMM-FHPP-SW - Homingmethods - 5
11h17NegativelimitswitchFesto P.BE-CMM-FHPP-SW - Homingmethods - 6
1)Onlypossibleformotorswithanencoder.

2. Drivefunctions

HomingmethodsHexDescriptionDec
12h18Positivelimitswitch1.Ifthepositivelimitswitchisinactive:runatsearchspeedinpositivedirectiontopositivelimitswitch.2.Runatcrawlspeedinnegativedirectionuntilimitswitchbecomesinactive.Thispositionissavedasthereferencepoint.3.Ifthishasbeenenteredintheparameters:runattravelspeedtoaxiszeropoint.Festo P.BE-CMM-FHPP-SW - Drivefunctions - 1
17h23Referenceswitchinpositivededirection1.Ifreferenceswitchisinactive:runatsearchspeedinpositivedirectiontoreferenceswitch.Ifthestoporlimitswitchisreachedintheprocess:runatsearchspeedinnegativedirectiontoreferenceswitch.2.Runatcrawlspeedinnegativedirectionuntilreferenceswitchbecomesinactive.Thispositionissavedasthereferencepoint.3.Ifthishasbeenenteredintheparameters:runattravelspeedtoaxiszeropoint.Festo P.BE-CMM-FHPP-SW - Drivefunctions - 2
1Bh27Reference switch in negative direction1.Ifreferenceswitchisinactive:runatsearchspeedinnegativedirectiontoreferenceswitch.Ifthestoporlimitswitchisreachedintheprocess:runatsearchspeedinpositivedirectiontoreferenceswitch.2.Runatcrawlspeedinpositivedirectionuntilreferenceswitchbecomesinactive.Thispositionissavedasthereferencepoint.3.Ifthishasbeenenteredintheparameters:runattravelspeedtoaxiszeropoint.Festo P.BE-CMM-FHPP-SW - Drivefunctions - 3
1) Onlypossibleformotorswithanencoder.
Homingmethods
HexDescriptionDec
21h33Indexpulseseinnegativedirection 1)Runatcrawlspeedinnegativedirectionto indexpulse. Thispositionissavedasthe referencepoint.Ifthishasbeenenteredintheparameters:runattravelspeedtoaxiszeropoint.Festo P.BE-CMM-FHPP-SW - Drivefunctions - 4
22h34Indexpulseseinpositivedirection 1)Runatcrawlspeedinpositivedirectionto indexpulse. Thispositionissavedasthe referencepoint.Ifthishasbeenenteredintheparameters:runattravelspeedtoaxiszeropoint.Festo P.BE-CMM-FHPP-SW - Drivefunctions - 5
23h35CurrentpositionFesto P.BE-CMM-FHPP-SW - Drivefunctions - 6
Thecurrentpositionissavedasthereference point.Ifthishasbeenenteredintheparameters:runattravelspeedtoaxiszeropoint.Note:ifthereferencesystemisshifted,runstoa limitswitchorfixedstoparepossible.Thisisthereforegenerallyusedforaxesofrota-tion.
FFh-1Negativestopwithindexpulse1)2)Runatsearchspeedinnegativedirectionto stop.Runatcrawlspeedinpositivedirectiontonext indexpulse. Thispositionissavedasthe referencepoint.Ifthishasbeenenteredintheparameters:runattravelspeedtoaxiszeropoint.Festo P.BE-CMM-FHPP-SW - Drivefunctions - 7
FEh-2Positivestopwithindexpulse1)2)Runatsearchspeedinpositivedirectionto stop.Runatcrawlspeedinnegativedirectionto nextindexpulse. Thispositionissavedasthe referencepoint.Ifthishasbeenenteredintheparameters:runattravelspeedtoaxiszeropoint.Festo P.BE-CMM-FHPP-SW - Drivefunctions - 8
1)Onlypossibleformotorswithanencoder.2)Limitswitchesareignoredduringtheruntothestop.

2.Drivefunctions

Homingmethods

HexDescriptionDec

  1. Runatsearchspeedinnegativedirectionto stop. Thispositionissavedasthereference point.
  2. If this has been entered in the parameters: run attravelspeed to axis zeropoint.
  1. Runatsearchspeedinpositivedirectionto stop. Thispositionissavedasthereference point.
  2. If this has been entered in the parameters: run attravelspeed to axis zeropoint.

E9h-23Referenceswitchinpositivedirectionwithtravel tostoporlimitswitch.

  1. Runatsearchspeedinpositivedirectionto stoporlimitswitch.
  2. runatsearchspeedinnegativedirectionto referenceswitch.
  3. Runatcrawlspeedinnegativedirectionuntil referenceswitchbecomesinactive. Thispositionissavedasthereferencepoint.
  4. If this has been entered in the parameters: run attravelspeedtoaxiszeropoint.

Referenceswitch

E5h-27Referenceswitchinnegativedirectionwith traveltostoporlimitswitch.

  1. Runatsearchspeedinnegativedirectionto stoporlimitswitch.
  2. Runatsearchspeedinpositivedirectionto referenceswitch.
  3. Runatcrawlspeedinpositivedirectionuntil referenceswitchbecomesactive. Thisposition issavedasthereferencepoint.
  4. If this has been entered in the parameters: run attravelspeed to axis zeropoint.

Referenceswitch

1) Onlypossibleformotorswithanencoder.
2) Limitswitchesareignoredduringtheruntothestop.
3) Since the axis is not intended to stay at the stop, the run to the axis zero point has to parametrised and the axis zeropointoffsethastobe 0 .

Tab.2/6: Overviewofhomingmethods

2.Drivefunctions

2.4Jogmode

Inthe"Operationenabled"state, thedrivecanbemovedby jogginginthepositive/negativedirections. Thisfunctionis usuallyusedfor:

-Movingtoteachingpositions

- Movingthedriveoutoftheway(e.g.afterasyste

- Manualtraversingasanormaloperatingmode(manually operatedfeed).

Procedure

  1. Whenoneofthesignals "Jogpositive/Jognegative" is set, the drivestartstomoveslowly. Duetotheslow speed, a position can be defined very accurately.

  2. If the signal remains set for longer than the configured "phase1time", these speed is increased until the configured maximum velocity is reached. In this way large stroke can be traversed quickly.

  3. If the signal changesto 0, the drive is braked with the pre-set maximum deceleration.

  4. Onlyifthedriveisreferenced: Ifthedrivereachesasoftwareendposition, it will stop automatically. Thesoftwareendposition is not exceeded, the pathforstopping depends on therampset. The jog mode can be exited here with log = 0.

2. Drivefunctions

1 Lowspeed,phase1 (slowtravel)
2 Maximumspeedfor Velocityv(t) phase2
3Acceleration
4 Deceleration
5 Phase1time

Festo P.BE-CMM-FHPP-SW - Drivefunctions - 1

line | t [s] | Value | |-------|-------| | 1 | 0 | | 2 | 3.5 | | 3 | 3.5 | | 4 | 0 | | 5 | 0 |

Fig.2/1:Sequencechartforjogmode
Overviewofparametersinvolved(seesection4.4.9)

ParametersinvolvedDescriptionPNU
Jogmodevelocity-phase1530
Jogmodevelocity-phase2531
Jogmodeacceleration532
Jogmodedeceleration
Jog mode time phase 1 (T1)
Start (FHPP)CPOS.B3 = positive edge: Jog positive (towards increasing actual values)CPOS.B4 = positive edge: Jog negative (towards decreasing actual values)
Feedback(FHPP)SPOS.B4=1:DriveismovingSPOS.B2 =0:(Motion Complete)
RequirementDevice control by PLC/fieldbusController must be in status “Operation enabled”

Tab.2/7: Parameters involved in jogmode

2.5 Teaching via fieldbus

Positionvaluescanbetaughtviathefieldbus.Previously taughtpositionvalueswillthenbeoverwritten.

Procedure

  1. Thedriveismovedtothedesiredpositionbyjogmodeor manually. This can be accomplished in jog modeby positioning (or by moving manually in the "Drivedisabled" status in the case of motors with an encoder).
  2. Theusermustmakesurethatthedesiredparameteris selected. For this, the parameter "Teachtarget" and, if applicable, the correct record address must be entered.
Teachtarget(PNU520)Istaught
=1 (default) Setpointpositioninthepositioning record.-Recordselection:Positioningrecordaccordingto controlbyte3-Directmode:Positioningrecordaccordingto PNU=400
=2 Axiszeropoint
=3 Projectzeropoint
=4 Lowersoftwareendposition
=5 Uppersoftwareendposition

Tab.2/8:Overviewofteachtargets

  1. Teaching takes place via the handshake of the bits in the control and status bytes CPOS/SPOS:

2. Drivefunctions

Festo P.BE-CMM-FHPP-SW - Drivefunctions - 1
1PLC: Prepareteaching
Teachactual value CPOS.B5
2 Controller: Readyforteaching
3PLC: Teachnow
4 Controller: Valuetransferred

Fig.2/2: Handshaked during teaching
Festo P.BE-CMM-FHPP-SW - Drivefunctions - 2
Note: Thedrivedoesnotneedtobeatastandstillforteaching. However, with theusualcycle times of the PLC+fieldbus+ controller therewill be in accuracies of several millimetres even at as speed of only 100 mm/s.

Overviewofparametersinvolved(seesections4.4.8and4.4.9)

ParametersinvolvedDescriptionPNU
Teachtarget520
Recordnumber400
Projectzeropointoffset500
Softwareendpositions501
Axiszeropointoffset(electricdrives)1010
Start(FHPP)CPOS.B5=fallingedge:Teachactualvalue
Feedback(FHPP)SPOS.B2=1:Valuetransferred
RequirementDevicecontrolbyPLC/fieldbusController must be in status “Operation enabled”

Tab.2/9: Parameters involved inteach mode

2.Drivefunctions

2.6 Carryoutrecord(Recordselection)

Arecordcanbestartedinthe“Driveenabled”state. Thisfunctionisusuallyusedfor:

-MovingtoanypositionintherecordlistbythePLC

-Processingapositioningprofilebylinkingrecords

- Knowntargetpositionsthatseldomchange(recipe change)

Procedure

  1. SettherequiredrecordnumberinthePLC'soutputdata. Untilthestart, thecontrollerreplieswiththenumberof therecordlastprocessed.
  2. With arising edge at CPOS.B1 (START) the controller accept stherecord number and startsthe positioning task.
  3. The controllers signals with the rising edge at "Acknowledge start" that the PLC output data has been accepted and that the positioning task is now active. The positioning command continues to be executed, even if CPOS.B1(START) is reset to zero.
  4. Whentherecordisconcluded, SPOS.B2(MC)isset.

Causesoferrorsinapplication:

-Nohomingwascarriedout(wherenecessary; seePNU1014).

-Thetargetposition and/or the preselect position cannot bereached.

-Invalidrecordnumber.

-Recordnotinitialised.

Festo P.BE-CMM-FHPP-SW - Causesoferrorsinapplication: - 1

Intheeventofconditionalrecordchaining(seesection2.6.3): Ifanewspeedand/oranewtargetpositionisspecifiedinthe movement,theremainingpathtothetargetpositionmustbe largeenoughtoreachastandstillwiththebrakingrampthat wasset.

Overviewofparametersinvolved(seesection4.4.8)

ParametersinvolvedDescriptionPNU
Recordnumber400
Allparametersoftherecorddata,seesections2.6.2,Tab.2/11401
Start(FHPP)CPOS.B1=positiveedge:StartJoggingandhominghavepriority.
Feedback (FHPP)SPOS.B2 = 0: Motion CompleteSPOS.B1=positiveedge:AcknowledgestartSPOS.B4=1:Driveismoving
RequirementDevicecontrolbyPLC/fieldbusControllermustbeinstatus“Operationenabled”Recordnumbermustbevalid

Tab.2/10: Parameters involved in record selection

2.6.1 Recordselectionsequencecharts

Fig.2/3, Fig.2/4 and Fig.2/5 show typical sequence charts for starting and stopping are record.

Start/stoprecord
Festo P.BE-CMM-FHPP-SW - Recordselectionsequencecharts - 1

other | Signal | Event Description | Value | |--------|----------------------------------------|-------| | Outputdata | Targetrecord number N - 1 | 1 | | Outputdata | Targetrecord number N + 1 | 0 | | Stop CCON.B1(STOP) | Targetrecord number N - 1 | 1 | | Stop CCON.B1(STOP) | Targetrecord number N + 1 | 0 | | Start CPOS.B1(START) | Targetrecord number N - 1 | 1 | | Start CPOS.B1(START) | Targetrecord number N + 1 | 0 | | Acknowledgestart SPOS.B1(ACK) | Acknowledgestart SPOS.B1(ACK) | 1 | | Acknowledgestart SPOS.B1(ACK) | Acknowledgestart SPOS.B1(ACK) | 0 | | Acknowledgestart SPOS.B1(ACK) | Acknowledgestart SPOS.B1(ACK) | 1 | | Acknowledgestart SPOS.B1(ACK) | Acknowledgestart SPOS.B1(ACK) | 0 | | MotionComplete SPOS.B2(MC) | Actualrecord number N - 1 | 1 | | MotionComplete SPOS.B2(MC) | Actualrecord number N + 1 | 0 | | Axisismoving SPOS.B4(MOV) | Actualrecord number N - 1 | 1 | | Axisismoving SPOS.B4(MOV) | Actualrecord number N + 1 | 0 | | Actualrecord number Inputdata | Actualrecord number N - 1 | 1 | | Actualrecord number Inputdata | Actualrecord number N + 1 | 0 |

1Prerequisite: "Acknowledgestart"=0
2 Risingedgeat"Start"causesthenew recordnumberNtobeacceptedand "Acknowledgestart"tobeset
3 Assoonas"Acknowledgestart"is recognisedbythePLC,"Start"maybe setto0again

4 The controllerreactswithafalling edgeat"Acknowledgestart"
5 Assoonas"Acknowledgestart"is recognisedbythePLC,thenextrecord numbermaybested
6 Acurrentlyrunningpositioningtask canbestoppedwith"Stop"

Fig.2/3:SequencechartforStart/Stoprecord

StoprecordwithHaltandcontinue
Festo P.BE-CMM-FHPP-SW - Recordselectionsequencecharts - 2

other | State | Event Description | Value | |-------|-------------------|-------| | N | Outputdata | 1 | | N-1 | Outputdata | 1 | | N+1 | Outputdata | 1 | | Start | CPOS.B0(HALT) | 1 | | Start | CPOS.B1(START) | 1 | | Confirm | Halt CPOS.B0(HALT)| 1 | | Confirm | Halt CPOS.B1(HALT)| 1 | | Acknowledgest | SPOS.B1(ACK) | 1 | | Acknowledgest | SPOS.B2(MC) | 1 | | Motion | Complete SPOS.B2(MC)| 1 | | Axisismoving | SPOS.B4(MOV) | 1 | | Actual | Record Number Inputdata | 1 |

1 Recordisstoppedwith“Halt”, actual recordnumberNisretained, “Motion Complete”remainsreset
2 Risingedgeat"Start"startsrecordN again, "ConfirmHalt"isset

Fig.2/4:SequencechartforStoprecordwithHaltandContinue

StoprecordwithHaltandClearremainingposition
Festo P.BE-CMM-FHPP-SW - Recordselectionsequencecharts - 3

other | Signal Type | Event Description | Value | | ------------------------------- | ------------------------------------- | ----- | | Targetrecord number Outputdata | N - 1 | 1 | | Halt CPOS.B0(HALT) | N + 1 | 1 | | Start CPOS.B1(START) | | | | Clearremaining position CPOS.B6(CLEAR) | | 1 | | ConfirmHalt SPOS.B0(HALT) | | | | Acknowledgestart SPOS.B1(ACK) | | | | MotionComplete SPOS.B2(MC) | | | | Axisismoving SPOS.B4(MOV) | | | | Actualrecord number Inputdata | N - 1 | 1 | | | N | | | | N + 1 | 1 |

Fig.2/5:SequencechartforStoprecordwithHaltandClearremainingposition

2.6.2 Recordstructure

Apositioningtaskinrecordselectionmodeisdescribedby arecordmadeupofsetpointvalues.Everysetpointvalueis addressedbyitsownPNU.Arecordconsistsofthesetpoint valueswiththesamesubindex.

PNUNameDescription
401Recordcontrolbyte1Settingforpositioningtask:absolute/relative,position/torquecontrol,...
402Recordcontrolbyte2Recordcontrol:Settingsforconditionalrecordchaining
404Setpoint valueSetpoint value as per record control byte 1.
405Preselection valueCMMS/CMMD only: preselection value as per record control byte 2.
406VelocityAuxiliary setpoint: nominal speed.
407AccelerationAuxiliary setpoint: nominal acceleration during start up.
408DecelerationAuxiliary setpoint: nominal acceleration during braking.
413Jerk-free filter timeAuxiliary setpoint: filter time for smoothing the profile ramps.
414Record profileCMMS/CMMD only: number of the record profile. The record profile defines the PNUs 405, 406, 407, 408, 413 for all the assigned records, along with othersharedsettings; seesection4.4.8.
415Reserved –(notsupportedbyCMM...)
416Recordfollowing position/recordcontrolRecordnumbertowhichrecordchaining jumpswhenthestep enablingconditionismet.
418Torque limitationCMMP only: limitation of the maximum torque.
419Cam disk numberCMMP only: number of the cam disk to be executed with this record.Requires configuration of PNU 401 (virtual master).
420Remainingdistance messageCMMP only: distance in front of the target position where a display can betriggeredviaadigitaloutputshowithasbeenreached.
421Record control byte 3CMMP only: settings for specific behaviour of the record.

Tab.2/11:Recordparameters

2.Drivefunctions

2.6.3 Conditional record chaining (PNU402)

Recordselectionmodeallowsmultiplepositioningtaskstobe linked. This mean that, starting at CPOS.B1, various records are automatically executed one after the other. This allows a positioning profile to be defined, e.g. switching to another speed after a position is reached.

Todothis, theusersetsa(decimal)conditioninRCB2tode- finethatthefollowingrecordisautomaticallyexecutedafter thecurrentrecord.

Festo P.BE-CMM-FHPP-SW - Conditional record chaining (PNU402) - 1

Itisonlypossibletosetalloftheparametersfortherecord chaining("routeprogram")(e.g.thefollowingrecord)using theFCT.

Ifaconditionwasdefined,itispossibletoprohibitautomatic continuationtothefollowingrecordbysettingtheB7bit.This functionsshouldbeusedfordebuggingusingFCTandnotfor normalcontrolpurposes.

Recordcontrolbyte2(PNU402)
Bits0...6Numericalvalue0to128:stepenablingconditionasalist,seeTab.2/13
Bit7=0:recordchaining(bits0to6)isnotdisabled(default)=1:recordchainingdisabled
StepenablingconditionsValueConditionDescription
0-Noautomaticcontinuation
11)MCThepreselectionvalueisinterpretedasadelayin milliseconds.Thechain continuestothenextre-cordoncethetargetset-pointvalueisreached, i.e.oncetheMCcondi-tionisfulfilled(MC=1) andadelaytimehasex-piredaswell. Note: Thus the axis is a t a standstillforamoment duringpositioning.Not necessarilythecasewith torquecontrol(Profile Torquemode).Festo P.BE-CMM-FHPP-SW - Conditional record chaining (PNU402) - 2
21)PositionThepreselectionvalueis interpretedastheposi-tionvalue2. Thechaincontinuesto thenextrecordassoon asthecurrentactual positionexceedsthe preselectionvalueinthe directionoftravel1. Asthereisnoneedto stop,thedrivereaches itstargetposition quicker.Festo P.BE-CMM-FHPP-SW - Conditional record chaining (PNU402) - 3
31)TorqueThe preselection value is interpreted as the torque. The chain continues to thenextrecordoncethecurrentactualtorqueexceedsthepreselection valueinthedirectionoftravel.Itisnotabsolutelynecessaryforatorque commandtobespecifiedhere.Itisalsopossibletopositiontotheend point.Whenaspecificactualtorqueisreached,torquecontrolisactivated.
1) NotsupportedbyCMM...Stepenablingconditions
ValueDescriptionCondition
4StandstillThe chain continues to the next record once the drive comes to a standstill andthenthetimeT1specifiedasthepreselectionvaluehasexpired.(Travel toendpoint)
52)TimeThepreseectionvalueisinterpretedastimeinmilliseconds.Thechaincontinuestothenextrecordoncethistimehasexpired(afterthestart).
6InputPos.edgeThechaincontinuestothenextrecordifarisingedgeisidentifiedatthe localinput.Thepreselectionvalueincludestheinput'sbitaddress.Preselectionvalue=1:NEXT1Preselectionvalue=2:NEXT2
7InputNeg.edgeThechaincontinuestothenextrecordifafallingedgeisidentifiedatthe localinput.Thepreselectionvalueincludestheinput'sbitaddress.Preselectionvalue=1:NEXT1Preselectionvalue=2:NEXT2
81)VelocityprofileThesetpointgenerator calculatesthetrajectory sothattherecord'sset-pointspeedisactivein thetargetposition.The finalspeedisttherefore not0.Thepreselectionvalueis ignored.Note:intype1,theuser onlydefinesthechaining position;theuserhasno influenceoverthespeed.Festo P.BE-CMM-FHPP-SW - Conditional record chaining (PNU402) - 4
9InputPos.edge waitingThechaincontinuestothenextrecordafterthecurrentrecordendsifa risingedgeisidentifiedatthelocalinput.Thepreselectionvalueincludes theinput'snumber:Preselectionvalue=1:NEXT1Preselectionvalue=2:NEXT2
10InputNeg.edge waitingThechaincontinuestothenextrecordafterthecurrentrecordendsifa fallingedgeisidentifiedatthelocalinput. Thepreselectionvalueincludes theinput'snumber:Preselectionvalue=1:NEXT1Preselectionvalue=2:NEXT2
1) NotsupportedbyCMM...2) NotsupportedbyCMMP

Tab.2/12:Settingsforconditionalrecordchaining

2. Drivefunctions

StepenablingconditionsValueDescriptionCondition
112)Position (relative)Thischainingisthesameastype2exceptthatthe specifiedpositionisnot specifiedabsolutelybut relativetothelastset-pointposition2. Thechaincontinuesto thenextrecordassoon asthecurrentactual positionexceedsthe preselectionvalueinthe directionoftravel1. Important:Forthechain-ingpositiontoberepro-ducible,thespecification mustbecalculatedrela-tivetothelasttarget position;inotherwords, notrelativetotheactual position.Festo P.BE-CMM-FHPP-SW - Drivefunctions - 1
12InternalMC conditionLikecondition1,but withoutanexternalMC signalbetweentheindi-vidualrecords.Anexternal MC signal (SPOS.B2) isonlysetafterthelast recordinthechain.Festo P.BE-CMM-FHPP-SW - Drivefunctions - 2
2) NotsupportedbyCMMS/CMMD

Tab.2/13:Stepenablingconditions

2.Drivefunctions

2.7Directmode

Inthestatus“Driveenabled”(Directmode)ataskisformulateddirectlyinthel/Odatathatistransmittedviathefieldbus.SomeofthesetpointvaluesforthepositionarereservedinthePLC.

Thefunctionisusedinthefollowingsituations:

-Movingtoanypositionwithintheeffectivestroke.
-Thetargetpositionsareunknownnduringdesigningor changefrequently(e.g.severaldifferentworkpiecepositions).
-Apositioningprofileconsistingofchainedrecords (G25function)isnotnecessary.
-Thedriveistocontinuouslyfollowasetpointvalue.

If shortwaittimes are not critical, it is possible to implement a positioning profile by chaining recordsexternally through the PLC.

Festo P.BE-CMM-FHPP-SW - 2.7Directmode - 1

Causesoferrorsinapplication

–Nohomingwascarriedout(wherenecessary; seePNU1014).
-Targetpositioncannotbereachedorliesoutsidethe softwareendpositions.
-Loadtorqueistoolarge.

Overviewofparametersinvolved(seesection4.4.9)

ParametersinvolvedDescriptionPNU
PositionspecificationsBasevelocityvalue 1)540
Torquespecifications (forCMMPonly) 2)Basetorqueramp 1)550
Torquetargetwindow552
Dampingtime553
Permissiblespeedduringtorquecontrol554
Velocity specificationsBase acceleration ramp 1)560
Velocity target window(forCMMPonly) 2)561
Damping time for velocity target window (for CMMP only) 2)562
Standstill targetwindow(forCMMP only) 2)563
Dampingtimeforstandstilltargetwindow(forCMMPonly) 2)564
Torquelimit(forCMMPonly) 2)565
Start (FHPP)CPOS.B1 = positive edge: StartCDIR.B0=Absolute/RelativesetpointpositionCDIR.B1/B2=Control mode(seesection 1.5.3)
Feedback (FHPP)SPOS.B2 = 0: Motion CompleteSPOS.B1 =positiveedge: AcknowledgestartSPOS.B4=1:Driveismoving
RequirementDevicecontrolbyPLC/fieldbusController must be in status “Operation enabled”
1) The PLC transfers a percentage value in the control bytes, which is multiplied by the base value in order togetthefinal setpointvalue.2) Forsupportedfunctions,see1.4

Tab.2/14:Parametersinvolvedindirectmode

2.Drivefunctions

2.7.1Sequencefordiscretesetpointvalue

  1. The usersetsthedesiredsetpointvalue(position, torque) and the positioning condition(absolute/relative, velocity) in his or her output data.
  2. WitharisingedgeatSTART(CPOS.B1)thecontrolleracceptsthesetpointvaluesandstartsthepositioningtask.

Afterthestart, anewsetpointvaluecanbestartedatany time.ThereisnoneedtowaitforMC.

  1. Oncethelastsetpointpositionisreached, MC(SPOS.B2) isset.

Startingthepositioningtask
Festo P.BE-CMM-FHPP-SW - 2.7.1Sequencefordiscretesetpointvalue - 1

other | Time Segment | Event Description | | ------------ | ------------------------------------- | | Start | CPOS.B1 (N-1) | | Start | Acknowledgestart SPOS.B1 | | End | SPOS.B1 (N+1) | | End | SPOS.B2 (N+1) | | End | SPOS.B2 (N+2) |

Fig.2/6: Starting the positioning task

Festo P.BE-CMM-FHPP-SW - 2.7.1Sequencefordiscretesetpointvalue - 2

Thesequenceoftheremainingcontrolandstatusbitsaswell asthefunctionsHaltandStoparethesameasfortheRecord selectionfunction,seeFig.2/3,Fig.2/4andFig.2/5.

2.Drivefunctions

2.7.2 Sequence for Profile Torquemode (torque and current control)

ProfileTorquemodeispreparedbyswitchingoverthecontrol modewiththebitsCDIR-COM1/2. Thedriveremainsata standstillwiththepositioncontrolled.Thesignal“MC” (MotionComplete) is used in this control model mean “Torquesetpointvaluereached”.

Afterthesetpointspecification, thestartsignal(startbit) buildsupthetorque/momentusingthetorqueramp (CMMP-ASonly) inthedirectionindicatedbythesetpoint value's prefix(+or-) andtheactiveProfileTorquemodeis displayedviathebitsSDIR-COM1/2.

ForCMMP:

Thespeedislimitedtothevalueintheparameter“Maximum speed”.Oncethisspeedhasbeenreached,thebit“Speed limitreached”issetinthestatusbyteSDIR.

Oncethesetpointvaluehasbeenreached, taking into account the target window and the timewindow, the "MC" signalisset. Torque/momentcontinuetobe controlled.

Causesoferrorsinapplication

–Nohomingwascarriedout(wherenecessary; seePNU1014).

Setpointspecification/actualvaluequeryindirectmodein ProfileTorquemode:

CCON.B6(OPM1)=1,CCON.B7(OPM2)=0

CDIR.B1(COM1)=1,CDIR.B2(COM2)=0

Directmode
Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
Output dataCCONCPOSCDIRSetpoint value1 (reserved)Setpointvalue2 (torque)
Input dataSCONSPOSSDIRActualvalue1 (actual torque)Actualvalue2 (actualposition)
DataMeaningUnit(s)
Setpoint value 1Reserved (no function, = 0)-
Setpoint value 2Setpoint torquePercentage of rated torque (PNU 1036)
Actual value 1Actual torquePercentage of rated torque (PNU 1036)
Actual value 2Actual positionPositioning unit, see appendix A.1

2.Drivefunctions

2.7.3 Sequence for Profile Velocity mode

ProfileVelocitymode(speedadjustment)isonlysupportedin "Directmode".Only"discretesetpointadjustment"(compare section2.7.1)issupported.

Speedadjustmentisrequestedbyswitchingtheclosed-loop controlmode. Thedriveremainsintheoperatingmodethat wassetpreviously. Afterthesetpointsarespecified, thestart signal(startbit) switchesthesystemtoProfileVelocitymode andthevelocitysetpointvaluecomesintoeffect. Thetorqueislimitedheretothevaluesetinthe“Torque limit”parameter(PNU565).

Thesignal“MC”(MotionComplete)isusedinthiscontrol modetomean“targetvelocityreached”.

MotionComplete/standstillnotification

Thesamecomparatortypeisusedtodetermine“velocity reached”and“velocity0”anditbehavesasperFig.2/7,see Tab.2/15.

SetpointvalueSpecificationsforreachingMC(MotionComplete)
≠0 Targetvelocity:SetpointvalueeasperinputdataTolerance:Velocitytargetwindow(PNU561)Responsetime:Dampingtimeforvelocitytargetwindow (PNU562)
=0Target velocity: Setpoint value as per input dataTolerance: Standstill target window (PNU 563)Response time: Damping time for standstill target window (PNU 564)

Tab.2/15:MotionComplete/standstillnotificationspecifications

2.Drivefunctions

Festo P.BE-CMM-FHPP-SW - 2.Drivefunctions - 1

line | Time Segment | Metric | Value | | ------------------------ | ----------------------- | --------- | | Top Left | Targetrpm+tolerance | - | | Middle Right | Targetrpm | - | | Bottom Left | Targetrpm-tolerance | - | | Bottom Right | Dampingtime | - | | Bottom Left (MotionComplete) | 1 | 1 | | Bottom Right (Standstillcontrol) | 0 | 0 |

Fig.2/7:MotionComplete/standstillnotification

2. Drivefunctions

2.8Standstillcontrol

Standstillcontrolmakesitpossibletodetectthedriveexiting thetargetpositionwindowwhileatastandstill.

StandstillcontrolisrelevantsolelyforProfilePositionmode (positioncontrol).

WhenthetargetpositionhasbeenreachedandMCsignalled inthestatusword,thedriveswitchestothe"standstill"state, andbitSPOS.B6(Standstillcontrol)isreset.If,inthisstatus, thedriveisremovedfromthestandstillpositionwindowfora definedtimeduetoexternalforcesorotherinfluences,thebit SPOS.B6willbeset.

Assoonasthedriveisinthestandstillpositionwindowagain forthestandstilltimeouttime,thebitSPOS.B6willbereset.

1 Targetposition
2 Actualposition
3 Standstillcontrol (SPOS.B6)
4 MotionComplete (SPOS.B2)
5 Standstillposition window
6 Targetposition window
7 Monitoringtime (positionwindow time)
8 Standstilltimeout

Fig.2/8: Standstillcontrol
Festo P.BE-CMM-FHPP-SW - 2.8Standstillcontrol - 1

line | Segment | Value | |---------|-------| | 1 | | | 2 | | | 3 | 1 | | 4 | -1 | | 5 | | | 6 | | | 7 | |

Standstillcontrolcannotbeswitchedonoroffexplicitly. It becomesinactivewhentthestandstillpositionwindowisset to "0".

Overviewofparametersinvolved(seesection4.4.17)
ParametersinvolvedDescriptionPNU
Start (FHPP)SPOS.B2 = positive edge: Motion Complete
Feedback (FHPP)SPOS.B6 = 1: Drive has moved out of standstill position window
RequirementDevicecontrolbyPLC/fieldbusControllermustbeinstatus“Operationenabled”

Tab.2/16:Parametersinvolvedinstandstillcontrol

2.90n-the-flymeasurement(positionsampling)

Festo P.BE-CMM-FHPP-SW - 2.90n-the-flymeasurement(positionsampling) - 1

To find out whether this function is supported by the control leryou are using and its firmware version, seethe help for the associated FCT plug-in.

The local digital input scan be used as quick sampling inputs: with every rising and falling edge at the configured sample input (only possible using the FCT), the current position value is written into a register of the controller and can afterwards bereadout (PNU350:01/02) by the higher-level control system (PLC/IPC).

Parametersforpositionsampling(on-the-flymeasurement)
Parameter/DescriptionPNU
Positionvalueforarisingedgeinuser-definedunits350:01
Positionvalueforafallingedgeinuser-definedunits350:02

Tab.2/17: Parametersforon-the-flymeasurement

Faultreactionanddiagnosis

Chapter3

3. Faultreactionanddiagnosis

Contents

3.1Classifyingthefaults3-3.....

3.1.1Warnings3-4.....
3.1.2Faulttype13-5.
3.1.3Faulttype23-6.....

3.2 Diagnostic memory (faults) 3-7

3.3 Warning memory (CMMP only) 3-8

3.4 Fault numbers 3-9

3.4.1 CMMP fault numbers 3-9

3.4.2 CMMS/CMMD fault numbers 3-47

3.5 Diagnosis using FHPP status bytes 3-53

3. Faultreactionanddiagnosis

3.1 Classifyingthefaults

Wedifferentiatebetweenthefollowingtypesoffault:

-Warnings

-Faulttype1(outputstagenotswitchedoff)

-Faulttype2(outputstageswitchedoff)

The classification of the possible faults is specified separately for each controller. The basis for this classification is the way in which each controller has to behave for each fault.

The controllers indicate faults by appropriate error messages or warnings. These can be evaluated via the following:

- D i s p l a y

-Statusbytes(seesection1.4)

-Bus-specificdiagnosis(seedescriptionofthefieldbusfor thecontrollerinquestion)

–Diagnosticmemory(seesection3.2)

-FCT(seeFCThelp)

3. Faultreactionanddiagnosis

3.1.1Warnings

A warning providestheuserwithininformationthatdoesnot haveanyeffectonthedrive'sbehaviour.

Behaviourintheeventofwarnings

-Controllerandoutputstageremainactive.

–The current positioning task is not interrupted.

-Dependingonthefaultnumberanewpositioningtask may be possible.

-TheSCON.B2(WARN)bitisset.

-If the cause of the warning disappears, the SCON.B2bitis automatically cleared again.

- C M M P o n l y :

Thewarningnumbersareloggedinthewarningregister (PNU211).

Causesofwarnings

-Parameters cannot bewritten or read (not permitted in the operating mode, invalid PNU,...)

- Following (drag) error, drive has exceeded the tolerance afterMotionComplete, and similarminorcontrolerrors.

3. Faultreactionanddiagnosis

3.1.2 Faulttype1

Intheeventofafault,theservicethatwasrequestedcannot beprovided. Thedriveswitchesfromitscurrentstatustothe "Fault"status.

Behaviourintheeventoftype1faults

-Theoutputstageisnotswitchedoff.
–The current positioning task is interrupted.
- Thespeedisreducedontheemergencyramp.
- ThesequencecontrolswitchchestotheFaultstatus. Nonew positioningtaskcanbecarriedout.

- The S CON . B 3 ( FAULT ) b

-The“Fault”statuscanbeexitedbyswitchingoff,witha positiveedgeatinputCCON.B3(RESET),orbyresetting/ settingDIN5(closed-loopcontrollerenable).

-Holdingbrakeisactivatedwhenthedriveisstopped.

Causesoftype1faults

-Softwareendpositionsareviolated.
-MotionCompletetimeout.
-Followingerrormonitoring(monitoringofdragerror).

3. Faultreactionanddiagnosis

3.1.3 Faulttype2

Intheeventofafault,theservicethatwasrequestedcannot beprovided. Thedriveswitchesfromitscurrentstatustothe "Fault"status.

Behaviourintheeventoftype2faults

-Theoutputstageisswitchedoff.
–The current positioning task is interrupted.
-Thedriverunsdown.
- Thesequencecontrolswitchestothefaultstatus. Nonew positioningtaskcanbecarriedout.

- The S CON . B 3 ( FAULT ) b i

-The "Fault" statuscanbeexited by switchingoff, with a positiveedgeatinputCCON.B3(RESET), orbyresetting/ settingDIN5(closed-loopcontrollerenable).

-Holdingbrakeisactivatedwhenthedriveisstopped.

Causesoftype2faults

-Loadvoltageismissing(e.g.ifemergencyoffhasbeen implemented)
-Hardwarefault:
-Measuringsystemfault.
-Busfault.
-SDcardfault.
-Impermissibleoperatingmodeswitch.

3.2 Diagnostic memory (faults)

Thediagnosticmemoryforfaultscontainsthecodesofthe lastfaultmessagesthatoccurred.Thediagnosticmemory isprotectedagainstpowerfailure.Ifthediagnosticmemory isfull,theoldestelementwillbeoverwritten(FIFOprinciple).

StructureofthediagnosticmemoryinCMMS/CMMD
Parameter 1)201
Formatuint16
MeaningFaultnumber
Subindex1Mostrecent/currentfault
Subindex22ndsavedfault
Subindex33rdsavedfault
Subindex44thsavedfault
1) Seesection4.4.5

Tab.3/1: StructureofdiagnosticmemoryinCMMS/CMMD

StructureofthefaultsdiagnosticmemoryinCMMP
Parameter 1)200201202
Formatuint8uint16uint32
MeaningDiagnostic eventFault numberTime
Subindex1Mostrecent/currentfault
Subindex22ndsavedfault
... 2)...
Subindex 3232nd saved fault
1) Seesection 4.4.5

Tab.3/2: StructureofdiagnosticmemoryinCMMP

3.Faultreactionanddiagnosis

3.3Warningmemory(CMMPonly)

Somecontrollers have easeparated diagnostic memory for warnings.

The warning memory contain the codes of the last warnings that occurred. It functions in the same way asthediagnostic memory for faults.

Structureofthewarningmemory
Parameter 1)210211212
Formatuint8uint16uint32
MeaningWarning eventWarning numberTime
Subindex1Mostrecent/currentwarning
Subindex2Secondsavedwarningmessage
......
Subindex16Lastwarningmessage
1) (seesection 4.4.5)

Tab.3/3: Structureofthewarningmemory

3.4 Faultnumbers

Theerrormessagesofthecontrolleraredisplayedand recordedasfaultnumbers.Sections3.4.1and3.4.2contain theerrormessagesfromthelatestfirmwareversionsatthe timeofprintingofthisdocument.

Festo P.BE-CMM-FHPP-SW - Faultnumbers - 1

For a complete, up-to-date list of ferrom messages, see the hardware description for the controller in question, type P. BE-CMM...-HW-...

3.4.1 CMMPfaultnumbers

ErrormessagesCMMP
Main indexSub-indexMessageCausesMeasures
00InvaliderrorInformation:aninvaliderrorentry(corrupted)wasfoundin thediagnosticmemorymarked withthiserrornumber. The system time entry is set to“0”.-
1InvaliderrordetectedandcorrectedInformation:aninvaliderrorentry(corrupted)wasfound inthediagnosticmemoryand corrected.Theadditionalinformationcontainstheoriginal errornumber. Thesystemtimeentrycontains theaddressofthecorrupted errornumber.-
2Error clearedInformation:active errors were reset.-
Main indexindexMeasuresCausesMessageSub-
10Stack overflowIncorrect firmware?Sporadichighprocessorload duetocycletimebeingtoo shortandspecificprocessor-intensiveprocesses(saveparameter setetc.).Load a new firmware release.Reducetheprocessorload.ContactTechnicalSupport.
20Intermediate circuit undervoltageIntermediate circuit voltage is falling below the parametrised threshold.Errorprioritysettohigh?Quickdischargeduetomains supply being switchedoff.Check the powersupply.Couple the intermediate circuits, if technically possible.Check intermediate circuit voltage (measureit).
Additional information (PNU203/213):Higher 16 bits: state number of internal state machine Lower16bits: intermediate circuit voltage in internal scaling (approx.17.1digital increments/V).
30Analoguemotor overtemperatureMotor overloaded, temperature too high.Suitable sensor or sensor characteristics parametrised?Sensor defective?If there is overloading:Check parameters (current regulator, current limits).Check the parametrisation of the sensor or the sensor characteristics.If the error remain even when the sensor is jumperedout: device defective.
1Digital motorover-temperature
...32Analoguemotor overtemperature: BrokenwireThemeasuredresistancevalue isabovethethresholdforwire breakdetection.·Check the connecting cables ofthetemperaturesensorfor wirebreaks.·Check the parametrisation (thresholdvalue)forwire breakdetection.
3Analoguemotor overtemperature: ShortcircuitThemeasuredresistancevalue isbelowthethresholdforshort circuitdetection.·Check the connecting cables ofthetemperaturesensorfor wirebreaks.·Check the parametrisation (thresholdvalue)forshortcircuit detection (Subindex 3).
40Powersectionover-temperatureDevice is overheated; is displayed temperature plausible?Devicefandefective?Deviceoverloaded?·Checkinstallationconditions; arethecontrolcabinetfan filtersdirty?·Checkthedrivelayout(dueto possibleoverloadingincontinuousduty).
1Intermediate circuit overtemperature
50Failureofinternal voltage1Themonitoringoftheinternal powersupplyreportedunder-voltage.Eitheraninternaldefect or overload/shortcircuitfrom connectedperipheraldevices.·Disconnectthe device peripheralsandcheck whetherthe errorisst afterresetting.Ifyes,then thereisaninternaldefectand repairbythemanufactureris necessary.
1Failureofinternal voltage2
2Failureofdriver supply
3Undervoltageof digital/0Defective peripheral device?·Check connected peripherals forshortcircuit/ratedloads.·Checkconnectionofthe brake(connected incorrectly?).
4Overcurrentof digital/0
60Short circuitofoutputstageFaultymotor,e.g.interturnshort circuitduetomotoroverheating orshorttoearthinsidemotor.Shortcircuitinthecableorthe connecting plugs, i.e. short circuitbetweenmotorphasesorto thescreen/earth.Outputstagedefective(short circuit).Incorrectparametrisationofthe currentregulator.Dependentonthestateofthe system;casesa)tof):a)Faultonlywithactivebrake chopper:Check external braking resistorforshortcircuitorsuffi-cientresistancevalue.Check thecircuitryofthebrake chopperoutputonthemotor controller(jumperingetc.).
b)Errormessageassoonasthepowersupplyisswitchedon:internalshortcircuitintheoutputstage(shortcircuitofacom-plete half-bridge). The motor controller can no longer be connected to the power supply; the internal (and possibly external) fusesaretripped.Repairbythemanufacturerisnecessary.c)Shortcircuiterrormessagenotuntiltheoutputstageorclosed-loopcontrollerisenabled.d) Disconnection of motor plug X6 directly on the motor controller.Iftheerrorstilloccurs,thereisafaultinthemotorcontroller.Repairbythemanufacturerisnecessary.e) The error occurs only with motor cable connected: check the motor and cable for short circuits, e.g. with a multimeter.f)Checkparametrisationofthecurrentregulator.Oscillationsinan incorrectlyparametrisedcurrentregulatorcangeneratecurrents uptotheshortcircuitthreshold,usuallyclearlyaudibleasa high-frequencywhistling.Verifyifnecessarywiththeoscillo-scopefunction(actualactivecurrentvalue).
1Brakechopper overcurrentOverloadcurrentatthebrake chopperoutput.Check external braking resistorforshortcircuitorsuffi-cientresistancevalue.Check thecircuitryofthe brakechopperoutputonthe motorcontroller(jumpering etc.).
70Overvoltagein-termediatecircuitBraking resistor is overloaded;to o much breaking cannot be dissipated quickly enough.Resistorcapacityisincorrect?Resistornotparametrised?Resistomotconnectedcor-rectly?Check the design of the braking resistance to resistance value may be too great.Check parametrisation.Check connection to the braking resistor (internal/external).
80Resolveangleen-codererrorResolver signal amplitude is faultyStep-by-stepprocedure according to a) to c):
a)If possible, test with different (error-free) resolver (replace the connecting cable too). If the error still occurs, there is a fault in themotor controller. Repair by the manufacturer is necessary.b) If the error occurs only with a specially designed resolver and its connecting cable: check the resolvers signals (carrier and SIN/COS signals); sees specifications. If the signals donot comply with the signal specifications, replace the resolver.c) If the error recurs sporadically, check the screen bonding or check whether the resolver simply has an insufficient transmission ratio (standard resolution: A=0.5).
1Senseofrotation of the serial and incremental position evaluation is not identicalOnly encoders with serial position transmission combined with an analogue SIN/COS signal track: the direction of rotation for position determination in the encoding and for incremental evaluation of the analogue track system in the motor controller are the wrong way round.
Swap the followingsignalson the X2 Bangle encoder interface (the wires in the connecting plug must be changed around), observing the technical data for the angle encoder where applicable:- Swap SIN/COS track.- Swap the SIN+/SIN-or COS+/COS-signals, as applicable.
The encoders positively in g. clockwise direction while the incrementalevaluation counts innegative direction with the same mechanical rotation. The mix-up of rotational direction is detected mechanically at the first movement of over 30° and the errors triggered.

3. Faultreactionanddiagnosis

ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
...82Incremental encoderZ0tracksignalerrorSignalamplitudeoftheZ0track onX2Bisfaulty.Angleencoderconnected?Angleencodercabledefective?Angleencoderdefective?Check configuration of the angle encoderinterface.Proceedaccordingtoa)toc)a)Z0evaluationactivatedbutnotracksignalsareconnectedorpresent(e.g.EnDat2.2orEnDat2.1 without a n a log u e track).Heidenhainencoder:ordercodesEnDat22andEnDat21.Withtheseencoderstherearenoincrementalsignals,evenwhenthecables areconnected.b)Encodersignalsfaulty? 1)c)Testwithanotherencoder. 2)
3Incremental encoderZ0tracksignalerrorSignalamplitudeoftheZ1track onX2Bisfaulty.Angleencoderconnected?Angleencodercabledefective?Angleencoderdefective?Check configuration of the angle encoderinterface.Proceedaccordingtoa)toc):a)Z1evaluationactivatedbut notconnected.b)Encodersignalsfaulty? 1)c)Testwithanotherencoder. 2)
1) Check the wiring, e.g. one or more phases of the track signals interrupted or short circuited?CheckthatinstallationcomplieswithEMCrecommendations(cablescreeningonbothsides?).Check the level of supply voltage on the encoder. Sufficient? If not, change the cable diameter (connect unusedlinesinparallel)orusevoltagefeedback(SENSE+andSENSE-).2) Iftheerrorstilloccurswhentheconfigurationiscorrect,testwithadifferent(error-free)encoder(re-placetheconnectingcableaswell).Iftheerrorstilloccurs,thereisafaultinthemotorcontroller.Repair bythemanufacturerisnecessary.
...84Digitalincremental encoder track signalerror(X2B)FaultyA,B,orNtracksignalson X2B. Angleencoderconnected? Angleencodercabledefective? Angleencoderdefective?Check configuration of the angle encoder interface. Proceed accordingtoa)andb): a)Encodersignalsfaulty? 1)b)Testwithanotherencoder. 2)
5IncrementalencoderHallgeneratorsignalsererrorFaultyHallsensorsignalsfroma digitalincr.encoderonX2B. Angleencoderconnected? Angleencodercabledefective? Angleencoderdefective?Check configuration of the angle encoder interface. Proceed accordingtoa)andb): a)Encodersignalsfaulty? 1)b)Testwithanotherencoder. 2)
6Angleencoder communication faultCommunication to serial angle encodersisdisrupted(EnDatencoders, HIPERFACE encoders, BiSSencoders). Angleencoderconnected? Angleencodercabledefective? Angleencoderdefective?Check configuration of the angle encoderinterface: proceed according to a)Serialencoderparametrised butnotconnected? Incorrectserialprotocolselected? b)Encodersignalsfaulty? 1)c)Testwithanotherencoder. 2)
7Signalamplitudeof incrementaltracks erroneous(X10)FaultyA,B,orNtracksignalson X10. Angleencoderconnected? Angleencodercabledefective? Angleencoderdefective?Check configuration of the angle encoder interface. Proceed accordingtoa)andb): a)Encodersignalsfaulty? 1)b)Testwithanotherencoder. 2)
1) Check the wiring, e.g. one or more phases of the track signals interrupted or short circuited? CheckthatinstallationcomplieswithEMCrecommendations(cablescreeningonbothsides?). With TTL single-ended signals (HALL signals are always TTL single-ended signals): check whether there mightbeanexcessivevoltagedropontheGNDline;inthiscase=circuitcommon. CheckwhethertheremightbeanexcessivevoltagedropontheGNDline;inthiscase=circuitcommon. Check the level of supply voltage on the encoder. Sufficient? If not, change the cable diameter (connect unusedlinesinparallel)orusevoltagefeedback(SENSE+andSENSE-). 2) Iftheerrorstilloccurswhentheconfigurationiscorrect,testwithadifferent(error-free)encoder(re-placetheconnectingcableaswell).Iftheerrorstilloccurs,thereisafaultinthemotorcontroller.Repair bythemanufacturerisnecessary.

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
...88Internalangleen-codererrorInternalmonitoringoftheangle encoder(X2B)hasdetecteda faultandforwardeditviaserial communication.Angleencoderdefective?Possiblecauses:Encoder-specificormanufac-turer-specific,e.g.diminishing illuminationintensityinoptical encoders or excessive rpm. Iftheerrorisongoing,testwith adifferent(error-free)encoder (replacetheconnectingcableas well).Encoderisprobablyper-manentlyfaulty.
9Angleencoderat X2BnotsupportedAngleencodertypereadatX2B whichisnotsupportedorcan-notbeusedinthedesiredoper-atingmode.Incorrectorinappropriateproto-coltypeselected?Firmwaredoesnotsupportthe connected encoder model?Dependingontheadditionalinformation1) for the error age:Load appropriate firmware.Check/correct the configur-ationforencoderevaluation.Connectanappropriateen-codertype.

1) Additional information(PNU203/213):
0001: HIPERFACE: encoder type is not supported by the firmware -> connect another encoder type or loadmorerecentfirmware.
0002: EnDat: the address space in which the encoder parameters would have to lie does not exist with the connected EnDatencoder->checktheencodertype.
0003: EnDat: encoder type is not supported by the firmware -> connect another encoder type or load more recent firmware.
0004: EnDat: encoder rating plate cannot be read from the connected encoder. -> change encoder or loadmorecentfirmware.
0005: EnDat: EnDat 2.2 interface parametrised, but connected encoder only supports EnDat2.1. ->changeencodertypeorchangeparameterstoEnDat2.1.
0006: EnDat: EnDat2.1 interface parametrised with analogue tracking but the rating plate of the connected encoder says that it does not support track signals. -> change encoder or switch off ZOtracksignalevaluation.
0007: Displacement encoder with EnDat2.1 connected but parametrised as a purely serial encoder. Purelyserial evaluation is not possible due to the long response times of this encodersystem. Encoder must be operated with analogue track signal evaluation -> switch to analogue Z0 track signal evaluation.

ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
90OldangleencoderparameterrecordWarning:Anencoderparameterrecordin anoldformatwasfoundinthe EEPROMoftheconnectedencoder.Thishasbeenconverted andsavedinthenewformat.Noactionnecessaryatthis point.Thewarningsshouldnot re-appearwhenthe24Vsupply isswitchedbackon.
1Angleencoderparameterrecord cannotbe decodedDataintheEEPROMofthe angleencodercouldnotberead completely,oraccesstoitwas partlyrefused.TheEEPROMoftheencoder containsdata(communication objects)whichisnotsupported bytheloadedfirmware.The datainquestionisthendis-carded.Theparameterrecordcanbe adaptedtothecurrentfirmware bywritingtheencoderdatato theencoder.Alternatively,appropriate(morerecent)firmware mustbeloaded.
2Unknown version of angleencoder parameterrecordThedatasavedinEEPROMis notcompatiblewiththecurrent version.Adatastructurewas foundwhichisunabletodecode theloadedfirmware.Savetheencoderparameters againinordertodeletethe parameterrecordintheencoder andreplaceitwithareadable record(thiswill,however,delete thedataintheencoderirreversi-bly).Alternatively,appropriate (morerecent)firmwaremustbe loaded.
3Defecteddata structureinangle encoderparameter recordDatainEEPROMdonotmatch thestoreddatastructure.The datastructurewasidentifiedas validbutmaybecorrupted.Savetheencoderparameters againinordertodeletethe parameterrecordintheencoder andreplaceitwithareadable record.Iftheerrorstilloccurs afterthat,theencodermaybe faulty.Replacetheencoderasatest.
...94EEPROMMdata:Faultyuser-specific configurationOnlywithspecialisedmotors:Theplausibilitycheckreturnsan error,e.g.becausethemotor wasrepairedorreplaced.Ifmotorwasrepaired:carryout homingagainandsaveinthe angleencoder,afterthat(!)save inthemotorcontroller.Ifmotorreplaced:parametrise thecontrolleragain,thencarry outhomingagainandsavein theangleencoder,afterthat(!) saveinthemotorcontroller.
7Write-protected angleencoder EEPROMDatacannotbesavedinthe EEPROMoftheangleencoder. OccurswithHiperfaceencoders.Adatafieldintheencoder EEPROMiswrite-protected (e.g.afteroperationonamotor controllerfromanothemanu-facturer).Nosolutionpossible, encodermemorymustbeun-lockedwithanappropriate parametrisationtool(from manufacturer).
9Angleencoder EEPROMtoosmallIt is not possible to save dataintheEEPROMoftheangle encoder.Reduce the number of datare-cordstobesaved.Pleaseread the documentationorcontact TechnicalSupport.
100Overspeed (spinningprotection)Motorracing("spinning") because the commutationangle offsetisincorrect.Motorisparametrisedcorrectly butthelimitforspinningprotec-tionissettoolow.Check the commutationangle offset.Check the limit valuesetting in the parameters.
110Errorwhen homingisstartedControllerenablemissing.Homingcanonlybested whenclosed-loopcontrolleren-ableisactive.Checkthecondi-tionorsequence.
1Errorduring homingHomingwasinterrupted, e.g.by:-Withdrawalofcontroller enable.-Referenceswitchisbeyond thelimitswitch.-Externalstopsignal (aphasewasaborted duringhoming).•Checkthehomingsequence.• Check the arrangement of the switches.•Ifapplicable,lockthestop inputduringhomingifitisnot desired.
2Homing:Novalid indexpulseReservedforlaterextensions (required index pulse missing).-
3Homing:TimeoutThe parametrised maximum timeforthehomingrunwasex-ceededbeforethehomingrun wascompleted.Checkthetimesettinginthe parameters.
4Homing:Incorrect/ invalidlimitswitchRelevantlimitswitchnotcon- nected.Limitswitcheswrapped? Noreferenceswitchfoundbe- tweenthetwolimitswitches.Referenceswitchisatthelimit switch.“Indexpulse/indexpulse” method:activelimitswitchin the area of the index pulse (not permitted). Bothlimitswitchesactiveatthe sametime.Checkwhetherhelimit switchesareconnectedinthe correctdirectionoftravelor whetherthelimitswitchesact ontheintendedinputs.Referenceswitchconnected? Checkthearrangementofthe referenceswitch.Movethelimitswitchsothatit isnotintheareaoftheindex pulse.
ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
...115Homing:12t / followingerrorAccelerationrampsnotsuitably parametrised.Reversingduetopremature triggeringoffollowing(drag) error;checkparametrisationof followingerror(dragerror).Noreferenceswitchreachedbetweentheendstops.Indexpulsemethod:endstop reached(notpermittedhere).Parametrisetheacceleration rampssotheyareflatter.Checkconnectionofareference switch.Methodappropriateforthep-application?
6Homing:Endof searchpathThemaximumpermissiblepath forthehomingrunhasbeentra-velledwithoutreachingthereferencepointorthehomingrun target.Faultinswitchdetection.Switchforhomingisdefective?
120CAN:Doublenode numberNode number assigned twice.Check the configuration of the CANbusstations
1CAN:Communica-tionerror,busOFFTheCANchipasswitchedoff communication due to com-municationerrors(BUSOFF).Checkwiring:cable specifications adhered to;brokencable;maximumcable length exceeded; terminating resistorscorrect;cablescreening earthed;allsignalsconnected?Itmaybehelpfultotryreplacing the device as a test. If a differentdeviceworkswithout errorswiththesamecabling,send the device to them anufac-turerforchecking.
...122CAN:Communicationerrorduring transmissionThesignalsareinterruptedwhen messagesaresent.Devicebootupissofastthatno othenodesonthebushasyet beendetectedwhenthe boot-upmessageissent.Checkwiring:cable specifications adhered to;brokencable;maximumcable length exceeded; terminating resistorscorrect;cablescreening earthed;allsignalsconnected?Itmaybehelpfultotryreplacing the device as a test. If a different deviceworkswithouterrorswith the same cabling, send the device to the manufacturer for checking.Checkthestartsequenceofthe application.
3CAN:CommunicationerrorduringreceptionThesignalsareinterruptedwhen messagesarereceived.Checkwiring:cable specifications adhered to;brokencable;maximumcable length exceeded; terminating resistorscorrect;cablescreening earthed;allsignalsconnected?Itmaybehelpfultotryreplacing the device as a test. If a different deviceworkswithouterrorswith the same cabling, send the device to the manufacturer for checking.
4CAN:Node GuardingNodeGuardingtelegramnot receivedwithintheparametrised time.Faultysignals?Compare the cycle time of the remoteframeswiththatofthe control system, or control system failure.
5CAN:RPDOtoo shortA received RPD does not taintheparametrisednumberof bytes.The numberofparametrised bytesdoesnotmatchthe numberofbytesreceived. Check the parametrisation and correct.
9CAN:Protocol errorFaulty bus protocol.Check the parametrisation of the selectedCANbusprotocol.

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
130CAN bus timeoutError message from manufacturer-specificprotocol.ChecktheCANparametrisation
140Insufficientpower supplyforidentifi-cationCurrentregulatorparameters cannotbedetermined(because ofinsufficientsupply).The available intermed cuitvoltageistoolowfor measurement.
1Currentcontroller identification: Measurementcycle insufficientToofewortoomanymeasurementcyclesrequiredforthe connected motor.Automaticdeterminationof parametershassuppliedatime constant outside the parametris-ablevaluerange.Theparameter mustbemanuallyoptimised.
2Outputstageen-ablecouldnotbe issuedTheoutputstagehasnotbeen enabled.ChecktheconnectionofDIN4.
3Outputstagewas prematurely switchedoffOutputstageenablewas switchedoffduringidentifica-tion.Checkthesequencecontrol.
4Identification does notsupportthe configureddevice typeReservedforlaterextensions: Identification cannot be carried outwiththeparametrisedangle encodersettings.-
5Indexpulsenot foundThe index pulse was not afterthemaximumpermissible numberofelectricalrotations.Check the indexpulsesignal. Angleencoderparametrisedcor-rectly?
6Hall signals invalidHall signals faulty or invalid. Thepulsetrainorsegmentingof theHallsignalsisinappropriate.Checkconnection. Refertothetechnicaldatato checkwhethertheencoder showsthreeHallsignalswith 120° or 60° segments; if necessary, contact TechnicalSupport.

iatecir-

ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
...147Identification not possibleAngle encoder at a standstill.Ensure there is sufficient intermediatecircuitvoltage.Encoder cable connected to the correctmotor?Ismotorblocked,e.g.holdingbrakewillnotrelease?
8InvalidnumberofpairsofpolesThecalculatednumberofpole pairsliesoutsidetheparame-trisablerange.Compareresultwiththetechni-caldataspecificationsforthe motor.Checktheparametrisednumber oflines.
150Divisionby0Internalfirmwareerror. Divisionby0whenusingthe mathlibrary.Loadthedefaultparameterre-cord. Check the firmware to makesurethatreleasedfirm-warehasbeenloaded.
1RangeexceededInternalfirmwareerror. Overflowwhenusingthemath library.
2CounterunderrunInternalfirmwareerror. Internalcorrectionfactorscould notbecalculated.Checkthesettingofthefactor groupforextremevaluesand change if necessary.
160Errorinprogram executionInternalfirmwareerror. Errorduringprogramexecution. IllegalCPUcommandfoundin theprogramsequence.Iferrorisrepeated,loadfirm-wareagain.Iftheerrorappears again,thehardwareisfaulty.
1Illegal interruptError during program execution. AnunusedIRQvectorwasused bytheCPU.
2Initialisation errorInternal firmware error.
3UnexpectedstateErrorduringperipheryaccess withintheCPUorerrorinthe programsequence(illegal branching in case structures).

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
170Followingerrorlimit exceededThethresholdofcomparisonto thefollowing(drag)errorlimit wasexceeded.Enlargeerrorwindow.Accelerationparametertoo large.Motoroverloaded(current limitation from i2t monitoring is active?).
1Encoderdifference monitoringDeviationbetweentheactual positionvalueandcommutation positionistoogreat.Externalangleencodernotconnectedorfaulty?Deviationfluctuates,e.g.dueto gearbacklash;cut-offthreshold mayneedtobeincreased.Checkconnectionoftheactual valueencoder.
180Analoguemotor temperatureMotortemperature(analogue) greaterthan5°belowT_max.Checkparametrisationofcurrent regulator and/or speed tor.Motorpermanentlyoverloaded?
210Error1current measurementUOffsetforcurrentmeasurement 1phaseUistoogreat.The closed-loopcontrollercarries outoffsetcompensationofthe currentmeasurementeverytime itscontrollerenableisissued.Toleranceswhicharetoohigh leadtoanerror.Iftheerrorappearsagain,the hardwareisfaulty.
1Error1current measurementVOffsetforcurrentmeasurement 1phaseVistoogreat.
2Error2current measurementUOffsetforcurrentmeasurement 2phaseUistoogreat.
3Error2current measurementVOffsetforcurrentmeasurement 2phaseVistoogreat.
220PROFIBUS:Faulty initialisationFaultyinitialisationoftheProfi-bustechnologymodule.Technologymoduledefective?Replacethetechnologymodule.Repairbythemanufacturermay beanoption.
2PROFIBUScommunicationerrorFaults in communication.Check the slave address set.Checkbustermination.Checkwiring.

regula-

ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
...223PROFIBUS:Invalid slaveaddressCommunication was started with slaveaddress126.Selectadifferentslaveaddress.
4PROFIBUS:Value rangeerrorDuringconversionwiththefac-torgroup,thevaluerangewas exceeded.Mathematicalerrorwhencon-vertingphysicalunits.Valuerangeofthedataa physicalunitsdonotmatch.Checkandcorrect.
250InvaliddevicetypeDevicecodingnotrecognisedor invalid.Fault cannot be rectified inde-pendently.Sendthemotor controllertothemanufacturer.
1Devicetypenot supportedDevicecodingvalid,butnotsup-portedbytheloadedfirmware.Loadup-to-datefirmware.If newerfirmwareisnotavailable, theproblemmaybeahardware defect.Sendthemotorcon-trollertothemanufacturer.
2Hardwareversion notsupportedThecontroller'shardwarever-sionisnotsupportedbythe loadedfirmware.Checkthefirmwareversion;up-datethefirmwaretoamore-re centversionifnecessary.
3Devicefunctionality limited!Deviceisnotunlockedforthis functionDeviceisnotunlockedforthe desiredfunctionalityandmay needtobeunlockedbythe manufacturer. The device must besenttothemanufacturerfor this.
260Missinguserpara-metersetNovaliduserparameterrecord intheflashmemoryLoadfactorysettings.Iftheerror persists,thehardwaremaybe faulty.
1Checksum errorChecksum error in a parameter recordLoadfactorysettings.Iftheerror persists,thehardwaremaybe faulty.

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
...262Flash:WriteerrorErrorwhenwritingtointernalorexternalflashmemoryRepeatthelastoperation.Ifthe errorappearsagain,thehard-waremaybefaulty.
3Flash: Delete errorError when clearing internal or externalflashmemoryRepeatthelastoperation.Ifthe errorappearsagain,thehard-waremaybefaulty.
4Flash:Internalflash errorThedefaultparameterrecordis corrupted/dataerrorinthe FLASHrangewherethedefault parameterrecordislocated.Loadfirmwareagain.Iftheerror appearsagain,thehardware maybefaulty.
5Missingcalibration dataFactory-setcalibrationpara-metersincomplete/corrupted.Fault cannot be rectified inde-pendently.
6Missinguser positiondatasetsPositiondatarecordsincom-pleteorcorrupt.Loadthefactorysettingsorsave thecurrentparametersagainso thatthepositiondataiswritten again.
7Faultydatatables (CAM)Dataforthecamdiskiscor-rupted.Loadthefactorysettings;if necessary,reloadtheparameter record.Iftheerrorpersists,con-tactTechnicalSupport.
270Followingerror warningthresholdMotoroverloaded?Checkmotor capacity.Accelerationorbrakingramps aresettoosteep.Motorblocked?Commutation anglecorrect?Checktheparametrisationofthe motordata.Checkparametrisationoffollow-inger(dragerror).
ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
280Missingoperating hourmeterNorecordforanhours-run metercouldbefoundinthe parameterblock.Anewhoursrunmeterwascreated.Occurs duringinitialstart-uporaprocessorchange.Warningonly,nofurtheraction necessary.
1Operatinghour meter:WriteerrorThedatablockinwhichthe hours-runmeterisstoredcould not bewrittento.Cause known;possiblyproblemswith thehardware.Warningonly,nofurtheraction necessary.uftheerroroccursagain,the hardwaremaybefaulty.
2Operatinghour metercorrectedThehours-runmeterhasa backup copy. If the controller's 24Vpowersupplyfailsprecisely whenthehours-runmeteris beingupdated,thewrittenrecordmaybecorrupted.Insuch cases,thecontrollerrestores thehours-runmeterfromtheintactbackupcopywhenitswitchesbackon.Warningonly,nofurtheraction necessary.
3Operatinghour meterconvertedFirmwarewasloadedinwhich thehours-runmeterhasadiffer-entdataformat.Thenexttime the controller is switched on, the oldhours-runmeterrecordis convertedtothenewformat.Warningonly,nofurtheraction necessary.
300Internal conversion errorRangeexceededforinternal scalingfactorswhicharede-pendent on the parametrised controllercycletimes.Checkwhetherextremelyshort orextremelylongcycletimes weresetintheparameters.

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
310Motor12tMotorblocked?Motorunder-sized?Check power dimensioning of drivepackage.
1Servo controller 12tThe 12t monitoring is responding frequently.Motorcontrollerdoesnothave therequiredcapacity?Mechanicalsystemissluggish?Checkthedesigncharacteristics ofthemotorcontroller;usea morepowerfultypeifnecessary.Checkthemechanicalsystem.
2PFC 12tPFC power rating exceeded.Parametrise operation without PFC(usingFCT).
3Braking resistor 12tOverloading of the internal brakingresistor.External braking resistor connectedbutnotactivated?Useanexternalbrakingresistor andactivateit.Checkparametrisationofthe externalloadresistance(FCT).
320Intermediate circuit chargingtime exceededTheintermediatecircuitcould notbechargedafterthemains voltagewasapplied.Afusemay befaulty,oraninternalbraking resistormaybefaulty,or,inthe caseofoperationwithanexternalresistor,thatresistorisnot connected.Checkinterfacetotheexternal brakingresistor.Alternatively, checkwhetherthejumperfor theinternalbrakingresistorisin place.Iftheinterfaceiscorrect, theinternalbrakingresistoror the built-in fuse is probably faulty. On-site repair is not possible.
1Undervoltagefor activePFCThe PFC cannot be activated at alluntilanintermediatecircuit voltageofabout130VDCis reached.Checkthepowersupply.
ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
...325Brakechopper overload.Inter-mediatecircuit couldnotbedis-charged.Theutilisationofthebrake chopperwhenquickdischarge beganwasalreadyintherange above100%.Quickdischarge tookthebrakechoppertothe maximumloadlimitandwas prevented/aborted.Nomeasuresrequired
6Intermediate circuit dis c h a r g e t i m ceededIntermediate circuit could not be quicklydischarged.Theinternal brakingresistormaybefaultyor, inthecaseofoperationwithan externalresistor,thatresistoris notconnected.Checkinterfacetotheexternal braking resistor. Alternatively, checkwhetherthejumperfor theinternalbrakingresistorisin place.Iftheinternalresistorhas beenactivatedandthejumper hasbeenpositionedcorrectly, theinternalbrakingresistoris probablyfaulty.On-siterepairis notpossible.
7Powersupply missingforcon-trollerenableControllerenablewasissued whentheintermediatecircuit wasstillinitschargingphase aftermainsvoltagewasapplied andthemainsrelaywasnotyet activated.Thedrivecannotbe enabledinthisphase,because thedriveisnotyetfirmlycon-nectedtothemains(through themainsrelay).Intheapplication,check whetherthemainssupplyand controllerenablesignalswere sentonequicklyaftertheother.
8Powersupplyfail-ureduringcon-trollerenableInterruptions/failureinthe powersupplywhilethecon-trollerenablewasactivated.Checkthepowersupply.
9Phase failureFailure of one or more phases (onlyinthecaseofthree-phase supply).Checkthepowersupply.
330Encoderemulation followingerrorThecriticalfrequencyforencoderemulationwasexceeded(seemanual)andtheemulatedangleatX11wasnolongerableto follow.Can o c c u r w h e n highnumbersoflinesarepro-gram m e d a t X 1 1 and t h e reacheshighvelocities.Checkwhethertheparametrisednumberoflinesmaybetoohighforthevelocitybeingrepre-sented.Reducethenumberof linesif necessary.
340No synchronisation viaFieldbusWhenactivatingtheinterpolatedpositionmode,thecontrollercouldnotbesynchronisedtothefieldbus.Thesynchronisationmessagesfrommastermayhavefailed.OrthelPOintervalis not correctly set to the n isation interval of the fieldbus.Checkthesettingsforthecon-trollercycletimes.
1Fieldbussynchro-nisationerrorSynchronisationviafieldbus messagesduringongoingoper-ation (interpolated position mode)hasfailed.Synchronisationmessagesfrom masterfailed?Synchronisationinterval(IPOin-terval)settoosmall/toolarge?Checkthesettingsforthecon-trollercycletimes.
350LinearmotorspinningprotectionEncodersignalsarefaulty.The motormayberacing(“spinning”)becausethecommutation positionhasbeenshiftedbythe faultyencodersignals.Checkthatinstallationcomplies withEMCrecommendations.Inthecaseoflinearmotorswith inductive/opticalencoderswith separatelymountedmeasuring tapeandmeasuringhead:check themechanicalclearance.Inthe caseoflinearmotorswithinductiveencoders,makesurethat themagneticfieldofthe magnetsorthemotorwinding doesnotleakintothemeasuringhead(thiseffectusuallyoccurs when high accelerations = highmotorcurrent).
5Errorduringthedeterminationofthe commutationpositionTherotorpositioncouldnotbe identifiedclearly.Theselected methodmaybeinappropriate.Theselectedmotorcurrentfor theidentificationmaynotbeset appropriately.Checkthemethodfordeterminingthecommutationposition. 1)
1) Notes on determining the commutation position:a)Thealignmentmethodisinappropriateforlockedorsluggishdrivesordrivescapableoflow-frequencyoscillation.b)Themicrostepmethodisappropriateforair-coreandiron-coremotors.Asonlyverysmallmovements arecarriedout,itworksevenwhenthedriveisonelasticstopsorislockedbutcanstillbemoved elastically to some extent. Due to the high excitation frequency, however, the method is very susceptible to oscillationsinthecaseofpoorlydampeddrives.Insuchcases,youcanattemptoreducethe excitationcurrent(%).c) The saturation method uses local occurrences of saturation in the iron of the motor. Recommended forlockeddrives.Air-coredrivesarebydefinitionnotsuitableforthismethod.Ifthe(iron-core)drive moves too much when locating the commutation position, the measurement result may be adulterated. If this is the case, reduce the excitation current. In the opposite case, if the drive does not move, the excitation current may not be strong enough, causing the saturation to be insufficient.

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
360Parameterwas limitedAnattemptwasmadetowritea valuewhichwasoutsidethe permittedlimits,sothevalue waslimited.Checktheuserparameterre-cord.
1Parameterwasnot acceptedAnattemptwasmadetowrite toanobjectwhichis"readonly" orisnotwrite-capableinthe currentstate(e.g.withcontroller enableactive).
370SERCOS:Received datadisruptedThesignalontheSercosbusis faulty.Thecauseinthiscase could be poor plug connectors orscrewfittingswhichhavenot beenightened.Thisproblem can also occur when the light outputissettoohigh(overloading).Checkallconnectionsand cables(brokencableorcon-nectornottightened). Checkthesettingsforlightout-putinthering(toohigh/too low).
1SERCOS:Fibre-opticringinter-ruptedThe Sercosring is not clo The cause could be a bro cable.Checkthatallcablesarecon-ectedandnonearebroken.
2SERCOS:2-fold MSTfailureTwosuccessivemastersync telegramsfromthemasterare missing.Thiserrorusuallyoc-curstogetherwith"Ringnot closed"or"Massivedistortion". Either the ring was interrupted duringoperation,orthemaster isnolongersendingsynctele-grams.ChecktheSercosring(and checkforinterruptions). Checkthatthemasterisstill operatingcorrectly.
3SERCOS:Invalid phasespecification inMSTinfoThemasterspecifiesaninvalid phaseshift(e.g.aphaseistobe skipped).Thecauseliesinthe mastersoftware.Checktheprograminthe SERCOSmaster.
ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
...374SERCOS:2-foldMDTfailureTwosuccessivemasterdata telegramsfromthemasterare missing.Thiserrorusuallyoc-curstogetherwith“Ringnot closed”or“Massivedistortion”. Either the ring was interrupted during operation, or the master isnolongersendingdatatele-grams.ChecktheSercosringandcheck forinterruptions.Checkthatthemasterisstill operatingcorrectly.
5SERCOS:Shiftto unknownoperating modeThemasterwantstogointoan operatingmodewhichisnot supportedbythedrive.Checkthesettingsfortheoper-atingmodesinDNsS-0-0032to S-0-0035.
6SERCOS:T3invalidThemastersspecifiesaninvalid timefortakingonthesetpoint values(T3).Thislieswithinthe transmissiontimeofATsor MDTsonthebus.TheT3timeis determined by the master during phaserun-up.Thecause beeitherinvalidtimingbythe masterorthetransmissionof to o much cyclic data for t cycletimeused.Increasethebaudrateto shortenthransmissiontimeof thetelegramsonthebus. Increase the cycle time.MoveT3timemanually(canbe donebymanuallyenteringan offset for T3ontheBeckhoff controlsystems,forexample). he
380SERCOS:SERCON statuseventSERCOSprog::errorduringinitialisationoftheSERCONchip ontheSERCOSTechnologymod-ule.Ifpossible,replacethetechnol- ogymoduleandsendittothe manufacturerforchecking.
1SERCOS:Nomod- ulepresentWhen the Sercos bus was acti-vated,novalidmodulewasde- tected.CheckthataSercosmoduleis pluggedintoTECH2.Replacethetechnologymodule ifpossible.

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
...382SERCOS:Defective moduleThehardwaretestofthemodule (thememorytest)failedwhen theSercosbuswasactivated.Replacethetechnologymodule andsendittothemanufacturer forchecking.Iftheerrorstilloccurswithare-placementtechnologymodule, themotorcontrollermustbe senttothemanufacturerfor checking.
3SERCOS:S-0-0127:Invaliddatain S-0-0021Inthecommand“Phasetransi-tionCP2->CP3”itwasfound that some of the configuration datatransmittedinCP2isfaulty.Thefollowingsettingsare checkedherebythemaster:-Configurationofthecycli-callytransmitted parametersinATandMDT.-Timinginformation.Configurationofthecyclicdata forMDTandAT(insomecircum-stances,parametersnotsup-portedtheremightbeconfi-gured).Timeslotcalculationbythe master?
4SERCOS:S-0-0127:InvalidIDNsinAT orMDTUnknown/invalidIDNswere configuredfortheparametersto betransmittedcyclicallyinMDT andAT.Checktheconfigurationofthe data to be transmitted cyclically.
5SERCOS:S-0-0128:Invaliddatain S-0-0022Inthecommand“Phasetransi-tionCP3->CP4”itwasfound that some of the configuration datainCP3isfaulty.Thefollow-ing settings are checked:-Weightingsettings.-Operatingmodesettings.Checktheweightingsettings.Checktheoperatingmodeset-tings (also for internal/external angleencoder).
6SERCOS:S-0-0128:Weighting parametersfaultyInvalidweightingsettingswere foundinthecommand“Phase transition CP3 -> CP4”.Checktheweightingsettings.
ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
...386SERCOSS:S-0-0128: Weightingpara-metersfaultySERCOSphaserun-up:errorin commandS-0-0128-errorinthe settingoftheweightingpara-meters.PleasecontactTechnical Supportifnecessary.
7SERCOSS:Invalid IDNinS-0-0026/ S-0-0027InvalidIDNswereconfiguredfor theSercos“signalstatusword” orthe“Sercossignalcontrol word”.Checktheconfigurationinsignal statusandcontrolwordsinthe IDNlistsS-0-0026and S-0-0027.
8SERCOSS:Errordur-ingconversionAn internal conversion error has occurred (when converting from busintointernalbasicunits,or viceversa).Theweightingset-tingsmustbecheckedhere. Overflow,underfloworsome otherinternalmathematical errorhasoccurred.Checktheuseofanalternative weighting.
9SERCOSS:SERCON 410bmodeactiveSERCOS activation: SERCON 816 isbeingoperatedinSERCON 410bcompatibilitymode.Replacethetechnologymodule and send it to them an ufa forchecking.
390SERCOSS:List S-0-0370:MDT datacontainercon-figurationerrorReserved: SERCOS:errorinconfiguration listS-0-0370forMDTdatacon-tainer.-
1SERCOSS:List S-0-0371:ATdata containerconfigur-ationerrorReserved: SERCOS:errorinconfiguration listS-0-0371forATdatacon-tainer.
2SERCOSS:Errorin MDTcyclicchannelReserved: SERCOS:errorinMDTcyclic channel.
3SERCOSS:Errorin ATcyclicchannelReserved: SERCOS:errorinATcyclic channel.

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
...394SERCOS:ErrorinMDTcyclicdatacontainerReserved: SERCOS:errorinMDTcyclic datacontainer.-
5SERCOS:ErrorinATcyclicdatacon-tainerReserved: SERCOS:errorinATcyclicdata container.
400Negativesoftware limitswitch reachedThepositionsetpointhasre-achedorexceededtherespect-ivesoftwarelimitswitch.Checkthetargetdata.Checkthepositioningrange.
1Positivesoftware limitswitch reached
2Target position behindthenega-tivesoftwarelimit switchStart of a positioning task was suppressed because the target lies behind the respective software limits switch.
3Target position behindthepositive software limit switch
410Recordchaining: Synchronisation errorStart of synchronisation without priorsampling pulseCheckthederivativeactionset- tingsintheparameters.
420Positioning: Missingsubse-quentpositioning: StopThepositioningtarget cannot bereachedduetotheoptions forpositioningorancillary parameters.Checkparametersoftheposi-tionrecordsinquestion.
1Positioning: Rota-tionreversalisnot allowed:Stop
2Positioning: Rota-tionreversalafter stopisnotallowed
ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
...423Startpositioningrejected:Wrong modeofoperationSwitchingoftheoperatingmode bythepositioningrecordwas notpossible.Checkparametersofthe positionrecordsinquestion.
4Startpositioningrejected:Please enforcehoming run!Anormalpositioningrecordwas started,butthedriveneedsa validreferencepositionbefore starting.Resetoptional“Homing required”parameter.Carryouthomingagainafter resettinganangleencodererror.
5Rotaryaxis:Directionofrotationis notallowedThepositioningtargetcannot bereachedduetotheoptions forpositioningorancillary parameters.Thecalculateddirectionof rotationisnotpermittedfor therotaryaxisinthesetmode.Checktheselectedmode.
9Errorwhenstarting thepositioningtaskAccelerationlimitexcededor positioningrecorddisabled.Checkparametrisationand sequence control and correct if necessary.
430Limitswitch:NegativesetpointlockedNegativehardwarelimitswitch reached.Checkparameters,wiring,and limitswitches.
1Limitswitch:PositivesetpointlockedPositivehardwarelimitswitch reached.
2Limitswitch:PositioningsuppressedThedrivehaslefttheintended rangeofmotion.Technicaldefectinthesystem?Checktheintendedrangeof motion.
440Faultinthecam disktablesCamdisktobestartednot available.Checktransmittedcamdisk number.Correctparametrisation orprogramming
1Camdisk:general faultinreferencingStartingacamdiskwhenhom-ingisrequiredbutthedriveis notyetreferenced.Carryouthoming.
Starthomingwithactivecam diskDeactivatecamdisk.Then restartcamdiskifnecessary
450Driversupplycan-notbeswitchedoffDuringactivationof“Safestand-still”thedriversupplywasnot switchedoffwithinanadequate time.The internal logic may be being disruptedbyhigh-frequency switchingoperationsatthe inputforsafestandstill.•Checkcontrol;theerrormust notappearagain.Iftheerroroccursrepeatedly:•Checkthefirmware(released version?)Ifalloftheabovepossibilities havebeenruledout,themotor controllerhardwareisfaulty.
1Driversupplycan-notbeactivatedDuringdeactivationof“Safe standstill”thedriversupplywas not switchedon with in a equatetime.
2Driversupplywas activatedTheinternaldriversupplywas re-appliedeventhoughsafe standstill had been activated.Iftheerrorappearsrepeatedlywhensafestandstillisactivated, themotorcontrollerhardwareis faulty.
470Threadmodeerror:TimeoutexpiredThespeedrequiredforsetting-up was not reduced enough inthetimeallotted.Checktheprocessingofthecon-trol-side requirements.
492DCO file: Data fault- Formatting error in the DCO file.-Faultyparametersinthe DCOfile(invalidvalue).-ErrorduringKOaccess (readorwrite).Note:error49-2isnottriggered in the case of the SD card. In-steaderror29-2istriggered (duetocompatibilitywith CMMS-ST)-
500Too many syn-chronousPDOsMorePDOshavebeenactivated than can be processed in the underlyingSYNCinterval.Thismessagealsoappearsif onlyonePDOistobetrans-mittedsynchronously,butahigh numberofotherPDOswitha differenttransmissiontypehave beenactivated.ChecktheactivationofPDOs.If the configuration is appropriate,thewarningcanbesup-pressedusingerrormanage-ment.Extend the synchronisation inter-val.
1SDOerrorshave occurredAnSDOtransferhascausedan SDOabort,forexampledueto dataexceedingthevaluerange or accessing of an object which doesnotexist.Checkthecommandsent.

3. Faultreactionanddiagnosis

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
510No/unknownFSM moduleUnknown module type (reading of EEPROM).-
1FSM:Driversupply isfaultySignalRM_5V_OSorRM_5V_US isnotpresent(FSMblind).
2Unequalmodule typeUnequal module type (reading EEPROMandcomparingwith dataintheparameterFLASH memory).
3Unequalmodule versionUnequalversionnumberforan otherwiseequalmoduletype (reading EEPROMandcomparingwith dataintheparameter FLASHmemory).
600Ethernet user-specific(1)Reserved.-
610Ethernet user-specific(2)Reserved.-
ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
620EtherCAT:general buserrorNo EtherCAT bus present.Switch on the EtherCAT master.Checkcabling.
1EtherCAT:InitialisationfaultErrorinthehardware.Replaceethetechnologymodule and send it to the manufacture forchecking.
2EtherCAT:Protocol errorCAN over EtherCAT is not in use.Incorrect protocol. EtherCAT bus cablingfault.
3EtherCAT:Invalid RPDOlengthSyncmanager2buffersizeis toolarge.ChecktheRPDOconfiguration of themotorcontrollerand the higher-level control system.
4EtherCAT:Invalid TPDOlengthSyncmanager3buffersizeis toolarge.ChecktheTPDOconfiguration of themotorcontrollerand the higher-level control system.
5EtherCAT:Cyclic datatransmission errorEmergencyshut-downdueto failureofcyclicdatatrans-mission.Checktheconfigurationof the master. Synchronous trans-missionisunstable.
630EtherCAT:Defective moduleErrorinthehardware.Replaceethetechnologymodule and send it to the manufacture forchecking.
1EtherCAT:Invalid dataFaulty telegram type.Check the cabling.
2EtherCAT:TPDO datanotreadThebufferforsendingthedata isfull.Thedatawassentfasterthan themotorcontrollercouldpro-cess it. Reduce the cycle time on theEtherCATbus.

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
...633EtherCAT:No distributedclocks activeWarning:firmwareissynchronisingwiththetelegram,notwith the distributed clocks system. WhentheEtherCATwasstarted, nohardwareSYNC(distributed clocks)wasfound.Thefirmware nowsynchroniseswiththe EtherCATframe.Ifnecessary,checkwhetherthe mastersupportsthedistributed clocksfeature.Ifnot:ensurethattheEtherCAT framesarenotdisruptedby otherframesiftheinterpolated positionmodeistobeused.
4ASYNCmessageis missingintheIPO cycleTelegramsarenotbeingsentin thetimeslotpatternoftheIPO.Check the station responsible fordistributedclocks.
640DeviceNet:DuplicateMACIDThe duplicate MACID ch foundtwonodeswiththesame MACID.Change the MAC ID of one of the nodestoavaluewhichisnotal-readyused.
1DeviceNet:Bus voltagemissingTheDeviceNetmoduleisnot suppliedwith24VDC.InadditiontothemotorcontrollertheDeviceNetmodule mustalsobeconnectedto 24VDC.
2DeviceNet:Receive bufferoverflowToomanymessagesreceived withinashortperiod.Reducethescanrate.
3DeviceNet:Send bufferoverflowNot sufficient freespa canCANbusforsendingmessages.Increase thebaudrate,reduce thenumberofnodesorreduce thescanrate.
4DeviceNet:IO messagenotsentError in sending I/O data.Check that the network is connected correctly and has no faults.
5DeviceNet: Bus OffThe CAN controller is BUS OFF.Check that the network is connected correctly and has no faults.
6DeviceNet:CAN controllerreports overrunTheCANcontrollerhasanoverrun.Increasethebaudrate,reduce thenumberofcustomernodes orreducethescanrate.
ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
650DeviceNetactivated,butno moduleTheDeviceNetcommunicationis activatedintheparameterre-cordofthemotorcontroller,but nomoduleisavailable.DeactivatetheDeviceNetcom-munication or connect a module.
1IO connection time-outInterruption of an I/O con-tion.Not/Omessagereceivedwithin theexpectedtime.
701FHPP:MathematicalerrorOverrun/underrunordivisionby zeroduringcalculationofcyclic data.Checkthecyclicdataand/or checkthefactorgroup.
2FHPP:Factorgroup invalidCalculationofthefactorgroup leadstoinvalidvalues.Checkthefactorgroup.
3FHPP:Invalidoper-atingmodechangeChanging from the current to the desiredoperatingmodeisnot permitted.Checkyourapplication.ltmay bethatnoteverychangeisper-mitted.
711FHPP:Invalidre-ceivetelegramToo little data is being trans-mittedbythecontrolsystem (datalengthtooshort).Checkthedatalengthparame-trisedinthecontrolsystemfor the controller's received tele-gramand/orchecktheconfi-gureddatalengthintheFHPP+ EditorintheFCT.
2FHPP:Invalidre-sponsetelegramToo much data is settobe transmitted from the CMMP-AS tothecontrolsystem(data lenghtoogreat).
800Overflowcurrent controllerIRQThe process data could not be calculatedinthesetcurrent/vel-ocity/position interpolator cycle.PleasecontactTechnical Support.
1Overflowspeed controllerIRQ
2Overflowposition controllerIRQ
3Overflowinterpola-torIRQ
814Overflow low-level IRQ
5OverflowMDCIRQ

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
820Sequencing controlIRQ4 overflow (10 ms low-level IRQ).Internalsequencecontrol:processinterrupted.Onlyforinformation-nomeasuresrequired.
830technology moduleThetechnologymoduleplugged incouldnotbedetectedorthe loadedfirmwarewasunknown.Asupportedtechnologymodule mightbepluggedintothewrong slot(e.g.SERCOS2,EtherCAT).Checkthefirmwaretofindout whetherthetechnologymodule issupported.Ifyes,thencheck thatthetechnologymoduleisin t h e r i g h t p l a c e a n d i s p l correctly. If necessary, replace technologymoduleand/orfirm-ware.
1logymodule notsupportedThetechnologymoduleplugged incouldbedetected,butisnot supportedbytheloadedfirm-ware.Checkthefirmwaretofindout whetherthetechnologymodule issupported.Ifnecessary,re-placethefirmware.
2Technology module:HardwareversionnotsupportedThetechnologymoduleplugged incouldbedetectedandisalso usuallysupported,howeverin thiscasethecurrenthardware versionisnotsupported(be-causeitistooold).ExamplesincludetheProfiBus piggy-backandtheEA88piggy-back,whichwereproducedin aninitial5Vversion(Version1.0) but which cannot run on the current motor controller.Thetechnologymodulemustbe replaced.Ifnecessary,contact TechnicalSupport.Withthe ProfiBusorEA88module,use hardwareversion2.0orgreater.
3Service module:WriteerrorDataaccesstotheservicemod-ule(FLASHtechnologymodule) isbeingdisrupted.Thererere sectorswhichcouldnotbe writtenorcleared.Switchonthedeviceagain (24V).Iftheerrorappearsagain, thehardwareoftheFLASH moduleisfaulty.Inthatcasere-placethemodule.Ifthatisnot successful,thehardwareofthe motorcontrollerisdefectiveand on-siterepairisnotpossible.
... 834MC2000 WatchdogReserved.-

ggedin

ErrormessagesCMMP
Main indexindexMeasuresCausesMessageSub-
85...890Reserved.—
900Missinghardware component(SRAM)ExternalSRAMnotdetected/notsufficient.Hardwareerror(SRAMcomponentorboardisdefective).
1Missinghardware component (FLASH)ExternalFLASHnotdetected/notsufficient.Hardwareerror(FLASHcomponentorboardisdefective).
2ErroratFPGAboot-upThe FPG A cannot be booFPGAisbootedseriallywhenthe deviceisstarted,butinthiscase itcouldnotbeloadewithdata oritreportedachecksumerror.Switchonthedeviceagain (24V).Iftheerrorappearsagain, the hardware is faulty.
3ErroratSD-ADUstartSD-ADUscannotbested.One ormoreSD-ADUsarenotsupplyinganyserialdata.Switchonthedeviceagain (24V).Iftheerrorappearsagain, the hardware is faulty.
4SD-ADUsynchronisationerrorafter startSD-ADU not synchronous after starting.Duringoperation,the SD-ADUsfortheresolversignals continuerunningwithstrictsynchronisationoncetheyhave beeninitiallystartedsynchronously.TheSD-ADUscouldnotbe startedatthesametimeduring thatinitialstartphase.Switchonthedeviceagain (24V).Iftheerrorappearsagain, the hardware is faulty.

ErrormessagesCMMP

Main indexindexMeasuresCausesMessageSub-
...905SD-ADUnotsyn-chronousSD-ADUnotsynchronousafter starting. During operation, the SD-ADUsfortheresolversignals continuerunningwithstrictsyn- chronisationoncetheyhave beeninitiallystartedsynchron-ously.Thisischeckedcontinually duringoperationandanerror maybetriggered.SevereEMCinterferencecould theoreticallyalsocausethisef- fect.Switchonthedeviceagain (24V).Iftheerrorappearsagain, thehardwareisfaulty(almost certainlyoneofthethree SD-ADUs).
6IRQ0(currentcon- troller):Trigger errorThe output stage is not t ingthesoftwareIRQwhichthen operatesthecurrentregulator. Verylikelytobeahardware error on the board or in t cessor.Switchonthedeviceagain (24V).Iftheerrorappearsagain, thehardwareisfaulty. e pro -
7NoCANcontroller presentCANcontrollerchipcouldnotbe foundorisdefective.Inthecaseofafirmwareerror, anupdatemustbeloaded. Inthecaseofahardwareerror (CANchiporboarddefective), thehardwareisfaulty.
8Deviceparameters checksumerrorThedeviceparameterrecord, whichincludesdescriptionof theoutputstagedata,isincon- sistent.Sinceitisitselfpartof thefirmware,thiserrorcanonly occurwithbetaversions.Checkthefirmwareversion, andupdatethefirmwareif necessary.
9DEBUGfirmware loadedAbetaversioncompiledforthe debuggerwasloadedasnormal.Checkthefirmwareversion, andupdatethefirmwareif necessary.
910Intenalinitialsa- tionerrorInternalSRAMtoosmallforthe compiledfirmware.Canonly occurwithbetaversions.Checkthefirmwareversion, andupdatethefirmwareif necessary.

3.4.2 CMMS/CMMDfaultnumbers

ErrormessagesCMMS/CMMD
Main indexSub-indexFault codeMeaningoferror messageMeasures
0106180StackoverflowIncorrectfirmware?Reloadstandardfirmwareifnecessary.ContactTechnicalSupport.
0203220UndervoltageinintermediatecircuitUndervoltagemonitoringsconfiguredusingtheFCT.Measureintermediatecircuitvoltage.Checkconfiguration.
0304310Motortempera-turemonitoringMotortoohot?Checkparameters(currentregulator,currentlimits)Rightsensor?Cablebroken?Sensordefective?Iftheerrorremainsevenwhenthesensorisbridged:devicedefective.
0314310Motortempera-turemonitoringFaultindigitalmotortemperaturesensor.
0404210Over-/under-tem-peratureinpower electronicsTemperaturedisplayplausible?Checkinstallationconditions(cooling:viathehous-ingsurface,theintegratedheatsinkandbackwall)
05051145V supply faultFault cannot be rectified independently.Sendthemotorcontrollertothermanufacturer.
1511524Vsupplyfault(outofrange)16V16V16V16V=OK,otherwiseNOK
2511612Velectronics supplyfault11V11V11V11V=OK,otherwiseNOK
8000Driversupply faultFaultintheplausibilitycheckofthedriversupply(safestandstill)

ErrormessagesCMMS/CMMD

Main indexSub-indexFault codemessageMeasuresMeaningoferror
060232Overcurrentrentoftheintermediate circuit/power stageMotordefective?Shortcircuitinthecable?Outputstagedefective?
070321Overvoltagetageinin-termediatecircuitChecktheconnectiontothebrakingresistor.Checkdesign(application).
0827380Encodersupply fault4V < U_encoder < 6V = OK, otherwise NOK
67386CMMS-AS/CMMD-ASonly:SINCOS-RS485 communication errorAngle encoder cable connected?
87388CMMS-AS/CMMD-ASonly:Internalangleen-codererrorAlarm bit set in the EnDat encoder.
1118A81Errorduringhom-ingHomingwasinterrupted,e.g.bywithdrawalofcon-trollerenableorbyalimitswitch.Check whether the limit switches are connected in the correctdirectionoftravelorwhetherhelimitswitches haveaneffectontheintendedinputs.Checkphasesequenceofthemotorconnection.Checkconfigurationofthereferenceswitches.Movelimitswitchsothatitisnotinthezeropulsearea.
122818CANcommunica-tionerrorCommonerror:1.Errorwhensendingamessage(e.g.nobuscon-nected)2.TimeoutwhenreceivingtheSYNCmessagesin interpolatedpositionmode
1496197Motoridentifica-tionfaultErrorwhenautomaticallydeterminingthemotor parameters.
1626187Initialisation faultError initialising the default parameters.
1636183Unexpectedstatus/program-mingerrorThesoftwarewentintoanunexpectedstate,e.g.unknownstateintheFHPPstatemachine.

ErrormessagesCMMS/CMMD

Main indexSub-indexFault codemessageMeasuresMeaningoferror
1708611FollowinggerrorlimitexceededEnlargeerrorwindow.Accelerationparametertoolarge.
1804380MMotortempera-ture5°C below maximumTemperature5°CbelowmaximumThemotortemperatureislessthan5°C below the parametrisedmaximumtemperature
142800Outputstage temperature5°C belowmaximumTemperature5°C belowmaximumCMMS-ST:theoutputstagetemperatureisgreater than80°C CMMS-AS/CMMD-AS:theoutputstagetemperature isgreaterthan90°C
1902380I2T at 80%Common error:80%ofthemaximumI2Tutilisationhasbeenreachedbytheclosed-loopcontrollerorbythemotor.
2105210FaultinoffsetcurrentmeasurementFaultcannotberectifiedindependently.Sendthemotorcontrollertothemanufacturer.
2207500PPROFIBUS: faultyinitialisationfaultPROFIBUSExtensionmoduledefective?PleasecontactTechnicalSupport.
27500CCommunication faultPROFIBUSfaultPROFIBUSCheckthesetslaveaddress.CheckbusterminationCheckwiring
2516081Hardware errorMotor controller and firmware are not compatible. Updatethefirmware.
2615581Checksum errorFault cannot be rectified independently.PleasecontactTechnicalSupport.
2907680No SDTried to access missing SD card.
17681SDinitialisation errorerrorErroroninitialisation/communicationnotpossible.
27682SDparameter recorderrecorderrorChecksumincorrect/filemissing/incorrectfileformat/errorwhensavingtheparameterfiletotheSD card

ErrormessagesCMMS/CMMD

Main indexSub-indexFault codemessageMeasuresMeaningoferror
3102312I2tfaultonmotor(I2tat100%)I2t monitoring of the motor has responded; motor/mechanicalsystemblockedorsluggish?
12311I2tfaulton con-troller(I2tat100%)I2t monitoring of the controller has responded.Checkpowerdimensioningofdrivepackage.
3203280CMMS-AS/CMMD-ASonly:Intermediatecir-cuitpre-charging faultIntermediatecircuitcouldnotbecharged(UIC<150V)
83285CMMS-AS/CMMD-ASonly:Fault:controller enablewithout intermediatecir-cuitPowerfailureaftercontrollerenableisissued
3516199TTimeoutforquick stopTheparametrisedtimeforquickstopwasexceeded
4008612FFault:SWlimit switchreachedNegativesoftwarelimitswitchreached.
18612FFault:SWlimit switchreachedPositivesoftwarelimitswitchreached.
28612FFault:SWlimit switchreachedTargetpositionisbehindthenegativesoftwarelimit switch
38612FFault:SWlimit switchreachedTargetpositionisbehindthepositivesoftwarelimit switch
4186193Ffault:recordchaining,unknowncommandUnknowncommandfoundduringrecordchaining
96192RRouteprogramjumptargeterrorJumptoapositioningrecordoutsidethepermitted range

ErrormessagesCMMS/CMMD

Main indexSub-indexFault codemessageMeasuresMeaningoferror
4218681Positioning:Errorinpre-calculationThepositioningtargetcannotbereachedduetothe optionsforpositioningorancillaryparameters.Checkparametersofthepositionrecordsinques-tion.
48488Homing requiredNo positioning possible without homing. Homing mustbecarriedout.
96191Positiondatare-corderCommonerror:1.Anattemptisbeingmadetostartanunknownor deactivatedpositionrecord.2.Thesetaccelerationistoosmallforthemaximum velocitypermitted.(Riskofcomputationaloverrunin trajectorycalculation)
4308612FaultinlimitswitchNegativehardwarelimitswitchreached.Check parameters,wiring,andlimitswitches.
18612FaultinlimitswitchPositivehardwarelimitswitchreached.Check parameters,wiring,andlimitswitches.
98612FaultinlimitswitchBothlimitswitchesactiveatthesametime.Check parameters,wiring,andlimitswitches.
4508000DriversupplyfaultThedriversupplyisstillactivatedespiterequestofthe 'SafeHalt'.1)
18000DriversupplyfaultThedriversupplyisactivatedagain,eventhoughthe "SafeHalt" hasbeenrequested.1)
28000DriversupplyfaultThedriversupplyhasnotbeenreactivated,even thoughtthe'SafeHalt'isnolongerrequested.1)
38087DIN4plausibility errorerrorErrorduringplausibilitycheckofoutputstageen-able.
1)Theinternallogicmightmalfunctionduetohigh-frequencyswitchingoperationsattheinputfor thesafehalt->Checkactivation.Iftheerroroccursagain->Checkfirmware(releasedversion?).Ifthesepossibilitieshavebeenexcluded,thehardwareofthemotorcontrollerisdefective.

ErrormessagesCMMS/CMMD

Main indexSub-indexFault codemessageMeasuresMeaningoferror
6417584DDeviceNetgeneralerrorThe24Vbusvoltageismissing
27582DDeviceNetcommunicationerrorReceivebufferoverflow
37582DDeviceNetcommunicationerrorSendbufferoverflow
47582DDeviceNetcommunicationerrorIOmessagecouldnotbesent
57582DDeviceNetcommunicationerrorBusOff
67582DDeviceNetcommunicationerrorOverrunintheCANcontroller
6507584DDeviceNetgeneralerrorCommonerror:Communicationhasbeenactivatedeventhoughthereisnopiggy-backmodulepluggedin.TheDeviceNetpiggy-backisattemptingtoreadan unknownKO.UnknownDeviceNeterror.
17583DeviceNetinitialisationerrorDeviceNetpiggy-backinitialisationerror:Nodenumberexiststwice
7582DeviceNetcommunicationerrorIOconnectiontimeout
7026195GGeneralarithmeticerrorThe FHPP factor group cannot be calculated correctly.
363800Operatingmode errorProhibitedchangeofoperatingmode.E.g.ProfileTorquemode(torquecontrol)onCMMS-STinopen-loop-controlledoperationorparametrisationmodeinFHPP;changeinoperatingmodewhen outputstageisreleased.
ErrormessagesCMMS/CMMD
Main indexSub-indexFault codemessageMeasuresMeaningoferror
76081000CMMD-ASonly: SSIOcommunicationerror(master-slave)Commonerror: 1.ChecksumerrorduringtransmissionofSSIO protocol 2.Timeoutduringtransmission
181000CMMD-ASonly: SSIOcommunicationerror(partner)SSIOpartnerhaserror760.
7907510RS2320communi-cationerrorOverrunwhenreceivingRS232commands.

3.5DiagnosisusingFHPPstatusbytes

The controllersupportsthefollowingdiagnosisoptionsusing FHPPstatusbytes(seesection1.4):

-SCON.B2(WARN)-Warning

- SCON.B3 (FAULT) - Fault

- SPOS.B5 (DEV) - Drag fault

-SPOS.B6(STILL)-Standstillcontrol

Inaddition, alldiagnostic information available as PNU (e.g. thediagnostic memory) can be readover FPC (Festo Parameter Channel → Section 5.1) or FHPP+ (→ Appendix B.1).

  1. Faultreactionanddiagnosis

Parameters

Chapter4

Contents

4.1FHPPgeneralparameterstructure4-4.....
4.2 Accessprotection4-5.....

4.2.1 AccessviaPLCandFCT4-5.....

4.3 Overview of FHPP parameters 4-6
4.4 Descriptions of FHPP parameters 4-13

4.4.1 Representation of the parameter entries 4-13
4.4.2 PNUs for the telegram entries for FHPP+ 4-14
4.4.3 Device data – Standard parameters 4-16
4.4.4 Device data – Extended parameters 4-17
4.4.5 Diagnostics 4-20
4.4.6 Process data 4-24
4.4.7 On-the-fly measurement 4-29
4.4.8 Record list 4-30
4.4.9 Project data – General project data 4-42
4.4.10 Project data – Teaching 4-43
4.4.11 Project data-Jog mode 4-44
4.4.12 Project data – Direct mode, Profile Position mode ..... 4-45
4.4.13 Project data – Direct mode, Profile Torque mode 4-46
4.4.14 Project data – Direct mode, Profile Velocity mode 4-47
4.4.15 Function data – Camming function 4-48
4.4.16 Function data – Position triggers and rotor position triggers ..... 4-50
4.4.17 Axis parameters for electric drives 1 – Mechanical parameters ... 4-53
4.4.18 Axis parameters for electric drives 1 – Homing parameters ..... 4-56
4.4.19 Axisparametersforelectricdrives1-Closed-loopcontroller parameters 4-58
4.4.20 Axis parameters for electric drives 1 – Electronic rating plate .... 4-61
4.4.21 Axis parameters for electric drives 1 – Standstill control ..... 4-62
4.4.22 Axis parameters for electric drives 1 – Drag error monitoring .... 4-63
4.4.23 Axis parameters for electric drives 1 – Other parameters ..... 4-63
4.4.24 Function parameters for digital I/Os 4-64

4.1 FHPP general parameter structure

Acontrollercontainsaparameterrecordforeachaxiswith thefollowingstructure.

GroupIndicesDescription
Administrativeandconfigurationdata1...99Special objects,e.g.forFHPP+
Device data100 ... 199Device identification and device-specific settings, version numbers,etc.
Diagnostics200 ... 299Diagnostic events and diagnostic memory. Fault numbers, faulttime,incoming/outgoingevent.
Process data300 ... 399Current setpoint and actual values, local I/Os, status dataetc.
Record list400 ... 499A record contains all the setpoint value parameters requiredforapositioningprocedure.
Project data500 ... 599Basic project settings. Maximum speed and acceleration, project zero point offset etc. -> parameters are the basis fortherecordlist.
Function data700 ... 799Parameters for special functions, e.g. for the camming function.
Axisdataforelectric drives11000 ... 1099All axis-specific parameters for electric drives: gear ratio, feedconstant,referenceparameters,etc.
Functionparameters fordigitall/Os1200...1239Specificparametersforcontrolandevaluationofthe digitall/Os.

Tab.4/1: Parameterstructure

  1. Parameters

4.2 Access protection

4.2.1 AccessviaPLCandFCT

Theusercanpreventthedrivefrombeingoperatedsimultaneously by PLC and FCT. The CCON.B5 bit (FCTaccessed and the SCON.B5 bit (FCTcontrolsovereignty) are used for this.

PreventingFCToperation:CCON.B5(LOCK)

BysettingtheCCON.B5controlbit,thePLCpreventstheFCT fromtakingovercontrolsovereignty.SoiftheLOCKisset,FCT cannotwriteparametersorcontrolthedrive,executehoming etc.

ThePLCisprogrammednottoenablethisuntiltheuser carriesouttherelevantaction. Thisgenerallyexitsautomatic operation. ThismeansthatthePLCprogrammercanensure thatthePLCalwaysknowswhenithascontroloverthedrive.

Important: theblockisactiveiftheCCON.B5bithaslogic1. Itthereforedoesnotneedtobesetcompulsorily.Auserwho doesnotneedthistypeoflockingcanalwayssetthebitto0.

ControlsovereigntyacknowledgmentforFCT:SCON.B5 (LOCK)

ThisbitinformsthePLCthatthedriveiscontrolledbytheFCT andthatthePLCnolongerhasanycontroloverthedrive.This bitdoesnotneedtobeevaluated.ThePLCcanreactby switchingtostopormanualoperation.

4.3 OverviewFHPPparameters

The following overview(Tab.4/2) shows the FHPP's parameters.

The parameters are described in sections 4.4.2 to 4.4.21.

Festo P.BE-CMM-FHPP-SW - OverviewFHPPparameters - 1

Generalremarksontheparameternames: ThenamesarelargelybasedonDS402.Somenamesmay varyfromproducttoproductwhilethefunctionalityremains thesame(e.g.inFCT).Examples:velocityandspeed,or torqueandforce.

NameControllerFHPP
PNUSubind.Type
PNUsfortheFHPP+telegramentries(seesection4.4.2)
FHPPReceiveTelegram(FHPPtelegramreceivedbycontroller)CMMP401 ... 10uint32
FHPPResponseTelegram(FHPP telegram sent by controller)CMMP411 ... 10uint32
FHPPReceive Telegram State(stateofFHPPtelegramreceivedbycontroller)CMMP421uint32
FHPPResponseTelegram State(state of FHPP telegram sent by controller)CMMP431uint32
Devidedata
Device data – Standard parameters (see section 4.4.3)
Manufacturer Hardware VersionAll1001uint16
Manufacturer Firmware VersionAll1011uint16
Version FHPPAll1021uint16
Project IdentifierAll1131uint32
Controller Serial NumberCMMP1141uint32
CMMS/CMMD1141 ... 12uint8
NameControllerNameTPPTypeSubind.PNU
Devidedata-Extendedparameters(seesection4.4.4)
Manufacturer Device NameAll1201 ... 30uint8
UserDeviceNameAll1211...32uint8
DriveManufacturerAll1221...30uint8
HTTP Drive Catalog AddressAll1231 ... 30uint8
FestoOrderNumberAll1241...30uint8
Device ControlAll1251uint8
Data Memory ControlAll1271 ... 6uint8
Diagnosis (see section 4.4.5)
Diagnostic EventCMMP2001 ... 32uint8
Fault NumberCMMP2011 ... 32uint16
CMMS/CMMD2011 ... 4uint16
Fault Time StampCMMP2021 ... 32uint32
Fault Additional InformationCMMP2031 ... 32unt32
Diagnosis Memory ParameterCMMP2041, 2, 4uint8
Fieldbus DiagnosisCMMP2065uint8
Device WarningsCMMP2101 ... 16uint8
Warning NumberCMMP2111 ... 16uint16
Warning Time StampCMMP2121 ... 16uint32
Warning Additional InformationCMMP2131 ... 16unt32
Warning Memory ParameterCMMP2141, 2, 4uint8
Process data (see section 4.4.6)
Position ValuesAll3001 ... 3int32
Torque ValuesAll3011 ... 3int32
Local Digital InputsAll3031, 2, 4uint8
Local Digital OutputsAll3041, 3uint8
Maintenance ParameterAll3053uint32
Velocity ValuesAll3101 ... 3int32
State Signal OutputsAll3111, 2uint32
NameControllerNameTypeTypeSubPNU
On-the-flymeasurement(seesection4.4.7)
PositionValueStorageAll3501,2int32
Recordlist(seesection4.4.8)
RecordStatusAll4001...3uint8
Record Control Byte 1CMMP4011 ... 250uint8
CMMS/CMMD4011 ... 63uint8
Record Control Byte 2CMMP4021 ... 250uint8
CMMS/CMMD4021 ... 63uint8
Record Setpoint ValueCMMP4041 ... 250int32
CMMS/CMMD4041 ... 63int32
Record Preselection ValueCMMP4051 ... 250int32
CMMS/CMMD4051 ... 63int32
Record VelocityCMMP4061 ... 250uint32
CMMS/CMMD4061 ... 63uint32
Record AccelerationCMMP4071 ... 250uint32
CMMS/CMMD4071 ... 63uint32
Record DecelerationCMMP4081 ... 250uint32
CMMS/CMMD4081 ... 63uint32
Record Velocity LimitCMMP4121 ... 250uint32
Record Jerkfree Filter TimeCMMP4131 ... 250uint32
CMMS/CMMD4131 ... 63uint32
Record ProfileCMMS/CMMD4141 ... 63uint8
Record Following PositionCMMP4161 ... 250uint8
CMMS/CMMD4161 ... 63uint8
Record Torque LimitationCMMP4181 ... 250uint32
RecordCAMID (camdisknumberforrecord)CMMP4191 ... 250uint8
Record Remaining Distance MessageCMMP4201 ... 250uint32
Record Control Byte 3CMMP4211 ... 250uint8
NameControllerNameType
TypeSubind.PNU
Projectdata
Projectdata-Generalprojectdata(seesection4.4.9)
ProjectZeroPointAll5001int32
SoftwareEndPositionsAll5011,2int32
Max. SpeedAll5021uint32
Max. AccelerationAll5031uint32
Max. Jerkfree Filter TimeAll5051uint32
Projectdata-Teaching(seesection4.4.10)
Teach TargetAll5201uint8
Projectdata-Jogmode(seesection4.4.11)
Jog Mode Velocity Slow - Phase 1All5301int32
Jog Mode Velocity Fast - Phase 2All5311int32
Jog Mode AccelerationAll5321uint32
Jog Mode DecelerationAll5331uint32
Jog Mode Time Phase 1All5341uint32
Projectdata-Directmode,ProfilePositionmode(seesection4.4.12)
Direct Mode Position Base VelocityAll5401int32
Direct Mode Position AccelerationAll5411uint32
Direct Mode Position DecelerationAll5421uint32
Direct Mode Jerkfree Filter TimeAll5461uint32
Projectdata-Directmode,ProfileTorquemode(seesection4.4.13)
Direct Mode Torque Base Torque RampCMMP5501uint32
Direct Mode Torque Target Torque WindowCMMP5521uint16
Direct Mode Torque Time WindowCMMP5531uint16
Direct Mode Torque Speed LimitCMMP5541uint32
NameControllerNameF1PPTypeSubind.PNU
Projectdata-Directmode,ProfileVelocitymode(seesection4.4.14)
Direct Mode Velocity Base Velocity RampAll5601uint32
Direct Mode Velocity Target WindowCMMP5611uint16
DirectModeVelocityWindowTime(dampingtimeforvelocitytargetwindowindirect mode)CMMP5621uin16
DirectModeVelocityThreshold(standstilltargetwindowindirectmode)CMMP5631uin16
DirectModeVelocityThresholdTime(dampingtimeforstandstillindirectmode)CMMP5641uin16
Direct Mode Velocity Torque LimitCMMP5651uint32
Functiondata
Functiondata-Cammingfunction(seesection4.4.15)
CAMID(camdisknumber)CMMP7001uint8
MasterStartPositionDirectMode(masterstartpositionindirectmode)CMMP7011int32
InputConfigSync.(inputconfigurationforsynchronisation)CMMP7101uint32
GearSync.(synchronisationgearatio)CMMP7111,2uint32
OutputConfigEncoderEmulation(outputconfigurationforencoderemulation)CMMP7201uint32
Functiondata-Positiontriggersandrotorpositiontriggers(seesection4.4.16)
Position Trigger ControlCMMP7301uint32
Position Trigger LowCMMP7311 ... 4int32
Position Trigger HighCMMP7321 ... 4int32
Rotor Position Trigger LowCMMP7331 ... 4int32
Rotor Position Trigger HighCMMP7341 ... 4int32
NameControllerNameTypeSubind.PNU
Axisparametersforelectricdrives1-Mechanicalparameters
Axisparametersforelectricdrives1-Mechanicalparameters(seesection4.4.17)
Polarity (reversalofdirection)All10001uint8
EncoderResolutionAll10011,2uint32
GearRatioAll10021,2uint32
Feed ConstantAll10031, 2uint32
Position FactorAll10041, 2uint32
Axis ParameterAll10052, 3int32
Velocity FactorAll10061, 2uint32
Acceleration FactorAll10071, 2uint32
PolaritySlave (reversalofdirectionfor slave)All10081uint8
Axisparametersforelectricdrives1-Homingparameters(seesection4.4.18)
Offset Axis Zero PointAll10101int32
Homing MethodAll10111int8
Homing VelocitiesAll10121, 2uint32
Homing AccelerationAll10131uint32
Homing RequiredAll10141uint8
Homing Max. TorqueCMMP10151uint8
Axis parameters for electric drives 1 - Closed-loop controller parameters (see section 4.4.19)
Halt Option CodeAll10201uint16
Position WindowAll10221uint32
Position WindowTime (adjustmenttimeforposition)All10231uint16
ControlParameterSet (controller's parameters)All102418...22,32uint16
MotorDataAll10251,3uint32/uint16
Drive DataCMMP10261 ... 4, 7uint32
CMMS/CMMD10261, 3, 4, 7uint32

4.Parameters

NameControllerNameType
TypeSubind.PNU
Axisparametersforelectricdrives1-Electronicratingplate(seesection4.4.20)
Max.CurrentAll10341uint16
MotorRatedCurrentAll10351uint32
MotorRatedTorqueAll10361uint32
TorqueConstantAll10371uint32
Axisparametersforelectricdrives1-Standstillcontrol(seesection4.4.21)
PositionDemandValue(setpointposition)All10401int32
PositionActualValue(currentposition)All10411int32
Standstill Position WindowAll10421uint32
Standstill TimeoutAll10431uint16
Axisparametersforelectricdrives1-Dragerrormonitoring(seesection4.4.22)
FollowingErrorWindow(dragerorwindow)CMMP10441int32
FollowingErrorTime(dragerortimeout)CMMP10451uint16
Axisparametersforelectricdrives1-Otherparameters(seesection4.4.23)
Torque Feed Forward ControlCMMP10801int32
Setup VelocityCMMP10811uint8
Velocity OverrideCMMP10821uint8
FunctionparametersfordigitalI/Os(seesection4.4.24)
RemainingDistanceforRemainingDistanceMessage All 1)12301uint32
1) WithCMMP-AS:inDirectmodeonly

Tab. 4/2: Overview of FHPP parameters

4. Parameters

4.4 DescriptionsofFHPPparameters

4.4.1 Representation of the parameter entries

6EncoderResolution
FHPP (all)10011 ... 2uint32rw
7DescriptionEncoderressolutioninincrementsperrevolution Theencoderresolutionisfixedandcannotbemodifiedbytheuser.The calculatedvalueisderivedfromthefraction(encoderincrements/motor revolution).
8EncoderIncrements10011uint32rw
MotorRevolutionsValue range: 0x00000000 ... 0xFFFFFFF (0 ... 2^32-1)
10012uint32rw
Fixed=1

1 Name of the parameter (sometimes with short explanation in brackets)
2 PNU(parameternumber)
3 Subindices of the parameter (1: no subindex, simple variable)
4 Elementvariabletype
5 Read/write permission: ro = read only, rw = read and write
6 Identifier for general or limited validity (e.g. CMMP only)
7 Descriptionoftheparameter
8 Nameanddescriptionofsubindices,ifpresent

Fig.4/1: Representationoftheparameterentries

4.Parameters

4.4.2PNUsforthetelegramentriesforFHPP+

FHPPReceiveTelegram(FHPPtelegramreceivedbycontroller)

FHPP (CMMP)401 ... 10Arrayuint32ro
DescriptionThisarraydefinesthecontentsofthereceivedtelegrams(theoutputdataof thehigher-levelcontrolsystem)inthecyclicprocessdata.ThearrayisconfiguredusingtheFHPP+editorprovidedbytheFCTplug-in.Gapsbetween1-bytePNUsandfollowing16-or32-bytePNUsarefilledwith placeholderPNUs,asareunusedsubindices.Fortheformat,seeTab.4/3.
1st PNU401uint32ro
1sttransmittedPNU:alwaysPNU1:1
2nd PNU402uint32ro
2nd transmitted PNU: with FPC: always PNU 2:1withoutFPC:anyPNU
3rd PNU403uint32ro
3rd transmitted PNU: any PNU
... PNU404 ... 10uint32ro
...

FHPPResponseTelegram(FHPPtelegramsentbycontroller)

FHPP (CMMP)411 ... 10Arrayuint32ro
DescriptionThis array defines the contents of the response telegrams (the input data of the higher-levelcontrolsystem)inthecyclicprocessdata;seePNU40. Fortheformat,seeTab.4/3.
1st PNU411uint32ro
1sttransmittedPNU:alwaysPNU1:1
2nd PNU412uint32ro
2nd transmitted PNU: with FPC: always PNU 2:1 withoutFPC:anyPNU
3. PNU413uint32ro
3rd transmitted PNU: any PNU
... PNU414 ... 10uint32ro
...
Contents of a subindex for PNU 40 and 41 (uint32-4 bytes)
Byte0123
ContentsReserved (= 0)SubindexTransmitted PNU (2-byte value)

Tab.4/3: FormatoftheentriesinPNU40and41

FHPPReceiveTelegramState(stateofFHPPtelegramreceivedbycontroller)
FHPP (CMMP)421Varuint32rw
DescriptionType of error in the telegram editor. Entry and the error location:Bit MeaningBits 0 ... 15 Error location, bit-serial, one bit per telegram entry.Bits 16...23 ReservedBits 24...31 Error type:Bit24=1:invalidPNU(witherrorlocationinbits0-15)Bit 25 = 1: PNU cannot be written (with error location in bits 0 - 15)Bit 26 = 1: maximum telegram length exceededBit27=1:PNUcannotbemappedin atelegramBit 28 = 1: entry cannot be modified in the current state(e.g.duringactivecycliccommunication)Bit29=1:16/32-bitentry beginswithanuneven addressBits 30...31 Reserved.Ifthetransmittedtelegramiscorrect,all bits=0.
FHPPResponseTelegramState(stateofFHPPtelegramsentbycontroller)
FHPP (CMMP)431Varuint32rw
DescriptionType of error in the telegram editor. Entry and the error location:Bit MeaningBits 0 ... 15 Error location, bit-serial, one bit per telegram entry.Bits 16...23 ReservedBits 24...31 Error type:Bit24=1:invalidPNU(witherrorlocationinbits0-15)Bit 25 = 1: PNU cannot be read (with error location in bits 0 - 15)Bit 26 = 1: maximum telegram length exceededBit27=1:PNUcannotbemappedin atelegramBit 28 = 1: entry cannot be modified in the current state (e.g.duringactivecycliccommunication)Bit29=1:16/32-bitentry beginswithanuneven addressBits 30...31 Reserved.Ifthetransmittedtelegramiscorrect,all bits=0.

4.Parameters

4.4.3 Devicedata–Standardparameters

ManufacturerHardwareVersion

FHPP (all)1001uint16ro
DescriptionCodingofthehardwareversion,specificationinBCD:xxyy(xx=mainversion,yy=secondaryversion)

ManufacturerFirmwareVersion

FHPP (all)1011uint16ro
DescriptionCodingofthefirmwareversion,specificationinBCD:xxyy(xx=mainversion,yy=secondaryversion)

VersionFHPP(FHPPversion)

FHPP (all)1021uint16ro
DescriptionVersionnumberoftheFHPP,specificationinBCD:xxyy(xx=mainversion,yy=secondaryversion)

ProjectIdentifier

FHPP (all)1131uint32rw
Description32 bit value that can be used together with the FCT plug-in to identify the project.Value range: 0x00000001 ... 0xFFFFFFFF (1 ... 2^32 -1)

ControllerSerialNumber

FHPP (all)1141uint32ro
DescriptionSerial number for uniquely identifying the controller.

4. Parameters

4.4.4 Devicedata-Extendedparameters

ManufacturerDeviceName

FHPP (all)1201 ... 30uint8ro
DescriptionDesignationofthedriveorcontroller(ASCII,7bit).Unusedcharactersarefilledwithzero(00h='\0').Example:“CMMS-ST”

UserDeviceName

FHPP (all)1211 ... 32uint8rw
DescriptionUser's designation of the controller (ASCII, 7 bit).Unusedcharactersarefilledwithzero(00h='\0').

DriveManufacturer

FHPP (all)1221 ... 30uint8ro
DescriptionNameofthedrive'smanufacturer(ASCII,7-bit)Fixed:“FestoAG&Co.KG”

HTTPDriveCatalogAddress(HTTPaddressofmanufacturer)

FHPP (all)1231 ... 30uint8ro
DescriptionManufacturer's Internet address (ASCII, 7-bit) Fixed: “www.festo.com”

FestoOrderNumber

FHPP (all)1241 ... 30uint8ro
DescriptionFesto order number / order code (ASCII, 7-bit).

4. Parameters

DeviceControl
FHPP (all)1251uint8rw
DescriptionSpecifies whichinterfacecurrentlyhascontrolsovereigntyoverthedrive,in otherwords,whichinterfacecanbeusedtoenableandstartorstop(control) thedrive.Thefollowinginterfacesaretakenintoaccount:-Fieldbus:(CANopen,PROFIBUS,DeviceNet,...)-DIN:digitall/Ointerface(e.g.multi-pin,I/Ointerface)-ParametrisationinterfaceRS232/RS485(FCT)Thelasttwointerfacesaretreatedasequals.For all controllers of the type CMM...,the output stage enable closed-loop controller enable(DIN5) also havetobesetina faceinquestion(logicalANDoperation).Value Meaning SCON.B5(LOCK)0x00(0) Software has control sovereignty(+DIN) 10x01 (1) Fieldbus has control sovereignty (+ DIN) 00x02(2) OnlyDINhascontrolsovereignty 1Defaultafterpoweron:0x01(1)-Fieldbushascontrolsovereignty(+DIN)

DataMemoryControl

FHPP (all)1271 ... 6uint8wo
DescriptionDeleteEEPROMCommands for EEPROM (non-volatile memory)
1271uint8wo
SaveData1Oncetheobjecthasbeenwritten,andafterswitchingpoweroff/on,thedatain theEEPROMisresettothefactorysettings.Fixed0x10(16):deletedatainEEPROMandrestorefactorysettings.Note:All user-specific settings except for the bus cycle will be lost on deletion (fac- torysettings).With CMMPthisalsoincludesthefieldbusaddress.• After deleting, always carry out the steps for commissioning the device.
272uint8wo
ResetDevice1Bywritingtheobject,thedatainEEPROMwillbeoverwrittenwiththe current user-specific settings.Fixed0x01(1):saveuser-specific datainEEPROM
273uint8wo
EncoderData MemoryControlBywritingtheobject,thedataisreadfromEEPROMandadoptedasthecurrent settings (EEPROM is not deleted or cleared; it is in the same state as after switchingoff andon).Values: 0x10(16):resetdevice0x20 (32): auto reset upon incorrect bus cycle (deviating from theconfiguredbuscycle;withCMMPonly)
1276uint8wo
Transferoftheencoderdatabetweencontrollerandencoder.Values: 0x00 (0): No action (e.g. for test purposes)0x01(1): Loadingoftheparametersfromtheencoder0x02(2): Savingoftheparametersintheencoderwithoutzerooffset0x03(3): Savingoftheparametersintheencoderwithzerooffset

4.4.5 Diagnostics

Festo P.BE-CMM-FHPP-SW - Diagnostics - 1

For a description of how the diagnostic memory functions, see section 3.2.

DiagnosticEvent

FHPP (CMMP)2001 ... 32uint8ro
DescriptionType of fault or diagnostic information saved in the diagnostic memory. Displays whether an incoming or outgoing fault is saved.
ValueType of diagnostic event
0x00(0)Nofault (or fault message deleted)
0x01(1)Incoming fault
0x02(2)Reserved (outgoing fault)
0x03(3)Reserved
0x04(4)Reserved (Overruntimestamp)
Event 12001uint8ro
Type of latest / current diagnostic message
Event 22002uint8ro
Type of second saved diagnostic message
Event ...200...uint8ro
...

FaultNumber

FHPP (CMMP)2011 ... 32uint16ro
FHPP (CMMS/CMMD)2011 ... 4uint16ro
DescriptionFaultnumbersavedinthediagnosticmemory;usedforidentifyingthefault.Seesection3.4.CMMP: Errornumber,e.g.402formainindex40,subindex2,seesection3.4.1.CMMS/CMMD: Faultcode,seesection3.4.2.
Event 12011uint16ro
Latest/currentdiagnosticmessage
Event 22012uint16ro
2ndsaveddiagnosticmessage
Event ...201...uint16ro
...

FaultTimeStamp

FHPP (CMMP)2021 ... 32uint32ro
DescriptionTimeofthediagnosticeventinsecondsafterswitch-on.Incaseofoverrun, thetimestampjumpsfrom0xFFFFFFFto0.
Event 12021uint32ro
Timeofthelatest/currentdiagnosticmessage
Event 22022uint32ro
Timeofthesecondsaveddiagnosticmessage
Event ...202...uint32ro
...

FaultAdditionalInformation(additionalinformationforfault)

FHPP (CMMP)2031 ... 32uint32ro
DescriptionAdditionalinformationforservicestaff.
Event 12031uint32ro
Additionalinformationforthelatest/currentdiagnosticmessage
Event 22032uint32ro
Additionalinformationforthesecondsaveddiagnosticmessage
Event ...203...uint32ro
...

DiagnosisMemoryParameter(parametersfordiagnosticmemory)

FHPP (CMMP)2041, 2, 4uint8ro
DescriptionConfigurationFault TypeNationofthediagnosticmemory.
2041uint8ro
ResolutionIncomingandoutgoingfaults.Fix0x02(2):Recordonlyincomingfaults
2042uint8ro
Number of EntriesTimestampresolution.Fix0x03(3):1Second
2044uint8ro
Readoutthenumberofvalidentriesinthediagnosticmemory.Valuerange: 0..32

4. Parameters

FieldbusDiagnosis

FHPP (CMMP)2065uint8ro
DescriptionReadoutCANopenDiagnosis2offieldbusdiagnosticdata.
065uint8ro
Selectedprofile(protocoltype):Values:0=DS402(notavailableviaFHPP)1 = F H PP

DeviceWarnings

FHPP (CMMP)2101 ... 16uint8ro
DescriptionType of warning or diagnostic information saved in the warning memory. Indicationofwhetheranincomingoroutgoingwarningwassaved.
ValueTypeofdiagnosticevent
0x00(0)Nowarning(orwarningmessagedeleted)
0x01(1)Incomingwarning
0x02(2)Reserved(outgoingwarning)
0x03(3)PowerDown(withvalidtimestamp)
0x04(4)Reserved(overruntimestamp)
Event12101uint8ro
Typeoflatest/currentwarningmessage
Event22102uint8ro
Typeofsecondsavedwarningmessage
Event ...210...uint8ro
...

Warning Number

FHPP (CMMP)2111 ... 16uint16ro
DescriptionWarning Event 1numbersavedinthewarningmemory(e.g.190formainindex19, subindex0;usedtoidentifythewarning,seesections3.2and3.4.1).
2111uint16ro
Mostrecent/currentwarningmessage
Event 22112uint16ro
2ndsavedwarningmessage
Event ...211...uint16ro
...

WarningTimeStamp

FHPP (CMMP)2121 ... 16uint32ro
DescriptionTimeofthewarningeventinsecondsafterswitch-on.Incaseofoverrun, thetimestampjumpsfrom0xFFFFFFFto0.
Event 12121uint32ro
Timeofthelatest/currentwarningmessage
Event 22122uint32ro
Timeofthesecondsavedwarningmessage
Event ...212...uint32ro
...

WarningAdditionalInformation(additionalinformationforwarning)

FHPP (CMMP)2131 ... 16uint32ro
DescriptionAdditionalinformationforservice staff.
Event 12131uint32ro
Timeofthelatest/currentdiagnosticmessage
Event 22132uint32ro
Timeofthesecondsaveddiagnosticmessage
Event ...213...uint32ro
...

Warning Memory Parameter (parameters for warning memory)

FHPP (CMMP)2141, 2, 4uint8rw/ro
DescriptionWarning TypeResolutionNumber of EntriesConfiguration of the warning memory.
2141uint8ro
Incomingandoutgoingwarnings.Fix0x02(2):Recordonlyincomingwarnings
2142uint8ro
Timestampresolution.Fix0x03 (3):1Second
2144uint8ro
Readnumberofvalidentriesinthe warningmemory.Value range: 0 ... 16

4. Parameters

4.4.6 Processdata

PositionValues

FHPP (all)3001 ... 3int32ro
DescriptionCurrentValuesofthepositioncontroller,statedinthepositioningunit(seePNU1004).
Actual Position3001int32ro
Currentactualpositionofthecontroller.
NominalPosition(setpointposition)3002int32ro
Currentsetpointpositionofthecontroller.
Actual Deviation3003int32ro
Current deviation.

Torque Values

FHPP (all)3011 ... 3int32ro
DescriptionActual ForceNominal Force(setpointforce)Actual DeviationCurrent values of the torque controller, stated in mNm.
3011int32ro
Current actual valueofthe controller.
3012int32ro
Current setpoint value of the controller.
3013int32ro
Current deviation.

4. Parameters

LocalDigitalInputs

FHPP(all)3031,2,4uint8ro
DescriptionThecontroller'slocaldigitalinputs.
InputDINO...730B1uint8ro
Digitalinputs:standardDIN(DINO...DIN7)
InputDIN8...1330B2uint8ro
Digitalinputs:standardDIN(DIN8...DIN13)
InputCAMCDINO ...73034uint8ro
Digitalinputs:CAMC-D-8E8A(DINO... DIN7)

PNU303allocation

Subindex 1Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Reserved(=0)DOUT: READY LEDDOUT: CANLEDDOUT 3DOUT 2DOUT 1DOUT 0: controller readyfor operation
Subindex 3Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
DOUT 7DOUT 6DOUT 5DOUT 4DOUT 3DOUT 2DOUT 1DOUT 0

4. Parameters

MaintenanceParameter

FHPP (all)3053uint32ro
Description Information about the controller'sorthedriver'srunning performance.
Operating Hours 3053uint32ro
Hours-runmeterins.

Velocity Values

FHPP (all)3101 ... 3int32ro
DescriptionCurrentvaluesofthespeedregulator.
ActualRevolutions(actualspeed)3101int32ro
Currentactualvalueofthecontroller.
Nominal Revolutions(setpointspeed)3102int32ro
Currentsetpointvalueofthecontroller.
Actual Deviation3103int32ro
Speeddeviation.
FHPP (CMMP)3111,2uint32ro
DescriptionParameters for displaying the status of the signal outputs.
OutputsPart13111uint32ro
BitValueMeaning
0Reserved(0)
1 0x00000002 I^1 tmonitoringofmotorisactive
2 0x00000004Comparisonspeedreached
3 0x00000008PositionXsetpoint=Xtarget
4 0x00000010PositionXactual=Xtarget
5 0x00000020Remainingpositioningdistance
6 0x00000040Homingisactive
7 0x00000080Referencepositionisvalid
8 0x00000100Undervoltageinintermediatecircuit
9 0x00000200Dragerror
10 0x00000400Outputstageisactive
11 0x00000800Lockingbrakebled
12 0x00001000Linearmotoridentified
13 0x00002000Negativesetpointlockisactive
14 0x00004000Positivesetpointlockisactive
15 0x00008000Alternativetargetreached
16 0x00010000Velocity0
17..32Reserved(0)
Outputs Part 23112uint32ro
BitValueMeaning
0 0x00000001Camcontroller1
1 0x00000002Camcontroller2
2 0x00000004Camcontroller3
3 0x00000008Camcontroller4
4...7Reservedforcamcontroller5...8
8 0x00000100Positiontrigger1
9 0x00000200Positiontrigger2
10 0x00000400Positiontrigger3
11 0x00000800Positiontrigger4
12...15Reservedforpositiontriggers5...8
16 0x00010000Rotorpositiontrigger1
17 0x00020000Rotorpositiontrigger2
18 0x00040000Rotorpositiontrigger3
19 0x00080000Rotorpositiontrigger4
20...23Reservedforrotorpositiontriggers5...8
24 0x01000000Generalactionbits1
25 0x02000000Generalactionbits2
26 0x04000000Generalactionbits3
27 0x08000000Generalactionbits4
28...31Reservedforgeneralactionbits5...8

4. Parameters

4.4.7 On-the-flymeasurement

Festo P.BE-CMM-FHPP-SW - On-the-flymeasurement - 1

Forinformationabouton-the-flymeasurement, seesection2.9.

PositionValueStorage
FHPP(all)3501,2int32ro
DescriptionSampledpositions.
SampleValue RisingEdge3501int32ro
Lastsampledpositionwitharisingedge,statedinpositioningunit(see PNU1004).
SampleValue FallingEdge3502int32ro
Last sampled position with a falling edge, stated in positioning unit (see PNU1004).

4. Parameters

4.4.8Recordlist

PNU400401record status (recordno.)402404RCB1uint84054064RCB2uint84074084Setpoint valueint32412413...Preselection valueint32Velocityuint32Accelerationuint32Decelerationuint32Velocitylimituint32Jerk-free filtertimeint32...
1............
2............
... 1)...............
1) Numberofpositioningrecords:ForCMMP...:1...250ForCMMS/CMMD...:1...63

Tab.4/4:StructureofFHPPrecordlist

WithFHPP,recordselectionforreadingandwritingismade viathesubindexofthePNUs401....Theactiverecord for positioning orteaching isselectedwithPNU400.

Controller/drivePNU
401402404405406407408412413414416418 ... 421
CMMP-ASxxxxxxxxx-xx
CMMS-AS/CMMD-ASxxxxxxx-xxx-
CMMS-STxxxxxxx-xxx-

Tab.4/5: Supportedelementsintherecordlist

Festo P.BE-CMM-FHPP-SW - 4.4.8Recordlist - 1

WiththeCMMS/CMMDcontrollers,the"dynamic"parametersofarecordaredefinedasagroupviatherecordprofile(PNU414).

When these parameters (PNU405,406,407,408,413) are written in a record, the profile parameters assigned to the record are overwritten. This cause the modified parameters to become effective for all records assigned to that profile; see Fig. 4/2.

Memorystructureofpositioningrecordlistand recordprofilesforCMMS/CMMD

Recordlist
Festo P.BE-CMM-FHPP-SW - Memorystructureofpositioningrecordlistand recordprofilesforCMMS/CMMD - 1
Fig.4/2: Positioning recordlist and record profiles

RecordStatus

FHPP (all)4001 ... 3uint8rw/ro
DescriptionRecordstatus.
DemandRecordNumber4001uint8rw
Nominalrecordnumber.ThevaluecanbechangedusingFHPP.InRecordselectionmode,thenominalrecordnumberisalwayscopiedfromthemaster'soutputdatawitharisingedgeatSTART.Value range:CMMP:0x00...0xFA(0...250)CMMS/CMMD:0x00...0x3F(0...63)
ActualRecordNumber4002uint8ro
Currentrecordnumber.
RecordStatusByte4003uint8ro
The record status byte (RSB) contains a feedback code that is transmitted in the input data. When a positioning task starts, the RSB is reset.See Tab. 4/6 for the allocation of the record control byte.Note: this byte is not the same as SDIR, there is only a feedback signal for dynamic states and not absolute/relative, for example. This makes it possible to provide feedback about record chaining, for example.

RSBallocation

BitMeaning
Bit0RC1= 0: A step enabling condition was not configured/achieved.= 1: The first step enabling condition was achieved.
Bit1RCCValid as soon as MC applies.= 0: Record chaining cancelled. At least one step enabling condition was not achieved.= 1: Record chain was processed to the end of the chain.
Bits 2 ... 7Reserved.

Tab. 4/6: Allocation of PNU 400/3 (RSB)

RecordControlByte1

FHPP (CMMP)4011 ... 250uint8rw
FHPP (CMMS/CMMD)4011 ... 63uint8rw
DescriptionTherecoRecord 1dcontrolbyte1(RCB1)controlsthemostimportantsettingsforthepositioningtaskinRecordselectionmode.Therecordcontrolbyteisbit-orientated.Forallocation,seeTab.4/7
4011uint8rw
Recordcontrolbyte1 forpositioningrecord1.
Record 24012uint8rw
Recordcontrolbyte1 forpositioningrecord2.
Record ...401...uint8rw
Recordcontrolbyte1 forpositioningrecord...

BitDescription

B0ABSAbsolute/Relative=0: Setpointvalueisabsolute=1: Setpoint value is relative to last setpoint valueFHPP does not provide access to other modes, e.g. relative to actual value, analogue input,etc.
B1, B2COM1/2Bit 2 1 Controlmodefeedback0 0 ProfilePositionmode0 1 Profile Torque mode (torque, current)1 0 Profile Velocitymode(speed)1 1 ReservedOnlyProfilePositionmodecanbeusedforthecammingfunction.
B3, B4FNUM1/2Withoutcammingfunction(CDIR.B7,FUNC=0):nofunction,=0!Ifthecammingfunctionisused(onlywithCMMP,CDIR.B7,FUNC=1):No. Bit2 1 Functionnumber*)0 0 0 Reserved1 0 1 Synchronisation with an external input2 1 0 Synchronisation with an external input with camming function3 1 1 Synchronisation with a virtual master with camming function
B5, B6FGRP1/2Withoutcammingfunction(CDIR.B7,FUNC=0):nofunction,=0!Ifthecammingfunctionisused(onlywithCMMP,CDIR.B7,FUNC=1):No. Bit 2 1 Function group0 0 0 Synchronisation with/without cam diskAllotherevalues(No.1...3)arereserved.
B7FUNC=0: Normal task=1:Executecammingfunction,asperbits3...6(onlywithCMMP)

Tab. 4/7: RCB1allocation

RecordControlByte2

FHPP (CMMP)4021 ... 250uint8rw
FHPP (CMMS/CMMD)4021 ... 63uint8rw
DescriptionRecordcontrolbyte2(RCB2)controlsconditionalrecordchaining.
Ifaconditionwasdefined,itispossibletoprohibitautomaticcontinuationto thefollowingrecordbysettingtheB7bit.Thisfunctionisintendedfordebug-gingandnotfornormalcontrolpurposes.
BitMeaning____
Bit0...6Numericalvalue0...128:stepenablingconditionasalist, seesection2.6.3Tab.2/13.
Bit7 =0:recordchaining(bits0...6)isnotdisabled=1:recordchainingisdisabled
Record 14021uint8rw
Recordcontrolbyte2forpositioningrecord1.
Record 24022uint8rw
Recordcontrolbyte2forpositioningrecord2.
Record ...402...uint8rw
Recordcontrolbyte2forpositioningrecord...

Record Setpoint Value

FHPP (CMMP)4041 ... 250int32rw
FHPP (CMMS/CMMD)4041 ... 63int32rw
DescriptionRecord 1Target position of the positioning record table. Setpoint position as per PNU401/RCB1,absoluteorrelative,statedinpositioningunit(seePNU1004).
4041int32rw
Setpointpositionforpositioningrecord1.
Record 24042int32rw
Setpointpositionforpositioningrecord2.
Record ...404...int32rw
Setpointpositionforpositioningrecord ....
ControlStep sizeDefaultMinimumMaximum
Position 1)1/100mm0(=0.0mm)-1,000,000 (= -10.0m)1,000,000 (=10.0m)
1/1000inch0 (= 0.0 inch)-400,000 (= -400inch)400,000 (=400inch)
1/100°0 (= 0.0°)-36,000 (= -360.0°)36,000 (=360.0°)
1) Examplesofpositioningunit,seePNU1004

Tab.4/8:Setpointvaluesforpositioning unitsinPNU404

RecordPreselectionValue

FHPP (CMMP)4051 ... 250int32rw
DescriptionRecord 1Following position (record number of the following position with NEXT1).
4051int32rw
Followingpositionforrecord1.
Record 24052int32rw
Followingpositionforrecord2.
Record ...405...int32rw
Followingpositionforrecord...

RecordPreselectionValue

FHPP (CMMS/CMMD)4051 ... 63int32rw
DescriptionPreselectionRecord 1tionvalueforconditionalrecordchainingoftherecordprofileinms,asperstepenablingconditionfromPNU402(RCB2);seesection2.6.3Tab.2/13.Valuerange:0ms...100,000ms=100sWhenwritten,thevaluebecomeseffectivefortherecordprofile;seeFig.4/2.
4051int32rw
Preselectionvalueforrecord1.
Record 24052int32rw
Preselectionvalueforrecord2.
Record ...405...int32rw
Preselectionvalueforrecord...

RecordVelocity

FHPP (CMMP)4061 ... 250uint32rw
DescriptionVelocityRecord 1setpointvalueinunitofvelocity(seePNU1006).
4061uint32rw
Velocitysetpointvalueforpositioningrecord1
Record 24062uint32rw
Velocitysetpointvalueforpositioningrecord2
Record ...406...uint32rw
Velocitysetpointvalueforpositioningrecord...

RecordVelocity

FHPP (CMMS/CMMD)4061 ... 63uint32rw
DescriptionVelocity setpoint value of the record profile as per PNU 414, stated in the unit ofvelocity(seePNU1006).Whenwritten,thevaluebecomeseffectivefortherecordprofile;seeFig.4/2.
Record14061uint32rw
Velocitysetpointvalueoftherecordprofileofpositioningrecord1.
Record24062uint32rw
Velocitysetpointvalueoftherecordprofileofpositioningrecord2.
Record ...406...uint32rw
Velocitysetpointvalueoftherecordprofileofpositioningrecord...

RecordAcceleration

FHPP (CMMP)4071 ... 250uint32rw
DescriptionAccelerationRecord14tionsetpointvalueforstart-up,statedinunitofacceleration(seePNU1007).
071uint32rw
Accelerationsetpointvalueforpositioningrecord1.
Record24072uint32rw
Accelerationsetpointvalueforpositioningrecord2.
Record ...407...uint32rw
Accelerationsetpointvalueforpositioningrecord...

RecordAcceleration

FHPP (CMMS/CMMD)4071 ... 63uint32rw
DescriptionAcceleration setpoint value for the record profile as per PNU 414 for start-up, statedintheunitofacceleration(seePNU1007).Whenwritten,thevaluebecomeseffectivefortherecordprofile;seeFig.4/2.
Record14071uint32rw
Accelerationsetpointvalueoftherecordprofileofpositioningrecord1.
Record24072uint32rw
Accelerationsetpointvalueoftherecordprofileofpositioningrecord2.
Record ...407...uint32rw
Accelerationsetpointvalueoftherecordprofileofpositioningrecord...

RecordDeceleration

FHPP (CMMP)4081 ... 250uint32rw
DescriptionDecelerationsetpointvalueforbraking,statedinunitofacceleration(seePNU1007).
Record14081uint32rw
Decelerationsetpointvalueforpositioningrecord1
Record24082uint32rw
Decelerationsetpointvalueforpositioningrecord2
Record ...408...uint32rw
Decelerationsetpointvalueforpositioningrecord...

RecordDeceleration

FHPP (CMMS/CMMD)4081 ... 63uint32rw
DescriptionDeceleration setpoint value for the record profile as per PNU 414 for braking, statedintheunitofacceleration(seePNU1007).Whenwritten,thevaluebecomeseffectivefortherecordprofile;seeFig.4/2.
Record14081uint32rw
Decelerationsetpointvalueoftherecordprofileofpositioningrecord1.
Record24082uint32rw
Decelerationsetpointvalueoftherecordprofileofpositioningrecord2.
Record ...408...uint32rw
Decelerationsetpointvalueoftherecordprofileofpositioningrecord...

RecordVelocityLimit

FHPP (CMMP)4121 ... 250uint32rw
DescriptionRecord14Velocity limit for Profile Torque mode, stated in the unit of velocity (see PNU1006).
121uint32rw
Velocitylimitforpositioningrecord1.
Record24122uint32rw
Velocitylimitforpositioningrecord2.
Record ...412...uint32rw
Velocitylimitforpositioningrecord...

4. Parameters

RecordJerkfreeFilterTime

FHPP (CMMP)4131 ... 250uint32rw
DescriptionJerk-freefiltertimeinms.
Record14Specifiesthefiltertimeconstantfortheoutputfilterthatisusedtosmooththelinearmovementprofiles.Completelyjerk-freemovementisachievedifthefiltertimeisthesameastheaccelerationtime.
131uint32rw
Jerk-freefiltertimeforpositioningrecord1.
Record24132uint32rw
Jerk-freefiltertimeforpositioningrecord2.
Record ...413...uint32rw
Jerk-freefiltertimeforpositioningrecord...

RecordJerkfreeFilterTime

FHPP (CMMS/CMMD)4131 ... 63uint32rw
DescriptionJerk-freeRecord14filtertimeoftherecordprofileasperPNU414,statedinms.Specifiesthefiltertimeconstantfortheoutputfilterthatisusedtosmooththelinearmovementprofiles.Completelyjerk-freemovementisachievedifthefiltertimeisthesameastheaccelerationtime.Whenwritten,thevaluebecomeseffectivefortherecordprofile;seeFig.4/2.
131uint32rw
Jerk-freefiltertimeoftherecordprofileofpositioningrecord1.
Record24132uint32rw
Jerk-freefiltertimeoftherecordprofileofpositioningrecord2.
Record ...413...uint32rw
Jerk-freefiltertimeoftherecordprofileofpositioningrecord...

RecordProfile

FHPP (CMMS/CMMD)4141 ... 63uint8rw
DescriptionSpecifies affiliation to a record profile. The positioning records are assigned to theprofiles(0...7).Thefollowingparametersaredefinedinaprofile:-Preselectionvalue(PNU405)-Positioningvelocity(PNU406)-Acceleration(PNU407)-Deceleration(PNU408)-Jerk-freefiltertime(PNU413)-Maximumpositioningtime 1)- Start duringanongoingpositioningtask 1)Thesettingsintherecordprofileareuniformlyeffectiveforallassignedrecords;seeFig.4/2.Valuerange:0...7(equatestotheassignedrecordprofile)
Record 14141uint8rw
Recordprofileforpositioningrecord1.
Record 24142uint8rw
Recordprofileforpositioningrecord2.
Record ...414...uint8rw
Recordprofileforpositioningrecord...
1) CannotbeparametrisedwithFHPP,accessviaFCTonly

Record Following Position (for record chaining)

FHPP (CMMP)4161 ... 250uint8rw
FHPP (CMMS/CMMD)4161 ... 63uint8rw
DescriptionRecordnumbertowhichrecordchainingjumpswhenthestepenablingcondi-tionismet. Valuerange:0x01...0x7F(1...250)
Record 14161uint32rw
Followingpositionforpositioningrecord1.
Record 24162uint32rw
Followingpositionforpositioningrecord2.
Record ...416...uint32rw
Followingpositionforpositioningrecord...

RecordTorqueLimitation

FHPP (CMMP)4181 ... 250uint32rw
DescriptionTorque/Record14currentcurrentlimitationinProfilePositionmodeinmNm.
181uint32rw
Torquelimitation forpositioningrecord1.
Record24182uint32rw
Torque limitationforpositioningrecord2.
Record ...418...uint32rw
Torque limitationforpositioningrecord...

RecordCAMID(camdisknumberforrecord)

FHPP (CMMP)4191 ... 250uint8rw
DescriptionThis parameter is used to select the cam disk for the relevant record. Value range: 0 ... 16 (with value 0 the cam disk from PNU 700 is used)
Record14191uint8rw
Cam disk number for positioning record 1.
Record24192uint8rw
Cam disk number for positioning record 2.
Record ...419...uint8rw
Cam disk number for positioning record ...

RecordRemainingDistanceMessage

FHPP (CMMP)4201 ... 250int32rw
DescriptionRecord 1Message reporting the remaining positioning distance in the record list, stated inpositioningunits (seePNU 1004).
4201int32rw
Remaining distance message for positioning record 1.
Record 24202int32rw
Remaining distance message for positioning record 2.
Record ...420...int32rw
Remaining distance message for positioning record ...

4. Parameters

RecordControlByte3

FHPP (CMMP)4211 ... 250uint8rw
DescriptionRecordRecord 1controlbyte3(RCB3)controlsthespecificbehaviouroftherecordwhenparticulareventsoccur.Therecordcontrolbyteisbit-orientated.Forallocation,seeTab.4/9
4211uint8rw
Recordcontrolbyte3 forpositioningrecord1.
Record 24212uint8rw
Recordcontrolbyte3 forpositioningrecord2.
Record ...421...uint8rw
Recordcontrolbyte3 forpositioningrecord...

BitDescription

B0, B1Start command during active positioning:Bit1 0 Description
0 0 Ignore0 1 Interruptactive1 0 Appendtoactivepositioning(wait)1 1 Reserved
B2 ... B9Reserved (= 0 !)

Tab. 4/9: RCB3allocation

4.Parameters

4.4.9 Projectdata-Generalprojectdata

ProjectZeroPoint(projectzeropointoffset)

FHPP (all)5001int32rw
DescriptionOffset from axis zero point to project zero point in positioning unit. (seePNU1004). Pointofreferenceforpositionvaluesintheapplication(seePNU404).

SoftwareEndPositions

FHPP(all)5011,2int32rw
DescriptionSoftware end positions in positioning unit (see PNU 1004)Asetpointspecification(position)outsidetheendpositionsisnotpermittedandwillleadtoafault.Theoffsettotheaxiszeropointisentered.Plausibilityrule:min.limit≤max.limit
Lower Limit5011int32rw
Lowersoftwareendposition
Upper Limit5012int32rw
Uppersoftwareendposition

Max.Speed

FHPP (all)5021uint32rw
DescriptionMax. permissible speed in unit of velocity (see PNU 1006).Thisvaluelimitsthespeedinalloperatingmodesexcepttorquemode.

Max.Acceleration

FHPP (all)5031uint32rw
DescriptionMax. permissible acceleration in unit of acceleration (see PNU 1007).

Max.JerkfreeFilterTime

FHPP (all)5051uint32rw
DescriptionMax.permissiblejerk-freefiltertimeinms.
Value range: CMMP: 0x00000000 ... 0xFFFFFFFF (0 ... 4294967295)CMMS/CMMD:0x00000000...0x00000033(0...51)

4. Parameters

4.4.10 Projectdata–Teaching

TeachTarget

FHPP (all)5201uint8rw
DescriptionTheparameterdefinedistheonewrittenwiththeactualpositionbythenext Teachcommand(seesection2.5).Values:0x01(1): Setpointpositioninpositioningrecord(default)-WithRecordselection:positioningrecordasperFHPP controlbytes-WithDirectmode:positioningrecordasperPNU400/10x02(2): axiszeropoint(PNU1010)0x03(3): projectzeropoint(PNU500)0x04(4): lowersoftwareendposition(PNU501/01)0x05 (5): upper software end position (PNU 501/02)

4. Parameters

4.4.11 Projectdata-Jogmode

JogModeVelocitySlow-Phase1

FHPP (all)5301int32rw
DescriptionMaximummvelocityforphase1inunitofvelocity(seePNU1006).

JogModeVelocityFast-Phase2

FHPP (all)5311int32rw
DescriptionMaximummvelocityforphase2inunitofvelocity(seePNU1006).

JogModeAcceleration

FHPP (all)5321uint32rw
DescriptionAcceleration during jogging in unit of acceleration (see PNU 1007).

JogModeDeceleration

FHPP (all)5331uint32rw
DescriptionDecelerationduringjogginginunitofacceleration(seePNU1007).

JogModeTimePhase1

FHPP (all)5341uint32rw
DescriptionTimedurationofphase1(T1)in ms.

4. Parameters

4.4.12 Projectdata-Directmode, ProfilePositionmode

DirectModePositionBaseVelocity

FHPP (all)5401int32rw
DescriptionBasevelocityduringdirectProfilePositionmodeinunitofvelocity(seePNU1006).

DirectModePositionAcceleration

FHPP (all)5411uint32rw
DescriptionAccelerationduringdirectProfilePositionmodeinunitofacceleration(seePNU1007).

DirectModePositionDeceleration

FHPP (all)5421uint32rw
DescriptionDecelerationduringdirectProfilePositionmodeinunitofacceleration(seePNU1007).

DirectModePositionJerkfreeFilterTime

FHPP (all)5461uint32rw
DescriptionJerk-freefiltertimeduringdirectProfilePositionmodeinms.
Value range: CMMP: 0x00000000 ... 0xFFFFFFF (0 ... 4294967295)CMMS/CMMD:0x00000000...0x00000033(0...51)

4. Parameters

4.4.13 Projectdata-Directmode, ProfileTorquemode

DirectModeTorqueBaseTorqueRamp
FHPP (CMMP)5501uint32rw
DescriptionBasevalueefortorquerampindirectProfileTorquemodeinmNm/s.
DirectModeTorqueTargetTorqueWindow
FHPP (CMMP)5521uint16rw
DescriptionTorqueinmNm,beingtheamountbywhichtheactualtorqueispermittedto differfromthesetpointtorqueinordertobeinterpretedasstillbeinginthe targetwindow. Thewidthofthewindowistwicethevaluetransmitted,with thetargettorqueinthecentreofthewindow.
DirectModeTorqueTimeWindow
FHPP (CMMP)5531uint16rw
DescriptionDampingtimeforthetorquetargetwindowduringdirectProfileTorquemodeinms.
DirectModeTorqueSpeedLimit
FHPP (CMMP)5541uint32rw
DescriptionWhen Profile Torque mode is active, the velocity is limited to this value, stated inunitofvelocity(PNU1007).Note:PNU514allowsanabsolutespeedlimitobespecified,whichtriggersafaultifitisreached.Ifbothfunctions(limitationandmonitoring)aretobactiveatthesametime,PNU554mustbesignificantlylessthanPNU514.

4.4.14 Projectdata-Directmode, ProfileVelocitymode

DirectModeVelocityBaseVelocityRamp

FHPP (all)5601uint32rw
DescriptionBase acceleration value (velocity ramp) during direct Profile Velocity mode in unitofacceleration(seePNU1007).

DirectModeVelocityTargetWindow

FHPP (CMMP)5611uint16rw
DescriptionVelocity target window during direct Profile Velocity mode in unit of velocity (seePNU1006).

Direct Mode Velocity Window Time (damping time for velocity target window in direct mode)

FHPP (CMMP)5621uint16rw
DescriptionDampingtimeforvelocitytargetwindowduringdirectProfileVelocitymodeinms.

DirectModeVelocityThreshold(standstilltargetwindowindirectmode)

FHPP (CMMP)5631uint16rw
DescriptionStandstill target window during direct Profile Velocity mode in unit of velocity (seePNU1006).

Direct Mode Velocity Threshold Time (damping time for standstill in direct mode)

FHPP (CMMP)5641uint16rw
DescriptionDamping time for standstill target window during direct Profile Velocity mode in ms.

Direct ModeVelocityTorqueLimit

FHPP (CMMP)5651uint32rw
DescriptionTorque limitation during direct Profile Velocity mode in unit of torque (mNm).

4. Parameters

4.4.15 Functiondata-Cammingfunction

Selectingcamdisk

CAMID(camdisknumber)
FHPP7001uint8rw
DescriptionThisparameterisusedtoselectthenumberofthecamdiskinDirectmode.Valuerange1...16
MasterStartPositionDirectMode(masterstartpositionindirectmode)
FHPP7011int32rw
DescriptionDefinesthestartpositionofthemasterforthecammingfunction.

Synchronisation(input,X10)

InputConfigSync.(inputconfigurationforsynchronisation)
FHPP7101uint32rw
DescriptionConfiguration of the encoder input for synchronisation (physical master on X10, slaveoperation).
BitNameDescription
0IgnoreindexpulseBit0=1:withoutindexpulse
Bit0=0:withindexpulse
1-Reserved = 0
2Switch off A/B trackBit 2 = 1: without A/B track
Bit2=0:withA/Btrack
3...31-...Reserved=0

4. Parameters

GearSync.(synchronisationgearatio)
FHPP7111,2uint32rw
DescriptionGearratiofor synchronisationwithanexternalinput(physicalmasteronX10, slaveoperation).
MotorRevolutions7111uint32rw
Motorrevolutions(driveinput).
Shaftrevolutions7112uint32rw
Shaftrotations(output).

Encoderemulation(output,X11)

OutputConfigEncoderEmulation(outputconfigurationforencoderemulation)
FHPP7201uint32rw
DescriptionConfigurationoftheencoderforencoderemulation(virtualmaster).
BitNameDescription
0Switch off A/B trackBit 0 = 1: without A/B trackBit0=0:withA/Btrack
1Suppress index pulseBit 1 = 1: without index pulseBit1=0:withindexpulse
2Reversal of direction of rotationBit 2 = 1: with reversal of directionofrotationBit2=0:withoutreversalofdirectionofrotation
3...31-...Reserved=0

4.4.16 Functiondata-Positiontriggersandrotorpositiontriggers

PositionTriggerControl

FHPP7301uint32rw
DescriptionBit-by-bitactivationofthecorrespondingtriggers.Bitisset=triggeriscomputed,i.e.thepositioncomparisoniscarriedout.Triggerswhicharenotcomputedsavecomputingtime.Bit(hexvalue)Description
Reserved

PositionTriggerLow

FHPP7311 ... 4int32rw
DescriptionPosition values for the low position trigger, stated in the positioning unit (see PNU1004).
Position Trigger 17311int32rw
Positionvaluesofthefirstlowpositiontrigger.
Position Trigger 27312int32rw
Positionvaluesofthesecondlowpositiontrigger.
Position Trigger 37313int32rw
Positionvaluesofthethirdlowpositiontrigger.
Position Trigger 47314int32rw
Positionvaluesofthefourthlowpositiontrigger.

PositionTriggerHigh

FHPP7321...4int32rw
DescriptionPosition values for the high position trigger, stated in the positioning unit (see PNU1004).
Position Trigger 17321int32rw
Position values of the first high position trigger.
Position Trigger 27322int32rw
Position values of the second high position trigger.
Position Trigger 37323int32rw
Position values of the third high position trigger.
Position Trigger 47324int32rw
Position values of the fourth high position trigger.

RotorPosition TriggerLow

FHPP7331...4int32rw
DescriptionRotorPosition Trigger1Angle for the low rotor position trigger, stated in°.Value range: -180 ...180
7331int32rw
Angle of the first low rotor position trigger.
RotorPosition Trigger27332int32rw
Angle of the second low rotor position trigger.
RotorPosition Trigger37333int32rw
Angle of the third low rotor position trigger.
RotorPosition Trigger47334int32rw
Angle of the fourth low rotor position trigger.

4.Parameters

RotorPositionTriggerHigh
FHPP7341...4int32rw
DescriptionAngleforthehighrotorpositiontrigger, statedin°.Valuerange:-180...180
RotorPosition Trigger17341int32rw
Angleofthefirsthighrotorpositiontrigger.
RotorPosition Trigger27342int32rw
Angleofthesecondhighrotorpositiontrigger.
RotorPosition Trigger37343int32rw
Angleofthethirdhighrotorpositiontrigger.
RotorPosition Trigger47344int32rw
Angleofthefourthhighrotorpositiontrigger.

4. Parameters

4.4.17 Axis parameters forelectric drives 1-Mechanical parameters

Polarity(reversalofdirection)

FHPP (all)10001uint8rw
DescriptionDirectionofthepositionvalues.Values:Positionvalue(vector)0x00(0): normal(default)0x80(128):inverted(multipliedby-1)

EncoderResolution

FHPP (all)10011, 2uint32rw
DescriptionEncoderresolutioninencoderincrements/motorrevolutions.Specifiedinternalconversionfactor.Thecalculatedvalueisderivedfromthefraction“encoderincrements/motorrevolution”.
Encoder Increments10011uint32rw
Fixed:0x00010000(65536)
Motor Revolutions10012uint32rw
Fixed:0x00000001(1)

GearRatio

FHPP (all)10021, 2uint32rw
DescriptionRatioofMotor Revolutionsmotorrevolutionstogearingshaftrevolutions(driveoutput revolutions),seeappendixA.1.Gearratio=motorrevolutions/shaftrevolutions
10021uint32rw
Gearatio-numerator.Valuerange:0x00000000...0x7FFFFFFF(0...+(2 31-1))
Shaft Revolutions10022uint32rw
Gearatio-denominator.Valuerange:0x00000000...0x7FFFFFFF(0...+(2 31-1))

FeedConstant

FHPP (all)10031, 2uint32rw
DescriptionThefeedFeedShaft Revolutionsconstantspecifiesthepitchofthedrive’sshaftperrevolution,seeappendixA.1.Feedconstant=feed/shaftrevolution
10031uint32rw
Feedconstant-numerator.Valuerange:0x00000000...0x7FFFFFFF(0...+(2 31-1))
10032uint32rw
Feedconstant-denominator.Valuerange:0x00000000...0x7FFFFFFF(0...+(2 31-1))

PositionFactor

FHPP(all)10041,2uintt32rw
DescriptionConversion factor for all positioning units (for converting the user-defined units intointernalcontrollerunits).SeeappendixA.1forthecalculation.
PositionFactor = EncoderResolution*GearRatioFeed Constant
Numerator10041uint32rw
DenominatorPositionfactor-numerator.
10042uint32rw
Positionfactor-denominator.

Axis Parameter (axis parameters)

FHPP (all)10052, 3int32rw
DescriptionSpecifyandreadoutaxisparameters.
Gear Numerator10052int32rw
Gear DenominatorGear ratio-axis gear numeratorValuerange:0x00000000...0x7FFFFFFF(0...+(2 31-1))
10053int32rw
Gear ratio-axis geardenominatorValuerange:0x00000000...0x7FFFFFFF(0...+(2 31-1))

4. Parameters

VelocityFactor

FHPP(all)10061,2uint32rw
DescriptionConversion factor for all units of velocity (for converting the user-defined units intointernalcontrollerunits).SeeappendixA.1forthecalculation.VelocityFactor= *TimeFactor_vFeedConstant
Numerator10061uint32rw
DenominatorVelocityfactor-numerator.
10062uint32rw
Velocityfactor-denominator.

AccelerationFactor

FHPP(all)10071,2uint32rw
DescriptionConversion factor for all units of acceleration (for converting the user-defined unitsintointernalcontrollerunits).SeeappendixA.1forthecalculation.AccelerationFactor=EncoderResolution*TimeFactor_aFeedConstant
Numerator10071uint32
Accelerationfactor-numerator.
Denominator10072uint32
Accelerationfactor-denominator.

Polarity Slave (reversal of direction for slave)

FHPP (all)10081uint8rw
DescriptionThis parameter can be used to reverse the position specification for signals on X10(slaveoperation)Thisappliestothefunctions“Synchronisation”(includingelectronicgear units),“Flyingsaw”,“Camdisks”.ValueDescription
0x00Positionvaluevectornormal(default)
0x80Positionvaluevectorinverted

4.4.18Axisparametersforelectricdrives1-Homingparameters

OffsetAxisZeroPoint

FHPP (all)10101int32rw
DescriptionAxis zero point offset in positioning unit (see PNU 1004).Theoffsetfortheaxiszeropoint(homeoffset)definestheaxiszeropoint<AZ>asadimensionalreferencepointrelativetothephysicalreferencepoint<REF>.Theaxiszeropointisthepointofreferencefortheprojectzeropoint<PZ>and forthesoftwareendpositions.Allpositioningoperationsrefertotheprojectzeropoint(PNU500).Theaxiszeropoint(AZ)iscalculatedfrom:AZ=REF+axiszeropointoffset

HomingMethod

FHPP (all)10111int8rw
DescriptionDefines the method which the drive uses to carry out the homing. (seesection2.3,Tab.2/4).

HomingVelocities

FHPP (all)10121, 2uint32rw
DescriptionSearch for SwitchRunning for ZeroSpeeds during homing in unit of velocity (see PNU 1006).
10121uint32rw
SpeedwhensearchingforthereferencepointREForastoporswitch. Valuerange:0x00000000...0x7FFFFFFF(0...+(2 31-1))
10122uint32rw
SpeedoftraveltotheaxiszeropointAZ. Valuerange:0x00000000...0x7FFFFFFF(0...+(2 31-1))

HomingAcceleration

FHPP (all)10131uint32rw
DescriptionAccelerationtionduringhominginunitofacceleration(seePNU1007).Valuerange:0x00000000...0x7FFFFFFF(0...+(2 31-1))

4. Parameters

HomingRequired

FHPP (all)10141uint8rw
DescriptionDefineswhetherornothomingmustbecarriedoutafterswitchingoninordertocarryoutpositioningtasks.Driveswiththemulti-turnabsolutedisplacementencoderonlyneedonehom-ingrunafterbeinginstalled.Values:0x00(0):Reserved0x01(1):HomingmustbecarriedoutFixed:0x01(1)

HomingMax.Torque

FHPP (CMMP)10151uint8rw
DescriptionMax.torqueduringhoming.Specifiedasamultipleoftheratedtorquein%(seePNU1036).Themaximumpermittedtorque(viacurrentlimiting)duringhoming.Ifthis valueisreached,thedriveidentifiesthestop(REF)andtravelstotheaxis zeropoint.

4. Parameters

4.4.19Axisparametersforelectricdrives1-Closed-loopcontroller parameters

HaltOptionCode
FHPP (all)10201uint16rw
DescriptionReactiontoaHaltcommand(fallingedgeatSPOS.B0).Values:0x00(0):Reserved(switchoff motor– coilwithoutcurrent,brake notactuated)0x01 (1): Brakewithstopramp0x02 (2): Reserved (brake with emergency stop ramp)
PositionWindow
FHPP (all)10221uint32rw
DescriptionTolerance window in positioning unit (see PNU 1004).Amount by which the current position may deviate from the target position,in order that it may still be regarded as being within the target window.The width of the window is twice the value transmitted, with the target positionin the centre of the window.
PositionWindowTime(adjustmenttimeforposition)
FHPP (all)10231uint16rw
DescriptionAdjustment time in milliseconds.If the actual position has been in the target position window this amount of time, the bit “Target reached” will be set in the status word.

ControlParameterSet(controller'sparameters)

FHPP (all)102418 ... 22, 32uint16rw
DescriptionControlparametersaswellasparametersfor“quasi-absoluteposition registering”.
GainPosition102418uint16rw
Gainofclosed-looppositioncontroller. Valuerange:0x0000...0xFFFF(0...65535)
GainVelocity12419uint16rw
Gainofclosed-loopvelocitycontroller. Valuerange:0x0000...0xFFFF(0...65535)
TimeVelocity (velocitytime constant)102420uint16rw
Timeconstantfortheclosed-loopvelocitycontroller. Valuerange:0x0000...0xFFFF(0...65535)
Gain Current102421uint16rw
Gainofcurrentregulator. Valuerange:0x0000...0xFFFF(0...65535)
TimeCurrent (currenttime constant)102422uint16rw
Timeconstantforthecurrentregulator. Valuerange:0x0000...0xFFFF(0...65535)
Save Position102432uint16rw
Savethecurrentpositionwhenswitchingoff(“quasi-absolute”positioning). SeealsoPNU1014. Values: 0x00F0 (240) = Current position will not be saved at power-off (default) 0x000F(15)=Reserved

MotorData

FHPP (all)10251, 3uint32/uint16ro/rw
DescriptionMotor-specific Numberspecificdata.
10251uint32ro
Time Max. CurrentFestoserialnumberandmotor'sserialnumber.
10253uint16rw
I^2t time in ms.Whenthel ^2tttimeelapses , thecurrentislimitedautomaticallytothemotorratedcurrentinordertoprotectthemotor(MotorRatedCurrent,PNU1035).

4. Parameters

DriveData
FHPP (CMMP)10261 ... 4,7uint32ro/rw
FHPP (CMMS/CMMD)10261, 3, 4, 7uint32ro/rw
DescriptionGeneralmotordata.
PowerTemp.(outputstage temp.)10261uint32ro
Temperatureoftheoutputstagein°C.
PowerStage Max.Temp.(outputstagemax.temp.)10262uint32ro
CMMPonly:Maximumtemperatureoftheoutputstagein°C.
MotorRated Current10263uint32rw
RatedmotorcurrentinmA,identicaltoPNU1035.
CurrentLimit(max.motor current)10264uint32rw
Maximummotorcurrent,identicaltoPNU1034.
ControllerSerial Number10267uint32ro
Controller'sinternalserialnumber.

4. Parameters

4.4.20Axisparametersforelectricdrives1

–Electronicratingplate

Max.Current

FHPP (all)10341uint16rw
DescriptionServo motors may normally be overloaded for a certain time period. The highestpermissiblemotorcurrenttissetwithPNU1034(identicalto PNU1026).Itreferstothemotorratedcurrent(PNU1035)andissetin thousandths.Thevaluerangeislimitedupwardbythemaximumcontrollercurrent(seetech-nicaldata,dependingonthecontrollercycletimeandthefinalstagefre-quency).PNU1034mayonlybewrittenwhenPNU1035waspreviouslyvalidlywritten.Note:pleasenotethatthecurrentlimitationalsolimitsthemaximumpossible velocityandthat(higher)setpointvelocitiesmaythereforenotbeachieved.

MotorRatedCurrent

FHPP (all)10351uint32rw
DescriptionThemotor'sratedcurrentinmA,identicaltoPNU1026/3.

MotorRatedTorque

FHPP (all)10361uint32rw
DescriptionThemotor'sratedtorquein0.001Nm.

TorqueConstant

FHPP (all)10371uint32rw
DescriptionRatiobetweenthecurrentandtorqueinthemotorusedinmNm/A.

4. Parameters

4.4.21 Axis parameters forelectric drives 1-Standstill control

PositionDemandValue(setpointposition)
FHPP (all)10401int32ro
DescriptionSetpoint target position of the last positioning task, stated in positioning unit (seePNU1004).
PositionActualValue(currentposition)
FHPP (all)10411int32ro
DescriptionCurrentpositionofthedrive,statedinthepositioningunit(seePNU1004).
StandstillPositionWindow
FHPP (all)10421uint32rw
DescriptionStandstillpositionwindowinpositioningunit(seePNU1004).AmountbywhichthedrivemaymoveafterMC,untilstandstillcontrol responds.
StandstillTimeout
FHPP (all)1043-uint16rw
DescriptionStandstilllcontroltimeoutinms.Timeduringwhichthedrivemustbeoutsidethestandstillpositionwindowbeforestandstillcontrolresponds.

4. Parameters

4.4.22Axisparametersforelectricdrives1–Dragerrormonitoring

FollowingErrorWindow(dragerorwindow)

FHPP (CMMP)10441uint32rw
DescriptionDefine or read the permitted range for drag errors, stated in positioning units. 0xFFFFFFFF=dragerrormonitoringOFF

FollowingErrorTime(dragerrortimeout)

FHPP (CMMP)10451uint16rw
DescriptionDefine or read a timeout time for drag error monitoring in ms. Valuerange:1...60000

4.4.23Axisparametersforelectricdrives1-Otherparameters

TorqueFeedForwardControl

FHPP (CMMP)10801int32rw
DescriptionTorquefeedforwardcontrolinmNm(onlyeffectivefordirectmodewith positioncontrol).

SetupVelocity

FHPP (CMMP)10811uint8rw
DescriptionSetup velocity as % of whatever velocity is specified. Valuerange:0...100

VelocityOverride

FHPP (CMMP)10821uint8rw
DescriptionVelocityoverrideas%ofwhatevervelocityisspecified.
Valuerange:0...255

4. Parameters

4.4.24 Function parameters for digital I/Os

RemainingDistanceforRemainingDistanceMessage
FHPP (all)12301uint32rw
DescriptionTheremainingpositioningdistanceisthetriggerconditionfortheremainingdistancemessage,whichcanbeissuedonadigitaloutput.WithCMMP-AS:effectiveinDirectmodeonly.
  1. Parameters

ParametrisationwithFPC

Chapter5

  1. Parametrisation with FPC

Contents

5.1ParametrisationwithFHPP5-3.....

5.1.1 FestoParameterChannel(FPC)forcyclicdata(I/Odata)5-3.....
5.1.2 Taskidentifiers, responseidentifiers and error numbers 5-5.....
5.1.3 Rules for task-response processing 5-7

5.1 Parametrisation with FHPP

5.1.1 FestoParameterChannel(FPC)forcyclicdata(I/Odata)

Theparameterchannelisusedfortransmittingparameters. Theparameterchannelcomprisesthefollowing:

ComponentsDescription
Parameteridentifier (ParID)Parameterchannelcomponentwhichcontainsthetaskidentifier (“request”identifier,ReqID)orresponseidentifier(ResID)andtheparameternumber(PNU).Theparameternumberservesforidentifyingoraddressingtheindividual parameter. Thetaskorresponseidentifier(ReqID/ResID)describesthe task/responseintheformofanidentifiernumber.
Subindex (IND)Addresses an element of an array parameter (sub-parameter number)
Parametervalue(Value)Valueoftheparameter.Ifataskforparameterprocessingcannotbecarriedout,anerrornumber willbetransmittedintheresponsetelegraminsteadofthevalue.The errornumberdescribesthecauseoftheerror.

Tab.5/1: Componentsoftheparameterchannel(FPC)

Theparameterchannelconsistsof8octets. The following tableshowsthestructureoftheparameterchannelinrelation to the size or type of the parameter value:

FPC
Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7Byte 8
Output data0INDParIDValue
Input data0INDParIDValue
INDSubindex-foraddressinganarrayelement
ParIDParameter identifier - consists of ReqID or ResID and PNU
ValueParametervalue:–Withdoubleword:bytes5...8–Withword:bytes7,8– With byte: byte 8

Tab.5/2: Structureofparameterchannel

5. Parametrisation with FPC

Parameteridentifier(ParID)

Theparameteridentifiercontainsthetaskidentifier ("request"identifier,ReqID)orresponseidentifier(ResID) and the parameter number(PNU).

ParID
BitOctet2(byte4)Octet1(byte3)
1514131211109876543210
TaskReqIDRsvdParameter number (PNU)
ResponseResIDRsvdParameter number (PNU)
ReqIDRequest identifier – task identifier (read, write, ...)
ResIDResponse identifier (transmit value, fault, ...)
Value (PNU)Parameter number – serves for identifying or addressing the relevant parameter(seesection5.1).Thetask/responseidentifieridentifies the type of task or response (see section 5.1.2).

Tab.5/3: Structureofparameteridentifier(ParID)

5.1.2 Taskidentifiers, responseidentifiers and error numbers

Thetaskidentifiersareshowninthefollowingtable:

ReqIDDescriptionResponseidentifierPositiveNegative
0Notask0-
6Requestparameter(array)57
8Modify parameter value (array, double word)57
13Request lower limit value57
14Request upper limit value57

Tab.5/4: Taskidentifiersandresponseidentifiers

If the task cannot be carried out, response identifier 7 as well as the appropriate error number will be transmitted (negative response).

The followingtableshowstheresponseidentifiers:

ResIDDescription
0Noresponse
5Parametervaluetransmitted(array,doubleword)
7Task cannot be carried out (with error number)1)
1) Forerrornumbers, seefollowing table

Tab.5/5: Responseidentifiers

If the task for parameter processing cannot be carried out, an appropriate error number will be transmitted in the response telegram (octets7 and 8 of the FPC range). The order of error checking and the possible error numbers are shown in the following table:

No.CheckingofErrornumbersDescription
1PNU defined00x00Impermissible PNU. The parameter doesnotexist.
2If array: IND defined30x03Faulty subindex
3ReqID permissible1010x65Festo: ReqID is not supported
4Accessrights(read,write)10x01Parameter valueecannotbechanged (read only)
1020x66Parameter is write-only (with passwords)
5If change: operating status170x11Task cannot be carried out due to operating status
6If change: higher-order110x0BNo higher-order
7If change: password120x0CIncorrect password
8If change: value permissible20x02Lower or upper value limit exceeded

Tab.5/6: Orderoferrorcheckinganderrornumbers

5.1.3 Rulesfortask-response processing

RulesDescription
1Ifthemastertransmitstheidentifierfor“Notask”,thecontrollerrespondswiththeresponseidentifierfor“Noresponse”.
2Ataskorresponsetelegramalwaysreferstoasingleparameter.
3Themastermustcontinuetosendataskuntilithasreceivedtheappropriateresponsefromthecontroller.
4Themasterrecognisestheresponsetothetaskrequested:-Byevaluatingtheresponseidentifier-Byevaluatingtheparameternumber(PNU)-Ifapplicable,byevaluatingthesubindex(IND)-Ifapplicable,byevaluatingtheparametervalue
5Thecontrollersuppliestheresponseuntilthemastersendsanewtask.
6a)Awritetask,evenwithcyclicrepetitionofthesametask,willonlybecarriedoutoncebythecontroller.b)Betweenwoconsecutivetaskswiththesametaskidentifier(ReqID),parameternumber (PNU) and subindex (IND), the task identifier 0 (no task) must be sent andtheresponseidentifier0(noresponse)mustbeawaited.Thisensuresthatan“old”responseisnotinterpretedasa“new”response.

Tab.5/7:Rulesfortask-responseprocessing

Festo P.BE-CMM-FHPP-SW - Rulesfortask-response processing - 1

Sequenceofparameterprocessing

Caution

Observethefollowingwhenmodifyingparameters: AnFHPPcontrolsignalwhichistorefertoamodified parametermustnotbeissueduntiltheresponseidentifier "Parametervaluetransmitted"isreceivedfortherelevant parameterand(ifapplicable)fortheindex.

If, e.g. apositionvalueinapositionregisteristobemodified andifamovementisthentobemadetothisposition, the positioningcommandmustnotbegivenuntilthecontroller hascompletedandconfirmedthemodificationoftheposition register.

Festo P.BE-CMM-FHPP-SW - Caution - 1

Caution

Inordertobesurethatan“old”responsecannotbeinterpretedasa“new”response,thetaskidentifier0(notask) mustbesentandtheresponseidentifier0(noresponse) mustbeawaitedbetweenwoconsecutivetaskswiththe sametaskidentifier(ReqID),parameternumber(PNU)and subindex(IND).

Evaluatingerrors

In the case of tasks which cannot be carried out, the slave responds as follows:

-Outputofresponseidentifier=7

-Outputanerrornumberinbytes7and8oftheparameter channel(FPC).

ExampleofparametrisationviaFPC

The following tableless show an example of parametrising a positioning task in the positioning record table via FPC (FestoParameterChannel).

Step1Outputstatusofthe8bytesofFPCdata:

Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
ReservedSubindexReqID/ResID + PNUParameter value
Output data0x000x000x000x000x000x000x000x00
Input data0x000x000x000x000x000x000x000x00

Step2Writerecordnumber1withabsolutepositioning:

PNU401, subindex2-Modifyparametervalue, array, byte: ReqID12(0xC)withvalue0x00.

Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
ReservedSubindexReqID/ResID + PNUParameter value
Output data0x000x020xC10x91UnusedUnusedUnused0x00
Input data0x000x020xC10x910x000x000x000x00

Step3

AfterreceivingtheinputdatawithResID0xCsend outputdatawithReqID=0x0andwaitforinputdatawith ResID=0x0:

Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
ReservedSubindexReqID/ResID + PNUParameter value
Output data0x000x020x010x91UnusedUnusedUnused0x00
Input data0x000x020x010x910x000x000x000x00

Step4Writerecordnumber1withtargetposition0x1234(decimal

4660increments):

PNU404,subindex2-Modifyparametervalue,array,double

word:ReqID8(0x8)withvalue0x00001234.

Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
ReservedSubindexReqID/ResID + PNUParameter value
Output data0x000x020x810x940x000x000x120x34
Input data0x000x020x810x940x000x000x120x34

Step 5
After receiving the input data with ResID 0x8 send output data withReqID=0x0 and waitforinputdatawithResID =0x0:

Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
ReservedSubindexReqID/ResID + PNUParameter value
Output data0x000x020x010x940x000x000x120x34
Input data0x000x020x010x940x000x000x120x34

Step6Writerecordnumber1withspeed0x7743(decimal30531

increments/s):

PNU406,subindex2-Modifyparametervalue,array,double

word:ReqID8(0x8)withvalue0x00007743.

Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
ReservedSubindexReqID/ResID + PNUParameter value
Output data0x000x020x810x960x000x000x770x43
Input data0x000x020x810x960x000x000x770x43

Step 7
After receiving the input data with ResID 0x8 send output data withReqID=0x0 and waitforinputdatawithResID =0x0:

Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
ReservedSubindexReqID/ResID + PNUParameter value
Output data0x000x020x010x940x000x000x770x43
Input data0x000x020x010x940x000x000x770x43

Technicalappendix

AppendixA

A. Technical appendix

Contents

A.1 Conversion factors (factor group) A-3.

A.1.1OverviewA-3.....

A.1.2 Objects in the factor group A-5

A.1.3 Calculating the positioning units A-6

A.1.4 Calculating the units of velocity ..... A-9

A.1.5 Calculating the units of acceleration A-13

A.1 Conversion factors (factorgroup)

A.1.1 Overview

Motorcontrollersareusedinawidevarietyofapplications:as directdrives,withdownstreamgearunits,forlineardrivesetc.

Inordertoenablesimpleparametrisationforallapplications, themotorcontrollercanbeparametrisedwiththeparameters inthe“factorgroup”(PNU1001to1007,seesection4.4.17) insuchawaythatvariablessuchastherotationalvelocity canbedirectlyspecifiedorreadintheunitsofmeasurement required.

Themotorcontrollerthenusesthefactorgrouptoconvert theentriesintoitsinternalunitsofmeasurement.Oneconversionfactorisavailableforeachofthephysicalparameters: position,velocityandacceleration.Theseconversionfactors adjusttheuser'sunitsofmeasurementtotheapplicationin question.

Fig.A/1clarifiesthefunctionofthefactorgroup:

Festo P.BE-CMM-FHPP-SW - A.1.1 Overview - 1

flowchart
```mermaid
graph LR
    subgraph Factorgroup
        direction TB
        A["Position"] --> B["PositionFactor"]
        C["Positioningunits"] --> A
        D["Positioningunits"] --> C
        E["Positioningunits"] --> D
        F["Positioningunits"] --> E
        G["Positioningunits"] --> H["Positioningunits"]
        I["Positioningunits"] --> J["Positioningunits"]
        K["Positioningunits"] --> L["Positioningunits"]
        M["Positioningunits"] --> N["Positioningunits"]
        O["Positioningunits"] --> P["Positioningunits"]
        Q["Positioningunits"] --> R["Positioningunits"]
        S["Positioningunits"] --> T["Positioningunits"]
        U["Positioningunits"] --> V["Positioningunits"]
        W["Positioningunits"] --> X["Positioning units"]
        Y["Positioning units"] --> Z["Positioning units"]
        AA["Positioning units"] --> AB["Positioning units"]
        AC["Positioning units"] --> AD["Positioning units"]
        AE["Positioning units"] --> AF["Positioning units"]
        AG["Positioning units"] --> AH["Positioning units"]
        AI["Positioning units"] --> AJ["Positioning units"]
        AK["Positioning units"] --> AL["Positioning units"]
        AM["Positioning units"] --> AN["Positioning units"]
        AO["Positioning units"] --> AP["Positioning units"]
        AQ["Positioning units"] --> AR["Positioning units"]
        AS["Positioning units"] --> AT["Positioning units"]
        AU["Positioning units"] --> AV["Positioning units"]
        AW["Positioning units"] --> AX["Positioning units"]
        AY["Positioning Units"] --> AZ["Positioning Units"]
        BA["Positioning Units"] --> BB["Positioning Units"]
        BC["Positioning Units"] --> BD["Positioning Units"]
        BE["Positioning Units"] --> BF["Positioning Units"]
        BG["Positioning Units"] --> BH["Positioning Units"]
        BI["Positioning Units"] --> BJ["Positioning Units"]
        BK["Positioning Units"] --> BL["Positioning Units"]
        BM["Positioning Units"] --> BN["Positioning Units"]
        BO["Positioning Units"] --> BP["Positioning Units"]
        BP --> BQ["Positioning Units"]
        BR["Positioning Units"] --> BS["Positioning Units"]
        BT["Positioning Units"] --> BU["Positioning Units"]
        BV["Positioning Units"] --> BW["Positioning Units"]
        BX["Positioning Units"] --> BY["Positioning Units"]
        BZ["Positioning Units"] --> CA["Positioning Units"]
        CB["Positioning Units"] --> CD["Positioning Units"]
        DD["Positioning Units"] --> DE["Positioning Units"]
        EF["Positioning Units"] --> EF1["Positioning Units"]
        GF["Positioning Units"] --> GF2["Positioning Units"]
        GH["Positioning Units"] --> GH1["Positioning Units"]
        IG["Positioning Units"] --> IG1["Positioning Units"]
        JH["Positioning Units"] --> JH1["Positioning Units"]
        BKJ["Positioning Units"] --> BKJ1["Positioning Units"]
        BLKJ1 --> BLKJ1p["polarity_flag^1"]
        BLKJ1p --> BLKJ1p2["polarity_flag^1"]
    end

    subgraph Factorgroup
        direction TB
        S1["Symmetry Parameter 1: 1 rev/min."] --> S2["Symmetry Parameter 2: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S3["Symmetry Parameter 3: 1 rev/min."] --> S4["Symmetry Parameter 4: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S5["Symmetry Parameter 5: 1 rev/min."] --> S6["Symmetry Parameter 6: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S7["Symmetry Parameter 7: 1 rev/min."] --> S8["Symmetry Parameter 7: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S9["Symmetry Parameter 9: 1 rev/min."] --> S10["Symmetry Parameter 9: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S11["Symmetry Parameter 11: 1 rev/min."] --> S12["Symmetry Parameter 11: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S13["Symmetry Parameter 13: 1 rev/min."] --> S14["Symmetry Parameter 13: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S15["Symmetry Parameter 15: 1 rev/min."] --> S16["Symmetry Parameter 15: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S17["Symmetry Parameter 17: 1 rev/min."] --> S18["Symmetry Parameter 17: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S19["Symmetry Parameter 19: 1 rev/min."] --> S20["Symmetry Parameter 19: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S22["Symmetry Parameter 22: 1 rev/min."] --> S23["Symmetry Parameter 22: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S24["Symmetry Parameter 24: 1 rev/min."] --> S25["Symmetry Parameter 24: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S26["Symmetry Parameter 26: 1 rev/min."] --> S27["Symmetry Parameter 26: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S28["Symmetry Parameter 28: 1 rev/min."] --> S29["Symmetry Parameter 28: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S30["Symmetry Parameter 30: 1 rev/min."] --> S31["Symmetry Parameter 30: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S32["Symmetry Parameter 32: 1 rev/min."] --> S33["Symmetry Parameter 32: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S34["Symmetry Parameter 34: 1 rev/min."] --> S35["Symmetry Parameter 34: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S36["Symmetry Parameter 36: 1 rev/min."] --> S37["Symmetry Parameter 36: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S38["Symmetry Parameter 38: 1 rev/min."] --> S39["Symmetry Parameter 38: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S40["Symmetry Parameter 40: 1 rev/min."] --> S41["Symmetry Parameter 40: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S42["Symmetry Parameter 42: 1 rev/min."] --> S43["Symmetry Parameter 42: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S44["Symmetry Parameter 44: 1 rev/min."] --> S45["Symmetry Parameter 44: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S46["Symmetry Parameter 46: 1 rev/min."] --> S47["Symmetry Parameter 46: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S48["Symmetry Parameter 48: 1 rev/min."] --> S49["Symmetry Parameter 48: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S50["Symmetry Parameter 50: 1 rev/min."] --> S51["Symmetry Parameter 50: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S52["Symmetry Parameter 52: 1 rev/min."] --> S53["Symmetry Parameter 52: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S54["Symmetry Parameter 54: 1 rev/min."] --> S55["Symmetry Parameter 54: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S56["Symmetry Parameter 56: 1 rev/min."] --> S57["Symmetry Parameter 56: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S58["Symmetry Parameter 58: 1 rev/min."] --> S59["Symmetry Parameter 58: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S60["Symmetry Parameter 60: 1 rev/min."] --> S61["Symmetry Parameter 60: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S62["Symmetry Parameter 62: 1 rev/min."] --> S63["Symmetry Parameter 62: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S64["Symmetry Parameter 64: 1 rev/min."] --> S65["Symmetry Parameter 64: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S66["Symmetry Parameter 66: 1 rev/min."] --> S67["Symmetry Parameter 66: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S68["Symmetry Parameter 68: 1 rev/min."] --> S70["Symmetry Parameter 68: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S72["Symmetry Parameter 72: 1 rev/min."] --> S73["Symmetry Parameter 72: 1 rev/4096min."]
    end

    subgraph Factorgroup
        direction TB
        S74["Symmetry Parameter 74: 1 rev/min."] --> S75["Symmetry Parameter 75: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S76["Symmetry Parameter 76: 1 rev/min."] --> S77["Symmetry Parameter 76: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S78["Symmetry Parameter 78: 1 rev/min."] --> S79["Symmetry Parameter 78: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S80["Symmetry Parameter 80: 1 rev/min."] --> S81["Symmetry Parameter 80: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S82["Symmetry Parameter 82: 1 rev/min."] --> S83["Symmetry Parameter 82: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S84["Symmetry Parameter 84: 1 rev/min."] --> S85["Symmetry Parameter 84: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S86["Symmetry Parameter 86: 1 rev/min."] --> S87["Symmetry Parameter 86: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S88["Symmetry Parameter 88: 1 rev/min."] --> S89["Symmetry Parameter 88: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S90["Symmetry Parameter 90: 1 rev/min."] --> S91["Symmetry Parameter 90: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S92["Symmetry Parameter 92: 1 rev/min."] --> S93["Symmetry Parameter 92: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S94["Symmetry Parameter 94: 1 rev/min."] --> S95["Symmetry Parameter 94: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S96["Symmetry Parameter 96: 1 rev/min."] --> S97["Symmetry Parameter 96: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S98["Symmetry Parameter 98: 1 rev/min."] --> S99["Symmetry Parameter 98: one RPM / (256sec)"]
    end

    subgraph Factorgroup
        direction TB
        S100["Symmetry Parameter 90: -"]

Fig.A/1: Factorgroup

Allparametersarealwayssavedinthemotorcontrollerinits internalunitsofmeasurementandareonlyconverted(using thefactorgroup)whentheparametersarewrittenorread out.

Forthisreason, the factor group should be set first during parametrisation and should not be changed again during parametrisation.

Thefactorgroupissettothefollowingunitsbydefault:

VariableNameUnitExplanation
LengthPositioning unitsIncrements65536 increments per revolution
VelocityUnits of velocity min^-1 Revolutionsperminute
AccelerationUnits of acceleration (min^-1)/s Velocityincreasepersecond

Tab.A/1: Factor group default settings

A.1.2 Objectsinthefactorgroup

Tab.A/2showstheparametersinthefactorgroup.

NamePNUOobjectTypeAccess
Polarity (reversalofdirection)1000Varuint8rw
Position Factor1004Arrayuint32rw
Velocity Factor1006Arrayuint32rw
Acceleration Factor1007Arrayuint32rw

Tab.A/2: Overviewofthefactorgroup

Tab.A/3showstheparametersinvolvedintheconversion.

NamePNUOobjectTypeAccess
Encoder Resolution1001Arrayuint32rw
Gear Ratio1002Arrayuint32rw
Feed Constant1003Arrayuint32rw
Axis Parameter1005Arrayuint32rw

Tab.A/3:Overviewofparametersinvolved

A.1.3 Calculating the positioning units

The position factor (PNU 1004, see section 4.4.17) is used to convert all the length values from the user's positioning units into the internal unit increments (65536 increments are equivalent to onemotor revolution). The position factor consists of numerators and denominators.

Motorwithgearunit revsIN Drive MotorGearunit revsOUT xinpositioningunit (e.g. "degrees") xinpositioningunit (e.g. "mm")

Fig.A/2: Calculating the positioning units

The following parameters are involved in the position factor's calculation formula:

GearRatio Gearatiobetweenrevolutionsattheinputside(revs IN) and revolutionsattheoutputside(revs OUT).

Feed Constant Ratio between movement in positioning units at the drive and revolutions at the gear unit's output (revs OUT). (e. g. 1 rev ≦ 63.15 mm or 1 rev ≦ 360° degrees)

Thepositionfactoriscalculatedusingthefollowingformula:

PositionFactor=

$$ \frac {\text { GearRatio } * \text { Increments } / \text { Revolutions }}{\text { FeedConstant }} $$

Thepositionfactormustbewrittentothemotorcontroller separatedintonumeratorsanddenominators. Thiscanmake itnecessary to bring the fraction uptowhole integers by expanding it accordingly.

Example

First, thedesiredunit(column1) and thedesirednumber of decimal places(dp) havetobespecified, along with the application's gear ratio and its feed constant (if applicable). The feed constant is thendisplayed in the desired positioning units (column2).

In this way, all the values can be entered into the formula and the fraction can be calculated:

Positionfactorcalculationsequence
Positioning units 1)Feed constant 2)Gear ratio 3)Formula 4)Result shortened
degrees, 1 dp 1/10degree (°/10)1r OUT = 3600 o/101/11r *65536 lnc/r = 65536lnc/3600 o/10num:4096/div:225
Examplesofcalculatingthepositionfactor
Positioning units 1)Feed constant 2)Gear ratio 3)Formula 4)Result shortened
increments,0 dpinc. 1r_OUT = 65536 Inc 1/1 1r1r *65536 65536 Inc1 r = 1 Inc1 Inc :1div:1
degrees,1 dp1/10degree(°/10) 1r_OUT = 3600 10 1/1 1r1r *65536 3600 101 r = 65536 Inc3600 10 :4096div:225
revs,2 dp1/100revs( revs/100) 1r_OUT = 100 100 1/1 1r1r *65536 100 1001 r = 65536 Inc100 100 :16384div:25
2/3 2r3r *65536 100 1001 r = 131072 Inc300 100 :32768div:75
mm,1 dp1/10mm(mm/10) 1r_OUT = 631.5 10 4/5 4r5r *65536 631.5 101 r = 2621440 Inc31575 10 :524288div: 6315
1)Desiredunitattheoutput2)Positioningunitsperrevolution(revs OUT).Drive'sfeedconstant(PNU1003)*10 -dp (decimalplacestakenintoconsideration)3)revsIN perrevsOUT4)Insertvaluesintoformula.

Fig.A/3: Positionfactorcalculationsequence

Tab.A/4: Examplesofcalculatingthepositionfactor

A.1.4 Calculating the unit of velocity

Thevelocityfactor(PNU1006, see section4.4.17) is used to convert all the velocity values from the user's unit of velocity into the internal unit:

-WithCMMS/CMMD:revolutionsperminute

- With C M M P - A S : revolutionsper4096

The velocity factor consists of numerators and denominators.

The velocity factor is calculated into two parts: a conversion factor from internal unit of length into the user's positioning units and a conversion factor from internal unit of time into user-defined unit of time (e.g. from second to minutes). The first part is equivalent to calculating the position factor; an additional factor is required to calculate these second part:

Timefactor_vRatiobetweentheinternalunitoftimeandtheuser-defined unitoftime: (e.g.withCMMS1min= 14096 4096min)

GearRatioGearatiobetweenrevolutionsattheinputside(revs IN ) and revolutionsattheoutputside(revs OUT ).

FeedConstant Ratiobetweenmovementinpositioningunitsatthedrive andrevolutionsatthegearunit'soutput(revs OUT). (e. g. 1 rev ≧ 63.15 mm or 1 rev ≧ 360° degrees)

The velocity factor is calculated using the following formula:

VelocityFactor = *TimeFactor_vFeedConstant

Likethepositionfactor,thevelocityfactoralsohastobe writtentothemotorcontrollerseparatedintonumeratorsand denominators.Thiscanmakeitnecessarytobringthefractionuptowholeintegersbyexpandingitaccordingly.

Example

First, thedesiredunit(column1) and thedesirednumber of decimal places(dp) havetobespecified, along with the application's gear ratio and its feed constant (if applicable). The feed constant is thendisplayed in the desired positioning units (column2).

Then, the desired unit of time is converted into the motor controller's unit of time (column 3).

In this way, all the values can be entered into the formula and the fraction can be calculated:

Festo P.BE-CMM-FHPP-SW - Example - 1

other Velocityfactorcalculationsequence | Unitsof velocity 1) | Feedconstant 2) | Timeconstant 3) | Gear 4) | Formula 5) | Result shortened | |---|---|---|---|---|---| | mm/s, 1 dp | 63.15 mm/r → 1r OUT = 631.5 mm/10 | 1 1/s = 60 1/min = 60*4096 1/4096min | 4/5 | 4 r / 5 r * 60*4096 1/4096min / 1 1/s = 1966080 r/4096min / 6315 mm/10s | num:131072 div:421 | The table also includes a secondary value '1' in the top row.

Fig.A/4: Velocityfactorcalculationsequence(hereCMMP-AS)

ExamplesofcalculatingthepositionfactorwithCMMS/CMMD
Unitsof velocity 1)Feedconstant 2)Timeconstant 3)Gear 4)Formula 5)Result shortened
rpm,0 dp1/100 revs/min 1_OUT = 65536 inc 1 1min = 1 1min 1/1 1r1r * 1r1r * 1min1r1r = 1 1 num:1div:1
°/s,1 dp 1/10^/s (°/10s) 1_OUT = 3600 10 1 1s = 60 1min 1/1 1r1r * 1r1r * 60* 1min1s3600 101r = 60 3600 10 s num:1div:60
rpm,2 dp1/100 revs/min (revs/100 min) 1_OUT = 100 100 1 1min = 1 1min 1/1 1r1r * 1r1r * 1min100 1001r = 1 100 100min num:1div:100
2/3 1r1r * 2r3r * 1min100 1001r = 2 300 100min num:1div:150
mm/s,1 dp 1/10 mm/s (mm/10s) 63.15 1_OUT = 631.5 10 1 1s = 60 1min 1/1 1r1r * 1r1r * 60* 1min1s631.5 101r = 120 1263 10 s num:40div:421
4/5 1r1r * 4r5r * 60* 1min1s631.5 101r = 96 1263 10 s num:32div:421
1)Desiredunitattheoutput2)Positioningunitsperrevolution(revs OUT).Drive'sfeedconstant(PNU1003)*10 -dp(decimalplacestakenintoconsideration)3)Timefactor_v:desiredunitoftimeperinternalunitoftime4)Gear ratio:revs IN perrevs OUT5)Insertvaluesintoformula.
Examples of calculating the position factor with CMMP-AS
Unitsof velocity 1)Feedconstant 2)Timeconstant 3)Gear 4)Formula 5)Result shortened
rpm,0 dp(revs/min) 1r_OUT = 1r_OUT 1 1min = 4096 14096min 1/1 11r * 4096 14096min1 1min1r1r = 4096 4096min1 :4096div:1
rpm,2 dp1/100 revs/min (revs/100 min) 1r_OUT = 100 100 1 1min = 4096 14096min 2/3 23r * 4096 14096min1 1min100 1001r = 8192 4096min300 100min :2048div: 75
°/s,1 dp 1/10^/_s (°/10s) 1r_OUT = 3600 10 1 1s = 60 1min = 60*4096 14096min 1/1 11r * 60*4096 14096min1 1s3600 101r = 245760 4096min3600 10s :1024div: 15
mm/s,1 dp 1/10^mm/_s (mm/10s) 63.15 1r_OUT = 631.5 10 1 1s = 60 1min = 60*4096 14096min 4/5 45r * 60*4096 14096min1 1s631.5 101r = 1966080 4096min6315 10s :131072div: 421
1) Desired unit at the output2) Positioning units per revolution (revs OUT).Drive's feed constant (PNU1003)*10 -dp (decimal placestaken into consideration)3) Timefactor_v: desired unit to time per internal unit to time4) Gear ratio: revs IN per revs OUT5) Insert values into formula.

Tab.A/5:Examplesofcalculatingthepositionfactor withCMMS/CMMD

Tab.A/6:ExamplesofcalculatingthepositionfactorwithCMMP-AS

A.1.5 Calculating the unit is of acceleration

The acceleration factor (PNU1007, see section 4.4.17) is used to convert all the acceleration values from the user's units of acceleration into the internal unit revolutions per minute per 256 seconds.

The acceleration factor consists of numerators and denominators.

Theaccelerationfactorisalsocalculatedintwoparts:a conversionfactorfrominternalunitsoflengthintotheuser's positioningunitsandaconversionfactorfrominternalunits oftimesquaredintouser-definedunitsoftimesquared (e.g.fromseconds ^2 tominutes ^2 ).Thefirstpartisequivalent tocalculatingthepositionfactor;anadditionalfactorisrequiredtocalculatethesecondpart:

Timefactor_aRatiobetweentheinternalunitoftimesquaredandtheuser-definedunitoftimesquared (e.g. 1 min ≠ 1 min * 1 min = 60 s * 1 min ≠ 256 min*s).

GearRatioGearatiobetweenrevolutionsattheinputside(revs IN ) and revolutionsattheoutputside(revs OUT ).

FeedConstantRatiobetweenmovementinpositioningunitsatthedrive andrevolutionsatthegearunit'soutput(revs OUT). (e. g. 1 rev ≧ 63.15 mm or 1 rev ≧ 360° degrees)

The acceleration factor is calculated using the following formula:

AccelerationFactor = *TimeFactor_aFeedConstant

Likethepositionandvelocityfactors,theaccelerationfactor alsohastobewrittentothemotorcontrollerseparatedinto numeratorsanddenominators.Thiscanmakeitnecessaryto bringthefractionuptowholeintegersbyexpandingitaccordingly.

Example

First, thedesiredunit(column1) and thedesirednumber of decimal places(dp) havetobespecified, along with the application's gear ratio and its feed constant (if applicable). The feed constant is then displayed in the desired positioning units (column2).

Then, the desired unit of time ^2 is converted into the motor controller's unit of time ^2 (column3).

In this way, all the values can be entered into the formula and the fraction can be calculated:

Festo P.BE-CMM-FHPP-SW - Example - 1

other Examplesofcalculatingtheaccelerationfactor | Unitsof accelerer. 1) | Feedconstant 2) | Timeconstant 3) | Gear 4) | Formula 5) | Result shortened | |---|---|---|---|---|---| | mm/s², 1 dp | 63.15 mm/r ⇒ 1r AUS = 631.5 mm/10 | 1 1/s² = 60 1/min*s = 60*256 1/min/256*s | 4/5 | 4 r / 5 r * 60*256 1/256min*s / 1 1/s² → 631.5 mm/10 = 122880 r/min/256s / 6315 mm/10s² | num:8192/div:421 | | 1/10 mm/s² (mm/10 s²) | | | | | | The chart displays a table with three rows and two columns containing numerical values and corresponding formula expressions.

Fig.A/5: Calculating the acceleration factor

Examplesofcalculatingtheaccelerationfactor
Unitsof accelerer.1)Feedconstant2)Timeconstant3)Gear4)Formula5)Result shortened
rpm/s,0 dprevs/mins 1r_OUT = 1r_OUT 11min*s = 2561min256*s 1/1 1r* 2561256mins11min*s1r1r = 2561 num:256div:1
°/s2,1 dp 1/10^/s^2 (°/10s2) 1r_OUT = 360010 11s^2 = 601min*s = 60*2561min256*s 1/1 1r* 60*2561256min*s11s^23600101r = 15360360010s^2 num:64div:15
rpm2,2 dp 1/100 revs/min2 (revs/100 min2) 1r_OUT = 100100 11min^2 = 1601mins = 256601min256*s 2/3 2r* 2561256min*s601min^21001001r = 51218000100min^2 num:32div:1125
mm/s2,1 dp 1/10 mm/s2( mm/10s2) 63.15 1r_OUT = 631.510 11s^2 = 601min*s = 60*2561min256*s 4/5 4r* 60*2561256min*s11s^2631.5101r = 122880631510s^2 num:8192div:421
1)Desiredunitattheoutput2)Positioningunitsperrevolution(revs OUT).Drive'sfeedconstant(PNU1003)*10 -dp (decimalplacestakenintoconsideration)3)Timefactor_a:desiredunitoftime 2 perinternalunitoftime 24)Gearratio:revs IN perrevs OUT5)Insertvaluesintoformula.

Tab.A/7:Examplesofcalculatingtheaccelerationfactor

A. Technical appendix

FHPP+andcamdiskexpansions

AppendixB

Contents

B.1FHPP+overviewB-3.

B.1.1 StructureoftheFHPP+telegramB-4.....

B.1.2ExamplesB-5.....

B.1.3 Configuration of the fieldbuses with FHPP+ B-6

B.1.4 Telegram editor for FHPP+ B-6

B.1.5 Overview of FHPP+ parameters B-6

B.2 CMMP-AS - operation of cam disks B-7

B.2.1 Camming function in Direct mode B-8

B.2.2 Camming function in Record selection mode ...... B-10

B.2.3 Parameters for the camming function B-10

B.2.4 Extended finite state machine with camming function ..... B-11

B.1FHPP+overview

Festo P.BE-CMM-FHPP-SW - B.1FHPP+overview - 1

FHPP+isanexpansionoftheFHPPcommunicationprotocol.

To find out whether this function is supported by the controllery you are using and its firmware version, seethe help for the associated FCT plug-in.

TheFHPP+expansionallowsadditionalPNUsconfiguredby theusertobetransmittedviathecyclictelegram,inaddition tothecontrolandstatusbytesandtheoptionalparameter channel(FPC).

Theminimumconfigurationforeachtelegramcontainsthe controlandstatusbytes, meaningthat8bytesaresentand received. If the parameter channelistransmitted as well, it directly followsthel/Ochannel.

FHPP+canbeusedtoattachadditionalsetpointvaluestothe receivedtelegramwhicharenotrepresentedinthecontrol andstatusbytesorintheFPC.Additionalactualvaluescan beforwardedintheresponsetelegram,suchastheintermediatecircuitvoltageorthetemperatureoftheoutput stage.

The additional data(FHPP+) must always be transmitted in multiples of 8 bytes, up to total length of 32 bytes.

ThedatatransmittedviaFHPP+isconfiguredusingtheFHPP+telegrameditorinthecontroller'sFCTplug-in.

Festo P.BE-CMM-FHPP-SW - B.1FHPP+overview - 2

Note

NotallPNUscanbeconfiguredfortheFHPP+telegram. Forexample,thePNUs40to43cannotbetransmittedat all;PNUswithoutwriteaccesscannotbeconfiguredinthe outputdata;etc.

B.1.1 StructureoftheFHPP+telegram

The first entry in the telegram (address0) is reserved for the I/O channel.

Optionally, if the parameter channel FPC is required by the application and it has been defined in the bus configuration, it must be selected as these second entry (address8). The parameter channel must only be configured in this position.

From the third entry onwards in the telegram (address 16), or these second entry if FPC is not used (address 8), all remaining PNUs can be mapped which are required in the application.

With certain control systems (e.g. SIEMENSS7), makesure that PNUs with length sof 2 or 4 bytes are suitable addresses. These PNU should only be inserted in every addresses. Placeholders are defined so that any gap can be filled. They can be used to ensure that PNUs can be mapped in the addresses desired.

Allunusedpartsofatelegramandespeciallyallunused entriesinthetelegrameditorarefilledwiththeplaceholders.

B.1.2Examples

Example1

WithFPC,maximum16bytesforFHPP+

Outputdata,bytes1...31
123456789101112131415161718192021222232425262728293031
CCON, CPOS, ...FPC, PNU, SI......PNU...PNU...PNU...PNU...PNU...
Control bytesParameter channel FPCFHPP+ (max. 16 bytes)
Inputdata,bytes1...31
123456789101112131415161718192021222232425262728293031
SCON, SPOS, ...FPC, PNU, SIPNU...PNU...PNU...PNU...
Status bytesParameter channel FPCFHPP+ (max. 16 bytes)

Example2

WithoutFPC,maximum24 bytesfor FHPP+

Outputdata,bytes1...31
123456789101112131415161718192021222232425262728293031
CCON, CPOS, ...PNU...PNU...PNU...PNU...PNU...PNU...PNU...PNU...
Control bytesFHPP+ (max. 24 bytes)
Inputdata,bytes1...31
12345678910111213141516171819202122232425262728293031
SCON, SPOS, ...PNU...PNU...PNU...PNU.........PNU...PNU...
StatusbytesFHPP+ (max.24bytes)

B.1.3 Configuration of the field buses with FHPP+

Thelengthandcontentsofthetransmitteddataaredefined usingthetelegrameditor.

Thedatadefinedinthiswaymustbeconfiguredonthe master/scannersspecificallyforeachfieldbus,forexampleby meansofthecorrespondingGSDorEDSfiles.

Informationaboutconfigurationcanbefoundintherelevant fieldbusmanual.

Festo P.BE-CMM-FHPP-SW - B.1.3 Configuration of the field buses with FHPP+ - 1

B.1.4 TelegrameditorforFHPP+

The transmitted data is configured solely via the FHP provided by the FCT plug-in.

TherelevantPNUs40and41areread-only; seesectionB.1.5.

TheFHPP+telegrameditorassignsthedatacontentsofthe cyclicFHPPtelegramuniquelytothePNUs.Thespecifications providegenerallyfor16entriesperreceivedandsenttelegram.Thecurrentstageofdevelopmentpermitsupto10 entriesfortheCMMP-AScontroller.Themaximumlengthofa telegramisrestrictedto32bytes.

ThePNUsfortelegrammappingsettingsmustnotbemapped intheFHPP+telegram.

B.1.5 Overview of FHPP+parameters

ThespecialparametersforFHPP+aredescribedin section4.4.2.

B.2CMMP-AS-operationofcamdisks

Festo P.BE-CMM-FHPP-SW - B.2CMMP-AS-operationofcamdisks - 1

TheCMMP-AShastheoptionofoperating16camdiskseach with4camtracksassignedtoit.

ThisfunctionisavailablewithCMMP-ASfirmwareversion 3.5.1501.4.1andhigher.

TheCMMP-ASprovidesthefollowingfunctionalityforthis purposeviaFHPP:

-Operationinsynchronisationwithanexternalinput,slave mode.

-Operationinsynchronisationwithanexternalinputwith camdisk,slavemode.

-Virtualmaster(internal)withcamdisk.

Controlispossibleinthefollowingmodes:

-Recordselection.

–Directmode,positioning.

Festo P.BE-CMM-FHPP-SW - B.2CMMP-AS-operationofcamdisks - 2

ThecamdisksareparametrisedviatheFCTplug-in. For informationaboutparametrisation,seethehelpforthe CMMP-ASplug-in.

Festo P.BE-CMM-FHPP-SW - B.2CMMP-AS-operationofcamdisks - 3

Forcompleteinformationonthecammingfunction,seethe specialcamdiskmanual.

B.2.1 CammingfunctioninDirectmode

Synchronisationwithanexternalmastercontroller withcamdisk(slaveoperation)

Synchronisationoperationalallowsaslavecontrollertofollowa mastercontrollerviaanadditionalexternalinputinaccordancewithparametrisedrules.

This can be purely positions synchronisation or it can be done with an additional camming function, the CAM function.

ActivatingsynchronisationoperationinDirectmode:

Synchronisedoperationcanbeselectedwithcontrolbyte3, CDIR by setting CDIR.B7 (FUNC), and the desired functionality canbeselectedinthefunctiongroupandthefunction number,CDIR.B6...B3(FGRP,FNUM).

Synchronisedoperationisthenactivatedwithapositiveedge atthebitCPOS.B1(START).ThebitCCON.B1(STOP)stops synchronisationoperation.ThebitCPOS.B0(HALT)hasno intermediatestopfunction(goesto"ready"withastop ramp).ThenegativeedgeofCPOS.B1(START)alsostop synchronisationoperation.

Setpointandactualvaluesaccordingtothefunction numbers

FunctionnumberAllocationofthesetpoint/actualvalues
FNUM=0:reserved-
FNUM=1,FNUM=2:synchronisationoperation without/withcamdiskSetpointvalue1Irrelevantasthepositionsetpointcomesviathe externalinput.Setpointvalue2Irrelevantasthepositionsetpointcomesviathe externalinput.Actualvalue1ActualvelocityoftheslaveasinProfilePosition mode(accordingtothecamdisk)Actualvalue2ActualpositionoftheslaveasinProfilePosition mode(accordingtothecamdisk)
FNUM=3:virtualmaster (internal)withcamdiskSetpointvalue1Setpointvelocityofthemaster,subjecttothe operatingmodeofthemasterSetpointvalue2Setpointpositionofthemaster,subjecttothe operatingmodeofthemasterActualvalue1Actualvelocityoftheslave(accordingtothe camdisk)Actualvalue2Actualpositionoftheslave(accordingtothe camdisk)

Tab.B/1:Allocationofsetpoint/actualvalues

ThecamdiskisselectedwithPNU700.

FHPP+canbeusedtomapthisselectiontotheprocessdata.

B.2.2 CammingfunctioninRecordselectionmode

WithRecordselection, the type of record is defined with the record control byte in the record list. The expansion to camming operation can be activated as for Direct mode with the bit provided for general function expansion, bit 7 (FUNC) in record control byte 1.

ThecamdisknumberisselectedwithPNU419.IfPNU419=0, thecontentsofPNU700areused.

B.2.3 Parameters for the camming function

The parameters for the camming function can be found in section 4.4.15.

B.2.4 Extended finitestatemachinewith camming function

Festo P.BE-CMM-FHPP-SW - B.2.4 Extended finitestatemachinewith camming function - 1

flowchart
graph TD
    Switchedoff --> S1["Controller switchedon"]
    S1 -->|T1| S2["Drivenisabled"]
    S2 -->|T5| S3["Driveenabled"]
    S3 -->|T4| SA1["Ready"]
    S3 -->|T3| SA1
    S1 -->|T7*| S5["Reactiontofault"]
    S5 -->|T8| S6["Fault"]
    S6 -->|T10| SA1
    S6 -->|T11| Fromallstates
    SA1 -->|TA9| Jogpositive["SA5 Jogpositive"]
    SA1 -->|TA10| Jognegative["SA6 Jognegative"]
    SA1 -->|TA11| Jognegative
    SA1 -->|TA12| Jognegative
    SA1 -->|TA2| Positioningtask["SA2 Positioningtask active"]
    SA1 -->|TA3| Intermediatestop["SA3 Intermediatestop"]
    SA1 -->|TA4| Positioningtask
    SA1 -->|TA5| Positioningtask
    SA1 -->|TA6| Operationenabled["S4 Operationenabled"]
    SA4["Homingisbeing carriedout"] --> SA4
    SA4 --> SA7["Preparecamdisk"]
    SA7 --> SA8["Camdiskactive andbeingrun"]
    SA8 --> SA9["Camdisk intermediatestop"]
    SA8 --> TA15["TA15"]
    SA8 --> TA16["TA16"]
    SA8 --> TA17["TA17"]
    SA8 --> TA18["TA18"]
    SA8 --> TA19["TA19"]
    SA8 --> TA2["TA2"]
    SA8 --> TA3["TA3"]
    SA8 --> TA4["TA4"]
    SA8 --> TA5["TA5"]
    SA8 --> TA6["TA6"]
    SA8 --> TA7["TA7"]
    SA8 --> TA8["TA8"]
    SA8 --> TA9["TA9"]
    S2 --> Drivedisabled
    Drivedisabled --> Drivedisabled
    Drivedisabled --> Drivedisabled
    Drivedisabled --> Drivedisabled
    Drivedisabled --> Drivedisabled

Fig.B/1: Finitestatemachinewithcammingfunction

TADescriptionEventwithAncillarycondition
TA13Preparecamdisk(activate)“Rising”edge(change)ofrecord number.-Oldrecord:FUNC=0Newrecord:FUNC=1
-RisingedgeatFUNC.-
RisingedgeatSTOPorENABLE(activationof controllerenable).FUNC=1
TA14,TA19De-activatecam disk“Rising”edge(change)ofrecord number.-Oldrecord:FUNC=1Newrecord:FUNC=0
-FallingedgeatFUNC.-
STOP or withdrawal of ENABLE.None, FUNC = any
TA15Camdiskactive andbeingrunRising edge at START.Drive is in TA 13.
TA16ChangecamdiskRising edge at START.-Changed cam disk number inPNU419 or PNU700.FUNC=1
“Rising”edge(change)ofrecord numberandrising edgeatSTART.-Changedcamdisknumber inPNU419 or PNU700.FUNC=1
-Rising edge at START,startsthevirtual masterautomatically.PNU700hasbeen changed.FUNC=1
TA17Intermediate stopHALT = 0Intermediatestopwith virtualmaster only.
TA18Endintermediate stopHALT=1

Index

AppendixC

C.Index

A

Absolute1-18,4-32.

Diagnostic memory (faults) 3-7

Diagnostics, FHPP status bytes 3-53

Direct mode 1-5

Drive ...... XIII

E

Effectivestroke 2-4.....

Electric axis ..... XIII

Encoder ..... XIII

Errornumbers 5-6.....

F

Festo Configuration Tool (FCT) ..... XIII

Festo Parameter Channel (FPC) ..... XIII, 5-3

FHPP 1-3

FHPP operatingmode

Direct mode 1-5

Record selection 1-5

FHPP+ B-3

H

HMI(seedevicecontrol) XIII......

HomingXIII.

HomingmodeXIV.

Homing method ..... XIII

Reference point ..... XIV

Reference switch XV

J

Jog mode ..... XIV

0

Operating mode ..... XIV

Homing mode ..... XIV

Profile Position mode ..... XIV

Profile Torque mode ..... XIV

Speed adjustment XV

Teachmode XV.

Operatingmode(FHPPoperatingmode)

Direct mode 1-5

Record selection 1-5

P

Parameter channel (FPC) 5-3

Parameter identifier (ParID) 5-3, 5-4

Parameter number (PNU) 5-4

Parameter value (Value) 5-3

Parametrisation with FHPP 5-3

Pictograms ..... XI

PLC ...... XIV

Positioning record ..... XIV

ProfilePositionmodeXIV.....

ProfileTorquemodeXIV.....

ProfileVelocitymodeXV.....

ProjectzeropointXIV,4-41.....

R

Record selection 1-5

Referencesystem 2-4.....

Relative 1-18,4-32

Response identifier (ResID) 5-4, 5-5

S

Safety instructions VIII

Service IX

Software end position …… XV, 4-41

Negative (lower) XV

Positive (upper) XV

Speed adjustment XV

Subindex (IND) 5-3

T

Target group IX

Task identifier (ReqID) 5-4, 5-5

Teach mode XV

Text designations ..... XI

U

Userinstructions X.....

C.Index

V

VersionXII.

W

Warningmemory3-8.

Table of contents Click a title to access it
Manual assistant
Powered by Anthropic
Waiting for your message
Product information

Brand : Festo

Model : P.BE-CMM-FHPP-SW

Category : Regulator