gefran RK-5 C User Manual Download Page 1

1

85201A_RK5C_User Manual_02-2017_ENG

RK-5 C

(CANopen OUTPUT)

User Manual

Code 

85201A

 Edition

 02-2017

1   Introduction

 

 page 

2

2   Get started procedure 

page 

2

  2.1 

Node parameters setting 

 

2

  2.2 

Operating parameters setting 

 

4

  2.3 

Requesting process data  

 

4

3   LSS Services 

page 

5

   3.1  LSS switch state services 

 5

   3.2  LSS configuration services 

 6

   3.3  LSS inquiry services 

 8

   3.4  LSS identification services 

 10

4   SDO Services 

page 

12

 

4.1 

Object  Dictionary 

 14

 

4.2 

SDO  Objects 

 16

5   PDO Services 

page 

30

  5.1 

PDO Message Format 

 30 

  5.2 

PDO Data Types 

 30

 

5.3 

PDO  Mapping 

 30

  5.4 

PDO Transmission Types 

 30

6   NMT Services 

page 

32

  6.1 

NMT device states 

 32

  6.2 

NMT node control 

 32

  6.3 

NMT states and communication objects 

 33

 

6.4 

Restricted  CAN-IDs 

 33

7   Boot-up Services  

page 

34

8   SYNC Services  

page 

34

9   EMCY Services 

page 

34

10  Error Control Services

 

 page 

35

SUMMARY 

Summary of Contents for RK-5 C

Page 1: ...on services 6 3 3 LSS inquiry services 8 3 4 LSS identification services 10 4 SDO Services page 12 4 1 Object Dictionary 14 4 2 SDO Objects 16 5 PDO Services page 30 5 1 PDO Message Format 30 5 2 PDO...

Page 2: ...ation is mandatory if at least one of these conditions is true 1 The Node ID of the GEFRAN RK5C sensor is identical to the Node ID of another CANopen device connected to the CAN bus 2 The GEFRAN RK5C...

Page 3: ...ameters section for details If the value is 1 means that the bit timing is not supported the command was not accepted Storing configuration settings To save the previously configured Node ID and Baud...

Page 4: ...CANopen position sensor provides one Transmit PDO TPDO1 that includes position and speed data measured by the sensor TPDO1 data format Position and speed data are mapped in TPDO1 as shown in the follo...

Page 5: ...7E5h Rx 8 D0 D1 D2 D3 D4 D5 D6 D7 04h 00h 00h 00h 00h 00h 00h 00h Figure 10 LSS switch state global waiting state message LSS switch state selective By means of this service the LSS master device swit...

Page 6: ...ID of the LSS slave device The LSS slave device confirms the success or the failure of the service execution The allowed node ID values are in the range 1 127 01h 7Fh The LSS master sends this messag...

Page 7: ...active only after the master sends the LSS activate bit timing parameter service or with the next power on after the execution of the LSS store configuration service The bit rate is not automatically...

Page 8: ...SS store configuration message where Error code 00h Protocol successfully completed or 02h Storage media access error 3 3 LSS INQUIRY SERVICES LSS inquire node ID By means of this service the LSS mast...

Page 9: ...e sends the response message COB ID Rx Tx DLC Data D0 D1 D2 D3 D4 D5 D6 D7 7E5h Rx 8 5Ch 00h 00h 00h 00h 00h 00h 00h 7E4h Tx 8 5Ch Revision number 00h 00h 00h Figure 20 LSS inquire identity Revision n...

Page 10: ...e 22 LSS identify remote slave message sequence Where Vendor ID is the LSS slave s identity Vendor ID Intel format byte ordering Product code is the LSS slave s identity Product code Intel format byte...

Page 11: ...NMT Initialization state owns an invalid FFh pending node ID and no active node ID This service is executed in case a LSS identify non configured remote slave service was initiated by the LSS master...

Page 12: ...of bytes of Data field Cs 23h 4 transmitted data bytes Cs 27h 3 transmitted data bytes Cs 2Bh 2 transmitted data bytes Cs 2Fh 1 transmitted data bytes Data is the data to be copied in the object dict...

Page 13: ...bort code explain the reason of the SDO abort event The following table contains the abort codes provided by the protocol SDO abort transfer of the GEFRAN RK5C CANopen device Abort code Description 05...

Page 14: ...Unsigned8 RO 1 Highest sub index supported 1 Unsigned32 RW 00000001h Writing the signature load 6Ch 6Fh 61h 64h restores all parame ters in flash to their default values 1014h 0 COB ID EMCY Unsigned3...

Page 15: ...f 0 001 m 2 Unsigned32 RO 100 Speed measuring step given in multiples of 0 01mm s 6010h 0 Preset values for multi sensor devices Unsigned8 RO 1 Highest sub index supported 1 Integer32 RW Preset value...

Page 16: ...r the GEFRAN RK5C CANopen device two types of error conditions are defined Device hardware error and Data set error The Data Set type error occurs when a mismatch between the stored checksum and the c...

Page 17: ...atile memory checksum not correct E3 Controller error 0 no error 1 error detected by microcontroller T C temperature state 0 ok C temperature 105 C 1 warning C temperature 105 C Object description Ind...

Page 18: ...nt to the restricted CAN ID definitions see Restricted CAN ID section A restricted CAN ID cannot be used 1008h Manufacturer device name This object provides the name of the device as given by the manu...

Page 19: ...ters in non volatile memory 31 0 e 65h v 76h a 61h s 73h MSB LSB Figure 33 Storage write access structure By read access the sub index 1 of this object the device provides information about its saving...

Page 20: ...bilities Giving the value of 1 it means that the device can restore parameters on command The default values are set valid after the device is power cycled Restore default Power cycle Default values v...

Page 21: ...user defined 11 bit CAN ID of the CAN base frame Table 5 COB ID EMCY message fields The user can change the default COB ID EMCY value in the range of the allowed values ensuring that no conflicts with...

Page 22: ...rtbeat time The producer heartbeat time indicates the configured cycle time of the heartbeat given in 1 ms The value 0 disables the producer heartbeat Object description Index Name 1017h Producer hear...

Page 23: ...dex 2 specify the COB IDs for the first SDO The object structure is specified in the following figure 31 30 29 28 11 10 0 valid dyn frame Reserved 0 0000h 11 bit CAN ID Figure 37 Structure of SDO1 COB...

Page 24: ...e range of the allowed values ensuring that no conflicts with other COB IDs are generated The value is also automatically changed in accordance with the default scheme when changing the Node ID value...

Page 25: ...1A00h TPDO1 mapping parameter This object contains the mapping for the PDOs the device is able to transmit Sub index 1 and sub index 2 contain the information of the mapped application objects The obj...

Page 26: ...Type Value Range Default 0 Operating parameters RO Unsigned16 0000h 0000h This object is not supported by the GEFRAN RK5C CANopen device 6005h Linear encoder measuring step settings This object indica...

Page 27: ...d by the preset value Using the Restore default parameters see object 1011h the preset value is cancelled i e the offset is set to zero The preset value is not saved in non volatile memory but it can...

Page 28: ...when the cyclic timer is programmed unequal 0000h and the TPDO1 transmission type is set to 254 or 255 Cyclic timer settings are explained in the following table Value Description 0 Event driven TPDO1...

Page 29: ...that is an output of the encoder The measuring step is given in mul tiples of 0 001 m This object is similar to the object 6005h sub index 1 Object description Index Name 6501h Measuring step Entry d...

Page 30: ...n INTEGER32 data type Speed data is an INTEGER16 data type Assuming that the data is expressed as a bit sequence of length 16 for INTEGER16 data type b0 b15 and as a bit sequence of length 32 for INTE...

Page 31: ...s explained in the following figure COB ID Rx Tx DLC Data D0 D1 D2 D3 D4 D5 D6 D7 PDO COB ID RTR bit Rx 0 Figure 43 RTR message format Asynchronous Transmission The transmission of the PDO is performe...

Page 32: ...is not allowed Operational state In the operational state all communication objects are active Object Dictionary Access via SDO is possible and the node can handle PDO communication Stopped state In t...

Page 33: ...on Reset communication Pre operational Operational Stopped PDO X SDO X X Boot up X SYNC X X EMCY X X NMT error control Heartbeat X X X NMT node control X X Table 10 NMT states and communication object...

Page 34: ...005h SYNC COB ID 9 EMCY SERVICES Emergency objects are triggered by the occurrence of the CANopen device internal error situation An emergency object is transmitted only once per error event No furthe...

Page 35: ...he heartbeat consumer aware of this heartbeat message will be informed about that event The format of the heartbeat message is explained in the following figure COB ID Rx Tx DLC Data D0 D1 D2 D3 D4 D5...

Reviews: