2 reading integer codes, 12 implemented devicenet objects – Lenze E94AYCDN User Manual

Page 80

Advertising
background image

12

Implemented DeviceNet objects

12.11

Examples for reading/writing with the »Class Instance Editor«

80

Lenze · E94AYCDN communication module (DeviceNet™) · Communication Manual · DMS 5.0 EN · 02/2014 · TD17

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

12.11.2

Reading integer codes

The maximum speed (n

max

) is to be read from code C0011.

Enter the following in the input fields of the »Class Instance Editor« (fig.

[12-2]

):

• Description: Get Single Attribute (read code)
• Class: 6E (access to Lenze code)
• Instance: B (hex value of the code)
• Attribute: 1 (hex value of the subcode)
• Output size format: Double (4 bytes)
• Output radix format: Decimal
• Read the decimal data that are returned:

”Data received from the device”: 4050 = 4050 [min

-1

]

[12-2] »Class Instance Editor«: Reading integer codes

Advertising