Reading Out Diagnostics - Siemens SENTRON VL Series System Manual

Circuit breakers with communication capability - profibus
Hide thumbs Also See for SENTRON VL Series:
Table of Contents

Advertisement

Data transfer to the PLC
7.2 Control program example
Note
P#DB20.DBX 10.0 BYTE 45 represents a pointer for storing the read data:
P# = ID pointer
DB20 = data block to be used
.DBX10.0 = offset (here 10 bytes)
BYTE = ID for repetition factor type
45 = repetition factor (data set length → 45 bytes)
However, this data block must first be generated!
The precise structure of the data sets is included in Chapter 10.
7.2.6

Reading out diagnostics

General
The diagnostics are used for more precise identification of plant statuses.
Step 1 Call block
To call the block, type in the line "Call SFC13" with return in program code.
Note
If block SFC13 is not yet included in the block folder, it is automatically copied from the
standard library of STEP7.
Network 8
Intermediate result after entering "Call SFC13"
CALL "DPNRM_DG"
REQ
LADDR
RET_VAL:=
RECORD :=
BUSY
Step 2 Assignment with parameters
All parameters must be set customer-specifically.
Note
Help via "F1" when the cursor is in the line "CALL DPNRM_DG".
160
:=
:=
:=
3WL/3VL circuit breakers with communication capability - PROFIBUS
System Manual, 03/2011, A5E01051353-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents