Parameter Manual
Operating Instructions, 08/2013, 6FC5397-8EP40-0BA0
155
Machine data
2.3 Channel-specific machine data
Description: Specification of the G code group of external languages, the G codes of which
are output at the NCK interface on block change/reset.
The interface is updated at each block change and after RESET.
Notice:
It is not guaranteed that a PLC user program has at all times a block-syn-
chronous relation between the active NC block and the G codes present. (Exam-
ple: Path mode with very short blocks).
Description: For setting the behavior, i.e. how the G groups are to be interpreted in the
PLC with regard to data.
With the current behavior (bit 0 = 0), the G group is the array index of a
64-byte field (DBB 208 - DBB 271).
Maximally the 64th G group can be reached in this way.
With the new behavior (bit 0 = 1), the data storage in the PLC consists of
max. 8 bytes (DBB 208 - DBB 215).
With this procedure, the array index of this byte array is identical with the
index of the MD22510 $MC_GCODE_GROUPS_TO_PLC[Index] and MD22512
$MC_EXTERN_GCODE_GROUPS_TO_PLC[Index].
Each index (0 - 7) may only be set for one of the two machine data; the value
0 must be entered for the other MD.
Bit 0(LSB) = 0:
Behavior as before, the 64-byte field is used for displaying the G codes
Bit 0(LSB) = 1:
The user specifies for which G groups the first 8 bytes are to be used
22512 EXTERN_GCODE_GROUPS_TO_PLC C11, C04 -
- Send G codes of an external NC language to PLC BYTE PowerOn
-
- 8 18, 0, 0, 0, 0, 0, 0,
0
- - 1/1
22515 GCODE_GROUPS_TO_PLC_MODE C04 -
- Behavior of G group transfer to PLC DWORD PowerOn
-
- - 0, 0, 0, 0, 0, 0, 0, 0... 0 1 1/1
Siemens Controls