1204 HEIDENHAIN Technical Manual iTNC 530 HSCI
Module 9391 Display an error message with additional offset
With Module 9391 you can display with an additional offset a PLC error
message from the .PET table. Module 9391 corresponds in behavior to
Module 9085. The module can be called from a cyclic PLC program or from a
spawn job or submit job.
An offset is added to the value for the help number in the .PET file in order to
generate the actual help number. This way a group error number can be
defined for an (OEM) device in the .PET table. The error number (used as an
offset) supplied by the device in case of error then leads to the appropriate
help text.
Two new columns were added to the .PET table for this. In the column ONL-
Name you enter the file name of the help file that is to be called additionally in
connection with an offset. In the ONL-Number column you enter the ID (=help
number) of the HTML page in the help file to be opened. The offset is added
to this ID (=help number) during the module call, and is given by the module.
This makes it possible to refer to specific HTML pages in addition to the more
general PLC error message.
Constraints:
The .CHM help file must be stored language-sensitive in the
TNC:\tncguide\de directory, or in TNC:\tncguide\en etc.
An OEM-specific OEMx.CHM file is necessary.
If no OEMx.CHM file is indicated, the online help is not called. All other
reactions that are saved for this error in the .PET table are performed.
Call:
PS K/B/W/D <Line number in the .PET error table>
PS K/B/W/D <Offset for the help number in .PET>
CM 9391
Error code:
Marker Value Meaning
M4203 0 No error
1 Error code in W1022
W1022 2 Invalid parameter or parameter does not exist