Elmo DSP 402 manual Important Notes about State Transition

Page 31
Important Notes about State Transition:

CANopen DSP 402 Implementation Guide

MAN-CAN402IG (Ver. 1.2)

25

After leaving FAULT state, the Fault Reset bit of the controlword must be cleared by the host. The drive does not monitor this bit in other states. If this bit is not cleared from a previous fault state, when the next fault occurs, the drive automatically enters SWITCH ON DISABLED state with no indications or warning.

State Transition 16: QUICK STOP ACTIVE=>OPERATION ENABLE

Event: Enable Operation command received from host. This transition is possible if the quick stop option code (object 0x605A) is 5, 6.

Action: The drive function is enabled.

Notes:

This transition forces a “motion begin”; for example, if the controlword forces transition 11 during a home sequence, the motor will stop according to the quick stop option code. If a new homing speed and homing acceleration are set to the drive and the controlword sets transition 16, the home sequence will continue according to the method and with the new home parameters.

If the motor is turned off by an external source (such as the interpreter) during OPERATION ENABLE, the minimum state SWITCH ON ENABLE will merge with no further notification.

Important Notes about State Transition:

If a command that causes a change of state is received, it is processed completely and the new state is attained before the next command is processed.

The drive performs transitions 0 and 1 after initiation, either at power up or at NMT node reset. From this state, it is up to the host to change the transitions according to the application needs.

“Drive function is disabled” implies that no energy is being supplied to the motor. Reference values are not processed.

“Drive function is enabled” implies that energy can be supplied to the motor. The reference values (torque, velocity and position) are processed.

“Fault occurred” implies that a fault has occurred in the drive during “Operation Enable”. In this case, there is a transition to state FAULT REACTION ACTIVE, during which the device executes a motor disable function. After executing this fault reaction, the device switches to state FAULT. It is possible to leave this state only through the Fault Reset command, and only if the fault is not active anymore.

If a fault occurs in OPERATION ENABLE state, an emergency message – if not masked – is sent with the fault reason. The last 16 fault messages are latched and can be retrieved later by uploading object 0x1003, defined in DS-301.

In a fault state, setting MO=1 through methods other than the controlword activates the motor and leads to an ambiguous state of the DSP 402 protocol.

Image 31
Contents Implementation Guide Elmo Motion Control CANopen DSPDecember Revision History Important Notice3 Emergencies Contents1 Introduction 2 The DSP 402 Object Dictionary10.1 11.1 14 Profiled Torque Mode Appendix A Dimension Index TableAppendix B Notation Index Table 1.1Operating Principles 1 Introduction1.2Abbreviations and Terms CANopen Implementation Guide 1.3Elmo DocumentationProgramming Setup Installation SimplIQ Command Reference ManualName 2 The DSP 402 Object DictionaryAccess Implementation GuidePosition value and actual position value Homing offsetPosition encoder Motor type Default Value 3 Emergencies4 Predefinition Object 0x1001 Error registerStatusword 1800hIndex 5 Common Entries 5.1Drive ErrorObject 0x6007 Abort connection option code 6402h: Motor type 6403h: Motor catalog number 5.2Motor DataObject 0x603F Error code 6407h Motor service periodIndex Index6402h Object 0x6403 Motor catalog numberObject 0x6406 Motor calibration data Object 0x6404 Motor manufacturerIndex 6404h6505h Http drive catalog address 5.3Drive Data6502h Supported drive modes 6504h Drive manufacturerObject 0x6504 Drive manufacturer Object 0x6502 Supported drive modesIndex 6502hObject 0x60FD Digital inputs Object 0x6505 http drive catalog addressIndex 6505hPage 6.1Objects 6 Device Control6040h controlword 6041h statusword Figure 6-2 State Machine in System Context Figure 6-3 State Machine Block DiagramState Machine READY TO SWITCH ON NOT READY TO SWITCH ONThe drive function is disabled The drive function is disabledEvent Reset The fault reaction function is being executedThe drive function is disabled The drive function is disabledAction None Event Enable Operation command received from hostImportant Notes about State Transition 6040h Illegal TransitionObject 0x6040 Controlword IndexBits 0 - 3 and Object 0x6041 Statusword Bits 4, 5, 6 andBits 9 and Bits 11, 12, 13, 14 andState DescriptionBits 0 - 3, 5 and Value binaryBit 9 Remote Bit 4 Voltage EnabledBit 5 Quick Stop Bit 7 Warning605A Quick stop option code 6.2Halt, Stop and Fault Objects605C Disable operation mode 605D Halt option code 605E Fault reaction codeIndex ValueDescription Object 0x605B Shutdown option codeIndex Object 0x605C Disable operation option codeValue DescriptionValue Object 0x605D Halt option codeIndex 605DhValue Object 0x605E Fault reaction option codeIndex 605Eh6060h Modes of operation 7 Modes of Operation7.1Functional Description 7.2ObjectsIndex ValueDescription Object 0x6061 Modes of operation display608Ch Velocity dimension index 8 Factors8.2Functions and Limits 608Ah Position dimension index607Eh 8.3ObjectsObject 0x607E Polarity Index6089h Object 0x608A Position dimension indexObject 0x6089 Position notation index IndexIndex Object 0x608B Velocity notation index608Bh Object 0x608D Acceleration notation index Object 0x608C Velocity dimension indexIndex 608ChIndex Object 0x608E Acceleration dimension index608Eh 608Fh Object 0x608F Position encoder resolutionmotor revolutions Indexmotor revolutions / sec velocity encoder resolution =Object 0x6090 Velocity encoder resolution encoder increments / secSub-index Object 0x6093 Position factorIndex 6093hSub-index Object 0x6094 Velocity encoder factorIndex 6094h6095h Sub-indexObject 0x6095 Velocity factor IndexIndex Sub-indexSub-index Object 0x6096 Velocity factorEntry description Sub-index Object 0x6097 Acceleration factorIndex 6097hThe acceleration factor is calculated according to this object regardless of the setting of any other objects, such as 0x6094 velocity encoder factor 6099h Homing speeds 609Ah Homing acceleration 9 Homing9.1General Information 607Ch Home offset 6098h Homing methodName 607Ch 9.2ObjectsObject 0x607C Home offset IndexValue Object 0x6098 Homing methodIndex 6098hSub-index Object 0x6099 Homing speedsIndex 6099h609Ah 9.3Functional DescriptionObject 0x609A Homing acceleration IndexError Cases 9.4DSP 402 Homing Methods 9.4.3Methods 3 and 4 Homing on the positive home switch and index pulse Page 9.4.8Methods 31 and 32 Reserved Figure 9-7 Homing on the positive home switchFigure 9-8 Homing on the positive home switch 9.4.6Methods 15 and 16 Reserved60F4h Following error actual value 10 Position Control Function10.1General Information 6065h Following error window6062h 10.2ObjectsObject 0x6062 Position demand value Index6064H Object 0x6065 Following error windowObject 0x6064 Position actual value IndexIndex Object 0x6066 Following error time out6066h Object 0x6068: Position window time Object 0x6067 Position windowIndex 6067hIndex Object 0x60FC Position demand value - increments60FCh 607Bh Position range limit 11 Profiled Position11.1General Information 607Ah Target positionAssumes target position NameValue Description607Ah 11.2ObjectsObject 0x607A Target position IndexEntry description Sub-index Object 0x607D Software position limitIndex 607Dh607Fh Sub-indexObject 0x607F Max profile velocity IndexObject 0x6082 End velocity not yet implemented Object 0x6081 Profile velocityIndex 6081hObject 0x6084 Profile deceleration Object 0x6083 Profile accelerationIndex 6083hObject 0x6086 Motion profile type Object 0x6085 Quick stop decelerationIndex 6085h11.3Functional Description 5.Unless it was interrupted by a change set immediately, the next trajectory is executed as soon as a target reached is set 60C0h Interpolation sub mode select 12 Interpolated Position12.1General Information 60C4h Interpolation data configurationInterpolation inactive Buffer resetInterpolation active Controlword of Interpolated Position mode 60C0h 12.2ObjectsObject 0x60C0 Interpolation sub mode select IndexSub-index Object 0x60C1 Interpolation data recordIndex 60C1hSub-index Object 0x60C2 Interpolation time periodIndex 60C2hObject 0x60C3 Interpolation sync definition Value Object 0x60C4 Interpolation data configurationValue DescriptionSub-index Ring buffer Sub-indexBuffer strategies FIFO12.3Functional Description Page 12.3.3Motion Synchronization 6060h Velocity window 13 Profiled Velocity13.1General Information 6069h Velocity sensor actual valueControlword of the profiled velocity mode 6069h 13.2ObjectsObject 0x6069 Velocity sensor actual value IndexIndex ValueDescription Object 0x606B Velocity demand valueObject 0x606D Velocity window Object 0x606C Velocity actual valueIndex 606ChObject 0x606F Velocity threshold Object 0x606E Velocity window timeIndex 606EhObject 0x60FF Target velocity Object 0x6070 Velocity threshold timeIndex 6070h14.1General Information 14 Profiled Torque ModeName 14.1.1Internal statesControlword of profile torque mode FunctionTarget torque reached 14.2Objects dictionary entries14.2.1Objects defined in other chapters 14.2.2Objects descriptionObject 0x6073 Max Current Object 0x6072 Max torqueIndex 6072hIndex Object 0x6074 Torque Demand value6074h Object 0x6076 Motor Rate Torque Object 0x6075 Motor Rate CurrentIndex 6075hObject 0x6078 Current Actual value Object 0x6077 Torque Actual valueIndex 6077hObject 0x6088 Torque profile type Object 0x6087 Torque slopeIndex 6087hUnit Appendix A Dimension Index TablePhysical Dimension Dimension IndexFactor Appendix B Notation Index TableSymbol Prefix