beautypg.com

3 reading a parameter (example), Reading a parameter (example), Canopen communication – Lenze I/O system 1000 System Manual User Manual

Page 280

background image

CANopen communication

Transmitting parameter data
Reading a parameter (example)

8

l

280

EDSIO1000 EN 7.0

8.4.3

Reading a parameter (example)

Task

An I/O system 1000 has been assigned node address 2. The function of the first channel is
to be read at the first analog I/O compound module (EPM−S500, 2 analog outputs 0 ... 10 V).

Telegram to the I/O system

Formula

Information

Identifier

= Basic identifier + node address
= 1536 + 2 =1538 = 602

h

l

Basic identifier for parameter channel 1 (output) =
1536

l

Node address of the I/O system = 2

Instruction code = 40

h

l

Read Request command (request for reading a
parameter of the I/O system)

Index

= I3100

h

l

First channel of the analog module

Subindex

= 1

l

First analog module

Data 1
Data 2
Data 3
Data 4
Data 1 ... 4

= 00

h

= 00

h

= 00

h

= 00

h

= 00 00 00 00

h

l

Read request only

11 bits

Eight bytes of user data

Identifier

Instructio

n code

Index

Subindex

Data 1

Data 2

Data 3

Data 4

LOW byte HIGH byte

Data 1

Data 2

Data 3

Data 4

602

h

40

h

00

h

31

h

1

0F

h

00

h

00

h

00

h

(LSB)

(MSB)

Read Request

Read Response

Identifier = 1538

Identifier = 1410

SLIO009

Fig. 8−11

Reading a parameter