K1: Mode group, channel, program operation, reset response
9.9 Program operation mode
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
583
Behavior when the read-in disable is set
The behavior of the function "event-driven program call" in case of set read-in disable (DB21, ... DBX6.1 = 1) can
be set channel-specific with the machine data:
MD20107 $MC_PROG_EVENT_IGN_INHIBIT
Suppress updating of the display of the program and channel statuses.
In order to avoid a flickering of the display of the program and the channel statuses in the operator panel, the
updating of the display can be suppressed for the execution of the normally very brief event-driven user program.
In the display then, the program and channel status remains visible before activation of the event-driven user
program (e.g. "program status cancelled" and "channel state reset").
The parameterization of this function is done with the channel-specific machine data:
MD20192 $MC_PROG_EVENT_IGN_PROG_STATE
Bit
Value
Description
In the event-driven user program:
0
• after an activation through part program start
0
the read-in disable is effective.
1
the read-in disable is suppressed.
1
• after an activation through part program end
0
the read-in disable is effective.
1
the read-in disable is suppressed.
2
• after an activation through operator panel reset:
0
the read-in disable is effective.
1
the read-in disable is suppressed.
3
• after an activation through power-up
0
the read-in disable is effective.
1
the read-in disable is suppressed.
Note
For bit 0 = 1 (user program is activated after part program start) the following constraint is
applicable:
If the user program is ended with the part program command
RET
, then
RET
always leads to
an executable block (similar to
M17
).
In case of bit 0 = 0,
RET
interpretation is done in the interpreter and leads to an executable
block.
Bit
Value
Description
During execution of an event-driven user program the updating of the display of the
program and channel status
1
• upon an activation through part program end
0
is not suppressed.
1
suppressed.