
B-64214EN/01 3.PROGRAM CONVERSION
- 19 -
3.3 CUSTOMIZATION OF CONVERSION RULE
Following conversion rules can be customized by editing
ConvRuleChar.txt if necessary.
• In conversion of symbol to variable name, some characters are
replaced according to the rule described in the file.
1) Character that cannot be used in variable name is used in
conversion source data, it is replaced to other character.
2) Japanese is used in description, it is replaced to series of a
character.
3) Prefix of variable name (default setting is ‘SYM_’ ) is
added.
• In message conversion, Japanese-formatted message data is
replaced to series of a character according to the rule described in
the file.
Conversion rules for functional instruction can be customized by
editing ConvRuleLad.txt.
This file also includes some additional rules which may increase the
rate of the conversion if some instructions are used on certain
conditions in the source program. Such additional rules are not
activated but are commented out by default. If they can be applied to
the source program, please try to tune the conversion rule by editing
the applicable lines in the ConvRule.txt to delete ";;" at the beginning
of each line.
Example of customizing:
If you assume that DIFU can be converted to R_TRIG with
DUMMY_PARAM which has no reference, delete ";;" as follows.
;;[DIFU] [DIFU]
;;InstFunc=FIXED_NAME InstFunc=FIXED_NAME
;;InstName1=R_TRIG InstName1=R_TRIG
;;ConditionCount=1 ConditionCount=1
;;Condition1=PMC_CONDITION_1 Condition1=PMC_CONDITION_1
;;ParamCountInsideBox=1 ParamCountInsideBox=1
;;ParamCountOutsideBox=0 ParamCountOutsideBox=0
;;IecParam1=INSERT_DUMMY
⇒
IecParam1=INSERT_DUMMY