Detailed description
2.7 Program operation mode
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
121
Special points to be noted
The following must be noted for user program _N_PROG_EVENT_SPF:
•
It is run with the lowest priority and can, therefore, be interrupted by the user ASUB.
•
The PLC can be advised of the processing status of _N_PROG_EVENT_SPF via user M
functions.
•
The triggering event can be defined at the interface via the PLC program:
DB2x, ... DBB376 offers the following information:
0 No active event
Bit 0 = 1 part program start from channel status RESET
Bit 1 = 1 part program end
Bit 2 = 1 opertor panel reset
Bit 3 = 1 ramp up
Bit 4 = 1 first start after search
Bit 5-7 reserved, currently always 0
the general request to 0 makes it possible to determine whether any of the events is
present. If a running event disappears upon RESET, the associated display bit in the
interface extinguishes.
For very brief events, the corresponding bit remains for at least the duration of a complete
PLC cycle.
•
_N_PROG_EVENT_SPF is always processed in the channel in which the corresponding
event has occurred. By scanning MD20000 $MC_CHAN_NAME (channel name), it is
possible to determine in program _N_PROG_EVENT_SPF which channel is currently
being processed.
Note: Power up is an event that takes place in all channels.
•
Each time MD20108 $MC_PROG_EVENT_MASK is reconfigured,
/_N_CMA_DIR/_N_PROG_EVENT_SPF must be loaded or enabled. Otherwise, the alarm
14011 "Program _N_PROG_EVENT_SPF does not exist or not enabled for execution" is
output.
•
The display can be suppressed in the current block display using the DISPLOF attribute
in the PROC statement.
•
A single block stop can be disabled with SBLOF attribute command or via
MD10702 $MN_IGNORE_SINGLEBLOCK_MASK (prevent single block stop) with Bit 0.
The response to read-in disable and single-block processing can be controlled separately
through the machine data MD20106 $MC_PROG_EVENT_IGN_SINGLEBLOCK (Prog
events ignore the single block) and MD20107 $MC_PROG_EVENT_IGN_INHIBIT (Prog
events ignore the read-in disable).
MD20106 $MC_PROG_EVENT_IGN_SINGLEBLOCK
_N_PROG_EVENT_SPF makes a block change in spite of single-block mode without an
additional Start if
Bit 0 = 1 is set after the part program start event
Bit 1 = 1 is set after the part program end event
Bit 2 = 1 is set after the operator panel reset event
Bit 3 = 1 is set after the power up event
Bit 4 = 1 is set after the first start after search event
MD 20107: PROG_EVENT_IGN_INHIBIT
_N_PROG_EVENT_SPF changes block in spite of read-in disable if
Bit 0 = 1 is set after part program start event
Bit 1 = 1 is set after part-program-end event
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 ...