![SEW DFD11B Скачать руководство пользователя страница 49](http://html1.mh-extra.com/html/sew/dfd11b/dfd11b_manual_1250019049.webp)
Manual – DFD11B DeviceNet Fieldbus Interface
49
5
Programming samples in RSLogix 500 for SLC 500
Project Planning and Startup
5.6.2
Exchanging explicit messages (parameter data) with MOVIDRIVE
®
B
Task
In this program, parameter data are exchanged between the control and the inverter.
Exchange of parameter data between inverter and SLC500 takes place via
M-Files
(
→
Installation instructions on DeviceNet scanner module).
A memory area from word 224 to 255 in these
M-Files
is reserved for the explicit mes-
sages. The structure of this memory area is shown in the following figure.
This memory area is split up into two areas:
• Transmission header (three words)
• Explicit message body
The memory areas in the M-Files are described in more detail in the following overview.
54172AEN
Memory area
Function
Length
Value
Description
Transmission header
cmd/status
1/2 word
each
→
follow-
ing table
cmd: Entry of command code
status: Entry of transmission status
TXID
1 ... 255
During creation or downloading of a
request to the scanner, the contact
plan program of the SLC5 processor
assigns a TXID to the transfer.
Size
3 ... 29
Size of the explicit message body (in
bytes!)
Connec-
tion
0
DeviceNet connection (= 0)
Service
0E
hex
10
hex
05
hex
etc.
Get_Attribute_Single (Read)
Set_Attribute_Single (Write)
Reset
see DeviceNet specification for more
services
Explicit message body Class
1 word each
0 ... 255
DeviceNet class
Instance
DeviceNet instance
Attributes
DeviceNet attribute
Data
0 ... 26 words 0 ... 65535 Data content
Class
Instance
Attribute
T
ransmission
header
Explicit Message Body
Word 224
TXID
cmd/status
Connection
Size
Service
MAC-ID
Data
Word 225
Word 226
Word 227
Word 228
Word 229
Word 230
...
Word 255
0
0
I
Содержание DFD11B
Страница 2: ...SEW EURODRIVE Driving the world...