Siemens SINUMERIK 840Di Function Manual page 1347

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Description of formal parameters
The table below lists all formal parameters of the Diagnostics function:
Signal
Func
Parameters for function 1
Signal_1 to
Signal_8
NewCycle
Var1
Var2
VAR
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 is complete (function 1),
read out the ring buffer DB in STEP7 by opening the data block in the data view. The content
of the ring buffer DB can now be analyzed.
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Ty
Type
Value range
pe
I
Int
0, 1, 2
I
Bool
I
Bool
I
Byte
I
Int
I
Int
I
Int
I
Bool
I/O
Int
I
Pointer
I
Word
I
Word
Q
Bool
Detailed Description
2.12 Block descriptions
Remarks
Function
0: Switch off
1: Signal recorder
2: Data trigger
Bit signals checked for change
See the "Signal recorder" description
above
Additional value
Additional value
Additional value
Ring buffer DB no.
Delete ring buffer DB and reset pointer
BufAddr
Target area for read data
Pointer to word to be tested
Comparison value
See description
Result of comparison
2-153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents