Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
248
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
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. 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.
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 startup.
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 Axes network
transfers the feedrate 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.
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...