Siemens SINUMERIK 840D sl Function Manual page 871

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Relevant parameters (FB1)
Direct keys
Op1KeyOut
OpKey1BusAdr
Op1KeyStop
Op1KeyNotSend
OpKeyBusType = b#16#55 (via CP 840D sl)
MCP identification
Via the identify interface in DB7 it is possible to query the type of the Ethernet component
(MCP, HT 2, HT 8 or direct keys) with the relevant parameters at the input/output in cyclic
operation:
● Relevant parameters at the input:
"IdentMcpBusAdr", "IdentMcpProfilNo", "IdentMcpBusType", "IdentMcpStrobe"
● Relevant parameters at the output:
"IdentMcpType", "IdentMcpLengthIn", "IdentMcpLengthOut"
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 keys. The parameter
"IdentMcpBusType" currently has no significance 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 two seconds).
The output parameters should show the user the size of the data areas for the addressed
device. Furthermore, it can be defined here whether an HT 2 or an HT 8 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 DB7 (gp_par).
Relevant parameters (FB1)
MCP device identification
Input
IdentMcpBusAdr
IdentMcpBusProfilNo
IdentMcpBusType
IdentMcpStrobe
IdentMcpBusProfilNo
MCP, HHU, HT 8, HT 2
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
P3: Basic PLC program for SINUMERIK 840D sl
13.10 Structure and functions of the basic program
Op2KeyOut
Op2KeyBusAdr
Op2KeyStop
Op2KeyNotSend
Output
IdentMcpType
IdentMcpLengthIn
IdentMcpLengthOut
e.g. direct keys OP 08T
Address: TCU index:
Input parameters, e.g. OP 08T
Values in direct keys
IdentMcpBusAdr = TCU index
IdentMcpBusProfilNo = Value 1
IdentMcpBusType = Default value
Value
B#16#0
871

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents