July 2013 8.1 Display and operation 1285
Module 9074 Load texts from error/dialog files into a PLC string
Module 9074 is used to copy texts from error files and dialog files (ERROR.A,
DIALOG.A) to a PLC string directly and without coding.
Condition:
Due to the file access the module must be called from a submit job or spawn
job.
The module returns the number of loaded characters (string length). With
UTF-8 texts this value may be larger than the number of visible characters.
Also, with UTF-8 texts the indexed access to individual characters in the
string may not be correct in some cases.
Call:
PS K/B/W/D <PLC string>
Source or constant string (e.g. S"D012")
PS K/B/W/D <PLC string>
Target
CM 9074
PL B/W/D <Number of characters in target string>
Error code:
Example: Transmission of text 13 from the error file to PLC string 54
PS S"#E013" ; Source: Line 13 from error.a
PS K9000 ; Target string: S54
CM 9074
PL W_STRLEN ; Number of char in the string
L M4203
IFT
L NP_W1022_Module_Error status
= Wxxx
ENDI
Additional
conversational
languages
HEIDENHAIN offers additional conversational languages, which can only be
selected in combination with option 41 (ID 530 184-01). If option 41 is
activated via Programming and Editing > MOD key and the keyword SIK, then
the "additionally" declared dialog language is activated.
Decimal point
With MP7280 you specify whether the decimal point will be a comma or a
period.
MP7280 Decimal character
Input: 0: Decimal comma
1: Decimal point
Marker Value Meaning
M4203 0 No error
1 Error code in W1022
W1022 11 Invalid address of the source string or target string
20 Module was not called in a spawn job or submit job