Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-167
Signal_5 : BOOL ;
Signal_6 : BOOL ;
Signal_7 : BOOL ;
Signal_8 : BOOL ;
Var1 : BYTE ;
Var2 : WORD ;
Var3 : WORD ;
END_STRUCT;
END_STRUCT;
BEGIN
END_DATA_BLOCK
Description of formal parameters
The table below lists all formal parameters of the Diagnostics function:
Signal I/O Type Value range Remarks
Func I Int 0, 1, 2 Function
0: Switch off
1: Signal recorder
2: Data trigger
Parameters for function 1
Signal_1 to
Signal_8
I Bool Bit signals checked for change
NewCycle I Bool See the "Signal recorder" description
above
Var1 I Byte Additional value
Var2 I Int Additional value
VAR I Int Additional value
BufDB I Int Ring buffer DB no.
ClearBuf I Bool Delete ring buffer DB and reset pointer
BufAddr
BufAddr I/O Int Target area for read data
Parameters for function 2
DataAdr I Pointer Pointer to word to be tested
TestVal I Word Comparison value
AndMask I Word See description
TestIsTrue Q Bool Result of comparison