beautypg.com

Devicenet, 14 appendix, 2 explicit messages – Lenze EMF2175IB User Manual

Page 140

background image

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

1

224

Input data

M1

1.

224

DeviceNet output data M0

Word

HIGH byte

LOW byte

Explanation

0

TXID

COMMAND

Data as hexadecimal values

1

PORT

SIZE

depending on scanner

TXID

Order number

2

SERVICE

MAC ID

depending on scanner

COMMAND

01 (execute block)
04 (clear response buffer)

3

CLASS

PORT

00, with SLC only 00

4

INSTANCE

SIZE

Data length in byte

5

ATTRIBUTE

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

INSTANCE 0001

8

Value (Low word)

– INSTANCE = 0001
– ATTRIBUTE = 0001
– L code

9

Value (High word)

– L code
– 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

depending on scanner

TXID

Order number

2

SERVICE

MAC ID

depending on scanner

STATUS
(excerpt)

01 (transaction successful)
03 (slave not in scan list)

3

L code

PORT

00, with SLC only 00

4

L subcode

SIZE

Data length in byte

5

Value (LOW word)

SERVICE

6

Value (HIGH word)

Parameter transfer data

MAC ID

DeviceNet node address

10

Parameter transfer data

User data

– CLASS = 0064
– INSTANCE = 0001
– ATTRIBUTE = 0001

– ATTRIBUTE = 0001
– L code
– L subcode
– Value

Show/Hide Bookmarks