Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
240
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Call example
FUNCTION FC 100 : VOID
VAR_TEMP
myAny:
ANY ;
END_VAR
BEGIN
NETWORK
...
// Deactivate synchronized actions with ID3, ID10 and ID31 in NC channel 1 :
SYAK:
TO DB21;
SET;
S DBX300.2;
//ID3
S DBX301.1;
//ID10
S DBX303.6;
//ID31
L B#16#1;
T MB11;
SPA TRAN;
// Synchronized actions from NCK channel:
SYVK:
L B#16#2;
T MB11;
TRAN: CALL FC 21 (
Enable :=
M 10.0,
// if True, FC 21 is active
Funct :=
MB 11,
S7Var :=
#myAny,
//Not used
IVAR1 :=
1,
//Channel no.
IVAR2 :=
0,
Error :=
M 10.1,
ErrCode :=
MW 12);
...
END_FUNCTION
Functions
3, 4: Rapid PLC NCK data exchange
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...