Elmomc CANopen DS 301 Implementation Guide Manuale Utente

Navigare online o scaricare Manuale Utente per Hardware Elmomc CANopen DS 301 Implementation Guide. ElmoMC CANopen DS 301 Implementation Guide User Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 118
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti

Sommario

Pagina 1 - Implementation Guide

Elmo Motion Control CANopen DS 301 Implementation Guide Ver. 2.1 – August 2008

Pagina 2 - Important Notice

Chapter 2: CANopen Basics This chapter describes — in general — the CANopen communication features most relevant to Elmo SimplIQ servo drive. More det

Pagina 3 - Contents

 Entry description: Sub-index 0 Description Number of sub-indices Entry category Mandatory Access Read only PDO mapping No Value range 4 Default

Pagina 4

Sub-index 4 Description Events for PDO4 trigger Entry category Optional Access Read/Write PDO mapping No Value range 0…0x4FFFFFFF Default value 0

Pagina 5

Notes:  A “CAN message lost” emergency may indicate an overrun, in which a CAN message has not been retrieved from the receiver on time. The next

Pagina 6 - Chapter 1: Introduction

Motor Fault Description Motor Fault Value (MF Command) Error Code Error Register Resolver or Analog Encoder feedback failed 1 0x7300 0x81 Res

Pagina 7 - 1.1.2 CAN Documentation

Motor Fault Description Motor Fault Value (MF Command) Error Code Error Register Speed limit exceeded: VX < LL[2] or VX > HL[2] 0x20000

Pagina 8 - SimplIQ Communication

The following CAN emergencies are supported in PVT/PT modes: Error Code (Hex) Error Code (Dec) Reason Data Field 0x56 86 Queue is low. Number of

Pagina 9 - SimplIQ Communication Types

 Entry description: Access Read/Write PDO mapping No Value range No Default value 0xFF (all emergencies on) Object 0x2F22: Bus off time out This

Pagina 10 - Chapter 2: CANopen Basics

The following table lists the values used to define the digital input transitions: DIN Mask Value DIN Logic Level for Activating an Event 0 No event

Pagina 11 - 2.4 Inhibit Times

 Entry description: Access Read/Write PDO mapping No Value range 0x0FFF Default value 0x0FFF (event on every switch) Object 0x2F30: Last time st

Pagina 12 - SimplIQ Servo Drives

 Object description: Index 2F31h Name Last SYNC time Object code VAR Data type UNSIGNED32 Category  Entry description: Access Read only PDO map

Pagina 13

2.4 Inhibit Times The inhibit time for a given message type is the minimum time that must elapse from the time the message is first transmitted until

Pagina 14

Object 0x2F41: DS402 Configuration object This bit field object gives several configuration options to the DS402 protocol. It resets to 0 after boot

Pagina 15

Object 0x2F60 – Zero torque threshold In the DS402 profile torque, it is necessary to define a window around the target torque ‘0’, to obtain a good

Pagina 16

• Entry description: Access Read/write PDO mapping No Value range UNSIGNED16 Default value No Note: In the situation where the torque command va

Pagina 17

Sub-index 1 Description Low Limit Entry category Optional Access Read/write PDO mapping No Value range INTEGER32 Default value No Sub-index 2 Des

Pagina 18

Chapter 14: Error Control Protocol For node guarding and life guarding, SimplIQ digital servo drives implement the heartbeat mechanism, as defined by

Pagina 19

Chapter 15: Downloading Firmware New firmware versions can be loaded via CAN communications by writing the new firmware as S-records to object 0x2090.

Pagina 20

Chapter 16: Initial CAN Communication Setup 16.1 Setup Using RS-232 All communication parameters — such as the CAN baud rate for the targets — are pr

Pagina 21

16.2 Bootup Protocol This protocol is used to signal that an NMT slave has entered the pre-operational node state after the initializing state. The p

Pagina 22

Appendix A: Little and Big Endians The “end” in “endians” refers to the address of the most significant or least significant byte in a multiple-byte d

Pagina 23 - 4.2 Download SDO Protocol

2.7 Communication Objects The data-byte units transported through a CAN network are called communication objects (COBs). SimplIQ servo drive uses the

Pagina 24

COB Type Bits 8 - 11 of COB-ID ID Range NMT 0000 0 SYNC 0001 128 (80h) Time Stamp 0010 256 (100h) Emergency 0001 129…255 (81h…ffh) PDO1 - Transmi

Pagina 25

Index Object Name 0040 DEFTYPE PVT DataPar 0041 DEFTYPE PT DataPar 0042 DEFTYPE Binary interpreter query 0043 DEFTYPE Binary interpreter command

Pagina 26

Binary Interpreter Query Object 0x42 MSB LSB 7 6 5 4 3 2 1 0 Attribute high Attribute low Letter low Letter high For more information ab

Pagina 27

2.9 Representation of Numbers CAN communication delivers numerical data stored in binary form. Integers are stored by their binary representation, wh

Pagina 28 - 4.8 Error Correction

Chapter 3: The Object Dictionary The object dictionary is essentially a grouping of objects that are accessible via receive and transmit SDOs. Part of

Pagina 29

Name Index Description Access Mapped Manufacturer’s device name 0x1008 String that returns the drive name such as “Harmonica” R N Hardware version 0

Pagina 30 - 5.1 Receive PDOs

Name Index Description Access Mapped PDO1 Rx Comm. 0x1800 PDO1: transmit communication parameter. R/W N PDO2 Tx Comm. 0x1801 PDO2: transmit commu

Pagina 31

Important Notice This guide is delivered subject to the following conditions and restrictions:  This guide contains proprietary information belongin

Pagina 32 - 5.3 PDO Mapping

Name Index Description Access Mapped Digital input 0x2200 Reflects the digital input (IP) R Y Digital inputs low byte 0x2201 Reflected Negative

Pagina 33

Chapter 4: Service Data Objects (SDOs) SimplIQ digital servo drives use a single transmit server SDO (COB 581h-6ffh) and a single receive server SDO (

Pagina 34 - 5.3.4 RPDO Error Handling

4.1 Initiate SDO Download Protocol This protocol is used to implement the Initiate SDO Download service. Client to server: 0 1 4 8 7

Pagina 35

4.2 Download SDO Protocol This protocol is used to implement the Download SDO Segment service. Client to server: 0 1 8 7…5 4 3…1 0

Pagina 36 - 5.3.6 Default Values

4.3 Initiate SDO Upload Protocol This protocol is used to implement the Initiate SDO Download service. Client to server: 0 1 4 8 7…5

Pagina 37

4.4 Upload SDO Segment Protocol This protocol is used to implement the Upload SDO Segment service. Client to server: 0 1 8 7…5 4 3…

Pagina 38 - Chapter 6: Emergency (EMCY)

4.5 Abort SDO Transfer Protocol This protocol is used to implement the Abort SDO Transfer service. Client to server or server to client: 0 1

Pagina 39

Abort Code Description 0800 0021h Data cannot be transferred to or stored in application due to local control. 0800 0022h Data cannot be transferre

Pagina 40

The server response is outlined in the following table: Byte Value Description Comment 0 %01000011 Header Bits 7…5: %010 is client command specifie

Pagina 41

Byte Description 0 0x80 1 – 2 Index 3 Sub-index 4 Additional code 5 Error code 6 – 7 Error class Table 4-4: Abort Domain Transfer Message Structur

Pagina 42

Contents Chapter 1: Introduction ... 1-1 1.1 R

Pagina 43

Chapter 5: Process Data Objects (PDOs) 5.1 Receive PDOs A Receive Process Data Objects (RPDO) is used to receive predefined and unconfirmed messages.

Pagina 44 - 9.1.1.1 RPDO2 Structure

 A change in RPDO mapping wipes any pending synchronous or asynchronous queued RPDO s of that type. The user must be aware and responsible.  Chan

Pagina 45

The SDO is answered by the following: Byte Value Description 0 0x67 Initiate download, expedited, index valid, data valid, no failure. 1 0 Index

Pagina 46 - 9.1.1.1 TPDO2 Structure

5.3.1 The Mapping Trigger – Transmission Type The transmission of a TPDO and RPDO is triggered by an event, which is defined by the PDO communication

Pagina 47 - 9.1.2 Execute Command

5.3.3 The Asynchronous Trigger Asynchronous triggers are defined in the device-specific protocol (such as DSP-402) or by the Elmo manufacture-specifi

Pagina 48

Error code data fields: The relevant mapped object that failed according to the 32 bits mapping object. Byte 4-5: Object size, in bits Byte 6: Sub

Pagina 49

5.3.6 Default Values Default values of PDO mapping parameters are used at:  Power up  NMT communication reset (NMT 82h)  NMT node reset (NMT 8

Pagina 50 - Execute OK

Receive PDO 2 is mapped to the binary interpreter by default. This is done for compatibility reasons and to enable communication with the Elmo Compose

Pagina 51 - Chapter 11: The EDS

Chapter 6: Emergency (EMCY) The Emergency object COB-ID is 0x81 to 0xFF. EMCY objects are fully defined in CiA DS 301. The structure of the manufact

Pagina 52 - Additional information

The following table lists the supported CAN emergencies. The Emergency error code for all messages in the table is 0xFF00, and the error register is 0

Pagina 53

Chapter 9: Binary Interpreter Commands ... 9-1 9.1 Binary Interpreter Command

Pagina 54 - Error register

Chapter 7: Network Management (NMT) Only the minimum, required, set of network management (NMT) services is supported by SimplIQ. NMT commands are use

Pagina 55 - 11-bit ID X 0/1 0

The following NMT services are supported: Command Specifier Service 1 Start remote node (go to operational). 2 Stop remote node (go to prepared). 1

Pagina 56

Chapter 8: SYNC and Time Stamp The SYNC message has two uses:  Synchronize the operation of synchronous PDOs. Only synchronous TPDOs can be used to

Pagina 57

Chapter 9: Binary Interpreter Commands With CAN, the interpreter commands are sent in binary form and are used for setting and retrieving all numerica

Pagina 58 - 65H 76H

If an interpreter command cannot be serviced for any reason, bit 6 in byte 3 of TPDO2 is set on, and byte 4 of the response contains the Elmo error co

Pagina 59 - 64H 61H

Notes:  In array commands in which the index is used (as in ET[100]), the lowest significant bits are in byte 2 (bits 0 to 7) and the most signifi

Pagina 60 - 29-bit ID 0/1 0/1 1

Example 5: CA[18] = 4096 (1000h) (18 in decimal - 12h in hex) Byte 0 1 2 3 4 5 6 7 Hex value 43 41 12 0 0 10 0 0 Example 6: In this example, the s

Pagina 61

Example: The server replies to the command CA[1]=4, which is out of range: error code 21 (15h). Byte 0 1 2 3 4 5 6 7 Hex value 43 41 01 40 15 0 0 0

Pagina 62 - 29-bit ID 0/1 0 1

9.2 ASCII Interpreter Commands not Supported by Binary Interpreter Commands that deal with strings are not accessible using the binary interpreter. In

Pagina 63

Chapter 10: The OS Interpreter The OS interpreter is used to process any SimplIQ interpreter string command, and to return the string results. The onl

Pagina 64

Object 0x20A0: Auxiliary position actual value ... 13-14 Object 0x20A1: Main position

Pagina 65

Server acknowledges that the RSDO was received OK: TSDO 20 00 00 00 00 00 00 00 Client gets PX value from OS interpreter (assuming OS was alr

Pagina 66

Chapter 11: The EDS The Electronic Data Sheet (EDS) assists CANopen configuration personnel in determining which objects a CAN slave supports. The EDS

Pagina 67

Chapter 12: Communication Profile 1000h: Device type 1001h: Error register 1002h: Manufacturer status register 1003h: Predefined error field 1005h: C

Pagina 68

 Entry description: Access Read only PDO mapping No Value range UNSIGNED32 Default value 0x191 Object 0x1001: Error register This object is an er

Pagina 69

Object 0x1002: Manufacturer status register This object is a common status register for manufacturer-specific purposes. It returns the status similar

Pagina 70

 Object description: Index 1003h Name Pre-defined error history Object code ARRAY Data type UNSIGNED32 Category Mandatory  Entry description: Su

Pagina 71

 Description of SYNC COB-ID entry: Bit Number Value Meaning 31 (MSB) X Do not care 30 0 1 Device does not generate SYNC message Device generates

Pagina 72

 Entry description: Access Read only PDO mapping No Value range Default value Object 0x1009: Manufacturer hardware version This object contains

Pagina 73

 Entry description: Access Read only PDO mapping No Value range No Default value No Object 0x100B: Node ID This object contains the node ID of th

Pagina 74

 Object description: Index 1010h Name Store parameters Object code RECORD Data type UNSIGNED32 Category Optional  Entry description: Sub-index 0

Pagina 75

Chapter 1: Introduction This manual explains how to implement CANopen DS 301 communication with Elmo’s SimplIQ DSP-based digital servo drives. It pro

Pagina 76

 Object description: Index 1011h Name Restore parameters Object code RECORD Data type UNSIGNED32 Category Optional  Entry description: Sub-index

Pagina 77

Object description: Index 1012h Name COB-ID time stamp message Object code VAR Data type UNSIGNED32 Category Optional  Entry description: Access

Pagina 78

Object 0x1014: COB-ID emergency object This object defines the COB-ID of the Emergency object (EMCY). The structure of the object is as follows: MSB

Pagina 79

Object 0x1016: Consumer heartbeat time The consumer heartbeat time defines the expected heartbeat cycle time and thus has to be higher than the corres

Pagina 80 - SimplIQ Software Reference

Sub-index 1 Description Consumer heartbeat time Entry category Optional Access Read/Write PDO mapping No Value range UNSIGNED32 Default value No

Pagina 81

Object 0x1018: Identity object This object stores the LSS address used for the CAN ID and baud rate setting.  Object description: Index 1018h Name I

Pagina 82

Sub-index 3 Description Revision number Entry category Mandatory Access Read only PDO mapping No Value range UNSIGNED32 Default value No Sub-inde

Pagina 83

 Entry description: Sub-index 0 Description Number of entries Entry category Optional Access Read only PDO mapping No Value range UNSIGNED8 Defau

Pagina 84

Object 0x1024: OS command mode This object is used with the OS interpreter (see Chapter 10).  Object description: Index 1024h Name OS command mode

Pagina 85

 Entry description: Sub-index 0 Description Number of error classes Entry category Mandatory Access Read only PDO mapping No Value range 1 to 0x

Pagina 86

In addition to this document, the SimplIQ documentation set includes:  The SimplIQ Installation Guide, which provides full instructions for installi

Pagina 87

An SDO is valid only if both SDO valid bits are 0. These objects contain the parameters for which the SDO is the server. This entry is read only.2 COB

Pagina 88

Objects 0x1400 - 0x1403: Receive PDO communication parameter  Object description: Index 1400h - 1403h Name Receive PDO Parameter Object code RECOR

Pagina 89

Notes:  Transmission type may be 255, 254 or 1. On an attempt to change the value of the transmission type to a value that is not supported by the

Pagina 90

 Object description: Index 1600h - 1603h Name Receive PDO Mapping Object code RECORD Data type PDO Mapping Category Conditional: mandatory for e

Pagina 91

Objects 0x1800 - 0x1803: Transmit PDO communication parameter  Object description: Index 1800h - 1803h Name Transmit PDO parameter Object code RECO

Pagina 92 - SimplIQ

Sub-index 2 Description Transmission type Entry category Optional Access Object 1800h: Read/Write Object 1801h: Read/Write Object 1802h: Read/Write

Pagina 93

 COB ID used by PDO Only the default COB and specific Node ID can be written to the drive. An attempt to write another COB ID will result in an abo

Pagina 94

Sub-index 1 - 8 Description PDO mapping for nth application object to be mapped Entry category Optional Access Object 1A00h: Read/Write Object 1A01h

Pagina 95

Chapter 13: Manufacturer-specific Objects 2001h: PVT data 2002h: PT data 2004h: ECAM data 2012h: Binary interpreter input 2013h: Binary interpreter ou

Pagina 96

 Entry description: Access Write only PDO mapping Yes Value range No Default value No Notes:  The transmission type for mapping this object m

Pagina 97

Term / Abbreviation Definition COB-ID A binary bit-field that includes the ID of the server with which the master talks, and the type of COB. EDS E

Pagina 98

Notes:  The transmission type for mapping this object must be 255; otherwise, an Abort message (code 0604 0043h) will be transmitted.  When this

Pagina 99

Object 0x2012: Binary interpreter input This object is a binary interpreter object (refer to Chapter 9 concerning the byte stream).  Object descript

Pagina 100 - MAN-CAN301IG (Ver. 2.1)

Object 0x2030: Recorder data This object is used to retrieve recorder parameters according to RC and the sub-index field. The 0x1 sub-index fetches th

Pagina 101

Sub-index 3 Description Position command Entry category Mandatory Access Read only PDO mapping No Value range Refer to Table 13-1 Default value

Pagina 102

Sub-index 7 Description Bus voltage Entry category Mandatory Access Read only PDO mapping No Value range Refer to Table 13-1 Default value Sub-i

Pagina 103

Sub-index 0B Description Reactive current Entry category Mandatory Access Read only PDO mapping No Value range Refer to Table 13-1 Default value

Pagina 104 - 0x10000000 0x8381 0x81

Sub-index 0F Description Current phase B (IB value) Entry category Mandatory Access Read only PDO mapping No Value range Refer to Table 13-1. Defa

Pagina 105

The header byte sequence is as follows: Byte Number Description Value Type 0 - 1 Variable type for user. Field has no practical significance. 0: I

Pagina 106

 Entry description: Access Read/Write PDO mapping No Value range No Default value 128 Object 0x2041: Amplifier-free running timer This object tr

Pagina 107 - 0 0 0 0 1 1 0 0 0 0 0 1

 Entry description: Access Read only PDO mapping Yes Value range No Default value No  Byte stream: The 32-bit number has the following structu

Pagina 108

The following table compares the main features of both communication modes, as implemented with Elmo SimplIQ digital servo drives: Features CANopen R

Pagina 109 - T Stamp master

Note: Network states 1 & 4 (disconnect & stop, respectively) can not be retrieved using the CAN controller status object, since neither the PD

Pagina 110

Default value No After the final character of each S-record line, the host must send the character 0x0A to indicate end-of-line. The next S-record ca

Pagina 111

Object 0x20A1: Main position error This object returns the error between the position command and the actual position (PE).  Object description: Ind

Pagina 112

Object 0x2201: Digital input low byte This object defines simple digital inputs for drives. The reflected functions are: o Negative limit switch –

Pagina 113

Object 0x2205: Analog Input Object This object returns the value of the analog inputs 1 and 2 in internal units. The value can be converted to phys

Pagina 114

Default value - Example: Host sends SDO request for analog input 2: Byte 0 1 2 3 4 5 6 7 Hex value 40 05 22 02 00 00 00 00 Assume that the drive ans

Pagina 115

Sub-index 1-24 Description User Array Entry category Optional Access Read/write PDO mapping Yes Value range [(–230 +1)…(230 –1)] Default value 0

Pagina 116 - 16.1 Setup Using RS-232

Object 0x2F02: ET Array This object enables ECAM table variables (ET[1] to ET[255]) to be loaded.  Object description: Index 2F02h Name ET Array

Pagina 117 - 16.2 Bootup Protocol

 Entry description: Access Read only PDO mapping Yes Value range No Default value No Object 0x2F12: PVT tail pointer This object informs the host

Pagina 118

 Entry description: Access Read only PDO mapping Yes Value range 0…32 Default value 0 Object 0x2F20: PDO events This object is used to select th

Commenti su questo manuale

Nessun commento