Detailed description
2.7 Structure and functions of the basic program
Basic logic functions: PLC basic program solution line (P3 sl)
72
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Relevant parameters (FB 1)
Direct control key
e.g. direct control keys OP08T
OpKeyNum = 1 or 2 (Number of OP’s with direct control keys)
Op1KeyIn
Op2KeyIn
Op1KeyOut
Op2KeyOut
OpKey1BusAdr
Op2KeyBusAdr
Address: TCU Index:
Op1KeyStop
Op2KeyStop
Op1KeyNotSend
Op2KeyNotSend
OpKeyBusType = b#16#55 (via CP 840D sl)
MCP-Identification
Via the Identify interface in DB 7 it is possible with the relevant parameters at
Input: "IdentMcpBusAdr", "IdentMcpProfilNo", "IdentMcpBusType", "IdentMcpStrobe";
Output: "IdentMcpType", "IdentMcpLengthIn", "IdentMcpLengthOut",
to query the type of an Ethernet component (MCP, HT2, HT8 or direct control keys) in cyclic
operation. Here the DIP device address or the TCU index at the parameter
"IdentMcpBusAdr" is activated by the user program together with setting of the Strobe signal.
The input parameter "IdentMcpProfilNo" is normally to be set to the value 0. This parameter
is to be set to the value 1 only in the identification of the direct control keys. The parameter
"IdentMcpBusType" currently has no signifcance for a user program and is to be left in its
default value.
After resetting the Strobe signal by the basic program, valid output information becomes
available to the user. The resetting of the Strobe signals by the basic program can last for
several PLC cycles (up to 2 seconds).
The output parameters should show the user the size of the data areas for the addressed
device. Further, it can be set here, for instance, whether an HT2 or an HT8 or no device is
connected to the connection box. With this information the MCP channel or the HHU-channel
can be activated. In the cyclic operation the parameters can be written symbolically by the
user program and read via the symbol names of the DB 7 (gp_par).
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 ...