P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
996
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Description of formal parameters
The table below lists all formal parameters of the Diagnostics function:
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
Formal parameters of diagnostics function
Signal
Type
Type
Value range
Remark
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
Var3
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
A
BOOL
Result of comparison
Содержание 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 ...