1184 HEIDENHAIN Technical Manual iTNC 530 HSCI
Module 9393 PET column for PLC notification
The column 'PLC' was added to the PET table. A bit pattern, which can be read
out by the PLC program, can be saved. The hexadecimal input range in the
PLC column is $0 to $FFFFFF. The PET column is read out with Module 9393.
Call:
PS B/W/D/K <PET line number>
Error number of the PLC
PS B/W/D/K <Mode>
0: PLC column
CM 9393
PL B/W/D <Value of the PLC column>
Bit pattern from PLC column, in case of error = 0
Error code:
Example:
PS K10 ; Error 10 from .PET
PS S"ERROR-ERROR" ; %s
PS K9000 ; %d
PS W100 ; %.1f
PS K2 ; Offset for the help number in .PET
CM 9392
Assumption: Text in .PET "%s error in module %d, W100 = %.1f" and
W100 = 1234
Therefore, the following output text results:
"ERROR-ERROR error in module 9000, W100 = 123.4"
Marker Value Meaning
M4203 0 Function performed
1 Error code in W1022
W1022 1 Invalid PET line number programmed
2 Invalid mode programmed