Siemens SINUMERIK 828D Function Manual page 1068

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

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
General
The blocks FC 19 (M version), FC 24 (slim-line version), FC 25 (T version) and FC 26 (HT8 version) transfer the
signals of the machine control panel to and from the application interface. In the input parameters,
"ModeGroupNo" selects the mode group to be processed by the block. The "ModeGroupNo" parameter also
selects the number of the machine control panel (Bit 4). "ChanNo" selects the channel to be processed.
Not FC 26:
The "SpindleIFNo" parameter defines the axis interface of the spindle. The spindle override is transferred to this
spindle interface. The parameters are checked for incorrect parameterization.
Not FC 26:
Output parameters "FeedHold" and "SpindleHold" are generated from the 4 feed/spindle disable and feed/
spindle enable keys and are returned with "logical 1" for disable.
Information for the next cycle is stored in DB8, bytes 0 to 3 or bytes 62 to 65, depending on the machine control
panel number. This information is the edge trigger flag, feed value and selected axis number. The blocks are
provided with user data via the pointer parameters in DB 7 "MCP1In" and "MCP1Out" ("MCP2In" and
"MCP2Out"). The pointers are addressed indirectly via a further pointer from the VAR section of DB7 in order to
avoid absolute addressing. This additional pointer is determined symbolically in FB1.
Block Description
All 4 components have a similar structure and are classified for the individual subtasks:
In the Input network, various parameters are copied to local variables. The machine control signals (user data for
input/output area) are also copied between locations using the various pointers in DB 7 (gp_par). These local
variables are handled in the block for reasons of efficiency. Some values are initialized for the start­up.
MCS/WCS switchover with edge evaluation, axis selections, direction keys and rapid traverse overlay is
determined in the Global_IN network for further processing in the block User-specific changes must take place in
this part of the program, which are mainly oriented at the axis selection.
Only the keyswitch information is copied in Network NC .
The mode group network transfers the modes of the keys as dynamic signals to the NCK. The INC checkback
signals from the NC are stored temporarily for the corresponding LEDs. If the mode group number is 0, this
network is not processed. A too large number generates the message 401901 or 402501 and changes over after
stop.
In the Channel network the NC Start, Stop, Reset and Single Block functions are activated by corresponding
checkback signals. The direction keys of the geometry axes are supplied if a corresponding preselection is made,
otherwise they are cleared. If the channel number is 0, this network is not processed. A too large number
generates the message 401902 or 402502 and changes over after stop.
The Spindle network transfers the spindle override to the interface configured via "SpindleIFNo".
The Network Axes transfers the feed override to the selected axis interface. The direction keys are assigned to
the selected axis/spindle. If an axis has been selected previously, the direction information is set to 0.
The output parameters are prepared and the LED signals of the INC machine function are generated in the
Global_OUT network .
The Output network transfers the output signals of the machine control panel from the VAR_TEMP image to the
logical address. The data for the next cycle are also saved.
Basic Functions
1068
Function Manual, 09/2011, 6FC5397-0BP40-2BA0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents