DeviceNet
14 Appendix
14-20
L
BA2175 EN 2.0
14.2.2 Explicit messages
“Explicit Messages” can transfer parameter data between controllers and the SLC-CPU via the
DeviceNet parameter channel.
Data between the “SLC5/04-CPU”, DeviceNet scanner “1747” and the DeviceNet device is
transferred via “module files”:
Module file DeviceNet data direction Data path
• M0 Output data from the CPU to the DeviceNet node via a scanner
• M1 Input data from the DeviceNet node to the CPU via a scanner
The CPU writes or reads module file data by means of copy commands from the scanner. The data
are organized by the CPU memory of the processary. Further data processing then uses the data
from the processor memory.
Addressing:
DeviceNet data direction Module file Scanner rack position Data length in words (max. 224 words)
Output data M0
Input data M1
.
DeviceNet output data M0
Word HIGH byte LOW byte Explanation
0 TXID COMMAND Data as hexadecimal values
1 PORT SIZE
• TXID Order number
2 SERVICE MAC ID
epen
ng on scanner
• COMMAND 01 (execute block)
04 (clear response buffer)
3 CLASS • PORT 00, with S L C only 00
4 INSTANCE • SIZE Datalengthinbyte
5 A TTRIBUTE • SERVICE 0E (GET SINGLE ATTRIBUTE)
10 (SET SINGLE ATTRIBUTE)
6 L-Code • MAC ID DeviceNet node address
7 L subcode
Parameter transfer data
• User data
– CLASS = 0064
8 Value (Low word)
INST
NCE = 0001
– ATTRIBUTE = 0001
Lcode
9 Value (High word)
– L subcode
–Value
DeviceNet input data M1
Word HIGH byte LOW byte Data content Explanation
0 TXID STATUS Data as hexadecimal values
1 PORT SIZE
• TXID Order number
2 SERVICE MAC ID
epen
ng on scanner
• STATUS
(excerpt)
01 (transaction successful)
03 (slave not in scan list)
3 Lcode • PORT 00, with SL C only 00
4 L subcode • SIZE Datalengthinbyte
5 Value (LOW word) • SERVICE
6 Value (HIGH word)
• MAC ID DeviceNet node address
10
• User data
– CLASS = 0064
– INSTANCE = 0001
=
–Lcode
– L subcode
–Value
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.actechdrives.com - Email: info@actechdrives.com