Detailed description
2.12 Block descriptions
Description of formal parameters
The table below lists all formal parameters of the Diagnostics function:
Formal parameters of 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
174
Type
Type
Value range
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
A
BOOL
Remark
Function
0: Deactivate
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
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0