EasyManuals Logo

Siemens SINUMERIK 828D Function Manual

Siemens SINUMERIK 828D
1799 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #897 background imageLoading...
Page #897 background image
P3: Basic PLC Program for SINUMERIK 840D sl
13.8 Structure and functions of the basic program
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
897
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".
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)
Direct control key e.g. direct keys OP08T
OpKeyNum = 1 or 2 (number of OP’s with direct keys)
Op1KeyIn Op2KeyIn
Op1KeyOut Op2KeyOut
OpKey1BusAdr Op2KeyBusAdr Address: TCU Index:
Op1KeyStop Op2KeyStop
Op1KeyNotSend Op2KeyNotSend
OpKeyBusType = b#16#55 (via CP 840Dsl)
Relevant parameters (FB 1)
MCP-device identification Input parameters e.g. OP08T
Input Output Values in direct control keys
IdentMcpBusAdr IdentMcpType IdentMcpBusAdr = TCU-Index
IdentMcpBusProfilNo IdentMcpLengthIn IdentMcpBusProfilNo = Value 1
IdentMcpBusType IdentMcpLengthOut IdentMcpBusType = Default value

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals