Detailed description
2.12 Block descriptions
Configuration steps
Select function of diagnostics block. Define suitable data for the recording as signal recorder
or data triggering. Find a suitable point or points in the user program for calling the
diagnostics FB. Create a data block for the ring buffer (see call example). Call the
diagnostics FB with parameters in the user program. In function 1, it is advisable to clear the
ring buffer with the ClearBuf parameter. When the recording phase is complete (function 1),
read out the ring buffer DB in STEP7 by opening the data block in the data view. The
contents of the ring buffer DB can only be analyzed.
Call example
FUNCTION FC 99: VOID
TITLE =
VERSION : 0.0
BEGIN
NETWORK
TITLE = NETWORK
CALL FB 29, DB 80 (
Func
END_FUNCTION
2-168
:= 1,
Signal_1
:=M
Signal_2
:=M
Signal_3
:=M
Signal_4
:=M
Signal_5
:=M
Signal_6
:=M
Signal_7
:=M
Signal_8
:=M
NewCycle
:= TRUE,
Var1
:= MB
BufDB
:= 81,
ClearBuf
:=M
100.0,
100.1,
100.2,
100.3,
10.4,
100.5,
100.6,
100.7,
100,
50.0);
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0