
FANUC PMC Program Conversion Tool
Supplemental Operator’s Manual
01 05.07.05
M.Ichijo
New registration
B-64214EN/01-01
EDIT
DATE
DESIG.
DESCRIPTION
7/8
DRAW.NO.
After
Conversion rules for functional instructions 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 ConvRuleLad.txt to delete ";;" at
the beginning of each line.
Example of customizing:
If you can assume that every DIFU instruction can be converted
into R_TRIG instruction with a variable whose name is
“R_TRIG”, followed by the number in the parameter of the DIFU,
you may enable the conversion rule of DIFU by deleting “;;” 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= R_TRIG+VARIABLE_PMC1
⇒
IecParam1=R_TRIG+VARIABLE_PMC1
Note:
By enabling the conversion rule starting with "IecParam1",
DIFU, DIFD and TMRB will be converted to PMC-SD7
instructions such as “R_TRIG1”, or “TMR_THOUS2” with
variables whose name is the instruction name followed by the
number in the parameter of the instructions before the conversion.