2 writing a parameter (example), Writing a parameter (example), Network via canopen – Lenze EPM−T9XX Modular system User Manual

Page 234

Advertising
background image

Transmitting parameter data

Writing a parameter (example)

9

Network via CANopen

9.4

9.4.2

L

9.4−4

EDSPM−TXXX−9.0−11/2009

9.4.2

Writing a parameter (example)

An I/O system IP20 has the node address 2. For the first analog module (4×analog
output), the function of the output A.0 (voltage signal 0 ... +10 V, 12 bits) is to be
shown.

Formula

Information

Identifier

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

h

·

Basic identifier for parameter channel 1 (output) = 1536

·

Node address of the I/O system IP20 = 2

Instruction
code:

= 23

h

·

Command Write Request" (transmitting parameters to
the I/O system IP20)

Index

= I3001

h

·

Index first analog module

Subindex

= 1

·

Subindex = 1 (function for output A.1 among others)

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

= 00

h

= 00

h

= 05

h

= 3B

h

= 00 00 05 3B

h

·

Diagnostics (Lenze setting)

·

Reserved

·

Output A.0 (voltage signal 0 ... +10 V, 12 bits)

·

Output A.1 (Lenze setting)

11 Bit

8 bytes of user data

Identifier

Instruction

code:

Index

Subindex

Data 1

Data 2

Data 3

Data 4

LOW byte HIGH byte

602

h

23

h

01

h

30

h

1

00

h

00

h

05

h

3Bh

(LSB)

(MSB)

L

0

1

L

Write Request

Write Response

Identifier = 1538

Identifier = 1410

epm−t118

Fig. 9.4−1

Writing a parameter

Formula

Information

Identifier

= Basic identifier + node address
= 1408 + 2
= 1410

·

Basic identifier for parameter channel 1 (input) = 1408

·

Node address of the I/O system IP20 = 2

Instruction
code:

= 60

h

·

Command Write Response" (acknowledgement from the
I/O system IP20)

Index

= Index of the read request

Subindex

= Subindex of the read request

Data 1 ... 4

= 0

·

Acknowledgement only

11 Bit

8 bytes of user data

Identifier

Instruction

code:

Index

Subindex

Data 1

Data 2

Data 3

Data 4

LOW byte HIGH byte

1410

60

h

01

h

30

h

0

0

0

0

3

Task

Telegram to the I/O system IP20

Telegram from the I/O
system IP20 (acknowledgement
when being executed faultlessly)

Advertising