G Functions - Siemens SINUMERIK 828D Function Manual

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

Advertisement

Note
The M02/M30 auxiliary function output to the PLC does not state that the part program has
been terminated. To determine definitely the end of a part program in the channel, the
following interface signal must be evaluated:
DB21, ... .DBX33.5 (M02/M30 active)
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.
13.14.3

G Functions

The M 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: DB 21
G functions from channel 2: DB 22
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 of the 8 G-groups specified in the machine data:
MD22510 $NC_ GCODE_GROUPS_TO_PLC
are overwritten according to the default setting set via the machine data as well as the values programmed in the
part program.
Address in DB 21, ...
DBB 208
DBB 209
DBB 210
DBB 211
DBB 212
DBB 213
DBB 214
DBB 215
DBB 216
DBB 217
DBB 218
DBB 219
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Variables
G_FKT_GR_1
G_FKT_GR_2
G_FKT_GR_3
G_FKT_GR_4
G_FKT_GR_5
G_FKT_GR_6
G_FKT_GR_7
G_FKT_GR_8
G_FKT_GR_9
G_FKT_GR_10
G_FKT_GR_11
G_FKT_GR_12
P3: Basic PLC Program for SINUMERIK 840D sl
Type
Basic position
BYTE
0
BYTE
0
BYTE
0
BYTE
0
BYTE
0
BYTE
0
BYTE
0
BYTE
0
BYTE
0
BYTE
0
BYTE
0
BYTE
0
13.14 Signal/data descriptions
Comment
Active G function of group 1
Active G function of group 2
Active G function of group 3
Active G function of group 4
Active G function of group 5
Active G function of group 6
Active G function of group 7
Active G function of group 8
Active G function of group 9
Active G function of group 10
Active G function of group 11
Active G function of group 12
1073

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents