beautypg.com

ProSoft Technology 3170-PDP User Manual

Page 59

background image

Configure the Adapter for Master/Slave Communication

3170-PDP ♦ FLEX Platform

FLEX I/O™ PROFIBUS Adapter

ProSoft Technology, Inc.

Page 59 of 152

August 23, 2007

The identifier byte and its format are described in the following illustration. This
byte is defined in Part 3 of the PROFIBUS standard.

7

6

5

4

3

2

1

0

Most Significant Bit

Least Significant Bit

Bit Number

Length of data
00 1 byte resp. 1 word

w
w
w
15 16 byte resp. 16 words

input/output
00 specific identifier formats
01 input
10 output
11 input-output

length format1
0 byte byte structure
1 word word structure

concistency over
0 byte or word
1 whole length

1 When transferring words, PROFIBUS DP transfers the high byte first, followed by the low byte. If word structure is entere

in the column format the DP master has the possibility to swap the bytes within the word, if required by the target system.

The maximum size of this identifier area is 17 bytes. If no FLEX I/O modules are
installed in the upper slots, the length may be less. Consistency must be over a
word.

Check Configuration Example

Check Configuration Message when used with Send Parameter Auto Configure or
Condensed Format (Length 10 bytes)

Name Identifier

Byte

Description

Octet 1:

50h

Input Status Word (input – 1 word)

Octet 2:

60h

Output Status Word (output – 1 word)

Octet 3:

50h

Slot 1, input module 1 word

Octet 4:

60h

Slot 1, output module 1 word

Octet 5:

00h

Slot 2, input module empty

Octet 6:

60h

Slot 2, output module 1 word

Octet 7:

58h

Slot 3, input module 9 words

Octet 8:

60h

Slot 3, output module 1 word

Octet 9:

50h

Slot 4, input module empty

Octet 10:

65h

Slot 4, output module 6 words

I/O sizes configured: 22 input bytes, 20 output bytes

Refer to the configuration example to understand how and where to enter this
data.