Schneider Electric DS301 Switching the power stage on and off, Triggering a Quick Stop, Example

Page 64

6 Operation

IL•1F CANopen DS301

6.3.1Switching the power stage on and off

The power stage is enabled by the transition from operating state 4 to 6

. For this purpose, the two bits Enable and Disable are available in the R_PDO4. One of them must be "1", the other "0".

Enabling the power stage Prerequisite: the product in in operating state 4.

To enable the power stage, a "0 -> 1" edge must be generated in drivectrl, bit 1 (Enable). This can be done by deleting bit 0 (Disable) and setting bit 1 . The master then waits until the product signals oper- ating state 6 . This may take a while (approx. 1 second) since various tests are run when the power stage is enabled.

Example

 

Master <

---> Slave

Disable is requested

--->

drivectrl01h

Slave signals operating

<---

driveStat XXX4h

state 4

 

 

 

 

 

Request Enable

--->

drivectrl02h

Slave signals operating

<---

driveStat XXX5h

state 5

 

 

 

 

 

Slave signals operating

<---

driveStat XXX6h

state 6

 

 

 

 

 

Disabling the power stage Prerequisite: Product is in operating state 6 or 7.

To disable the power stage, a "0 -> 1" edge must be generated in drivec- trl, bit 0 (Disable). This can be done by setting Bit 0 (Disable) and de- leting bit 1 (Enable). The product switches to operating state 4.

Example

 

Master <

---> Slave

Enable is requested

--->

drivectrl 02h

Slave signals operating

<---

driveStat XXX6h

state 6

 

 

 

 

 

Request disable

--->

drivectrl 01h

Slave signals operating

<---

driveStat XXX4h

state 4

 

 

 

 

 

6.3.2Triggering a "Quick Stop"

A running motion command can be interrupted via the fieldbus at any time with the Quick Stop command. The stop is triggered by a "0 -> 1" edge in drivectrl, bit 2. After the state transition to operating state 7 (Quick Stop), the product decelerates with the set EMERGENCY STOP ramp and comes to a standstill.

In order to start a new motion command, you must first set the product to operating state 6 . To achieve this, do one of the following:

Fault Reset"0 -> 1" edge in drivectrl, bit 3

Quick Stop release"0 -> 1" edge in drivectrl, bit 4

0198441113586, V2.01, 11.2008

64

Fieldbus interface

Image 64
Contents IL1F CANopen DS301 Important information Table of Contents Table of Contents IL1F CANopen DS301 Object directory Table of Contents IL1F CANopen DS301 Writing conventions and symbols Writing conventions and symbols IL1F CANopen DS301 About this manual IntroductionCAN-Bus Operating modes and functions in fieldbus mode Fieldbus devices networked via can busDocumentation and literature references Can users and manufacturers organizationIntroduction IL1F CANopen DS301 Before you begin safety information Before you begin safety information IL1F CANopen DS301 Basics CANopen technologyCANopen description language Communication layersObjects Index hex Object groups Supported By the driveIL1F CANopen DS301 Basics CANopen profiles CANopen reference modelObject dictionary Communication profileIndex Subindex Object Meaning Index range Object groups Supported Hex By the drive Communication objects Communication objectsCOB ID with function code and node address TPDO4 Communication relationships Master slave relationshipsClient-server relationship Overview Service data communicationSDO data exchange SDO message 11 SDO message, exampleReading and writing data Message type Data length used Bytes14 Reading a parameter value Message type Data length used Byte Bytes15 Response with error message error response Process data communication PDO data exchange 16 PDO data exchangeUINT32 Dynamic and static PDO mapping 18 Requesting a message with RTR =Receive PDO RPDO4 master slave Structure of RPDO4State machine drivectrl Operating modes modeCtrl JOG@ Warning Transmit PDO TPDO4 product to masterStructure of TPDO4 20 Structure of TPDO4Handshake with Mode Toggle Bit Bit Name Description22 Mode Toggle Handshake, short movement Master Slave XendBasics IL1F CANopen DS301 Emergency service 23 Error message with the Emcy objectSynchronization 25 Sync message27 Cyclic and acyclic transmission Network management services NMT services for device controlInitialization NMT service Transition MeaningPersistent data memory Command Specifier NMT service Transition NMT services for connection monitoringNode/Life guarding 31 Acknowledgement of the NMT slave 32 Node Guarding and Life Guarding with time intervals Installation Installation IL1F CANopen DS301 Commissioning Commissioning the deviceAddress and baud rate Starting fieldbus modeCommissioning the fieldbus network Troubleshooting Error Error class Cause of error TroubleshootingCreating a new network SyCon CANopen configuration softwareSelecting the CANopen master Setting the bus parameters Selecting and inserting nodes Operation OverviewOperation IL1F CANopen DS301 Using SDO commands Writing parametersTransmit data Receive dataReading a parameter Synchronous errorsIndex Sub Data Description Changing operating states with PDO4 Operating Name Power Description State StageBit no Value Meaning Triggering a Quick Stop Switching the power stage on and offExample Come to a standstill System is to resume opera Resetting faults Examples for the operating modes with PDO4 Operating mode Profile Position absolute positioning Operating mode Profile Position relative positioning Operating mode Profile VelocityPosition setting Master --- SlaveOperating mode Homing Error signaling via PDO4 Asynchronous errorsPositioning running xerr=0 Operation IL1F CANopen DS301 Diagnostics and troubleshooting Fieldbus communication error diagnosticsMessage objects Error diagnostics via fieldbusMessages on the device status CANopen error messages Error registerError code table Bit Message MeaningSDO error message Abort Error code MeaningSpecifications for the objects Object directoryObject code Meaning Coding Data type Value range Data lengthIndex Subindex Designation Obj. code Data type Access Objects, overviewObjects of the product Error registerDevice type Bit coding, subindex 00h 1008hManufacturer device name 100ChIndex 100D h Object name Life time factor Object code Index 1018 h Object name Identity Object Object code Data type PDO Communication parameter Bit assignment subindex 01h Bit 30 RTR bitBit coding, subindex 02h Bit Acces Value Meaning1603h Receive PDO4 mapping Value description 1803h Transmit PDO4 communication parameter BitMeaningSubindex 03 h, inhibit time TPDO4 Meaning IL1F CANopen DS301 Object directory PDO4 mapping 1603h Glossary Units and conversion tablesTemperature RotationTorque Moment of inertiaDefault value Factory setting Terms and AbbreviationsPower amplifier See power stage Index CanIndex IL1F CANopen DS301 IL1F CANopen DS301 Index NMT IL1F CANopen DS301 Index 102 Fieldbus interface