EasyManua.ls Logo

Wieland samos PRO COMPACT - Page 148

Default Icon
200 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CANopen gateway
Wieland Electric GmbH | BA000970 | 11/2016 (Rev. F)
148
The CANopen data types UDINT and UINT
In order to transmit the data types UDINT or UINT, the data must be in Intel format. For exa-
mple, the 32-bit value 12345678h in data bytes 5, 6, 7 and 8 must be transmitted in the follo-
wing order: [5] = 78, [6] = 56, [7] = 34, [8] = 12.
NOTICE
This also applies to the SDO index in data bytes 2 and 3, which is of the data type UINT. This
means that the low byte is transmitted in data byte 2 and the high byte in data type 3.
Example:
The following messages are required to read SDO 1003,1 of the CANopen device
with device address 2. The data type of the data to be read is UDINT.
The client sends:
CAN ID
DLC
Data
602h
8
40h
03h
10h
01h
00h
00h
00h
00h
The server responds:
CAN ID
DLC
Data
582h 8 42h 03h 10h 01h 08h 00h 50h 02h
The combined response data result in the 32-bit word 02500008h.

Table of Contents

Related product manuals