
B–62884EN/01
3. OPERATION
227
5) Specify the following items:
D Mnemonic file name
Specify the name of a mnemonic file to be converted. Up to 40
characters can be specified.
D Source program name
Display the name of the source program to which a mnemonic
file is to be converted.
6) Select [EXEC] upon completion of item specification.
7) Mnemonic file is converted to a source program.
8) An error message is displayed if
Enter
is pressed after conversion.
The source program conversion screen appears when
Space
is
pressed after conversion.
If a mnemonic file created using a commercially available text editor is
to be converted to a source program, the mnemonic file must be in the
following format.
(1) Identification code
The mnemonic file defines data with four different identification
codes that each begin with %.
ID code Description
%@A
%@E
%@0 to 5
% only
Beginning of ALL-format data
End of ALL-format data
Beginning of unit-format data
End of unit-format data
The unit-format data mentioned above varies from one PMC model
to another as listed below.
-
PMC model
R series/PA3/QC/NB/NB2
Parameter
Title
Symbol & comment
Ladder
Message
I/O module
%@0
%@1
%@2 or %@2-C (Note 1)
%@3
%@4
%@5
Note
“%@2”, and “%@2-C” correspond to source format types as
follows:
%@2 : FORMAT-A/B
%@2-C: FORMAT-C
Ladder Editing Package uses FORMAT-C only. This means that, as part
of conversion to a mnemonic file, conversion to ”%@2-C” type code is
performed. For conversion to a source program, however, both type codes
(“%@2” and “%@2-C”) can be used.
(2) Linefeed code
Control character LF (0AH) is defined as a linefeed code. Control
character CR (0DH) is ignored.
3.5.8.3
Mnemonic File Format