Siemens SINUMERIK 828D Function Manual page 1060

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

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
The second machine control panel can be processed if parameter "ModeGroupNo" has been increased by
B#16#10. When parameterizing, the HHU number is contained in the lower nibble (lower 4 bits).
"BAGNo" = 0 or B#16#10 means that the mode group signals are not processed.
ChanNo = 0 means that the channel signals are not processed.
Flexible axis configuration
It is possible to be flexible in the assignment of axis selections or direction keys for machine axis numbers.
Better support is now provided by the MCP blocks for the use of two MCPs, which are to run in parallel, in
particular for an application using two channels and two mode groups. The module 2 call for the 2nd machine
control panel in OB1 cycle must come after the call of the 1st MCP Note that the axis-numbers are also specified
in the parameterized mode group number of the MCP block in the axis tables of the relevant MCP.
To afford this flexibility, tables for axis numbers are stored in DB 10.
For the first machine control panel (MCP), the table starts at byte 8 (symbolic name: MCP1AxisTbl[1..22]) and for
the second Machine control panel (MCP) starting from the byte 32 (symbolic name: MCP2AxisTbl[1..22]) for the
second MCP. The machine axis numbers are entered here bytewise. It is permissible to enter a value of 0 in the
axis table. Checks are not made to find impermissible axis numbers, meaning that false entries can lead to a PLC
Stop.
The restriction of the possible number of axes at FC 25 is done via the 0-values in the axis table. The axis
numbers can also be adapted dynamically. Axis numbers may not be switched over while the axes are being
traversed via the relevant direction keys. The compatibility mode is preset with axis numbers 1 to 4 for both
MCPs and restricted to the configured number of axes.
Note
For further information see "FC 19: MCP_IFM transmission of MCP signals to interface [Page
1039] ".
Declaration of the function
FUNCTION FC 25 : VOID
// NAME:
VAR_INPUT
BAGNo :
ChanNo:
SpindleIFNo:
END_VAR
VAR_OUTPUT
FeedHold :
SpindleHold :
END_VAR
BEGIN
END_FUNCTION
1060
MCP_IFT
BYTE ;
BYTE ;
BYTE ;
BOOL ;
BOOL ;
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents