Siemens SINUMERIK 840D sl Function Manual page 1032

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

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
machine control panel blocks. Mutual locking of the axis selections for equally assigned axes
for 2 machine control panels is not supported.
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 provide this flexibility, tables for axis numbers are stored in DB10.
For the first machine control panel the table starts at byte 8 (symbolic name:
MCP1AxisTbl[1..22]) and for the second machine control panel starting at byte 32 (symbolic
name: MCP2AxisTbl[1..22]) for the second MCP. The machine axis numbers must be entered
byte-wise here.
It is permissible to enter a value of 0 in the axis table. Checks are not made to find illegal axis
numbers, meaning that false entries can lead to a PLC Stop.
For FC19, the maximum possible number of axis selections can also be restricted. This upper
limit is set for the first Machine control panel in DB10.DBW30 (symbolic name: MCP1MaxAxis)
or for the second Machine control panel in DB10.DBW54 (symbolic name: MCP2MaxAxis) set.
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 for FC19. 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 9 for both MCPs and restricted to the
configured number of axes.
Example
More than nine axes are to be controlled with FC19 using a special application. We recommend
that you proceed as follows:
● Reserve free key on MCP.
● Evaluate this key as a flipflop.
● Evaluate the flipflop output as pos. and neg. edge.
● For a positive edge write one set of axis numbers in the axis table (DB10) and switch on
LED via this key
● For a negative edge write a different set of axis numbers in the axis table (DB10) and switch
off LED via this key.
Declaration of the function
FUNCTION FC19: VOID
1032
//symbolic name: MCP_IFM
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents