Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
227
Signal
Type Type
Value range
Remark
Enable
I
BOOL
1 = FC 21 active
Funct
I
BYTE
1, 2
1: Synchronized actions to channel
2: Synchronized actions from
channel
S7Var
I
ANY
S7 data storage area Not used
IVAR1
I
INT
1..MaxChannel
Channel number
Error
A
BOOL
ErrCode
A
INT
1 : "Funct" invalid
10: Channel no. invalid
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
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 ...