P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
997
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 with
function 1 is completed, read out the ring buffer DB in STEP7 with the function "opening the data block in the data
view". The content of the ring buffer DB can now be analyzed.
Call example
FUNCTION FC 99: VOID
TITLE =
VERSION : 0.0
BEGIN
NETWORK
TITLE = NETWORK
CALL FB 29, DB 80 (
Func
:= 1,
Signal_1
:=M
100.0,
Signal_2
:=M
100.1,
Signal_3
:=M
100.2,
Signal_4 :=M
100.3,
Signal_5
:=M
10.4,
Signal_6
:=M
100.5,
Signal_7
:=M
100.6,
Signal_8
:=M
100.7,
NewCycle
:= TRUE,
Var1
:= MB
100,
BufDB
:= 81,
ClearBuf
:=M
50.0);
END_FUNCTION
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...