
PMC Program Conversion Tool
Operator’s Manual
001 04.08.09 M.Ichijo New A-79700E
EDIT
DATE
DESIG.
DESCRIPTION
30/97
TITLE
DRAW.NO.
SHEET
CUST.
TITLE
1) Address → address of variable
PMC-SB7 address is converted to the corresponding PMC-SD7
address except the following addresses.
These addresses cannot be converted.
- C (Counter) address,
- T (Timer) address
- D (Data table) address if the address is accessed by bit or by
odd byte address.
- R9000-R9007 (system relay)
2) Symbol -> name of variable
- In cases that symbol is defined.
Variable is named as SYM_'symbol'.
Attaching 'SYM_' at the beginning of symbol avoids the
restrictions that variable name cannot start with number nor '_'
(Under bar) which are allowed in symbols of PMC-SB7.
Moreover, any characters that cannot be used on destination PMC
are replaced with other characters. This replacement is done with
conversion table in a text file. User can customize this conversion
rule by modification of this table if necessary.
As the result of these conversions, length of the variable name
may exceed its maximum, then conversion tool changes its
conversion procedure to generate the address without symbol
data.
- In cases that symbol is not defined.
In case of bit address, the variable is named V_'corresponding
PMC-SD7 address'.
In case of byte address, the variable is named
Vby_'corresponding PMC-SD7 address'.
This is to avoid duplication of converted address like following.
E.g.) R0.0 and R0 is converted to same %M1 and these cannot
be recognized by name if both names are based on the same
address %M1.