
10.COMMAND LINE EXECUTION FUNCTION B-66234EN/05
- 370 -
10.4.6 Converting a Mnemonic File to the Source Program
MnemonicToSrc [/warning=0 | 1] [/init=0 | 1 | 2 | 3 | 4 | 5 | 6] [/symspace=character]
[/file=[Drive:][Path]filename]
Parameter
/warning =0 : Does not detail warning messages.
=1 : Details warning messages. (Default)
/init =0 : Initialize all source programs and delete all ladder
programs before conversion.
=1 : Initialize system parameter before conversion.
=2 : Initialize title data before conversion.
=3 : Initialize symbol/comment before conversion.
=4 : Delete all ladder programs before conversion.
=5 : Initialize I/O module data before conversion.
=6 : Initialize message data before conversion.
/symspace =character: Specify the character of symbol to
replace to white-space character.
* If this parameter is omitted, the specified character of symbol
is not replaced to white-space character.
There is a case that the conversion not intended occurs by
cyclic conversions (a mnemonic file <-> the source program),
if the white-space character is included in the symbol. It is
recommended that the white-space character should not be
used in the symbol.
/file =[Drive:][Path]file name:
Specify the file name of a mnemonic file to be converted.
NOTE
1 If you want to initialize symbol/comment and all
ladder programs, please specify “/init=3,4”.
2 When /init=0 or /init=3 is not specified,
symbol/comment is added.
3 When /init=0 or /init=4 is not specified, a net
comment is added.
4 When the same subprogram is already present, a
source program is always newly created from a
mnemonic file.
Explanation
Source programs of the LAD file opened by command “FlOpen” are
converted from the specified mnemonic file.
Note
• A conversion log (FLMNE.txt, FLMNE2.txt) is created on the
same directory path as for the conversion mnemonic file. Even if
this command is executed two or more times in a command file,
all logs are appended to the same conversion log file
(FLMNE2.TXT).