background image

 

 

Communication via

 CAN bus (CANopen) 

 

MSA501

 

Date: 12.10.2018 

Art. No. 88734 

Mod. status 330/18 

Page 18 of 51 

5.4.1.2

 

Normal Request/Response 

If more than 4 bytes of service data are to be transferred, the data is exchanged between two 
subscribers via the normal Request/Response.  This procedure is also initiated by an 
initialization message, and the actual user data will be transferred in the subsequent segment 
messages. 

For the MSA501 this is only the case with reading of the object 

1008h: Manufacturer Device 

Name

 

 

The initialization message has the following structure:  

COB-ID 

User data in binary code 
Byte 0 
read / 
write 

Byte 1 
LSB 

Byte 2 
MSB 

Byte 3 

Byte 4 
LSB 

Byte 5  Byte 6  Byte 7 

MSB 

SDO rx/tx 
+ Node-ID  

Command  
byte 

index 

Sub-index  User data (number of user data) 

 

The segment message has the following structure: 

COB-ID 

User data in binary code 
Byte 0 
read / 
write 

Byte 1 
LSB 

Byte 2   Byte 3  Byte 4   Byte 5  Byte 6  Byte 7 

MSB 

SDO rx/tx 
+ Node-ID  

Command 
byte 

User data 

Initialization and segment message: Command byte, byte 0: 

The command byte determines the type of access and the number of valid data bytes. The 
following command bytes are valid for the MSA501: 

Command byte 

Type 

Function 

Read Request 

40h 

SDO (rx), Normal Initiate 
Upload Request 

Request parameter from slave 
(number of bytes to be 
transferred). 

Read Request 

60h 

SDO (rx), Normal Segment 
Upload Request 

Request parameter from slave (user 
data) 

Read Response 

41h 

SDO (tx), Normal Initiate 
Upload Response 

Report parameter to master 
(number of bytes to be 
transferred). 

Read Response 

03h 

SDO (tx), Normal Segment 
Upload Response 

Report parameter to master (user 
data) 

Error Response 

80h 

SDO (tx), Abort Domain 
Transfer 

Slave reports error code to master 

Table 14: Command coding 

Summary of Contents for MSA501

Page 1: ...330 18 MSA501 Actuator with CANopen interface User manual...

Page 2: ...communication states 12 5 2 1 2 Toggling between the NMT communication states 13 5 2 2 Boot Up 13 5 2 3 SYNC object 13 5 3 Process data exchange 14 5 3 1 Transfer of process data objects PDO 14 5 3 1...

Page 3: ...6 2 19 1801h 2nd Transmit PDO Parameter 38 5 6 2 20 1A00h 1 Transmit PDO Mapping Parameter 40 5 6 2 21 1A01h 2 Transmit PDO Mapping Parameter 40 5 6 2 22 5115h Calibrate encoder value 41 5 6 2 23 5116...

Page 4: ...direct connection with binary or hexadecimal values in which case the extension d will be used e g 1234d Binary values are identified by adding b e g 1011b to the figures whereas hexadecimal values ar...

Page 5: ...ents of the application This applies to the configuration parameters of the sensor unit as well as to the way it makes available to the system its position values asynchronous or synchronous data tran...

Page 6: ...us LED CAN diagnosis The CiA DS 303 Part 3 V1 4 0 indicator specification is the basis of the CAN diagnosis LED state Description On LED is permanently on Off LED is permanently off Blinking LED flash...

Page 7: ...during the startup process The adoption of a node ID or baud rate bus reset later occurs only after re initialization see chapter 5 2 1 Network management NMT services Switch no 1 2 3 4 5 6 7 8 Meanin...

Page 8: ...erical values The numerical value output by the MSA501 sensor via the interface is always a multiple of the resolution set Example Value output by the sensor 340603 set resolution 0 005 mm position va...

Page 9: ...ation The MSA501 features an absolute measurement system i e the information of the position value is represented in the scale MBA501 magnetic tape as an absolute value Calibration can be performed at...

Page 10: ...s documentation If more in depth information is required we recommend the applicable technical literature on CAN or CANopen 5 1 Telegram structure The data telegram of a CAN message consists of the fo...

Page 11: ...t 30 cannot be set to 1b in the MSA501 the COB ID could be changed at any time The node number Node ID see also object 5F0Ah Node ID and baud rate Bus CAN is assigned once in every bus system with con...

Page 12: ...omponents are initialized This state is attained after switching on the device or after receipt of the command code 81h Reset node of the own or global addresses Following receipt of the command code...

Page 13: ...x OPERATIONAL PRE OPERATIONAL STOPPED INITIALISATION Reset Node 5d 0h 81h x OPERATIONAL PRE OPERATIONAL STOPPED INITIALISATION Reset Communication 4d 0h 82h x Table 10 Toggling between communication...

Page 14: ...h and is assigned to asynchronous transmission TPDO2 is defined via the objects 1801h and 1A01h and serves synchronous transmission The structure of the messages is shown in Table 12 with variable and...

Page 15: ...s the desired objects and the data length 5 In order to enable mapping the maximally used sub index must be entered in sub index 00h 6 The TPDO is reactivated by deleting the Valid bit of COB ID on 0...

Page 16: ...PDO1 via COB ID 00000181h COB ID User data Command Index L Index H Sub index Data 0 Data 1 Data 2 Data 3 601h 23h 00h 18h 01h 81h 01h 00h 00h 5 4 Parameter data exchange 5 4 1 Transmission of Service...

Page 17: ...SDO tx Initiate Download Response Acknowledgment of data acquisition to master Read Request 40h SDO rx Initiate Upload Request Request parameter from slave Read Response 43h SDO tx Initiate Upload Res...

Page 18: ...r data The segment message has the following structure COB ID User data in binary code Byte 0 read write Byte 1 LSB Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 MSB SDO rx tx Node ID Command byte User da...

Page 19: ...te 1 low Byte Byte 7 high Byte 5 4 1 3 Error Response in SDO exchange With invalid access an error message Abort is returned to the master The error codes are described in the CANopen profile CiA DS 3...

Page 20: ...ID User data Command Index LB Index HB Subindex Data 0 Data 1 Data 2 Data 3 581h 43h 4 Bytes g ltig 03h 60h 00h FEh 01h 00h 00h Example of writing SDO parameters with the expedited Request Response Th...

Page 21: ...Command Index L Index H Subindex Data 0 Data 1 Data 2 Data 3 601h 60h 08h 10h 00h x x x x Response to the request by the slave COB ID User data Command Data 0 Data 1 Data 2 Data 3 Data 4 Data 5 Data 5...

Page 22: ...Valid bit to 1 5 5 2 Node Guarding Node guarding is available for failure monitoring of the CANopen network During node guarding the master transmits remote frames RTR remote transmit request message...

Page 23: ...a the node guarding protocol as opposed to the heartbeat that can be received by all subscribers 5 5 3 Heartbeat The master monitors the state of the slave device via Heartbeat protocol While doing th...

Page 24: ...me Factor Parameter for Node Guarding 29 1010h Store Parameter Object for non volatile storage of the settings 29 1011h Restore Parameter Object for restoring the factory settings 32 1014h COB ID Emer...

Page 25: ...Number of distinguishable revolutions Number of revolutions the encoder is able to sense 49 6507h Profile and Software Version Indicates the version number of the device profile used and the version n...

Page 26: ...munication error on the CAN bus passive or bus off 7 manufacturer specific sensor error 1 3 5 6 Not used Faults and errors are signaled at the time of their occurrence by an emergency message 5 6 2 3...

Page 27: ...x 00h Description number of error messages stored Access rw PDO Mapping no Data type UNSIGNED 8 Default 0h EEPROM yes Subindex 01h 08h Description error messages that occurred Access ro PDO Mapping no...

Page 28: ...2 Byte 3 Byte 4 Byte 5 Byte 6 4Dh M 53h S 41h A 35h 5 30h 0 31h 1 00h 0 5 6 2 7 1009h Manufacturer Hardware Version Object 1009h indicates the hardware version Subindex 00h Description Hardwareversio...

Page 29: ...the life time factor set in the master for node guarding see chapter 5 5 2 Node Guarding Value 0h means that Node Guarding is deactivated Subindex 00h Description Life Time Factor Access rw PDO Mappi...

Page 30: ...h e Read Bit 31 2 0 reserviert Bit 1 0 Device does not independently store parameters Bit 0 1 Device stores parameters after command Subindex 02h Description Save only communication parameters 1000h 1...

Page 31: ...3h s 61h a 76h v 65h e Read Bit 31 2 0 reserviert Bit 1 0 Device does not independently store parameters Bit 0 1 Device stores parameters after command Subindex 04h Description Save only manufacturer...

Page 32: ...index Access ro PDO Mapping no Data type UNSIGNED 8 Default 4h EEPROM no Subindex 01h Description Reset all parameters to factory settings Access rw PDO Mapping no Data type UNSIGNED 32 Default 1h EEP...

Page 33: ...Data content Write Byte 0 Byte 1 Byte 2 Byte 3 6Ch l 6Fh o 61h a 64h d Read Bit 31 1 0 reserviert Bit 0 1 Device permits loading of default parameters Subindex 04h Description Set only manufacturer s...

Page 34: ...yes Data content Bit 31 0 EMCY object exists is valid 1 EMCY object does not exists is invalid Bit 30 Always 0b Bit 29 0 11Bit Identifier CAN 2 0A 1 29Bit Identifier CAN 2 0B Bit 28 11 0 falls Bit 29...

Page 35: ...sponds to a multiple of 1 ms Value 0h disables the service 5 6 2 16 1018h Identity Objekt The manufacturer identification number Vendor ID is indicated by object 1018h Subindex 00h Description indicat...

Page 36: ...ndex 04h Description Serial Number Access ro PDO Mapping no Data type UNSIGNED 32 Default 1h EEPROM yes 5 6 2 17 1200h Server SDO Parameter The COB IDs for the server SDOs are indicated via object 120...

Page 37: ...00h Description indicates the largest supported sub index Access ro PDO Mapping no Data type UNSIGNED 8 Default 5h EEPROM no Subindex 01h Description COB ID of the PDO1 Access rw writable in the Pre...

Page 38: ...apping no Data type UNSIGNED 16 Default 0h EEPROM yes Data content The service is disabled by writing the value 0h The content of this object is identical with object 6200h If the value is changed wit...

Page 39: ...DO is sent after 1d 240d received SYNC messages FDh 253d Device responds only to RTR request if RTR Bit 30 is enabled in the COB ID Subindex 03h Description Inhibit time function is not supported only...

Page 40: ...he PDO1 message Datenbyte 0 bis 3 Access rw PDO Mapping no Data type UNSIGNED 32 Default 60040020h position value object 6004h Subindex 00h 32bit EEPROM yes Subindex 02h Description 2nd object of the...

Page 41: ...s 5 6 2 22 5115h Calibrate encoder value With object 5115h calibration can be executed or it informs whether calibration is executed Subindex 00h Description This object enables zeroing of the measure...

Page 42: ...7999d FFE0C001h 001F3FFFh 5 6 2 24 5122h Register With Object 5122h can be readout the register Subindex 00h Description indicates the largest supported sub index Access ro PDO Mapping no Data type UN...

Page 43: ...UNSIGNED 8 Default 43h EEPROM no Data content Bit 7 External Reset MCLR Pin bit Bit 6 Software Reset Instruction Flag bit Bit 5 Software Enable Disable of WDT bit Bit 4 Watchdog Timer Time out Flag bi...

Page 44: ...ID and baud rate Bus CAN Node ID and bus baud rate can be set via object 5F0Ah if the DIP switches only available with SP01 SP03 are set to Use memory see chapter 3 3 DIP switch The adoption of a nod...

Page 45: ...gs of the operating parameters can be made through object 6000h Subindex 00h Description Operating Parameters Access rw PDO Mapping no Data type UNSIGNED 16 Default 4h EEPROM yes Data content Bit 15 4...

Page 46: ...no Data type SIGNED 32 Default 0h EEPROM yes Data content 2047999d 2047999d FFE0C001h 001F3FFFh 5 6 2 29 6004h Position value Object 6004h indicates the actual position value of the device Subindex 00...

Page 47: ...p width of the velocity of the linear sensor The parameter must be indicated as multiple of 0 01 mm s according to CiA DS 406 Access rw PDO Mapping no Data type UNSIGNED 32 Default 100d 64h EEPROM yes...

Page 48: ...Mapping no Data type UNSIGNED 16 Default 0h EEPROM yes Data content 0d 65535d 0h FFFFh 5 6 2 33 6500h Operating Status The object 6500h indicates the settings programmed with object 6000h Subindex 00...

Page 49: ...and Software Version The object 6507h indicates the encoder profile used CANopen Device profile for encoders and the version number of the firmware state Subindex 00h Description Profile and software...

Page 50: ...32 Default 0h EEPROM yes 5 6 2 39 650Ah Module Identification Object 650Ah indicates the manufacturer specific offset value as well as the smallest and largest transferable position value Subindex 00h...

Page 51: ...cription Largest transferable position value Access ro PDO Mapping no Data type SIGNED 32 Default 1000000d 000F4240h EEPROM no 5 6 2 40 650Bh Serial number Object 650Bh provides the serial number of t...

Reviews: