Siemens SINUMERIK 840Di Function Manual page 1153

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Flexible axis configuration
With SW V6 and higher, it is possible to be flexible in the assignment of axis selections or
direction keys of machine axis numbers.
Better support is now provided by the MCP blocks for use of two MCPs, which are operated
simultaneously, 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. The table starts from
byte 8 (symbolic name: MCP1AxisTbl[1..22]) for the first machine control panel (MCP) and
from 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 19, the maximum possible number of axis selections can also be restricted. This limit
is set for the appropriate MCP in DB10.DBW30 (symbolic name: MCP1MaxAxis) or
DB10.DBW54 (symbolic name: MCP2MaxAxis). 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 19.
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 the restriction
for the configured number of axes.
Declaration of the function
FUNCTION FC 25: void
// NAME:
VAR_INPUT
END_VAR
VAR_OUTPUT
END_VAR
BEGIN
END_FUNCTION
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
MCP_IFT
BAGNo :
BYTE ;
ChanNo:
BYTE ;
SpindleIFNo:
BYTE ;
FeedHold :
BOOL ;
SpindleHold :
BOOL ;
Detailed description
2.12 Block descriptions
2-241

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents