3 reading a parameter (example), Reading a parameter (example), Eading a parameter can be found in chapter 2.7.3 – Lenze DDS System bus CAN for PLC User Manual

Page 29: System bus (can) for lenze plc devices, General information

Advertising
background image

System bus (CAN) for Lenze PLC devices

General information

2−17

l

PLC−Systembus EN 2.0

2.7.3

Reading a parameter (example)

Task

The heatsink temperature (C0061) of the controller with the node address 5 is to be read via the
parameter data channel 1.

Telegram to the controller

Formula

Information

Identifier

= basic identifier + node address
= 1536 + 5
= 1541

·

Basic identifier for parameter data channel 1 (output) = 1536

·

Node address of the controller = 5

Command code = 40

hex

·

Command "Read Request" (request to read a parameter from the
controller)

Index

= 24575 − number of the Lenze code
= 24575 − 61
= 24514
= 5F C2

hex

·

Code = C0061 (heatsink temperature)

Subindex

= 0

·

Subcode = 0 (no subcode)

Data 1 ... 4

= 0

·

Read request only

11bit

8 bytes user data

Identifier

Command

code

Index

Subindex

Data 1

Data 2

Data 3

Data 4

Low byte

High byte

1541

40

hex

C2

hex

5F

hex

0

0

0

0

0

Identifier = 1541

L

Identifier = 1413

Read Request
(C0061 = ???)

Read Response
(C0061 = 43 ºC)

SDO 1 / Node-ID 5

Fig. 2−6

Reading parameters

Advertising