beautypg.com

Standard function blocks, Sb 230 – Pilz ST SB DP S, SW paket PROFIBUS-DP User Manual

Page 33

background image

PROFIBUS-DP-Slave Operating Manual

6-1

Standard Function Blocks

SB 230

Function
• Communication between the PSS and PROFIBUS-DP-Slave
• Trigger a Slave reset
• Trigger static diagnostics

Block Header

SB230

DP-SLAVE

W- BASE ERR -W

B- DB
B- MODE

W: Word, B: Byte

Parameters

• Input parameters

- BASE: Module's start address (Offset)

The module occupies 1024 words after the start address.
These words may not be accessed.

- MODE: = 01:

Static diagnostics

= 02:

Reset:

All other values:

Data exchange (Data_exchange):

- DB:

Data block

• Output parameters

ERR:

Error message (see table below)

ERR (hex) Key

Cause/Remedy

0001

DP_SL_ERR_DPS2_LENGTH

Total length calculated for diagnostic,
parameter, input and output data is too
high; reduce the data length!

0002

DP_SL_ERR_DPS2_INIT

Hardware initialisation error;
Change PSS(1) DP-S module or
PSS SB 3006 DP-S