1266 HEIDENHAIN Technical Manual iTNC 530 HSCI
Module 9272 Code number in PLC string
The module copies the most recently entered code number as a string into a
PLC string.
Constraints:
The NC sets Marker M4629 when a code number is entered. The marker
needs to be reset by the PLC program.
Purely numerical, unsigned code numbers continue to be entered into word
D276 and are additionally available to the module as strings.
If an empty string or not only numbers are entered, the value –1 is entered
into word D276. The code number is then only available via Module 9272.
If no code number has ever been entered after a start-up, a string with a
length of 0 is returned.
Call:
PS B/W/D/K <Mode>
0: Read code number in PLC string
PS B/W/D/K <PLC string number>
PS B/W/D/K <Additional parameters>
No evaluation as yet, but must be programmed
CM 9272
Error code:
Marker Value Meaning
M4203 0 Function performed
1 Error code in W1022
W1022 2 Invalid mode programmed
3 Invalid PLC string address programmed