2 writing a parameter (example), Writing a parameter (example), Canopen communication – Lenze I/O system 1000 System Manual User Manual
Page 279
CANopen communication
Transmitting parameter data
Writing a parameter (example)
l
279
EDSIO1000 EN 7.0
8.4.2
Writing a parameter (example)
Task
An I/O system 1000 has been assigned node address 2. The function of the first channel
(voltage signal 0 ... +10 V, 0 ... 27648dec) is to be output 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 = 23
h
l
Write Request command (transmitting parameters to
the I/O system)
Index
= I3100
h
l
First channel of the analog module
Subindex
= 1
l
First analog module
Data 1
Data 2 ... 4
= 0F
h
= 00
h
l
0 ... 10 V, 0 ... 07648
dec
l
No function
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
602
h
23
h
00
h
31
h
0F
h
00
h
00
h
00
h
00
h
(LSB)
(MSB)
Read Request
Read Response
Identifier = 1538
Identifier = 1410
SLIO008
Fig. 8−10
Writing a parameter
Telegram from the I/O system (acknowledgement when being executed faultlessly)
Formula
Information
Identifier
= Basic identifier + node address
= 1408 + 2 = 1410
l
Basic identifier for parameter channel 1 (input) = 1408
l
Node address of the I/O system = 2
Instruction code = 60
h
l
Command Write Response ’ (acknowledgement from
the I/O system)
Index
= Index of the read request
Subindex
= Subindex of the read request
Data 1 ... 4
= 0
l
Acknowledgement 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
1410
60
h
01
h
30
h
0
0
0
0
3