beautypg.com

Setting data blocks, Setting parameters – Pilz ST SB DP S, SW paket PROFIBUS-DP User Manual

Page 23

background image

PROFIBUS-DP-Slave Operating Manual

4-11

Setting Parameters

122 words input and 2 words output

1st ID-Byte for input data

1000 0000

B

80

H

Length-Byte for input data (64 words)

1111 1111

B

FF

H

2nd ID-Byte for output data

0100 0000

B

40

H

FF

80

Length-Byte for output data

C1

40

1100 0001

B

C1

H

F9

80

3rd ID-Byte for input data

1000 0000

B

80

H

Length-Byte for input data (58 words)

1111 1001

B

F9

H

Setting data blocks

Enter the values in a data block, as shown overleaf. In addition to
diagnostic and configuration data, the following data words must be
written:

• The first 128 data words are reserved for input data and the next 128 for

output data.

• Enter the maximum length of the diagnostic data in data word DW 0783.

This value means that a memory area is reserved for the diagnostic data
during initialisation. The value max_diag_len is stated in bytes and must
be at least equal to the length in words of the diagnostic data in data
word DW 0812.

INFORMATION
DW 0812 should be entered in words and DW 0783 in bytes!

• “F5” should always be entered in data word DW 0795.

• The station address should be entered in data word DW 0800. This

address must be identical to the address set on the front plate.

• In data word DW 0801, enter the transmission sequence for the I/O-data

and the user-specific diagnostic data:
0: (default; Motorola) The PSS sends the left data byte to the

Master first, followed by the right data byte.

1: (Intel) the PSS transmits the right data byte first, followed by the

left data byte.