Siemens SINUMERIK 828D Function Manual page 1057

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

Advertisement

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. 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 must be entered byte by byte here. 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.
For FC 24, the maximum possible number of axis selections can also be restricted.
This upper limit is set for the 1. Machine control panel in DB10.DBW30 (symbolic name: MCP1MaxAxis) or for
the 2. Machine control panel in DB10.DBW54 (symbolic name: MCP2MaxAxis) for the respective MCP.
The default setting is 0, corresponding to the maximum number of configured axes. The axis numbers and the
limit can also be adapted dynamically. Afterwards, a new axis must be selected on FC 24. Axis numbers may not
be switched over while the axes are traversing the relevant direction keys. The compatibility mode is preset with
axis numbers 1 to 6 for both MCPs and restricted to the configured number of axes.
Declaration of the function
FUNCTION FC 24 : VOID
// NAME:
VAR_INPUT
BAGNo :
ChanNo:
SpindleIFNo:
END_VAR
VAR_OUTPUT
FeedHold :
SpindleHold :
SpindleDir:
END_VAR
BEGIN
END_FUNCTION
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
MCP_IFM2
BYTE ;
BYTE ;
BYTE ;
BOOL ;
BOOL ;
BOOL ;
P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
1057

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents