Siemens SINUMERIK 828D Function Manual page 897

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Control unit switching for direct control keys
The user switches Op1/2KeyBusAdr with 0xFF and Stop = TRUE in the startup block OB 100. Via the M to N
block FB 9 the direct control key address of the M to N-interface is stored to the parameter "Op1KeyBusAdr".
Relevant parameters (FB 1)
Direct control key
OpKeyNum = 1 or 2 (number of OP's with direct keys)
Op1KeyIn
Op1KeyOut
OpKey1BusAdr
Op1KeyStop
Op1KeyNotSend
OpKeyBusType = b#16#55 (via CP 840D sl)
MCP identification
Via the Identify interface in the DB 7 it is possible to query the type of the Ethernet component (MCP, HT2, HT8
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 control 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 2 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 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).
Relevant parameters (FB 1)
MCP-device identification
Input
IdentMcpBusAdr
IdentMcpBusProfilNo
IdentMcpBusType
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Op2KeyIn
Op2KeyOut
Op2KeyBusAdr
Op2KeyStop
Op2KeyNotSend
Output
IdentMcpType
IdentMcpLengthIn
IdentMcpLengthOut
P3: Basic PLC Program for SINUMERIK 840D sl
13.8 Structure and functions of the basic program
e.g. direct keys OP08T
Address: TCU Index:
Input parameters e.g. OP08T
Values in direct control keys
IdentMcpBusAdr = TCU-Index
IdentMcpBusProfilNo = Value 1
IdentMcpBusType = Default value
897

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents