Siemens SINUMERIK 840D sl Function Manual page 1048

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

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
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 1st machine control panel (MCP) the table starts at byte 8 (symbolic name:
MCP1AxisTbl[1..22]) and for the second machine control panel (MCP) starting at 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 illegal axis numbers, meaning that false entries can lead to a PLC Stop.
For FC24, 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) 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 for FC24. 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 FC24: VOID
// NAME:
VAR_INPUT
END_VAR
VAR_OUTPUT
END_VAR
BEGIN
END_FUNCTION
Description of formal parameters
Signal
BAGNo :
1048
BAGNo :
ChanNo:
SpindleIFNo:
FeedHold :
SpindleHold :
SpindleDir:
Typ
Type
e
I
BYTE
MCP_IFM2
BYTE ;
BYTE ;
BYTE ;
BOOL;
BOOL;
BOOL;
Value range
Description
B#16#00 - B#16#0A
1st MCP: Number of mode group to which the
mode signals are transferred
B#16#10 - B#16#1A
2nd MCP: Number of mode group to which the
mode signals are transferred
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