Object 0x2f00: user integer, Then the reading obtained is: -18, Object 0x2f00: user integer -18 – ElmoMC CANopen DS 301 Implementation Guide User Manual

Page 95

Advertising
background image

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 answer an SDO expedite message with the following value:
Byte

0 1 2 3 4 5 6 7

Hex value

42 05 22 02 BD FF 00 00

Note: Byte 4 & byte 5 are 16 bits, representing the internal value of analog input 2.

Then the reading obtained is:

0xFFBD (Signed 16) = -67

The value of analog input 2 is:

AN[2] = 0.00067139 * (-67)

AN[2] = -0.04498313 Volts

Object 0x2F00: User Integer

This object provides an array of 24 integer numbers for general-purpose use.

ƒ

Object description:

Index 2F00h

Name User

Integer

Object code

ARRAY

Data type

Integer32

Category Optional

ƒ

Entry description:

Sub-index 0

Description Number

of

entries

Entry category

Optional

Access Read

only

PDO mapping

No

Value range

24

Default value

24

CANopen DS 301 Implementation Guide

Manufacturer-specific Objects

MAN-CAN301IG (Ver. 2.1)

13-18

Advertising