Siemens SINUMERIK 840D sl Function Manual page 989

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

END_STRUCT;
BEGIN
END_DATA_BLOCK
Description of formal parameters
Signal
Func:
Parameters for function 1
Signal_1 ...
Signal_8:
NewCycle:
Var1 :
Var2 :
Var3 :
BufDB:
ClearBuf:
BufAddr:
Parameters for function 2
DataAdr:
TestVal:
AndMask:
TestIsTrue:
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.
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
END_STRUCT;
Type
I
I
BOOL
I
BOOL
I
BYTE
I
I
I
I
BOOL
I/O
I
POINTER
I
WORD
I
WORD
O
BOOL
P3: Basic PLC program for SINUMERIK 840D sl
Type
Value range
INT
0, 1, 2
0 (FALSE), 1
(TRUE)
0 (FALSE), 1
(TRUE)
INT
INT
INT
0 (FALSE), 1
(TRUE)
INT
0 (FALSE), 1
(TRUE)
13.17 Block descriptions
Description
Function
0: Switch off
1: Signal recorder
2: Data trigger
Bit signals checked for change
See paragraph "Function" above
Additional value
Additional value
Additional value
Ring buffer DB no.
Delete ring buffer DB and reset pointer Bu‐
fAddr
Target area for read data
Pointer to word to be tested
Comparison value
See paragraph "Function" above
Result of comparison
989

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents