Detailed description
2.13 Signal/data descriptions
Power Line Basic PLC Program (P3)
2-252 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Note
The M02/M30 auxiliary function output to the PLC does not state that the part program has
been terminated. In order to securely identify the end of a part program in the channel,
DB21, ... DBX33.5 (M02/M30 active) must be evaluated. The channel status must be
RESET. The auxiliary function output could arise from an asynchronous subroutine (ASUB)
or a synchronized action and has nothing to do with the real end of the parts program in this
case.
2.13.3 G functions
General
The G functions programmed in the part program, ASUB or synchronized actions are
channel specifically transferred from the NC to the PLC:
• G functions from channel 1: DB21
• G functions from channel 2: DB22
• etc.
The signal length is one PLC cycle.
POWER ON
After POWER ON, the value zero, i.e., active G groups undefined, is specified in the NC/PLC
interface for all G groups.
Part program end or abort
After part program end or abort, the last state of the G group is retained.
NC START
After NC START, the values in the 8 G groups specified in the machine data element:
MD22510 $NC_ GCODE_GROUPS_TO_PLC
are overwritten according to the initial setting defined via the machine data, as are the values
programmed in the part program.
Addresses in DB21, ... Variable Type Initial setting Comment
DBB 208
G_FKT_GR_1
Byte 0 Active G function of group 1
DBB 209
G_FKT_GR_2
Byte 0 Active G function of group 2
DBB 210
G_FKT_GR_3
Byte 0 Active G function of group 3
DBB 211
G_FKT_GR_4
Byte 0 Active G function of group 4
DBB 212
G_FKT_GR_5
Byte 0 Active G function of group 5
DBB 213
G_FKT_GR_6
Byte 0 Active G function of group 6
DBB 214
G_FKT_GR_7
Byte 0 Active G function of group 7
DBB 215
G_FKT_GR_8
Byte 0 Active G function of group 8
DBB 216
G_FKT_GR_9
Byte 0 Active G function of group 9
DBB 217
G_FKT_GR_10
Byte 0 Active G function of group 10
DBB 218
G_FKT_GR_11
Byte 0 Active G function of group 11