Examples, Setting parameters – Pilz ST SB DP S, SW paket PROFIBUS-DP User Manual
Page 25

PROFIBUS-DP-Slave Operating Manual
4-13
Setting Parameters
Data word Type Contents
DW 0813
KF
Amount of configuration data 1- 244 [Byte]
(DW 0384ff)
DW 0814
KF
Only 0 is permitted
DW 0815
KF
Only 0 is permitted
DW 0816...DW 1023
Reserved
NOTICE
The data length may be a maximum of 1472 Bytes. The maximum data
length is calculated as follows:
3 x length of the input data
+
3 x length of the output data
+
2 x length of the diagnostic data
+
4 x length of the configuration data
+
120 Byte
Examples
Example 1:
12 words input and output: configuration byte FB
H
;
Length of configuration data: 1 Byte
Diagnostics: 3 words of internal diagnostic data
1 word of device-related diagnostic data
Data word
Contents
Description
DW 0000 - DW 0011
...
Input data
DW 0128 - DW 0139
...
Output data
DW 0258
KH 2500
ID-number
DW 0259
KH 0002
Device-related diagnostics
DW 0384
KH 00FB Configuration data
DW 0783
KF 10
max_diag_len [Byte]
DW 0795
KH F5
Pre-assigned
DW 0800
KF 1
Slave address [0-126]
DW 0801
KF 0
Transmission sequence
DW 0810
KF 12
Length of input data in words
DW 0811
KF 12
Length of output data in words
DW 0812
KF 4
Length of diagnostic data in words
DW 0813
KF 1
Amount of configuration data in bytes
DW 0814
KF 0
Pre-assigned
DW 0815
KF 0
Pre-assigned