Professional Documents
Culture Documents
GE Fanuc Automation: Computer Numerical Control Products
GE Fanuc Automation: Computer Numerical Control Products
Open CNC
Ladder Editing Package
Operator's Manual
Warning
Warning notices are used in this publication to emphasize that hazardous voltages, currents,
temperatures, or other conditions that could cause personal injury exist in this equipment or
may be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a
Warning notice is used.
Caution
Caution notices are used where equipment might be damaged if care is not taken.
Note
Notes merely call attention to information that is especially significant to understanding and
operating the equipment.
This document is based on information available at the time of its publication. While efforts
have been made to be accurate, the information contained herein does not purport to cover all
details or variations in hardware or software, nor to provide for every possible contingency in
connection with installation, operation, or maintenance. Features may be described herein
which are not present in all hardware and software systems. GE Fanuc Automation assumes
no obligation of notice to holders of this document with respect to changes subsequently made.
3. OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.1 STARTING THE LADDER EDITING PACKAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.2 OVERVIEW OF OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.2.1 Menu Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.3 COMMON SYSTEM OPERATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.4 ON–LINE FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.4.1 Overview of the On–Line Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.4.2 File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.4.3 Diagnose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.4.4 Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
3.4.5 Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
3.4.6 Examples of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
3.5 OFF-LINE FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
3.5.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
3.5.2 Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
3.5.3 Printout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
3.5.4 Compilation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
3.5.5 Decompilation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
3.5.6 Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
3.5.7 Setting Program Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
3.5.8 Mnemonic Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
3.5.9 Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
3.5.10 Selecting On-Line Function from Off-Line Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
i
Table of contents B–62884EN/01
APPENDIX
A. FUNCTIONS SPECIFIC TO INDIVIDUAL PMC MODELS . . . . . . . . . . . . . . . . . . . 281
A.1 SYSTEM PARAMETERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
A.1.1 Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
A.1.2 Examples of Mnemonic Files (Single–Format) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
A.2 LINK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
ii
B–62884EN/01 Table of contents
iii
B–62884EN/01 1. GENERAL
1
1
1. GENERAL B–62884EN/01
Personal
Name Specification Remarks
computer
Inquiry form
If you have any questions after reading this operator’s
manual and the manuals listed above, use the inquiry form
attached at Appendix I to consult us the questions.
2
B–62884EN/01 1. GENERAL
PMC-R Series
· PMC-RA3 FANUC PMC-MODEL RA3
· PMC-RB3 FANUC PMC-MODEL RB3
· PMC-RB4 FANUC PMC-MODEL RB4
· PMC-RB5 FANUC PMC-MODEL RB5
· PMC-RB6 FANUC PMC-MODEL RB6
· PMC-RC3 FANUC PMC-MODEL RC3
· PMC-RC4 FANUC PMC-MODEL RC4
2) Others
Abbreviations Name
3
1. GENERAL B–62884EN/01
1.2
THE MAJOR
FUNCTIONS
1.2.1 The Ladder Editing Package is a software package that enables the use of
The Overview of the following PMC functions and sequence program development
functions on the OPEN CNC.
Ladder Editing
<Ladder Editing Package functions>
Package
1) Sequence program input, display, editing, and output
2) Sequence program monitoring/debugging
– Signal status monitoring
– PMC status monitoring
– Ladder monitoring/editing
– Alarm display
– Cross reference display
3) PMC parameter setting/display
4) Sequence program execution/termination
5) Writing to flash ROM
6) Sequence program printout
4
B–62884EN/01 1. GENERAL
1.2.1.1
Function Overview OPEN CNC
Machine
CNC / PMC DI/ DO
On–line functions
Sequence program monitoring/debugging
Sequence program execution/termination
Sequence program transfer
PMC parameter setting/display
Floppy disk
Ladder editing
package
Keyboard
Input/editing
Printer
Drawing
Hard disk
FANUC NC board
→ Personal
computer Machine
Incorporated
Fig.1.2.1.2(a)
5
1. GENERAL B–62884EN/01
Machine
Fig.1.2.1.2(b)
[CRT/MDI operation]
When using this system with the CRT/MDI panel, assign those
keys that are not available on the CRT/MDI panel as described
below. For details, refer to the “FANUC MMC–IV Operator’s
Manual (B–62494EN).”
Key Correspondence
Ctrl Custom
Tab System
Alt Alter
Back Can
Space
Esc HELP
Note
The CRT/MDI keys cannot be used to start a system by
means of Japanese input. To enter comments in Japanese,
use the full keyboard.
6
B–62884EN/01 1. GENERAL
[Overview]
CNC
High–speed
Personal serial bus
computer Machine
Fig.1.2.1.2(c)
Intelligent
terminal CNC
High–speed
serial bus
Machine
Fig.1.2.1.2(d)
[CRT/MDI operation]
See Item 2) above.
[Program backup destination]
PMC flash memory
1.2.2
Supported PMC 1) Supported PMC models
Functions The following PMC models are supported:
– PMC–RA3
– PMC–RB3
– PMC–RB4
– PMC–RB5
– PMC–RB6
– PMC–RC3
– PMC–RC4
2) Supported functions for each PMC model
Table 1.2.2 lists the supported functions for each PMC model. For
details of the functions, refer to the sections indicated in the
“Reference section” column.
7
1. GENERAL B–62884EN/01
PMC model
RB4 RB6 RC4
Function RA3 RB3 RB4 (STEP RB5 RB6 (STEP RC3 RC4 (STEP
Reference SEQ) SEQ) SEQ)
section
Input/ PMC f f f f f f f f f f
output
out ut
device Handy File 3.5.6 f f f f f f f f f f
Memory card ∆ ∆ f f f f f ∆ f f
1.2.3
Sequence Program
Creation
8
B–62884EN/01 1. GENERAL
Off–line functions
On–line functions
YES
New?
NO
NO NO NO
Debugging Debugging
completed? completed?
YES YES
YES Compile (link)
Print?
Decompile
NO
End
In on–line mode, programming/monitoring can be performed during communication with the PMC. In
off–line mode, programming is performed on the OPEN CNC without communication. Other PMC pro-
gramming systems (for use with personal computers) are FAPT LADDER and FAPT LADDER–II. For
details, refer to the following manuals:
– FAPT LADDER Operator’s Manual (B–66131E)
– FAPT LADDER–II Operator’s Manual (B–66184EN)
9
1. GENERAL B–62884EN/01
1.3
ABOUT PMC
PROGRAM
1.3.1 The ladder method is most of ten used for programming the sequence
PMC Programming control governed by a PMC. This method was derived from relay-panel
control circuits. Since it has been in use for years, many sequence
Method engineers are already familiar with it.
The greater the number of functions implemented by the PMC, the larger
and the more complicated the sequence program becomes. And it is hard
to describe such program for ladder method.
To overcome this problem, step sequence method programming has been
introduced.
(1) What is the step sequence method ?
The step sequence is one of the method for programming a sequence
control governed by a programmable controller, this method features
the direct representation of the control flow on a flow chart. Each
block of processing is described as a subprogram, using the ladder
method. Therefore it provides an easy-to-understand visualized flow
of the processes and is well-suited to the control of entire process.
See 1.2.2 Supported PMC Functions for the machines are able to use the
step sequence.
For the details of the step sequence method, refer to the following manual.
[3.5.2.2.(3) STEP SEQUENCE EDITING]
10
B–62884EN/01 1. GENERAL
LEVEL 1 ( LADDER)
LEVEL 2 ( LADDER)
LEVEL 3 ( LADDER)
Source program
Subprogram P2
↓
Compilation/Decompilation
↓
Object code
CNC
11
1. GENERAL B–62884EN/01
1.3.2 You can assign names or add notes to I/O signals, internal relays, and can
About Symbol & add notes to a sequence program.
They are generally called “symbol & comment data”.
Comment Data
(1) The definition of terms
The definition of terms are shown below to distinguish between some
symbol & comment data.
Note
Free area size of hard disk drive, EMS and XMS on personal
computer may restrict them.
12
B–62884EN/01 1. GENERAL
Notes
1. The limitation which is reached first becomes the limitation for the
Net comment.
2. Number of characters in each Net comment effects on maximum
number of Net comments. Free area size of hard disk drive, EMS
and XMS on personal computer may further restrict them.
13
2. CONFIGURATION AND INSTALLATION OF
PACKAGE B–62884EN/01
14
2. CONFIGURATION AND INSTALLATION OF
B–62884EN/01 PACKAGE
2.1 To use this software, configurations of hardware and software are required
as follows.
OPERATING
ENVIRONMENT Computer FUNUC OPEN CNC
CPU 386SX or higher
OS · Microsoft Windows 95 (Note 1)
· DOS Version 5.0/V or later (to activate Japanese/
English system)
· DOS Version 5.0 or later (to activate English system)
Device driver · Extended Drivers and Librarys.
(For DOS : A02B–0207–K706
For Windows : A02B–0207–K726)
· Drivers and Librarys
(For DOS : A02B–0207–K707
For Windows : A02B–0207–K727) (Note 2)
CNC function FANUC OPEN CNC Additional option
· EXTENDED DRIVERS AND LIBRARIES
FUNCTION (A02B–0207–J800)
· Ladder Editing Package Function
(A02B–0207–J820)
Memory · Conventional memory 520 Kbytes or more (Note 3)
· EMS and/or XMS of 4 Mbytes or more (recommended)
(Note 4)
Hard disk 5 Mbytes or more space (Note 5)
Graphic adapter VGA or higher
Printer EPSON VP1000 and compatible printers (Note6)
Japanese language Input system in conormity with MS-KANJI API
input system
Notes
1 When using this saftware under Windows95, Please install
the software by the installation procedure described in
[2.3.1 Registering the software in the Windows [Programs]
menu. ]
2 A device driver tailored to the OPEN CNC system
configuration must be incorporated.
3 Even if the machine has 640 Kbytes memory, the free
memory may be less than 520 Kbytes when an installed
driver, for example, uses a large memory space.
The size of free space in memory can be checked with the
DOS command CHKDSK.
4 The quantity of EMS and XMS memory effects on the
performance to handle Symbol data and Net comment.
Please prepare enough EMS and XMS memory specically
for Symbol data or Net comment of large number.
Moreover, at the system with EMS less than 256 Kbytes, the
maximum number of steps which this software can handle
may be restricted.
Please prepare 256 Kbytes or more EMS if possible.
5 In addition, an space for storing sequence data is required.
6 [NEC PR201H]and[FANUC PRINTER]are also available by
changing system file.
For details, refer to[3.5.3.6 Changing the Printer].
15
2. CONFIGURATION AND INSTALLATION OF
PACKAGE B–62884EN/01
16
2. CONFIGURATION AND INSTALLATION OF
B–62884EN/01 PACKAGE
2.2 The Ladder Editing Package is distributed on the five system disks listed
below. These disks are of 3.5–inch, 2HD type (1.44MB). Check that none
PACKAGE of the system disks is missing.
CONFIGURATION
(1) Ladder Editing Package (Vol.1)/A08B–9201–J510#ZZ07–1
(2) Ladder Editing Package (Vol.2)/A08B–9201–J510#ZZ07–2
(3) Ladder Editing Package (Vol.3)/A08B–9201–J510#ZZ07–3
(4) Ladder Editing Package (Vol.4)/A08B–9201–J510#ZZ07–4
(5) Ladder Editing Package (Vol.5)/A08B–9201–J510#ZZ07–5
17
2. CONFIGURATION AND INSTALLATION OF
PACKAGE B–62884EN/01
2.3 There are two different installaction procedures to install the software.
One is to register the software in the Windows [Programs] menu.The
INSTALLATION other is to invoke this software from the DOS command prompt.
2.3.1 The following describes the installation of this software from floppy disk
Registering the drive A to hard disk drive C.
Software in the (1) Insert Vol. 1 into drive A.
Windows [Programs] (2) Click the [Start] button, then click the [Run…] dialog box.
Menu (3) Enter “A:¥SETUP” in the [Open] box of the [Run] dialog box.
Run [ ? ] []
Type the name of a program, folder, or document, and Windows will open
it for you.
Open : A: ¥SETUP ↓
Ok Cancel Browse . . .
(4) The message below appears, and the setup program is started.
SETUP
Initializing Setup...
18
2. CONFIGURATION AND INSTALLATION OF
B–62884EN/01 PACKAGE
(5) Specify the hard disk drive to which the software is to be installed
(Note).
Install to :
[] c:[C_DRIVE] ↓
(6) Specify the OPEN CNC interface type. If the OPEN CNC has already
been installed in the personal computer, the installer automatically
identifies the interface type, and the dialog box shown below appears.
If the detected interface type matches that of the Ladder Editing
Package to be installed, click [Ok].
Ok Cancel
If the OPEN CNC has not yet been installed in the personal computer,
the dialog box shown below appears. Select the interface type of the
OPEN CNC to be installed.
ÔÔÔÔÔ
Whitch type Interface driver are you want to use ?
ÔÔÔÔÔ
Interface Type
F Interface Type 1
f Interface Type 2
Ok Cancel
19
2. CONFIGURATION AND INSTALLATION OF
PACKAGE B–62884EN/01
(7) Select the language of the messages to be installed. The size of the
files to be installed and the amount of free space available on the hard
disk to which the software will be installed are displayed. If there is
sufficient free space for the installation, click [Ok].
ÔÔÔÔÔÔ
Select language of message to be installed.
ÔÔÔÔÔÔ
Install Language
F English only
f Japanese only
f English and Japanese
ÔÔÔÔÔ
Disk information
C:
Ok
Required space: 7808K
Cancel
Available space: 128000K
(8) Select a display color type according to the display unit to be used.
After selecting a display color type, click [Test] to check the display
appearance. If the colors are displayed correctly, click [Ok].
ÔÔÔÔ
Select color type.
Ok Test Cancel
20
2. CONFIGURATION AND INSTALLATION OF
B–62884EN/01 PACKAGE
(9) The dialog box shown below appears during installation. Insert the
requested floppy disk, then click [Ok].
Please insert the following disk (or type the new directory),
Ok Cancel
Note
The configuration of the directory in which the Ladder
Editing Package has been installed cannot be modified.
21
2. CONFIGURATION AND INSTALLATION OF
PACKAGE B–62884EN/01
2.3.2 The following describes the installation of the Ladder Editing Package
Installing the Software from floppy disk drive A to hard disk drive C.
to Invoke from the DOS (1) Insert Vol. 1 into drive A.
Command Prompt (2) Enter “A:¥INSTALL” at the DOS command prompt.
> A : ¥INSTALL
(3) The installer is started, and the title screen appears. Select [Continue].
(4) Enter the hard disk drive to which the software is to be installed
(Note).
Install to C :
Ok Quit
Fig.2.3.2(a)
(5) Specify an OPEN CNC interface type. If the OPEN CNC is already
installed in the personal computer, the interface type is automatically
identified by the installer, and the dialog box shown below appears.
After checking that the interface type detected by the installer is
correct, select [Ok].
Ok Quit
Fig.2.3.2(b)
If the OPEN CNC is not installed in the personal computer yet, the
dialog box shown below appears. Select the interface type
corresponding to the OPEN CNC to be installed.
22
2. CONFIGURATION AND INSTALLATION OF
B–62884EN/01 PACKAGE
F Interface Type 1
f Interface Type 2
Ok Quit
Fig.2.3.2(c)
Japanese only
English only
Fig.2.3.2(d)
(7) To set the display color, the dialog box shown below appears. The
dialog box color can be changed by selecting an appropriate display
color option with the and keys. Select a color option that
is appropriate for the display unit.
F COLOR
f MONO1
f MONO2
Ok Quit
Fig.2.3.2(e)
23
2. CONFIGURATION AND INSTALLATION OF
PACKAGE B–62884EN/01
(8) The selected options are displayed. After checking that the desired
options are selected, select [Yes]. The installation is started.
Yes No
(9) When the installation terminates normally, the message shown below
appears.
Installation is done.
Exit
Fig.2.3.2(f)
Note
The configuration of the installation destination directory
cannot be modified.
24
2. CONFIGURATION AND INSTALLATION OF
B–62884EN/01 PACKAGE
2.4 The Ladder Editing Package is installed by the installer under the
directory configuration indicated below. The user can freely select the
DIRECTORY hard disk drive to which installation is to be performed, but cannot modify
CONFIGURATION the directory name.
AFTER
INSTALLATION C:¥FANUC
25
2. CONFIGURATION AND INSTALLATION OF
PACKAGE B–62884EN/01
26
2. CONFIGURATION AND INSTALLATION OF
B–62884EN/01 PACKAGE
Notes
1 All of the above device drivers are provided as standard with
Windows 95/MS–DOS. The specification of switches and
parameters may be required for the above settings. For
details, refer to the windows 95/the MS–DOS on–line help
or the relevant manual.
2 When using a memory card, refer to the manual provided
with the memory card for details of the setting required in
CONFIG.SYS.
3 Some device drivers may adversely affect the Ladder
Editing Package. If a problem is anticipated, specify only
ANSI.SYS in CONFIG.SYS. Omit the specification of the
other device drivers. When only ANSI.SYS is specified,
Ladder Editing Package will support only English, but allows
any contention with other device drivers to be identified
quickly. Recognized conflicts are listed in Appendix G.
27
2. CONFIGURATION AND INSTALLATION OF
PACKAGE B–62884EN/01
2.6
FILE
CONFIGURATION
28
2. CONFIGURATION AND INSTALLATION OF
B–62884EN/01 PACKAGE
C:¥
data¥
· SAMPLE.ERR execution result file (Note 1)
· SAMPLE.MAP map file (Note 1)
SAMPLE¥
Notes
1. Contain source program compile/decompile results and map
information. These files are not included in a source program, but
are named in accordance with the name of the source program.
These files are stored under the directory one level above the
source program storage directory.
2. ”xxx” is number of multi file managing.
3. Only for using LEVEL-3 ladder.
4. ”yyy”, ”zzz” is number of sub-program.
29
3. OPERATION B–62884EN/01
3 OPERATION
30
B–62884EN/01 3. OPERATION
3.1
STARTING THE 1 Starting the Ladder Editing Package from the DOS command line
LADDER EDITING (1) Move to the drive and directory where the system software of the
Ladder Editing Package is installed.
PACKAGE
(2) Key in “FLADDER Enter .”
Example:Starting the Ladder Editing Package when the package
is installed under the ¥FANUC¥LEP directory of drive
C.
A : ¥>C : Enter
C : ¥FANUC¥LEP>FLADDER Enter
(3) The on–line functions are activated as soon as the Ladder Editing
Package is started.
DOS prompt
Note
If “Interface Type 1” is selected at installation, the Ladder
Editing Package will not operate normally if the package is
started from the Windows DOS prompt. If “Interface Type
1” is selected at installation, first terminate Windows, then
start the Ladder Editing Package from the DOS command
line.
31
3. OPERATION B–62884EN/01
(Reference)
Install DOS/Windows
NO
End?
YES
32
B–62884EN/01 3. OPERATION
3.2
OVERVIEW OF
OPERATION
3.2.1 The menu screens displayed by the system are structured as shown below.
Menu Structure
Start
1
On–line function File Save PMC parameter
Restore PMC parameter
MS–DOS
Exit
2
Diagnose Ladder monitoring/On–line editing
Signal trigger/Ladder debug
Signal status Timer
PMC parameter Counter
PMC alarm status Keep relay
PMC status Data table control
RUN/STOP the program Data table
Signal Trace
Signal Analysis
System information
3
I/O Load program
Store program
Backup program
4 Commu- Communication
nication
33
3. OPERATION B–62884EN/01
F1
(1) Off–line function EDIT Title
Ladder diagram/
F2 Step sequence
PRINT Title Symbol & comment
Parameter Message
F3 Symbol I/O module
COMPILE Ladder diagram System parameter
Step sequence
F4 I/O module
DECOMPILE Message
Cross reference list
F5 Bit address map
I/O FA writer
PMC writer
F6 PMC
PROGRAM Handy File
OPTION SET–UP Memory card
Backup
ROM format file
F7
MNEMONIC EDIT Source program → mnemonic file
Mnemonic file → source program
F8 Execute user batch files
UTILITY Dos
Floadat
F9 View result
ON–LINE Linker
FUNCTION
F10
END
34
B–62884EN/01 3. OPERATION
1 EDIT 2 PRINT 3 COMPIL 4 DECOMP 5 I/O 6 SET–UP 7 MNEEDT 8 UTILTY 9 ONLINE 10 END
[F1] [F2] [F3] [F4] [F5] [F6] [F7] [F8] [F9] [F10]
Current
Item name PMC Model directory name
Edit mode (Overwrite/insert)
Note
The indications on the key tops may slightly vary from the
descriptions of this manual, depending on the personal
computer used.
35
3. OPERATION B–62884EN/01
1) Cursor movement
To select an item, press the cursor key or , such that
the item to be selected is displayed in reverse video. Then,
pressing the Enter key selects that item.
2) Function key
A function key is indicated at the left of each item. To select an
item, press the corresponding function key.
3) Command name
An uppercase letter in (usually, the initial of) an item name is the
command name. In the above case, pressing the letter key U ,
Function number.
function name Icon for
PMC status indication
(See the section explan-
ing how to start the on–
line functions.)
Pressing the Alt key displays the pull–down menu for I1. File
The pull–down menu for a function can also be displayed by pressing
the Alt key and the corresponding function number simultaneously.
Exit
Using the cursor keys, position the highlight to the desired item on
a function’s pull–down menu. A menu item with an arrow mark ( )
at its right edge has its own pull–down menu, which can be displayed
by pressing the key.
36
B–62884EN/01 3. OPERATION
3.4
ON–LINE FUNCTIONS
3.4.1
Overview of the
On–Line Functions
3.4.1.1 The on–line functions are used to perform ladder and signal status
Outline monitoring, display, and modification on the OPEN CNC screen.
[Menu structure]
(1) [1.File] menu
With this menu, the user can write to and read from a file on hard disk
or floppy disk, switch between functions, and terminate processing.
(2) [2.Diagnose] menu
With this menu, the user can display the PMC status and perform
editing for PMC status display.
(3) [3.I/O] menu
With this menu, the user can write programs to and read programs
from the PMC.
(4) [4.Communication] menu
With this menu, the user can establish communications for PMC
status display and PMC operation.
4) On–line functions 4) 3)
– Diagnosis
– I/O (Program load/store, writing to
F–ROM)
– Communication (with the PMC)
– Off–line function selection
File
– Relay comment
– Net comment
37
3. OPERATION B–62884EN/01
3.4.1.2
Starting the On–Line The use of the on–line functions is automatically enabled when the system
Functions is started. Alternatively, the use of the on–line functions can be selected
in off–line mode. For an explanation of on–line function selection in
off–line mode, see Section 3.5.
(1) Moving to the ladder monitoring screen
To move from an on–line function to the ladder monitoring screen,
follow the procedure given below. On the ladder monitoring screen,
select the desired function from the pull–down menu or press the
corresponding function key.
[Moving to the ladder monitoring screen]
Reference section
1) Starting the system/on–line function selection
2) Work program compilation/decompilation See Appendix B.
(started only when required)
↓
3) Communication with the PMC See Section 3.4.5.
(automatic)
↓
4) Monitoring method selection
(started only when required)
– Program load operation See Section 3.4.4.1.
– Program store operation See Section 3.4.4.2.
↓
5) Ladder monitoring
Subprogram screen display (automatic)
↓ See Section
Subprogram selection 3.4.3.1.
↓
Ladder monitor screen display
Each screen is explained below. For details, see the related section.
(a) Work program compilation
If a source program that was edited off–line has not yet been
compiled, the following message appears.
38
B–62884EN/01 3. OPERATION
Communication
Status
Start
Cancel
Try to connect with PMC ... 0000 0000
F7 F8 F9 F10
Splist Search Symbol Setting
Fig.3.4.1.2 (a)
39
3. OPERATION B–62884EN/01
Fig.3.4.1.2 (b)
Note
If the program does not match the program on the PMC the
dialog box shown above appears. This occurs, for example,
when a single program is modified by means of off–line
editing.
When the on–line monitor function is started for a program
that is loaded or stored, the dialog box does not appear.
Instead, the subprogram selection screen appears
immediately.
Load Program
0% 100%
Fig.3.4.1.2 (c)
40
B–62884EN/01 3. OPERATION
Note
The on–line monitoring function of a step sequence
program is not supported.
[Operation]
1) Position the cursor to the desired subprogram by pressing the
or key.
Sub–program list
LEVEL 1
LEVEL2
P00001 (OPEN RIGHT DOOR) MOVE RIGHT DOOR TO LIMIT–SWIIT–R1
P00002 (OPEN LEFT DOOR) MOVE LEFT DOOR TO LIMIT–SWIIT–L1
S P00010 (GRIP WORK PIECE) PICK UP A WORK ON THE STAND
P00011 (PUT WORK PIECE) PUT DOWN A WORK
P00021 (CLOSE RIGHT DOOR) MOVE RIGHT DOOR TO LIMIT–SWTH–R2
P00022 (CLOSE LEFT DOOR) MOVE LEFT DOOR TO LIMIT–SWTH L2
Ok Cancel
Fig.3.4.1.2 (d)
Displayed position
of icon
1) 2) 3)
Fig.3.4.1.2 (e)
41
3. OPERATION B–62884EN/01
Fig.3.4.1.2 (f)
Program on Program on
PMC is running. PMC is stopped.
Fig.3.4.1.2 (g)
Communication Communication
is active. is not active.
Fig.3.4.1.2 (h)
42
B–62884EN/01 3. OPERATION
3.4.2
File
3.4.2.1 While communicating with PMC, PMC parameters can be saved to a file.
Saving PMC Parameter To use this function while running a ladder program, turn the CNC to
EDIT mode. If not running, you can use this function at any time.
(1) Menu position
Pull down [1.File] menu, and select [Save PMC parameter] on the
menu.
1. File
Fig.3.4.2.1 (a)
File name
C:\DATA\PMC_PRM Input a
saving
file name.
0% 100%
Fig.3.4.2.1 (b)
(3) Operation
At first, specify the saving file name. ‘PMC_PRM’ is initially
displayed as a default file name.
It is possible to change the saving directory and the file name.
(a) Select [Exec]
PMC parameter is saved and the dialog box closes.
(b) Select [abort] (during a file saving)
Saving is stopped.
(c) Select [Cancel]
PMC parameter is not saved and the dialog box closes.
43
3. OPERATION B–62884EN/01
(4) Message
Message Meaning and countermeasure
File already exists. Same file name exists.
Overwrite? Select [Yes] to overwrite.
Select [No] to cancel saving.
3.4.2.2 While communicating with PMC, PMC parameters can be restored from
Restoring PMC a file.
To use this function while running a ladder program, turn the CNC to
Parameter
EMERGENCY
STOP and set PWE(CNC parameter) to “1” on the CNC.
If not running, you can use this function at any time.
(1) Menu position
Pull down [1.File] menu, and select [Restore PMC parameter] on the
menu.
1. File
Fig.3.4.2.2 (a)
File name
C:\DATA\PMC_PRM Input a
restoring
file name.
0% 100%
Fig.3.4.2.2 (b)
(3) Operation
At first, specify a restoring file name.“PMC_PRM” is initially
displayed as a default file name.
It is possible to change the restoring directory and the file name.
44
B–62884EN/01 3. OPERATION
3.4.2.3 The Off-Line function can be selected from the On-Line function. For
Selecting Off–Line details, see “3.5 Off-Line Function”.
Function from On–Line (1) Menu position
Function To use “Off-Line Function”, pull down [1. File] menu, and select
[Off-Line Function] on the menu.
1. File
Fig.3.4.2.3
1. File
Fig.3.4.2.4
45
3. OPERATION B–62884EN/01
1. File
Fig.3.4.2.5(a)
Ok Cancel
Fig.3.4.2.5(b)
(3) Operation
(a) Push [OK] button.
1) Online function ends.
2) When there are any modifications which have not been
preserved by F7 [UPDATE] on the online editor, this “File
save” operation is canceled. And the following dialog box
appears.
Yes No
Fig.3.4.2.5(c)
46
B–62884EN/01 3. OPERATION
3.4.3 [2. Diagnose] menu contains the menu items as shown below.
Diagnose
2. Diagnose
3.4.3.1 To select the ladder monitor screen, select [2. Diagnose] to display a pull-down
menu, then select [Ladder Monitor].
Ladder Monitor
For [Ladder Monitor], both the ladder monitor function and on-line edit
function can be used.
STATUS : OFF
(Thin line)
STATUS : ON
(Thick line)
47
3. OPERATION B–62884EN/01
ÔÔÔÔÔÔÔÔÔ
ÔÔÔÔÔÔÔÔÔ
1. File 2. Diagnose 3. I/O 4. Communication
ÔÔÔÔÔÔÔÔÔ
Ladder Monitor !!!!!!!!!!!!!!
Signal Status
[LEVEL1] NET 00001–00006
ÔÔÔÔÔÔÔÔÔ
PMC Parameter
D000 PMC alarm status R0000.1
Ô
ÔÔÔÔÔÔÔÔÔ
PMC Status
RUN/STOP the program
ÔÔÔÔÔÔÔÔÔÔ
D000 Signal Trace R0000.0
Signal Analysis
System Information
SUB 1
END1
SUB 2
END2
SUB 64
END
F7 F8 F9 F10
SpList Search Symbol Seting
Shift +
S+F8
S–Set
Fig.3.4.3.1.1(a)
next page
48
B–62884EN/01 3. OPERATION
Note
The on–line monitoring function of a step sequence program is not
supported.
The subprogram of a step sequence program is not selected.
Sub–program list
LEVEL 1
LEVEL2
P00001 (OPEN RIGHT DOOR) MOVE RIGHT DOOR TO LIMIT–SWIIT–R1
P00002 (OPEN LEFT DOOR) MOVE LEFT DOOR TO LIMIT–SWIIT–L1
S P00010 (GRIP WORK PIECE) PICK UP A WORK ON THE STAND
P00011 (PUT WORK PIECE) PUT DOWN A WORK
P00021 (CLOSE RIGHT DOOR) MOVE RIGHT DOOR TO LIMIT–SWTH–R2
P00022 (CLOSE LEFT DOOR) MOVE LEFT DOOR TO LIMIT–SWTH L2
Ok Cancel
Fig.3.4.3.1.1(b)
2) Display information
The following information appears on the subprogram screen.
Step Sequence
(S mark)
ÔÔÔ
LEVEL 1
ÔÔÔ
LEVEL2
P00001 (OPEN RIGHT DOOR) MOVE RIGHT DOOR TO LIMIT–SWIIT–R1
ÔÔÔ ÔÔ
P00002 (OPEN LEFT DOOR) MOVE LEFT DOOR TO LIMIT–SWIIT–L1
ÔÔ
ÔÔÔÔÔ
S P00010 (GRIP WORK PIECE) PICK UP A WORK ON THE STAND
ÔÔ ÔÔ
Sub–program No. Symbol
ÔÔ
Coil comment
Fig.3.4.3.1.1(c)
49
3. OPERATION B–62884EN/01
(d) Searching for data (F8 [SEARCH])/Entering the search data ( Shift +
F8 )
1) Searching for data (F8 [SEARCH])
A search for a net starts when the F8 key is pressed after the
search data has been entered.
If the F8 key is pressed without specifying any search data, a
search is made for the data set specified in 2) below, ”Entering
search data” (see (b)).
A search can be made for several types of data, as described
below:
D Address/symbol
Searching for an address: “address” + F8
Example) “X0000.0”+ F8
Example) “SYMBOL1”+ F8
Example) “S1”+ F8
Example) “END1”+ F8
Example) “10”+ F8
50
B–62884EN/01 3. OPERATION
Search
OK Cancel
Fig.3.4.3.1.1(d)
OK Cancel
Fig.3.4.3.1.1(e)
51
3. OPERATION B–62884EN/01
To move the cursor to another item, press the Tab key. To change
Display setting
Ladder Mode
F Ladder Monitor f Online Editor
f Signal Trigger f Debug Ladder
Fig.3.4.3.1.1(f)
52
B–62884EN/01 3. OPERATION
3.4.3.1.2 To select the “Online Editor” screen, select [Ladder monitor] from the [2.
On–line editing Diagnose] pull–down menu, then press F10 : [Setting]. The “Display
setting” dialog box appears. In the dialog box, select [Online Editor].
Display setting
Ladder Mode
f Ladder Monitor F Online Editor
f Signal Trigger f Debug Ladder
Fig.3.4.3.1.2(a)
53
3. OPERATION B–62884EN/01
X0001.0 Y0000.2
(S)
X0001.1 Y0000.2
(R)
SUB 1
END1
SUB 2
END2
SUB 64
END
X0000.0 ←(*1)
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10
(S) Functn Update Search Symbol Seting
Shift +
Ctrl +
Fig.3.4.3.1.2(b)
54
B–62884EN/01 3. OPERATION
Operation
Function Key to be used Reference
group
Contact/coil input (d) 2)
input Shift + F1
input (d) 3)
F2
input (d) 4)
Shift + F2
(S)
input (d) 5)
F3
(R)
input (d) 6)
Shift + F3
Shift + Tab
+ F6
“ ” input (e) 2)
F5
“ ” deletion (e) 2)
Delete mode + F5
55
3. OPERATION B–62884EN/01
program
Moving the cursor to the (h) 4)
end of the ladder End
program
Moving the cursor to the Page
(h) 5)
previous page Up
56
B–62884EN/01 3. OPERATION
Key : F3
Key : Shift + F3
57
3. OPERATION B–62884EN/01
7) Select Contact/Coil
Key : Tab , Shift + Tab
[ ] [ / ]
[ ] [ ]
[ ÁÁ (S) ] [ ÁÁ
(R) ]
58
B–62884EN/01 3. OPERATION
59
3. OPERATION B–62884EN/01
(h) Cursor
1) Move cursor Up/Down
Key : ,
Note
When the [UPDATE] function is used, the ladder program
on the PMC is modified.
Before executing this function, check whether modification
of the ladder program is permitted.
60
B–62884EN/01 3. OPERATION
2) Undo
Key : Shift + F7
Note
Applying the [Undo] function causes the effects of editing
since the last update to be lost.
Display setting
Ladder Mode
f Ladder Monitor f Online Editor
F Signal Trigger f Debug Ladder
61
3. OPERATION B–62884EN/01
X0010.7 Y0065.7
ÔÔÔ
X0012.5 Y0014.2
ÔÔÔ
SUB 1
END1
ÔÔÔ
ÔÔÔ
SUB 2
END2
ÔÔ
F1 F2 F3 F7 F8 F9 F10
Exec Trgsrc Trgprm Splist Search Symbol seting
Stop
Stop time
COUNT:Trigger checking count
(default 1)
POINT:Trigger checking point (default 0)
0 – the top of the 1st level (Default)
1 – after END1 execution
2 – after END2 execution
3 – after END3 execution
ADR: Trigger setting address
ON:Rising edge detection
OFF:Falling edge detection
62
B–62884EN/01 3. OPERATION
Trigger Parameter
Address X1000.0
Check–Point
F Level1
f END1
f END2
f END3
Count 65535
Trigger–Mode
f ON
F OFF
OK Cancel Init
63
3. OPERATION B–62884EN/01
Warning
When executing or stopping a ladder program, special care
is necessary. If this function is applied incorrectly, the
machine may act unpredictably.
Avoid using this function if personnel are present near the
machine.
(2) Operations
(a) Selection of Ladder Debugging Screen
Please select “Ladder Debug” of Ladder Mode by Displaying
setting dialog (F10) of the Ladder Monitor screen.
Display setting
Ladder Mode
f Ladder Monitor f Online Editor
f Signal Trigger F Debug Ladder
64
B–62884EN/01 3. OPERATION
X0010.7 Y0065.7
ÔÔÔÔ
X0012.5 Y0014.2
ÔÔÔÔ
SUB 1
END1
ÔÔÔÔ
ÔÔÔÔ
SUB 2
END2
F1 F2 F3 F4 F7 F8 F9 F10
Step B.Srch Dbgprm Sync.B Splist Search Symbol Seting
[Displaying of Step]
2) Step Operation to execute one net (one circuit) from current posi-
tion.
F1 F2 F3 F4 F7 F8 F9 F10
Step B.Srch Dbgprm Sync.B Splist Search Symbol Seting
F1 F2 F3 F4 F5 F7 F8 F9 F10
Exec B.Srch Dbgprm Sync.B B.Strt Splist Search Symbol Seting
(Stop)
65
3. OPERATION B–62884EN/01
X0010.7 Y0065.7
ÔÔÔÔ
X0012.5 Y0014.2
ÔÔÔÔ SUB 1
ÔÔÔÔ
END1
ÔÔÔÔ
SUB 2
END2
ÔÔÔ F1 F3 F7 F8 F9 F10
ÔÔÔ
Exec Dbgprm Splist Search Symbol Seting
(Stop)
Stop time
COUNT:Trigger checking count
(default 1)
POINT:Trigger checking point (default 1)
0 – the top of the 1st level (Default 0)
1 – after END1 execution
2 – after END2 execution
3 – after END3 execution
F1 F3 F7 F8 F9 F10
Exec Dbgprm Splist Search Symbol Seting
(Stop)
Stop time
66
B–62884EN/01 3. OPERATION
Mode Mode
F Element F Trigger f Scan
f Net
f Block
Address X1000.0
V Sub–program
Check–Point
F Level1 f END2
f END1 f END3
Count 65535
Trigger–Mode
F ON f OFF
OK Cancel Init
67
3. OPERATION B–62884EN/01
2) Step/Mode
Step
Mode
F Element
f Net
f Block
Ô ÔÔ
Step
Ô V Sub–Program
ÔÔ
(No–Check) : The step operations in Sub–Program
is not displayed.
X (Check) : The step operations in Sub–Program
is displayed.
* When “b) Step/Mode” is “Element” or “Net”, it is possible
to set this item.
4) Break Control/Mode
ÔÔ ÔÔ
Break Control
Mode
F Trigger f Scan
68
B–62884EN/01 3. OPERATION
5) Break Control/Address
ÔÔ ÔÔ
Break Control
ÔÔ Address X1000.0
ÔÔ
Address : Trigger setting address
* When “d) Break Control/Mode” is “Trigger”, it is possible
to set this item.
6) Break Control/Check point
ÔÔ ÔÔ
Break Control
Check–Point
F Level1 f END2
f END1 f END3
ÔÔ ÔÔ
Break Control
Default=1
Count 65535
ÔÔ ÔÔ
Break Control
Trigger–Mode
F ON f OFF
69
3. OPERATION B–62884EN/01
F1 F2 F3 F4 F7 F8 F9 F10
Step B.Srch Dbgprm Sync.B Splist Search Symbol Seting
F1 F2 F3 F4 F7 F8 F9 F10
Step B.Srch Dbgprm Sync.B Splist Search Symbol Seting
Step Operation to execute one net (one circuit) from current position.
70
B–62884EN/01 3. OPERATION
F1 F2 F3 F4 F5 F7 F8 F9 F10
Exec B.Srch Dbgprm Sync.B B.Strt Splist Search Symbol Seting
(Stop)
F1 F2 F3 F4 F5 F7 F8 F9 F10
Exec B.Srch Dbgprm Sync.B B.Strt Splist Search Symbol Seting
(Stop)
F1 F2 F3 F4 F5 F7 F8 F9 F10
Exec B.Srch Dbgprm Sync.B B.Strt Splist Search Symbol Seting
(Stop)
71
3. OPERATION B–62884EN/01
Notes
Normally, transferring to the synchronous buffer is
automatically performed at the beginning of the 2nd level
ladder.
F1 F2 F3 F4 F7 F8 F9 F10
Step B.Srch Dbgprm Sync.B Splist Search Symbol Seting
Press F4“Sync.B”
F1 F2 F3 F4 F7 F8 F9 F10
Step B.Srch Dbgprm Sync.B Splist Search Symbol Seting
F1 F3 F7 F8 F9 F10
Exec Dbgprm Splist Search Symbol Seting
(Stop)
72
B–62884EN/01 3. OPERATION
F1 F3 F7 F8 F9 F10
Exec Dbgprm Splist Search Symbol Seting
(Stop)
3.4.3.2 “Signal Status” window displays the status of signals on PMC in real
Signal Status Window time. You can examine the signal status of any PMC address, and you can
also change the signal status on this window.
(1) Menu position
To activate “Signal Status” window, pull down [2. Diagnose] menu,
and select [signal Status] on the menu.
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
73
3. OPERATION B–62884EN/01
Signal Status
R00000 0 0 0 0 0 0 0 1 : 01
R00001 1 0 0 0 0 0 0 0 : 80
R00002 0 0 0 0 0 0 0 0 : 00
R00003 0 0 0 1 1 1 0 0 : 1C
R00004 0 0 0 0 0 0 0 0 : 00
R00005 0 0 0 0 0 0 0 0 : 00
R00006 1 0 1 0 1 0 1 0 : AA
R00007 0 1 0 1 0 1 0 1 : 55
R00008 0 0 0 0 0 0 0 0 : 00
R00009 0 0 0 0 0 0 0 0 : 00
Fig.3.4.3.2 (a)
Ô
Signal Status
Ô
WORK1 –OFF– –ON–
Ô
R00000
R00001
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
:
:
01
80
R00002 0 0 0 0 0 0 0 0 : 00
TOOL1
R00003 0 0 0 1 1 1 0 0 : 1C
Ô
R00004 0 0 0 0 0 0 0 0 : 00
PMC Address
Byte symbol
Hexadecimal expression Ô
Fig.3.4.3.2 (b)
F4 F8 F10
Symbol Search Wrt On
or or
F4 F10
Adress WrtOff
Fig.3.4.3.2 (c)
74
B–62884EN/01 3. OPERATION
(3) Operations
Operations on the signal status window is described.
Basic operation Function
Cursor keys Move cursor.
Page Page Move address area on window.
Up / Down
write-protection is unlocked.
Display/Hide symbols.
[Symbol]/[Adress] F4
Warning
Signal status changes and PMC parameter changes should
always be made with extreme care. Signal status changes
and PMC parameter changes can have serious and
unforeseen results on a control system, and on the process
to which it applies, if they are improperly used. It is
recommended that these functions not be used with people
near the equipment.
Note
Attempts to change some signal statuses may fail. At an
address to which sequence programs, the CNC, MMC, I/O
Link and other external I/O devices write repeatedly, the
signal status cannot be changed. (The CNC repeatedly
writes to F addresses, the MMC to M addresses, and
external I/O devices to X addresses.
(4) Message
Message Meaning and countermeasure
Sure to modify ? You tried to change signal status although
write-protected. If the attempt is intended, answer
[Yes]. Otherwise, answer [No] to cancel change.
75
3. OPERATION B–62884EN/01
3.4.3.3 “PMC Parameter” sub-menu consists of the menu items for the windows
PMC Parameter below.
1) Timer window
2) Counter window
3) Keep relay window
4) Data table control window
5) Data table window
To display the “Parameter” submenu, display the [2. Diagnose]
pull-down menu, then select [PMC Parameter] from the menu.
The submenu can be displayed by pressing the or key with the
cursor positioned to [PMC Parameter].
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status Timer
PMC Status Counter
RUN/STOP the program Keep relay
Signal Trace Data table control
Signal Analysis Data table
System Information
Warning
When changing a signal status or PMC parameter, extreme
care is necessary. If the function for modifying the signal
status or PMC parameter is applied incorrectly, the machine
may act unpredictably. Avoid using the function if personnel
are present near the machine.
Note
If you can not write PMC parameter, it might be protected.
For the detail, please refer PMC programing manual.
76
B–62884EN/01 3. OPERATION
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status Timer
PMC Status Counter
RUN/STOP the program Keep relay
Signal Trace Data table control
Signal Analysis Data table
System Information
Timer
Fig.3.4.3.3 (a)
Cursor
Timer
TEN_MINUTES
1. T00000 600000 6. T00010 0
2. T00002 0 7. T00012 0
3. T00004 0 8. T00014 0
ONE_SECOND
4. T00006 0 9. T00016 1000
Byte symbol
PMC Address
Fig.3.4.3.3 (b)
77
3. OPERATION B–62884EN/01
3) Function keys:
F4 F8 F10
Symbol Search Wrt On
or or
F4 F10
Adress WrtOff
Fig.3.4.3.3 (c)
(c) Operations
The following table lists the operations supported by the
[TIMER] window.
Basic operation Function
Cursor keys Move cursor.
(d) Message
Message Meaning and countermeasure
Sure to modify? You tried to change timer value although
write–protected.
If the attempt is intended, answer [Yes].
Otherwise, answer [No] to cancel change.
78
B–62884EN/01 3. OPERATION
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status Timer
PMC Status Counter
RUN/STOP the program Keep relay
Signal Trace Data table control
Signal Analysis Data table
System Information
Counter
Fig.3.4.3.3 (d)
79
3. OPERATION B–62884EN/01
Cursor
Counter
3. C00008 0/ 0 8. C00028 36 / 0
4. C00012 0/ 0 9. C00032 0/ 0
Fig.3.4.3.3 (e)
3) Function keys :
F4 F8 F10
Symbol Search Wrt On
or or
F4 F10
Adress WrtOff
Fig.3.4.3.3 (f)
(c) Operations
The table below lists the operations supported by the [COUNTER]
window.
Basic operation Function
Cursor keys Move cursor.
80
B–62884EN/01 3. OPERATION
(d) Message
Message Meaning and countermeasure
Sure to modify ? You tried to change counter value although
write-protected. If the attempt is intended, answer
[Yes]. Otherwise, answer [No] to cancel change.
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status Timer
PMC Status Counter
RUN/STOP the program Keep relay
Signal Trace Data table control
Signal Analysis Data table
System Information
81
3. OPERATION B–62884EN/01
Address
Cursor
Keep relay
K00000 0 0 0 0 1 0 1 1 K00010 0 0 0 0 0 0 0 0
K00001 0 0 0 0 0 0 0 0 K00011 0 0 0 0 0 0 0 0
K00002 0 0 0 0 0 0 0 0 K00012 0 0 0 0 0 0 0 0
K00003 0 0 0 0 0 0 0 0 K00013 0 0 0 0 0 0 0 0
K00004 0 0 0 0 0 0 0 0 K00014 0 0 0 0 0 0 0 0
K00005 0 0 0 0 0 0 0 0 K00015 0 0 0 0 0 0 0 0
K00006 0 0 0 0 0 0 0 0 K00016 0 0 0 0 0 0 0 0
K00007 0 0 0 0 0 0 0 0 K00017 0 0 0 0 0 0 0 0
K00008 0 0 0 0 0 0 0 0 K00018 0 0 0 0 0 0 0 0
K00009 0 0 0 0 0 0 0 0 K00019 0 0 0 0 0 0 0 0
Fig.3.4.3.3 (g)
1) Function Keys :
F8 F10
Search Wrt On
or
F10
WrtOff
Fig.3.4.3.3 (h)
(c) Operations
Basic operation Function
Cursor keys Move cursor.
protection is unlocked.
82
B–62884EN/01 3. OPERATION
(d) Message
Message Meaning and countermeasure
Sure to modify ? You tried to change signal status although
write-protected. If the attempt is intended, answer
[Yes]. Otherwise, answer [No] to cancel change.
#7 #6 #5 #4 #3 #2 #1 #0
K17 DTBLDSP * * MEMINP * * PRGRAM LADMASK
or
K900
#7 #6 #5 #4 #3 #2 #1 #0
K19 * * * * * * * FROM-WRT
or
K902
83
3. OPERATION B–62884EN/01
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status Timer
PMC Status Counter
RUN/STOP the program Keep relay
Signal Trace Data table control
Signal Analysis Data table
System Information
Cursor
Fig.3.4.3.3 (i)
2) Function keys:
F1 F2 F3 F4 F8 F10
New Delete G. Data Symbol Search Wrt On
or or
F4 F10
Adress WrtOff
Fig.3.4.3.3 (j)
84
B–62884EN/01 3. OPERATION
(c) Operations
The table below lists the operations supported by the Data table
control window. Table of the data table control display (1).
Basic operation Function
Cursor keys Move cursor.
Page Page Move address area on window.
Up / Down
Display/Hide symbols.
[Symbol]/[Adress] F4
(d) Messages
Message Meaning and countermeasure
Sure to modify ? You tried to change signal status although
write-protected.
If the attempt is intended, answer [Yes].
Otherwise, answer [No] to cancel change.
85
3. OPERATION B–62884EN/01
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status Timer
PMC Status Counter
RUN/STOP the program Keep relay
Signal Trace Data table control
Signal Analysis Data table
System Information
Data table
Fig.3.4.3.3 (k)
86
B–62884EN/01 3. OPERATION
Data table
DAT–TABLE–TOP
D00000 F6 D00005 FF D00010 C0
Cursor
Symbol
Address
Fig.3.4.3.3 (l)
3) Function keys:
F3 F4 F8 F10
C. Data Symbol Search Wrt On
or or
F4 F10
Adress WrtOff
Fig.3.4.3.3 (m)
(c) Operations
The following table lists the operations supported by the [DATA
TABLE] window.
Operations supported by [DATA TABLE] window
Basic operation Function
Cursor keys Move cursor.
Page Page Move address area on window.
Up
/ Down
87
3. OPERATION B–62884EN/01
enabled state.
Switch to ”Data table control” window.
[C.Data] F3
The displayed data group is displayed at top of the
window.
Display/Hide symbols.
[Symbol]/[Adress] F4
Data table
byte word double-word (dword)
Decimal -128 to 127 -32,768 to 32,767 -2,147,483,648 to 2,147,483,647
BCD 0 to 99 0 to 9,999 0 to 99,999,999
Hexadecimal 00 to FF 0000 to FFFF 00000000 to FFFFFFFF
(d) Messages
Message Meaning and countermeasure
Sure to modify ? You tried to change data table value although
write-protected.
If the attempt is intended, answer [Yes].
Otherwise, answer [No] to cancel change.
88
B–62884EN/01 3. OPERATION
3.4.3.4 The “PMC ALARM MESSAGE” dialog box displays a PMC alarm
PMC Alarm Status message.
(1) Menu position
To activate “PMC alarm message” dialog box, pull down [2.
Diagnose] menu, and select [PMC alarm status] on the menu.
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
ALARM NOTHING
OK
Fig.3.4.3.4 (a)
(3) Operation
Press Enter , Space or . key to close “PMC alarm message” dialog
box.
(4) Messages
The alarm messages same as PMC’s are displayed in this window.
See the manual of PMC for detail of the messages.
For details of messages, refer to the following manual:
“FANUC PMC MODEL PA1/PA3/RA1/RA2/RA3/RB/RB2/
RB3/RB4/RB5/RB6/RC/RC3/RC4/ NB/NB2 Ladder
Language Programming Manual” (B–61863E)
89
3. OPERATION B–62884EN/01
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
Status
Series/Edition
****/** Series/Edition of PMC
****/** Series/Edition of ladder Editing Card
PMC TYPE
PMC-*** Connected PMC type
SCAN TIME
CUR 0ms Current scan time
MAX 0ms Maximum scan time
MIN 0ms Minimum scan time
Date/Time
00/00/00 Month/Date/Year
00:00:00 Hour:Minute:Second
Fig.3.4.3.5 (a)
90
B–62884EN/01 3. OPERATION
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
Yes No
Fig.3.4.3.6 (a)
91
3. OPERATION B–62884EN/01
Yes No
Fig.3.4.3.6 (b)
Warning
When executing or stopping a program, special care is
necessary. If a program is applied incorrectly, the machine
may act unpredictably.
Avoid using the function if personnel are present near the
machine.
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
92
B–62884EN/01 3. OPERATION
Signal Trace
X0000(01111111)
No. 7 6 5 4 3 2 1 0 Value
0000 F F F F F F f F FDH
0001 f f F f F F f F 2DH
³0002 f F F f f f f F 60H
0003 f f f f f f f f 00H
0004 f f f f f f f f 00H
0005 f f f f f f f f 00H
0006 f f f f f f f f 00H
0007 f f f f f f f f 00H
Signal Trace Start Time –:–:– Signal Trace End Time –:–:–
ÔÔ
F1 F3
EXEC PARAM
STOP
Page Page
The display of trace data can be scrolled by , , Up , and Down key
MODE
f 1 BYTE
f 2 BYTES (Consecutive Address)
F 2 BYTES (Two Address not Consecutive)
ADDRESS 1 ADDRESS 2
F PMC ADDRESS f PMC ADDRESS
f PHY ADDRESS F PHY ADDRESS
X0000 FFE480
93
3. OPERATION B–62884EN/01
Notes
When the trace address type is specified as a physical
address, if an illegal memory address is specified to execute
the trace, a system error may occur. About the legal range
of a physical address which can be specified, a knowledge
of programming PMC by C language is needed.
Refer to “PROGRAMMING MANUAL(C LANGUAGE)/
B–61863E–1” and operate carefully not to specify an illegal
memory address.
94
B–62884EN/01 3. OPERATION
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
Signal analysis
R0901.0
R0901.1
R0901.2
R0901.3
512 1024(msec)
ÔÔÔ F1 F2 F3 F6 F10
ÔÔÔ
Exec T.Srch Sgnprm Exchg SgnSet
STOP
95
3. OPERATION B–62884EN/01
Analysis Parameter
Condition Trigger–Mode
f Start f AFTER
F Trigger–ON F ABOUT
f Trigger–OFF f BEFORE
f ONLY
Signal–Address
1: X0000.0 5: R0900.0
2: X0000.1 6: R0900.1
3: X0000.2 7: R0900.2
4: X0000.3 8: R0900.3
OK Cancel Init
(Next Page)
Signal–Address
96
B–62884EN/01 3. OPERATION
Notes
1 Condition 1 and 2 are effective when a trigger address is
specified.
Notes
2 Trigger mode 1 is effective when condition 1 is set.
Trigger mode 2 is effective when condition 2 is set.
97
3. OPERATION B–62884EN/01
Analysis setting
Scale
f 8 msec
F 16 msec
f 32 msec
Address/Symbol
F Symbol
f Address
Display–Mode
V Max Display
Scroll–Mode
V Scale(msec/Times)
OK Cancel
98
B–62884EN/01 3. OPERATION
Please select [Cancel] or press the Esc key when you cancel
setting.
(d) Starting or stopping of data sampling
Please press F1“Exec” or “Stop” in Fig.10.1.Screen of Signal
Analysis Function.
(e) Displaying traced data by specifying period
Enter a period in ms in which traced data is to be displayed.
Pressing F2“T.SRCH” key displays the trace data.
(Example) Entering 800, then pressing F2“T.SRCH” key
displays the waveform from 512 ms to 1024 ms.
(f) Exchanging positions at which traced data is displayed.
Pressing the F6“Exchg” key moves the cursor to the first traced
address.
Move the cursor to an address to be displayed at different position
with or key and press SELECT key. Move the cursor
to an address to be displayed at the position of the specified
address and press TO key.
Pressing EXEC key exchanges the positions of the traced data
items.
After TO key is pressed in the above procedure, Only EXEC key
is effective.
Pressing CANCEL key restores the exchange trace data to
original positions.
F6
Exchg
F6 F7
Select Cancel
F6 F7
To Cancel
F6 F7
Exec Cancel
99
3. OPERATION B–62884EN/01
3.4.3.9 The system software information such as specifications, version, and etc
Display System can be referred.
Information (1) Menu position
To display “System Information” dialog box, pull down [2.
Diagnose] menu, and select [System Information] on the menu
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
System Information
Fig.3.4.3.9 (a)
Notes
1 The on–line monitor driver occupies the line while it is
operating.
In this state, other input/output functions cannot use the
line.
If other input/output functions use the line, it is necessary to
display the abovementioned parameter and stop the
on–line monitor driver.
2 While the on–line monitor driver is operating, the following
functions cannot be used.
[PMCLAD], [I/O], [EDIT], and [SYSPRM] functions on
CRT/MDI.
[EDIT], [SYSTEM PARAM], and [I/O] functions on
DPL/MDI.
100
B–62884EN/01 3. OPERATION
Notes
1 In case of operating NC, the screen display of NC (Position,
etc.) might slow when using input/output functions (Load
from PMC, Store to PMC, etc.).
There is no problem in the operation of NC. It is
recommended to using input/output functions while NC is
not operating.
2 When screen made by C language executor is displayed,
the communication speed decreases. It is recommended
to use input/output functions after moving to other screens
(Position, etc.).
3.4.4.1 A program held on the PMC can be transferred to the personal computer.
Loading of Program “LOAD OF PROGRAM” is used to transfer a ladder program from the
PMC to the personal computer when, for example, using the program with
the on–line function.
(1) Menu position
To display the “Load program” dialog box, display the [3. I/O]
pull–down menu, then select [Load PROGRAM] from the menu.
3. I/O
Load program
Store program
Backup program
101
3. OPERATION B–62884EN/01
Load program
0% 100%
Load
program
size
Exec Abort Cancel indicator
Abort loading
Execute loading Close dialog box
Fig.3.4.4.1 (a)
(3) Operation
Select a desired button by pressing the Tab key, then press the Enter
key.
Once the program has been loaded normally, the dialog box closes
automatically.
3. I/O
Load program
Store program
Backup program
102
B–62884EN/01 3. OPERATION
Store program
0% 100%
Loading
program
size
Exec Abort Cancel indicator
Abort storing
Execute storing Close dialog box
Fig.3.4.4.2 (a)
(3) Operation
Select a desired button by pressing the Tab key, then press the Enter
key.
Once the program has been stored normally, the dialog box closes
automatically.
Notes
S While “Online Editor” is in progress, a program cannot be
stored to the PMC. To enable storing to the PMC, move to
“Ladder Monitor”.
S If the CNC is turned off after an edited program is stored to
the PMC but before the program is backed up, the results
of editing will be lost. When storing a program to the CNC,
therefore, backup the program (see Section 3.4.4.3).
3.4.4.3 A program stored in the PMC or which has been edited with the on–line
Program Backup function need to be backed up so that the program is not lost when the
power to the CNC is turned off.
Caution
A program being edited or which is currently stored will be
lost if the power to the CNC is turned off before the program
has been backed up. Always back up such a program
before turning off the power to the CNC.
103
3. OPERATION B–62884EN/01
3. I/O
Load program
Store program
Backup program
Backup program
Exec Cancel
Fig.3.4.4.3 (a)
Backup program
Exec Cancel
Fig.3.4.4.3 (b)
(3) Operation
1) Click the [Exec] button. The message [Now backup] appears,
and backup is started. Provided backup is completed
successfully, the message “Backup complete” appears.
104
B–62884EN/01 3. OPERATION
Caution
In the case of a CNC system in which programs are backed
up to PMC flash memory, place the CNC in the emergency
stop state before starting backup.
4. Communication
Communication
Communication
status
Fig.3.4.5 (a)
105
3. OPERATION B–62884EN/01
3.4.6 This section provides the following examples of using the on–line
Examples of Operation function:
3.4.6.1
Monitoring a Ladder (1) Starting the on–line functions
When the system is started, the on–line functions, and
communication are automatically started.
Communication
Status
Start
F7 F8 F9 F10
Splist Search Symbol Seting
Fig.3.4.6.1 (a)
Fig.3.4.6.1 (b)
106
B–62884EN/01 3. OPERATION
Sub–program list
LEVEL 1
LEVEL 2
P00001 (OPEN RIGHT DOOR ) MOVE RIGHT DOOR TO LIMIT–SWTH–R1
P00002 (OPEN LEFT DOOR ) MOVE LEFT DOOR TO LIMIT–SWTH–L1
S P00010 (GRIP WORK PEICE ) PICK UP A WORK ON THE STAND
P00011 (PUT WORK PIECE ) PUT DOWN A WORK
P00021 (CLOSE RIGHT DOOR) MOVE RIGHT DOOR TO LIMIT–SWTH–R2
P00022 (CLOSE LEFT DOOR ) MOVE LEFT DOOR TO LIMIT–SWTH–L2
OK Cancel
Fig.3.4.6.1 (c)
D000
ÔÔ R0000.1
R0000.0
ÔÔÔÔ Ô
D000
ÔÔÔÔ SUB 1
ÔÔÔÔ
END
F7 F8 F9 F10
SpList Search Symbol Seting
Fig.3.4.6.1 (d)
107
3. OPERATION B–62884EN/01
or OFF (0). They are displayed with thick or thin line according
to their status as follows.
ON (1) OFF (0)
Thick Thin
Thin Thick
Thick Thin
Thick Thin
(R)
Thick Thin
Display setting
Ladder Mode
f Ladder Monitor F Online Editor
Function Parameter OK
j Display
Cancel
Fig.3.4.6.1 (e)
108
B–62884EN/01 3. OPERATION
-OFF
RST SUB 36 0002
-
ADDB
TCTRL-1
ACT TCNT-1
[ 12]
0000000001
NXT-TCNT
[ 13]
Contents of address
TCNT-1 Contents of address
NXT-TCNT
Fig.3.4.6.1 (f)
R0114
[ 13]
Fig.3.4.6.1 (g)
109
3. OPERATION B–62884EN/01
Status
Series/Edition
4066/10
PMC TYPE
PMC-RB4
SCAN TIME
CUR 0ms
MAX 0ms
MIN 0ms
Date/Time
00/00/00
00:00:00
Fig.3.4.6.1 (h)
Ok
Fig.3.4.6.1 (i)
110
B–62884EN/01 3. OPERATION
Program on Program on
PMC is running. PMC is stopped.
Communication Communication
is active. is stopped.
Signal Status
G00000 0 0 0 0 0 0 0 0 : 00
G00001 0 0 0 0 0 0 0 0 : 00
G00002 0 0 0 0 0 0 0 0 : 00
G00003 0 0 0 0 0 0 0 0 : 00
G00004 0 0 0 0 0 0 0 0 : 00
G00005 0 0 0 0 0 0 0 0 : 00
G00006 0 0 0 0 0 0 0 0 : 00
G00007 0 0 0 0 0 0 0 0 : 00
G00008 0 0 0 0 0 0 0 0 : 00
G00009 0 0 0 0 0 0 0 0 : 00
Fig.3.4.6.1 (n)
111
3. OPERATION B–62884EN/01
F4 F8 F10
Symbol Search Wrt On
or or
F4 F10
Adress WrtOff
Fig.3.4.6.1 (o)
Signal Status
R00000 0 1 0 0 0 0 1 0 : 42
R00001 0 0 0 0 0 0 0 0 : 00
R00002 0 0 0 0 0 0 0 0 : 00
R00003 0 0 0 0 0 0 0 0 : 00
R00009 0 0 0 0 0 0 0 0 : 00
Fig.3.4.6.1 (p)
Signal Status
R00001 0 0 0 0 0 0 0 0 : 00
R00004 0 0 0 0 0 0 0 0 : 00
Fig.3.4.6.1 (q)
112
B–62884EN/01 3. OPERATION
changes to [WrtOff].
Warning
Signal status changes should always be made with extreme
care. Signal status changes can have serious and
unforeseen results on a control system, and on the process
to which it applies, if they are improperly used. It is
recommended that these functions not be used with people
near the equipment.
make the signal status change. Enter key turns a signal status ON
which was OFF, and turns a signal status OFF which was ON.
Signal Status
R00001 0 0 0 0 0 0 1 0 : 02
R00004 0 0 0 0 0 0 0 0 : 00
Fig.3.4.6.1 (r)
Note
Some signals may not change their status even if you
change them, because the Ladder diagram writes the
signals frequently, or the signals are frequently updated by
NC, MMC, or the external I/O devices such as I/O-Link: NC
writes signals on F-address, MMC on M-address, and the
external I/O devices on X-address.
113
3. OPERATION B–62884EN/01
Note
Non-volatile PMC address T, C, K and D which is called
”PMC parameter” has special window to display and modify
them (see 3.4.3.3 for detail).
Backup program
Exec Cancel
Fig.3.4.6.1 (s)
(b) Performing backup
Click the [Exec] button. The message ”Now backup...” appears,
and backup is started. Provided backup is completed
successfully, the message ”Backup complete” appears.
(c) Closing the dialog box
Close the dialog box by clicking the [Cancel] button or pressing
the Esc key.
(8) Ending the on-line function
(a) Ending the on-line function
Select [1. FILE] from the menu bar. Then, select [Exit].
A message dialog box appears as shown below. Select [OK] to
end the on-line function.
OK Cancel
Fig.3.4.6.1 (t)
114
B–62884EN/01 3. OPERATION
3.5
OFF-LINE FUNCTION
3.5.1 When Off–Line Function is selected from the on–line function menu, the
General following off–line menu screen appears.
Press the function key corresponding to the desired function. The
corresponding screen will appear.
F1 KEY : EDIT
F2 KEY : PRINT
F3 KEY : COMPILE
F4 KEY : DECOMPILE
F5 KEY : I/O
F6 KEY : PROGRAM OPTION SET–UP
F7 KEY : MNEMONIC EDIT
F8 KEY : UTILITY
F9 KEY : ON–LINE FUNCTION
F10 KEY : END
1 EDIT 2 PRINT 3 COMPIL 4 DECOMP5 I/O 6 SET–UP 7 MNEEDT8 UTILTY 9 ONLINE 10 END
F1 KEY : EDIT
F2 KEY : PRINT
F3 KEY : COMPILE
F4 KEY : DECOMPILE
F5 KEY : I/O
F6 KEY : PROGRAM OPTION SET–UP
F7 KEY : MNEMONIC EDIT
F8 KEY : UTILITY
F9 KEY : ON–LINE FUNCTION
F10 KEY : END
1 EDIT 2 PRINT 3 COMPIL 4 DECOMP5 I/O 6 SET–UP 7 MNEEDT8 UTILTY 9 ONLINE 10 END
115
3. OPERATION B–62884EN/01
F1 KEY : TITLE
F2 KEY : LADDER DIAGRAM
F3 KEY : SYMBOL & COMMENT
F4 KEY : MESSAGE
F5 KEY : I/O MODULE
F6 KEY : SYSTEM PARAMETER
F10 KEY : END
5) EDITION NO :
6) PROGRAM DRAWING NO :
7) DATA OF PROGRAMMING :
8) PROGRAM DESIGNED BY :
9) ROM WRITTEN BY :
10) REMARKS :
1 2 3 4 5 6 7 8 9 10 END
(2) Termination
[Operation]
1) Select [END] or press the Esc key on the editing screen.
2) The following message appears:
116
B–62884EN/01 3. OPERATION
5) EDITION NO :
6) PROGRAM DRAWING NO :
7) DATA OF PROGRAMMING :
8) PROGRAM DESIGNED BY :
9) ROM WRITTEN BY :
10) REMARKS :
1 2 3 4 5 6 7 8 9 10 END
Fig.3.5.2.1
(2) Input
[Operation]
1) Select an input item (displayed in reverse video) with the
and keys.
2) Enter data.
The maximum number of characters usable for each title data
item is listed below.
MACHINE TOOL BUILDER NAME : 32 characters
MACHINE TOOL NAME : 32 characters
CNC & NC NAME : 32 characters
PMC PROGRAM NO : 4 characters
EDITION NO : 2 characters
117
3. OPERATION B–62884EN/01
3) Press the desired function key. The system returns to the editing
menu.
S–prog’P1
118
B–62884EN/01 3. OPERATION
Notes
1 The 3rd ladder level can be omitted.
2 If the [ZOOM] key was used to nest a program to a certain
depth, and if the subprogram configuration screen is
displayed upon a single press of the [MAIN] key, the editing
of the subprograms for which the [ZOOM] key was pressed
is suspended. Such subprograms are marked with ∆].
119
3. OPERATION B–62884EN/01
Program Type ?
F1 Ladder
F2 Step sequence
position the cursor to P200 then press the [ZOOM] or Enter key.
–If a subprogram number marked with ∆] (P21, for example) is
selected, the following message is displayed:
ŸŸ
ŸŸŸŸ
[C: ¥DATA¥SAMPLE¥P1.#LA]PMC–RC4 NET 00001–00003 STEP 00010/32000 EMS (b)
ŸŸ
ŸŸŸŸ ŸŸ
SUB71 (c)
P0001
SP P0001
Ÿ ŸŸ
ŸŸŸ ŸŸ
X000.0 Y000.0
ŸŸ
ŸŸŸ
R000.0 ACT
SUB 8 1100
MOVE 0111
ŸŸ
ŸŸŸ
D000
D010
1 2 3 4 5 function 6 7 8 9 10 comand
120
B–62884EN/01 3. OPERATION
(ii) The line shows the name of the file which is being edited,
number of the net which is displayed on the screen, and the
number of program steps/maximum number of steps that can
be edited.
(iii) The line shows a sub-program number (P address) or label
number (L address).
(iv) The lines show a symbol and comment added to the data at
the address selected by the cursor.
1) AD=X000.0 : Address on which the cursor is
placed
2) SY=SAMPLE: Symbol data
00001 Total number of symbols
3) RCO=RELAY
SAMPLE : Relay comment data
00012 Total character numbers of relay
comment
4) CCO=TEST DATA No.
1 : Coil comment data
0030/00030 Total character number of coil
comment output to object file/Total
character number of coil comment.
1)
1 2 3 4 5 function 6 7 8 or 9 or 10 comand
[comand] ↓ 2)
2) [COMAND]
1 insnet 2 Delnet 3 Insert 4 Adress 5 Search 6 Copy 7 Move 8 File 9 syEdit 10 Zoom
↓ ↓ ↓ ↓ ↓ ↓ ↓
5) 6) 7) 8) 8) 9) 10)
3) Under condition 1), holding down [SHIFT] lets you select the following items.
4) Under condition 2), holding down [SHIFT] lets you select the following items.
1 2 3 4 5 G–srch 6 7 8 9 10 List
5) [Delnet]
6) [Insert]
121
3. OPERATION B–62884EN/01
7) [Search]
8) [Copy] / [Move]
↓ *
9) [File]
Opens a window in which the name of an input program can be specified. Select desired processing from
a POP-UP menu.
10)[syEdit]
1 exec 2 cancel 3 4 5 6 7 8 9 10
Notes
While the function keys of 1) are displayed in ladder diagram editing, a command of 2) can be
executed. For example, entering A and [COMAND] on the 1) screen has the same effect
as selecting F4 [Adress] on the 2) screen. To select a command of 2) in this way, enter the
upper-case letter (not necessarily initial letter) in the corresponding command name shown on
the 2) screen.
122
B–62884EN/01 3. OPERATION
Ÿ Ÿ ŸŸ
X0.1 D30.2 F14.2
ŸŸY52.7
Ÿ Ÿ ŸŸ ŸŸ
Ÿ
X2.4
[Operation]
1) Move the cursor to the start position, then press
[ ].
The [ ] symbol appears on the screen. The
message ”HORIZONTAL LINE ILLEGAL” appears
at the lower-right corner of the screen. This message
warns the user that horizontal ladder diagram line
creation is not completed. Enter an address and bit data.
2) Enter X0.1 on the keyboard and press the Enter key. The
address is set at the contact, and the cursor moves right.
3) As in 1) and 2), enter contact A of D30.2.
4) Enter contact B of F14.2.
Press [ ] and enter address F14.2, then press the
Enter key. The address is set on contact B and the cursor
moves right.
5) Without moving the cursor, press [ ].
A horizontal line segment extending to the right is drawn
automatically and a relay coil symbol appears near the
right vertical rail.
6) Enter address Y52.7, then press the Enter key.
The cursor automatically moves to the input start
position on the next line.
7) Next, enter an OR condition.
Press [ ] and enter address X2.4, then press the
Enter key.
The address is set at contact B and the cursor moves right.
8) Press [ ] to enter a horizontal line.
To enter a horizontal line, enter a number and press the
horizontal line key [ ]. The line segment will be
entered as many times as the number entered. Note,
however, that such a line never exceeds the right vertical
rail.
9) A vertical line extending upward is required for OR.
Press [ ] to enter a vertical line extending upward.
(ii) Example of function instruction program input
For function instruction input, press the function key
123
3. OPERATION B–62884EN/01
[functn]. Next, enter a SUB number, then press the Enter key.
A function instruction can also be entered by entering the
function instruction name or SUB number and pressing the
[functn] key.
If the user does not remember a certain instruction name or
SUB number, a function instruction table that lists function
instructions and corresponding SUB numbers can be
displayed on the screen.
The table can be displayed just by pressing the [functn] key
without entering any data. Then the function instruction
table is automatically displayed.
Press the [functn] key to return to the ladder diagram screen
from the function instruction table.
Ÿ
Ÿ
ACT MOVE (1) (2) (3) (4)
ffff ffff ffff ffff
fff.f (SUB 8)
ŸŸ
as shown below.
MOVE
ffff ← (1)
ffff ← (2)
SUB 8
ffff ← (3)
ffff ← (4)
[Operation]
1) Enter a control condition.
Press [ ]. Next, enter an address and bit data, then
press the Enter key. The cursor moves right.
2) Enter a function instruction.
Press the [functn] key. Next, enter SUB number 8, then
press the Enter key. The function instruction diagram
shown above appears.
3) Enter the parameters of the function instruction.
First, enter the high–order 4–bit logical multiplication
data of the first parameter, then press the Enter key. The
cursor automatically moves downwards. Enter the
remaining three parameters one by one.
(iii) Restrictions and notes on ladder editing
[Restrictions]
1) Restrictions related to the ladder 1 net (corresponding to
the portion between the RD and WRT instructions)
124
B–62884EN/01 3. OPERATION
Ÿ ← 1 line
Ÿ
Ÿ
← 2 lines
125
3. OPERATION B–62884EN/01
Ÿ
Number of control conditions = 2
RST
SUB 36 1004 Number of parameters = 4
ADDB Number of lines = number of
ACT parameters + 1 = 5 lines
R000
R010
R020
Ÿ
Number of control conditions = 3
O.E
Ÿ
SUB 11 R100 Number of parameters = 1
PARI Number of lines = number of
RST control conditions + 1 = 5 lines
ACT
ACT
Ÿ
Ÿ
SUB 49 0011
DISP
0003
D300
126
B–62884EN/01 3. OPERATION
RST
ACT
SUB 27
CODB
0005
0007
Ÿ
D300
D320
ŸŸ
ACT
Net A SUB 49 0011
DISP
0003
D300
Screen display section
ŸŸ
009 0000 0000
Net B
ŸŸ
ŸŸ
ŸŸ
ŸŸ
Net C
c) Examples of symptoms
Example of symptom (a-1)
- The ladder diagram can be edited only when the
”total number of message data steps” parameter of
the DISP instruction (SUB 49) is less than or equal
to 396. This is because when the total number of
steps is 396, the net consists of 70 lines.
127
3. OPERATION B–62884EN/01
ŸŸ
ŸŸ
Display
screen 68-line net
RST
SUB 8 Ÿ Number of MOVE
instruction lines =
number of parameters
MOVE (4) + 1 = 5
68 + 5 = 73 lines
<Measure>
If the display of the 68-line net is not scrolled, the
MOVE instruction can be entered.
- A basic instruction net cannot be entered together
with another basic-instruction net, if the total
number of lines is greater than 70.
For example, if a 68-line basic-instruction net is
followed by another basic-instruction net, the
element of the third line of the latter net cannot be
entered.
ŸŸ
Display
ŸŸ
ŸŸ
ŸŸ
screen 68-line net
ŸŸ
ŸŸ No more lines
can be entered.
<Measure>
If the display of the 68-line net is not scrolled, the
latter basic instruction can be entered.
128
B–62884EN/01 3. OPERATION
Ÿ
4 bytes
200 data tables
Ÿ
RST
SUB 27 0004
ACT CODB 0200
Number of CODB
000 00000000 00000000 instruction lines = 55
Display 002 00000000 00000000 Function instruction section
screen & =4 parameters + 1
Data table section
196 00000000 00000000
Ÿ
=200/4 = 50
198 00000000 00000000
Ÿ
ACT Calculation of DISP
SUB 49 instruction data items that
DISP can be entered
Function instruction sections
=3 parameters + 1
Number of remaining lines
=70 - 55 - 4
= 11 lines
Data tables
=11*6 = 66
<Measure>
Moving the DISP instruction to the top of the display
screen makes it possible to set the total number of
steps to 396.
3) Restriction on the maximum number of steps
The maximum number of ladder steps that can be edited is as
follows:
Without EMS : 21840 steps
With EMS : 32000 steps
Note, however, that the maximum allowable number of steps
can decrease, depending on how memory is used.
If a ladder being edited exceeds the maximum allowable
number of steps, editing is disabled and the following
message is displayed:
MNEMONIC BUFFER OVER
129
3. OPERATION B–62884EN/01
Notes
1 An attempt to scroll a program on the screen with a scroll key
or other keys fails if the ladder program is incomplete (for
example, without addresses) or invalid.
A correct ladder program must be created before the screen
can be scrolled.
2 Up to eight contacts and one coil can be entered in one line
on the screen.
However, this restriction does not apply to a sequence
program created in mnemonic format. When a sequence
program created in mnemonic format exceeds this limit, it is
displayed over several lines with a continuation symbol.
This continuation symbol cannot be deleted with
[ ]. Use [Delnet] (net deletion) to delete this
symbol. (See Item (6) in this section.)
[Insert] ↓
Ÿ Ÿ Ÿ Ÿ
To be added
130
B–62884EN/01 3. OPERATION
Ÿ Ÿ Ÿ Ÿ
Ÿ Ÿ Ÿ To be added
Cursor
[Operation]
1) Move the cursor to the position shown above.
2) Press [ ] to delete the vertical line to the left
extending upward. This disappears.
3) Press [ ] to create a vertical line extending upward
to the right of the cursor, then press [ ]. A
horizontal line and vertical line are created.
4) Move the cursor to the point on the line where a contact
is to be added.
5) Press [ ] to add a contact.
(ii) When a line is added vertically
Ÿ Ÿ ŸŸ
ŸŸ ŸŸ ŸŸ
ŸŸ
Ÿ
ŸŸ To be added
Ÿ ŸŸ
To add a line vertically, an area is required for the addition.
To create such an area, the lower part of the ladder diagram
must be shifted down by one line. To do this, move the cursor
to any point in the ladder diagram enclosed in dashed lines,
then press the [insnet] key.
Each time the [insnet] key is pressed, the lower part of the
ladder diagram is shifted one line down to create an area for
addition. Make an addition in this area.
After line addition, any remaining area (as in the case where
two lines are added in an area large enough for three lines) can
be left as it is.
[Operation]
1) Move the cursor to any point in the ladder diagram
enclosed in dashed lines.
2) Press [insnet].
The lower part of the ladder diagram is shifted down by
one line.
3) When the [insnet] key is pressed without entering a
numeric value, one line is inserted.
4) When the [insnet] key is pressed after entering a numeric
value, the number of lines specified is inserted.
131
3. OPERATION B–62884EN/01
Ÿ
Ÿ Ÿ
Ÿ
Cursor
Ÿ
If the [inslin] key is pressed when the cursor is positioned
as shown in the left-hand figure, a blank line is inserted
as shown in the right-hand figure.
(iv) Element insertion in a single-net sequence program
Elements are added one by one.
[Operation]
1) Enter the number of elements to be inserted, then press
the [inselm] key. The entered number of elements is
inserted.
If the character A is prefixed to the number of
elements to be inserted and the [inselm] key is pressed,
elements are inserted after the cursor.
(If the [inselm] key is pressed without entering the
number of elements to be inserted, just one element is
inserted.)
Ÿ Ÿ Ÿ
Ÿ Ÿ Ÿ
Cursor
Ÿ Ÿ Ÿ
Cursor
Ÿ Ÿ Ÿ
132
B–62884EN/01 3. OPERATION
[Delnet] ↓
[Operation]
1) Deletion
Move the cursor to the net to be deleted, then press the
[Delnet] key. The net to be deleted is displayed in red.
2) Deleting multiple nets
Move the cursor by using keys such as the cursor down
key, [c-down] key, or [search] key, then display the nets
to be deleted in red. If the [c-down] key is pressed after
a numeric value is entered, the cursor moves as many
times as the entered numeric value.
3) Execution : Press the [exec] key.
Cancellation: Press the [cancel] key.
Deletion except: Press the [exclud] key. Exclude nets
except specified nets in 2).
4) When the nets to be deleted are known beforehand, move
the cursor to the first net to delete, enter the number of
nets to delete, then press the [Delnet] key. With this
operation, steps 1) and 2) can be omitted.
(g) Searching in a sequence program
A sequence program can be searched using the following soft
keys:
[Search] ↓
133
3. OPERATION B–62884EN/01
(i) [top]
When this key is pressed, the start of the sequence program
is displayed on the screen and the cursor is moved to the start
of the program.
(ii) [bottom]
When this key is pressed, the end of the sequence program is
displayed on the screen and the cursor is moved to the end of
the program.
(iii) [srch]
Search operation using this key searches the program for a
specified address from the current location for the cursor on
the screen to the end of the program. When an address is
found, it is displayed on the screen. An address to search for
can be specified in one of two ways.
1) Address specification using the cursor
Move the cursor to the relay contact of the address to
search for, then press the [srch] key. This operation
searches the program for the specified address from the
current location of the cursor on the screen to the end of
the program.
If the specified address is found, the section of the
program containg the address is displayed on the screen.
The cursor is automatically positioned at the found
address.
If the search operation fails to find the specified address,
the cursor does not move.
To terminate searching, press the Esc key.
Ÿ
X2.0
Ÿ Ÿ F54.1 Y52.3
ŸŸ
G11.6
Ÿ
D35.3
When the same address
Ÿ Ÿ ŸŸ
Y49.1 as this address is to be
G17.2 X4.2
searched for, move the
Ÿ
X14. 0
ŸŸ
D32.0
ŸŸ
cursor to this position,
then press the [srch] key.
ŸŸ
F54.1 G43.1
Ÿ
X0. 4
Ÿ ŸŸ
When the same address
X0. 5 D21.2 is found, the cursor
moves to this location.
134
B–62884EN/01 3. OPERATION
135
3. OPERATION B–62884EN/01
6)
7)
8)
← displaying on one of Whole
← cursor the screen subprograms program
1)
2)
3)
D Searching result
When the object of search is found, the cursor will move
to the position.
In case of finding in another program, the program which
is currently displayed will be closed.
Then, the program which contains the object, will be
opened to display the object position with the cursor.
At this time, whether to save or quit modifications is
inquired, in case there are modifications in the program to
be closed.
1 2 3 4 5 function 6 7 8 or 9 or 10 comand
[comand] ↓
136
B–62884EN/01 3. OPERATION
2) [comand]
1 2 3 4 5 G–srch 6 7 8 9 10 List
[G–srch] ↓
4)
Esc
Only “G-SRCH” mode is ended. The
- = program on the opening now is the state
as it is.
- [cancel]= It returns to the program which was
opened at beginning the “G-SRCH”
mode. The program on the opening now
closes.
Whether will save or quit modifications
is inquired, in case there are
modifications in the program which is
currently displayed.
(h) Copying sections of a sequence program
A multiple-net sequence program can be copied net by net.
Specify the net to be copied. The net can be copied in the same
file that is being edited or into another file. The selected net
remains as it was.
137
3. OPERATION B–62884EN/01
ŽŽŽŽŽŽ ŽŽŽŽŽ
[Copy] [to– fil]
ŽŽŽŽŽŽ ŽŽŽŽŽ
Range to be
copied
[until]
ŽŽŽŽŽŽ
ŽŽŽŽŽŽ
ŽŽŽŽŽŽ
Fig.3.5.2.2 (b)
[Copy] ↓
[Operation]
1) Copying a net
Place the cursor on the net to be copied and press the [Copy]
key. The selected net is displayed in yellow.
2) Copying two or more nets
To select the nets to be copied, first move the cursor to the
first net of the range to be copied, then move the cursor to the
net at the other end of the range to be copied by pressing the
cursor up, cursor down, [c–up], [c–down], or [search] key.
The selected nets are displayed in yellow.
Alternatively, enter a numeric value and press the [c–up] or
[c–down] key. The cursor moves according to the specified
value.
3) Setting the net or nets to be copied
Press the [until] key.
4) Specifying the copy destination using the [to] key (Copying
the net or nets in the same file)
Move the cursor to the copy destination in the same file and
press the [to] key. The selected net or nets are copied
immediately above the copy destination specified by the
cursor. To copy the selected net or nets two or more times,
enter the number of times they are to be copied before
pressing the [to] key.
5) Specifying the copy destination using the [to–fil] key
(Copying the net or nets into another file)
1) Press the [to–fil] key. The following message is
displayed.
138
B–62884EN/01 3. OPERATION
F1 Exec
F2 Cancel
Note
Incorrect nets cannot be copied.
[Move] ↓
[Operation]
Substituting [Move] for [Copy], follow steps 1) to 6) for
copying.
Note
Incorrect nets cannot be moved.
139
3. OPERATION B–62884EN/01
ŽŽŽŽ
ŽŽŽŽ
Section to be Edit
edited
[TO]
Combine Edited file
to be
combined
ŸŸŸŸŸŸŸ
EDIT (LADDER) View RC4 <0>[C:¥FLADOER¥]
ŸŸŸŸŸŸŸ
[C: ¥DATA¥SAMPLE¥P1.#LA]PMC–RC4 NET 00001–00003 STEP 00010/32000 EMS
ŸŸŸŸ
ŸŸŸŸ Ÿ
SUB71
P0001
SP P0001
X000.0 Y000.0
1 2 3 4 5 function 6 7 8 9 10 comand
140
B–62884EN/01 3. OPERATION
<POP–UP menu>
(Cancel) (To)
(View)
Shows the ladder diagram Cancels file input Combines the file with the
of the file to be combined Ladder program on the
(View screen) original screen
Esc
Press the key to terminate editing
<POP –UP menu>
(Quit) *1 (Temp) (Edit)
(Save)
Saves the Ladder Cancels the Saves the data in Returns to the
program shown on the edited data a provisional ladder diagram
view screen work file screen (The view
screen is continued.)
141
3. OPERATION B–62884EN/01
iii) Examples
Example 1. Combining a sequence program file
[Operation]
1) Place the cursor on the insertion point on the original
screen.
2) Select [File].
3) Enter the name of the file to be combined and press the
Enter key.
4) From the following menu, select F1 (To).
F1 To
F2 View
F3 Cancel
F1 To
F2 View
F3 Cancel
F1 To
F2 View
F3 Rename & Save
F4 Edit
F5 Create Latemp file
142
B–62884EN/01 3. OPERATION
F1 Exec
F2 Cancel
[syEdit] ↓
[Operation]
1) Specifying an address
To edit a symbol and comment in a ladder diagram, place the
cursor on the corresponding address and press the [syEdit]
key.
2) Editing the symbol and comment
The cursor moves to the symbol editing section in the bottom
right part of the screen. Edit the symbol and press the Enter
143
3. OPERATION B–62884EN/01
Note
The keys [ or ] and [ or ] are used to create
or delete a vertical line extending upward to the left or right
of the cursor in a ladder diagram. The solid vertical line is
for creation and the dashed vertical line is for deletion. The
menu item applying to a function key depends on the ladder
diagram and cursor position.
(m) ZOOM
Subprograms called by the currently selected program’s issuing
of a CALL/CALLU instruction can easily be referenced and
edited.
(i) Start up of zoom
1) Moved the cursor to the parameter of the CALL/CALLU
instruction and push the Enter key.
Ÿ
R001.0 ACT
SUB65
CALL
P001
144
B–62884EN/01 3. OPERATION
1 2 3 4 5 function 6 7 8 or 9 or 10 comand
[comand] ↓
2) [comand]
1 2 3 4 5 G–srch 6 7 8 9 10 List
Ÿ
R100.1.0 R1000.2
ŸŸ Y2000.4
ŸŸ
R120.3 ŸŸ
R100.1.0 R1000.2
ŸŸ Y23.4
ŸŸ
2) Lines at the cursor and after are shifted down, and the
area for comment enclosed by ‘(*’ and ‘*)’ is inserted.
145
3. OPERATION B–62884EN/01
ŸŸ Ÿ
R100.1.0 R1000.2
ŸŸ
Y2000.4
Ÿ
R120.3 character cursor
↓
(* Net comment is written in here. *)
(* All characters you can enter are available. *)
Ÿ Ÿ
R100.1.0 R1000.2
ŸŸ
Y23.4
Note
The number of characters in a Net comment is limited to
4095 bytes: counting one ASCII character as one byte, one
Japanese kana as one byte, one kanji character as two
bytes.
‘Line feed’ is also available on Net comment. Line feed is
helpful to save memory for Net comment.
[inslin] will shift lines at the cursor and after down by one
line, and make a blank line at the cursor position.
146
B–62884EN/01 3. OPERATION
[dellin] will delete whole one line at the cursor and shift
lines after the cursor up by one line.
147
3. OPERATION B–62884EN/01
ŸŸ Ÿ ŸŸ
R100.1.0 R1000.2 Y2000.4
Ÿ
R120.3
ŸŸ
R100.1.0 R1000.2 Y23.4
2) Lines at the cursor and after are shifted down, and the
mark of New page is inserted.
Ÿ
R100.1.0 R1000.2
Ÿ ŸŸ Y2000.4
ŸŸ
R120.3 Ÿ ŸŸ
ŸŸŸŸ
<New page>
Ÿ
R100.1.0 R1000.2
Ÿ ŸŸ Y23.4
Ÿ Ÿ
(ii) Other operation to edit New page
New page can be handled as same as other ordinary ladder
nets. The operations such as copying [ Copy ], moving [
Move ], and deleting [Delnet] ladder nets are also effective
on New page.
(q) Terminating editing of a sequence program
[Operation]
1) Press the Esc key on the following editing screen.
1 2 3 4 5 function 6 7 8 or 9 or 10 comand
148
B–62884EN/01 3. OPERATION
149
3. OPERATION B–62884EN/01
← L1
[ ]S1
Ÿ ŸŸ ŸŸ ŸŸ
ŸŸ
← L4
]S2 S10 S20 S30
Ÿ ŸŸ ŸŸ ŸŸ ŸŸ
P2 P10 P13 P20 P30
← L2
Ÿ ŸŸ ŸŸ ŸŸ
S3 S11 S13 S21 S31
Ÿ P3 P11
ŸŸ P14
Ÿ P21 P23
ŸŸ
P31
Ÿ ŸŸ ŸŸ
S4 S14 S23 L2
S23
ŸŸ
P15 P22
S15 S24
1–1
↓ (Note )
Note
The current position of the cursor on the screen is indicated.
The entire screen consists of 32 elements across the screen
and 64 elements from top to bottom. The cursor is
positioned to any element on the screen.
← L4
]S2 S10 S20 S30
150
B–62884EN/01 3. OPERATION
[ + ] : Transition
[ ↓— ] : Divergence of selective sequence
[ ↓= = ] : Divergence of simultaneous sequence
[ | ] : Line for link
[ ↑— ] : Convergence of selective sequence
[ ↑= = ] : Convergence of simultaneous sequence
[ FUNC ] : Various functions
[ CHK ] : Grammatical checking
[ ZOOM ] : Zooming into a subprogram
S1
STEP : S1
ACTION :
1–1
S1
P10
STEP : S1
ACTION : P10
1–1
To change the step number, press the Enter key to position the
Back
character cursor ” ” on STEP and use the Space key to change
the number.
151
3. OPERATION B–62884EN/01
S1
STEP : S10
ACTION : P10
1–1
ŸŸ
ŸŸ
[ ]S1
P100
ACTION :
1–2
ŸŸ
[ ]S1
P100
ACTION : P100
1–2
ŸŸ
ŸŸ
[ ]S1
Position the cursor to the desired input position and press the
[↓—] key.
152
B–62884EN/01 3. OPERATION
ŸŸ
ŸŸ[ ]S1
ŸŸ
ŸŸ[ ]S1
ŸŸ ŸŸ
ŸŸ ŸŸ S2 S3
ACTION : P100
2–4
ŸŸ
ŸŸ[ ]S1
P100
= = = =
1–2
153
3. OPERATION B–62884EN/01
ŸŸ[ ]S1
ŸŸ ŸŸ
= = = = = = = = =
ŸŸ ŸŸ S2
= = = = = = = = =
S3
2–4
←
[ ]S1
P10
P100
LABEL : L10
1–1
← L10
[ ]S1
P100 STEP : S1
ACTION : P10
1–1
154
B–62884EN/01 3. OPERATION
ŸŸ
← L10
[ ]S1
ŸŸ
P100 P100
ŸŸ[ ]S2
P100
→
LABEL :
2–3
ŸŸ
← L10
[ ]S1
ŸŸ
P100 P100
ŸŸ[ ]S2
P100
→ L10
LABEL : L10
2–3
ŸŸ
ŸŸ[ ]S1
P100
155
3. OPERATION B–62884EN/01
ŸŸ
ŸŸ[ ]S1
P100
If the Enter key is pressed in the state shown above, the selective
branch is deleted and the following screen is displayed:
ŸŸ[ ]S1
P100
ŸŸ[ ]S1
P100
ŸŸ
ŸŸ
[ ]S1
P1
ŸŸ ŸŸ
= = = = = = = = =
ŸŸ ŸŸ
]S2 S10 S20
P2 P10 P20
ŸŸ ŸŸ ŸŸ
ŸŸ ŸŸ S3 S11
ŸŸ
STEP : S2
S21
ACTION : P200
1–3
156
B–62884EN/01 3. OPERATION
ŸŸ
[ ]S1
P1
= = = = = = = = = = = = =
ŸŸ ŸŸ ŸŸ
]S2 S10 S20
1–3
ŸŸ
[ ]S1
P1
Ÿ Ÿ ŸŸ
= = = = = = = = = = = =
P2 P10 P20
Ÿ Ÿ ŸŸ S3
STEP : S2
S11 S21
ACTION : P102
1–3
(xi) Search
P1
ŸŸ ŸŸ
= = = = = = = = = = =
ŸŸ ŸŸ
]S2 S10 S20
P1 P11 P21
ŸŸ ŸŸ ŸŸ
ŸŸ ŸŸ ]S2 S10
ŸŸ S20
157
3. OPERATION B–62884EN/01
P1
= = = = = = = = = = =
F1 Search
F2 Copy
F3 Move
F4 mAin
F5 List
Ÿ Ÿ Ÿ
]S3 S11 S21
P1
= = = = = = = = = = =
ŸŸŸŸŸŸŸ
F1 Se
ŸŸŸŸŸŸŸ
F2 Co F1 Step
ŸŸŸŸŸŸŸ
F3 Mo F2 Action
F4 mA F3 Label
ŸŸ ŸŸŸŸŸŸŸ
F5 Li F4 sYmbol
ŸŸŸŸŸŸŸ
F5 Position
F6 Top
ŸŸŸŸŸŸŸ
]S3
F7 Bottom
P1
ŸŸŸŸŸŸŸ
= = = = = = = = = = =
ŸŸŸŸŸŸŸŸŸŸ
ŸŸŸŸŸŸŸ
F1 Se
ŸŸŸŸŸŸŸŸŸŸ
ŸŸŸŸŸŸŸ
F2 Co F1 Step
F3 Mo F2 Ac
ŸŸŸŸŸŸŸŸŸŸ
ŸŸ ŸŸŸŸŸŸŸ
F4 mA F3 La search string:¥A ¥a
ŸŸ ŸŸŸŸŸŸŸ
F5 Li F4 sY
F5 Position
ŸŸŸŸŸŸŸ
F6 Top
]S3
ŸŸŸŸŸŸŸ
F7 Bottom
Enter the step number to be searched for (S20, for example), then
press the Enter key. The system starts searching through the part
subsequent to the cursor.
158
B–62884EN/01 3. OPERATION
P1
= = = = = = = = = = =
ŸŸŸŸŸŸŸ
F1 Se
ŸŸŸŸŸŸŸŸŸŸ
ŸŸŸŸŸŸŸ
F2 Co F1 Step
ŸŸŸŸŸŸŸŸŸŸ
ŸŸŸŸŸŸŸ
F3 Mo F2 Ac
F4 mA F3 La search string:S20
ŸŸŸŸŸŸŸ
F5 Li F4 sY
ŸŸ ŸŸŸŸŸŸŸ
F5 Position
F6 Top
ŸŸŸŸŸŸŸ
]S3
F7 Bottom
P1
ŸŸ ŸŸ
= = = = = = = = = = =
P1 P11 P21
P1
= = = = = = = = = = =
F1 Search
F2 Copy
F3 Move
F4 mAin
F5 List
Press the [F2] (Copy) key. The system prompts the operator to
enter a start point.
P1
ŸŸ ŸŸ
= = = = = = = = = = =
]S2
ŸŸ ŸŸS10 S20
P1 P11 P21
ACTION :
Specify Start position 1–2
159
3. OPERATION B–62884EN/01
Position the cursor to the desired start point (position 2-3 in the
example shown below), then press the Enter key. The system
prompts the operator to enter the end point.
P1
ŸŸ ŸŸ
= = = = = = = = = = =
P1 P11 P21
ACTION :
Specify End position 2–3
Position the cursor to the desired end point (position 3-4 in the
example shown below), then press the Enter key. The system
prompts the operator to specify a copy destination.
P1
ŸŸ
= = = = = = = = = = =
ŸŸ
]S2 S10 S20
P1 P11 P21
ACTION :
Specify End position
3–4
P1
ŸŸ ŸŸ ŸŸ Ÿ
= = = = = = = = = = =
ŸŸ ŸŸ ŸŸ
]S2 S10 S20
Ÿ
P1 P11 P21 P11 P21
STEP : S10
ACRTION : P100
4–3
160
B–62884EN/01 3. OPERATION
P1
ŸŸ ŸŸ
= = = = = = = = = = =
]S2
ŸŸ ŸŸS10 S20
P1 P11 P21
P1
= = = = = = = = = = =
F1 Search
F2 Copy
F3 Move
F4 mAin
F5 List
161
3. OPERATION B–62884EN/01
(xiv) LIST
The list of subprograms referenced by the stepsequence
subprogram that is currently being edited is displayed.
Press the [F8] (FUNC) key.
P1
ŸŸ ŸŸ
= = = = = = = = = = =
]S2
ŸŸ ŸŸ S10 S20
P1 P11 P21
P1
= = = = = = = = = = =
F1 Search
F2 Copy
F3 Move
F4 mAin
F5 List
162
B–62884EN/01 3. OPERATION
Screen display
V] P200
P1
ŸŸ ŸŸ
= = = = = = = = = = =
P1 P11 P21
P1
ŸŸ ŸŸ
= = = = = = = = = = =
]S2
ŸŸ ŸŸ
S10
ŸŸŸŸŸŸŸŸŸŸŸŸ
S20
ŸŸŸŸŸŸŸŸŸŸŸŸ
ŸŸŸŸŸŸŸŸŸŸŸŸ
P1 P11 Check completed
P1
ŸŸ ŸŸ
= = = = = = = = = = =
ŸŸ ŸŸ
]S2 S10 S20
ŸŸŸŸŸŸŸŸŸŸŸŸ
P1
ŸŸŸŸŸŸŸŸŸŸŸŸ
P11
ŸŸŸŸŸŸŸŸŸŸŸŸ
Chart Sequence error
163
3. OPERATION B–62884EN/01
P1
= = = = = = = = = = =
]S2
ŸŸ ŸŸ S10 S20
P1 P11 P21
ŸŸ ŸŸ ŸŸ
ŸŸ ŸŸ ŸŸ
]S2 S10 S20
P1
= = = = = = = = = = =
Menus
Menu Editing Result of editing Display
Save End Updated Optimized
Quit End Discarded –
Edit Continue Continued Not optimized
Rename End Updated Optimized
Optimize Continue Optimized and continued Optimized
164
B–62884EN/01 3. OPERATION
3.5.2.3
Symbol & Comment D Moving the cursor
Editing Moves the cursor to another field to be edited.
, , ,
[ ] [ ] [ ] [ ]
Address field Symbol field Relay comment field Coil comment field
165
3. OPERATION B–62884EN/01
the or key.
166
B–62884EN/01 3. OPERATION
[Operation]
1) Select [SEARCH] on the symbol and comment editing screen.
2) The following input window appears on the screen.
SEARCH :
167
3. OPERATION B–62884EN/01
ŸŸ
Output Number to object file / Total
ŸŸ
EDIT ( SYMBOL &
SYMBOL 000001/000003
NO. ADDRESS SYMBOL
COMMENT )
ŸŸ PMC-RB4 <O>[A:¥FL¥DATA¥RB4
COIL_COMMENT 0000030/00000090
RELAY COMMENT COIL COMMENT
]
(Note)
Note
It is the indicator. Symbol/comment are displayed with
turning at this point in ladder diagram editing screen.
168
B–62884EN/01 3. OPERATION
3.5.2.4 An arbitrary message can be displayed on the screen, using the DISPB
Message Editing instruction (SUB 41), which is one of the function instructions. Such a
message is created as described below.
(1) Types and quantity of characters that can be used The types of
characters usable in message data vary from one CNC/PMC model
to another. Refer to the PMC programming Manual.
The half-size kana and alphanumeric characters can be entered using
the kana and alphanumeric keys on the keyboard. Similarly to
symbols and comments, Japanese-language text can be edited using
the Japanese-language input FEP (front-end processor). The number
of characters is limited as follows:
1) When only full-size Japanese-language characters are used
: 62 characters
2) When only half-size kana characters are used
: 127 characters
3) When only alphanumeric characters are used
: 256 characters
(2) Edit procedure
The edit method that can be used varies between the CNC/PMC
model in which Japanese language (excluding half-size characters)
can be used and other models. This section describes the procedure
common to all models (only alphanumeric characters are entered),
using the PMC-RC4 as an example.
(a) Startup
[Operation]
1) Select [MESSAG] from the edit menu.
2) The following message data edit screen appears.
NO ADDRESS MESSAGE
002 A00. 1
003 A00. 2
004 A00. 3
(b) Input
[Operation]
1) Place the cursor on the message address where message data is
to be entered.
2) Key in the desired message data.
169
3. OPERATION B–62884EN/01
(c) Modification
[Operation]
1) Place the cursor on the message address where message data is
to be entered.
2) The character cursor moves on to the message and blinks there.
3) Place the cursor at the location where modification is required,
using the cursor keys.
4) Key in the desired characters to modify the message data.
5) Press the Enter key.
3) Select one of the above items, and return to the edit menu.
3.5.2.5 The address of each module in the I/O unit is set and deleted as described
I/O Module Editing below.
(1) Startup
[Operation]
1) Select [MODULE] (I/O module) from the edit menu.
2) The following I/O module edit screen appears.
ADDRESS GROUP BASE SLOT NAME ADDRESS GROUP BASE SLOT NAME
170
B–62884EN/01 3. OPERATION
(2) Setting
[Operation]
1) Place the cursor on the start address when a module is to be set.
2) Key in the module address in the following format:
GROUP.BASE.SLOT.NAME
Notes
1 The module name that can be specified may vary
depending on the model of the PMC or I/O unit. Selecting
[HELP] can display the module names that can be displayed
in the NAME field.
2 The I/O unit MODEL-B is allocated as follows:
“GROUP” : Specify a group number in the configuration.
“BASE” : Must be fixed at ‘0’.
“SLOT” : Specify the unit number of the I/O Unit-B.
Alternatively, set to ’0’ if power ON/OFF
information ‘##’ is to be allocated.
3) Select one of the above items, and return to the edit menu.
171
3. OPERATION B–62884EN/01
and keys.
2) Enter data.
For information about input items, see Item (4) below.
(3) Termination
[Operation]
1) Select [END] or press Esc on the editing screen.
2) The following message appears:
F1 Save (update) & quit
F2 Quit
F3 Edit
3) Select a function key from the above. The screen display returns
to the editing menu.
(4) System parameter editing screen and input items for PMC model
[Example of Editing screen]
1 2 3 4 5 6 7 8 9 10 END
Fig.3.5.2.6 (a)
Note
For other editing screens, see APPENDIX A FUNCTIONS
SPECIFIC TO INDIVIDUAL PMC MODELS
172
B–62884EN/01 3. OPERATION
[Input item]
1) COUNTER DATA TYPE
This parameter specifies whether the format of a counter value
used with the CTR function instruction is to be binary or BCD.
Initial value 0 : BINARY Setting 0 : BINARY / 1 : BCD
Note
however, that increased ladder execution time on the first
and second levels reduces the following processing times:
D PMC screen display time
D Language program processing time
D Ladder processing time on the third level
4) LANGUAGE ORIGIN
This parameter specifies the start address of the link control
statement data of a language program.
Initial value 000000 Setting range Address in the
language program
storage area
173
3. OPERATION B–62884EN/01
3.5.3
Printout
Note
To use a NEC PR201H and FANUC PRINTER, a program
modification is required. For details, see Section 3.5.3.6.
Offline menu
[PRINT]
F2
Specify option
[SETUP]
F2
Setup menu
[PRINT]
F1
Start printing
174
B–62884EN/01 3. OPERATION
C:¥DATA¥SAMPLE
V TITLE : [NO/YES]
V SYSTEM PARAMETER : [NO/YES]
V SYMBOL & COMMENT : [NO/YES]
: [OPTION]
V LADDER DIAGRAM : [NO/YES]
: [OPTION]
V STEP SEQUENCE DIAGRAM : [NO/YES]
: [OPTION]
V I/O MODULE : [NO/YES]
V MESSAGE : [NO/YES]
: [OPTION]
V CROSS REFERENCE LIST : [NO/YES]
: [OPTION]
V BIT ADDRESS MAP : [NO/YES]
: [OPTION]
[Operation]
1) Set the desired print format by pressing F2 [SETUP]. (See
Section 3.5.3.4.)
2) Set the desired output items. (See Section 3.5.3.3.)
3) Start printing by pressing F1 [PRINT].
4) Press F9 [BREAK] to suspend printing.
5) Press F10 [END] or the Esc key to terminate the print menu
display.
Notes
1 Perform steps 1) and 2) only when the settings must be
changed.
2 Some print formats that cannot be set in step 1) may be set
by editing the setting file. For details, see Section 3.5.3.5.
175
3. OPERATION B–62884EN/01
C:¥DATA¥SAMPLE
[ SYMBOL PRINT ]
1 2 3 4 5 6 7 8 9 10 END
176
B–62884EN/01 3. OPERATION
C:¥DATA¥SAMPLE
[ LADDER PRINT ]
1 2 3 4 5 6 7 8 9 10 END
C:¥DATA¥SAMPLE
1 2 3 4 5 6 7 8 9 10 END
177
3. OPERATION B–62884EN/01
· PRINT UNIT
Specify whether a step sequence figure will be printed for
a single subprogram or all subprograms. When printing a
figure for a single subprogram, specify the subprogram
name for MODULE NAME.
· SUB-PROGRAM NUMBER
Specify whether subprogram number Pxxx will be printed
for each step.
(f) I/O module printing
The I/O module data is printed.
(g) Message printing
The message data is printed.
C:¥DATA¥SAMPLE
[ MESSAGE PRINT ]
V ADDRESS RANGE :
START ADDRESS :A000.0
END ADDRESS :A124.7
1 2 3 4 5 6 7 8 9 10 END
C:¥DATA¥SAMPLE
1 2 3 4 5 6 7 8 9 10 END
178
B–62884EN/01 3. OPERATION
i) Option
· CHECK DUPLICATE WRITE
Check multiple writing to a coil and multiple use of same
number functional instruction (ex. timer, counter).
· APPOINT ADDRESS
Specify the range of printing address. It can be specified
as below.
Note1
When an address specification is made, addresses are
output in the sequence: X, Y, F, G, R, A, C, K, D, T, variable
address, P. In this example, therefore, Y and all subsequent
addresses are output.
APPOINT COMMENT
Specify the kind of comment data
‘RELAY’ Print Relay comment.
‘COIL’ Print Coil comment.
(i) Bit address map
The bit address map is printed.
C:¥DATA¥SAMPLE
1 2 3 4 5 6 7 8 9 10 END
179
3. OPERATION B–62884EN/01
ŸŸŸŸ
ŸŸŸŸ
[¥DATA¥SAMPLE¥P2]
*** LADDER DIAGRAM *** PAGE1
ŸŸŸŸ
ŸŸŸŸ
N00586 Net No.
ŸŸŸŸ
ŸŸŸŸ
A 3453 SUB71 P2 ### P2 ###
SP
ŸŸŸ
ŸŸŸŸŸ
00624 00764 00770
X0.0 ACT
ŸŸŸ
ŸŸŸŸŸ
N00589
D 3480 SUB65 P4
ŸŸŸ
ŸŸŸŸŸ
Relay CALL
ŸŸŸŸ
ŸŸŸŸ
X0.0
ŸŸŸŸ
ŸŸŸŸ
N00590
E 3463 SUB66 P2000
ŸŸŸ
ŸŸŸŸ ŸŸŸŸŸ
ŸŸŸŸ
CALLU
ŸŸŸ
ŸŸŸŸŸ
X0.0 ACT
N00591
ŸŸŸ
ŸŸŸŸŸ
F 3485 SUB68 L9999
JMP8
ŸŸŸŸ
ŸŸŸŸ
Relay
X0.0
ŸŸŸŸ
ŸŸŸŸ
N00592
SUB69 L9999 ### L9999 ###
ŸŸŸŸ
ŸŸŸŸ
G 3468
LBL
Fig.3.5.3.3 (g) Example of Printout of a Ladder Diagram with Cross Reference Data
180
B–62884EN/01 3. OPERATION
[¥FLADDER¥SAMPLE]
*** Cross reference *** PAGE2
STEP No./NET No.
Address Symbol Comment
Y0.3
: S00041/N00017
Fig.3.5.3.3 (h) Example of Printout with a Multiple Coil Write Check Indication
181
3. OPERATION B–62884EN/01
[ j ] S1 [ j ] S1
P1 Sub prograrm number
P100
<- L1 P100
j S210 <- L1
j S210
P150 P155 P160 P101
182
B–62884EN/01 3. OPERATION
22 element
(28 element)
14 element
Link number
v1 v2 v3
4=>
(2/3)
v1 v2 v3
=>4
183
3. OPERATION B–62884EN/01
D 10 INCH / ASCII
10 INCH / GRAPHIC
15 INCH / ASCII
15 INCH / GRAPHIC
1 2 3 4 5 6 7 8 9 10 END
[Operation]
1) Select F2 [SETUP] from the output item selection screen.
2) The SETUP menu screen appears.
3) Position the cursor to a desired item (e.g., forms size/ladder
diagram print format) with the or key.
184
B–62884EN/01 3. OPERATION
3.5.3.5 Each parameter file of this software can be rewritten using a commercially
Print Format-2 available text editor so that the output format shown in each of the
following frames can be changed.
(AMOFTRP, DAT/*
.INF/Message File)
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
AMROFTRP. DAT PR201-10 . INF
Diagram output 1. Change the paper selection PR201-15 . INF
name PR201-A4 . INF
PR10-A . INF
2. Set the top margin
PR15-A . INF
3. Set the net spacing PRA4-A . INF
4. Set the printer model and ESC-P-10 . INF
paper ESC-P-15 . INF
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ESCP10-A . INF
ÁÁÁÁÁÁ ÁÁÁÁÁÁ
ESCP15-A . INF
CROSSINF. DAT FANUC-10 . INF
(Setting the cross-reference
list output format)
5. Set the line spacing
8. Set the output format guid- 6. Set the left margin
ance information
9. Set the output information
10.Specify the output format
11.Set the read/write coil guid-
ance information
12.Specify the linefeed
13.Specify the page break
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
(Message file)
7. Set the title of printout
For these parameter files, do not change any item not described here.
(1) Changing the paper selection name
This item makes it possible to change the name of each choice during
diagram output format selection.
Name of file to be
Point of change Settings
edited
AMROFTRP.DAT #10-A=10-inch/ASCII Arbitrary character string
#10-G=10-inch/graphic consisting of up to 30
#15-A=15-inch/ASCII half-size (or 15 full-size)
#15-G=15-inch/graphic characters
#A4L-A=A4 portrait/ASCII
#A4L-G=A4 portrait/graphic
Note
#A4L-A=and #A4L-G=are unavailable in the output to
VP1000.
185
3. OPERATION B–62884EN/01
N00003 N00003
C C
Y0.7 Y0.0 Y0.7 Y0.0
N00004 00001 *00006 00001 *00006
D N00004
D
Y0.0 Y0.7 Y0.1
N00005 *00006 00001 Y0.0 Y0.7 Y0.1
E *00006 00001
N00005
Y0.0 Y0.1 Y0.7 Y0.2 E
*00006 00001 *00008
Y0.0 Y0.1 Y0.7 Y0.2
*00006 00001 *00008
Name of file to be
Point of change Settings
edited
AMROFTRP.DAT LCNTL=4 Specify either 4 or 5
(Set for each sheet)
186
B–62884EN/01 3. OPERATION
Note
#A4L-A and #A4L-G are unavailable in the output to
VP1000.
187
3. OPERATION B–62884EN/01
Notes
1 These point of changes are in the file, I_PRTOUT. ENG.
2 One–byte katakana characters cannot be used.
188
B–62884EN/01 3. OPERATION
Name of file to be
Point of change Settings
edited
CROSSINF.DAT NET-INF= When only the net number is
STEP-INF= output:
NET-INT=1
STEP-INF=0
When only the step number is
output:
NET-INT=0
STEP-INF=1
When the net and step
numbers are output in the
stated sequence:
NET-INT=1
STEP-INF=2
When the step and net
numbers are output in the
stated sequence:
NET-INT=2
STEP-INF=1
Note
Only letters in lowercase are valid as ‘%s’.
189
3. OPERATION B–62884EN/01
Note
In this case, space lines as many as the specified value plus
1 are inserted between addresses. (If 0 is specified as the
linefeed count, no space line is inserted between
addresses.)
190
B–62884EN/01 3. OPERATION
Note
An asterisk (*) indicates data which can be modified.
191
3. OPERATION B–62884EN/01
: :
: :
: :
PR201H3 CNTINF {
CRLF (H)(OD,OA);
FORMF (H)(OC);
CPI (H)(1B)(C)(H);
CANCEL (H)(18);
LDRCPI (H)(1B)(C)(Q);
* LPI (H)(1B)(C)(T20);
* LDRLPI (H)(1B)(C)(T15);
* LMARGIN (H)(1B)(C)(L000);
RMARGIN (H)(1B)(C)(/078);
LDRCHAR (H)(1B)(C)(J0014);
JPNSET (H)(1B)(C)(K);
JPNRESET (H)(1B)(C)(H);
}
: :
: :
: :
: :
: :
: :
PR201H3 CNTINF {
CRLF (H)(OD,OA);
FORMF (H)(OC);
CANCEL (H)(18);
CPI (H)(1B)(C)(H);
LDRCPI (H)(1B)(C)(Q);
LPI (H)(1B)(C)(T25);
LDRLPI (H)(1B)(C)(T15);
LMARGIN (H)(1B)(C)(L005);
RMARGIN (H)(1B)(C)(/078);
LDRCHAR (H)(1B)(C)(J0014);
JPNSET (H)(1B)(C)(K);
JPNRESET (H)(1B)(C)(H);
}
: :
: :
: :
Note
An asterisk (*) indicates data which can be modified.
192
B–62884EN/01 3. OPERATION
:
GUIDE=STEP No./NET No.
NET-INF=2
STEP-INF=1
FROM=S%s/N%s
READ=-I I-!-I/I- :
WRITE=-()- -(/)- :
NL=1
FF=0
;
[C:¥DATA¥SAMPLE]
*** Cross reference *** PAGE 1
STEP NO./NET No.
Address Symbol Comment
X0.0
: S00045/N00009 S00049/N00012 S00053/N00013 S00082/N00017
S00088/N00020 S00094/N0002
X0.1
: S00050/N00010 S00054/N00012 S00059/N00015 S00065/N00017
S00077/N00029
R0.0
: S00009/N00003 S00012/N00008 S00014/N00009 S00015/N00010
S00022/N00010 S00024/N00012 S00033/N00015 S00045/N00017
S00047/N00019 S00074/N00032 S00079/N00035
: S00002/N00001
193
3. OPERATION B–62884EN/01
:
GUIDE=step number
NET-INF=0
STEP-INF=1
FROM=S%s
READ=read
WRITE=write
NL=0
FF=0
;
[C:¥DATA¥SAMPLE]
*** Cross reference *** PAGE 1
Step number
Address Symbol Comment
X0.0
Read : S00045 S00049 S00053 S00082 S00088 S00094
X0.1
Read : S00050 S00054 S00059 S00065 S00077
Y0.0 MULTIPLE COIL USED
Write: S00045 S00128 S00256
R0.0
Read : S00009 S00012 S00014 S00015 S00022 S00024 S00033 S00045
S00047 S00074 S00079
Write: S00002
3.5.3.6 Upon the completion of installation, the default printer is set to EPSON
Changing the Printer VP1000.
Specification (1) Changing the printer specification to NEC PR201
To enable output to an NEC PR201 printer, change the setting file by
means of the procedure described below. (In the following example,
the floppy disk drive is drive A, installed drive is under the C: \
FLADDER directory, and the file is changed from the DOS prompt.)
[Operation]
1) Copy the AMROFTRP.PR file from the APPENDIX directory of
Volume 1.5 of system floppy disk to the install directory.
Example:C: \ CD FLADDER Enter
C: \ FLADDER>COPY A: \ APPENDIX \
AMROFTRP.PR C: Enter
194
B–62884EN/01 3. OPERATION
Note
To reenable output to the EPSON VP1000 printer, perform
steps 1) through 3), replacing AMROFTRP.PR with
AMROFTRP.ESC.
Note
FANUC PRINTER is connected to a serial port with
RS-232-C cable.
Please set the communication mode from DOS prompt
before start by the following command.
(Example) When connected to a serial port COM1.
Transferred to the
Compile ROM writer
Source Object
program file and PMC
D Condensed mode
A source program can be compiled in condensed mode. When a
ladder with the same number of steps is compiled in condensed mode,
the size of the created object file is smaller than that created in normal
mode. As a result, condensed mode has the advantages listed below.
195
3. OPERATION B–62884EN/01
Ladder Ladder
Object file
↑
C C
language language
Ladder Ladder
ROM format file
196
B–62884EN/01 3. OPERATION
3.5.4.1
Start and Terminate (1) Start
[Operation]
1) Select [compil] (compile) from the offline menu.
2) The compile screen appears.
Offline menu
[COMPIL]
F3
[ EXEC ] [CONDNS]
F1 F8
Offline menu
(2) Compile
(a) Normal mode
[Operation] 1) Select F1 [EXEC].
2) Compile processing is performed in normal
mode.
(b) Condense mode
[Operation] 1) Select F8 [CONDNS].
197
3. OPERATION B–62884EN/01
ŸŸŸŸŸŸŸŸŸŸŸŸ
ŸŸŸŸŸŸŸŸŸŸŸŸ
C:¥DATA¥SAMPLE
##### PASSI ##### Output the compile result in two passes.
ŸŸ
MESSAGE
SYMBOL
ŸŸ
LEVEL1.#LA
Ladder program exists beyond END1 instruction. (00111net) Net No.
LEVEL2.#LA in each
P1.#LA subprogram.
P2.#LA
There is no SP instruction at the top of the subprogram.
##### PASS2 #####
198
B–62884EN/01 3. OPERATION
A : \>EXIT
(5) Termination
[Operation]
1) Select [END] or press the Esc key.
2) The screen display returns to the main menu screen.
3.5.4.2 These options’ initial value can be changed at the Program option set–up.
Compile Options (Refer to 3.5.7 Program option set–up.)
(1) F6 [SYMBOL]
Select whether output or not output the symbol & comment data to
ROM format file.
However,the symbols which can not be displayed on CRT/MDI
(7bytes or more symbols) and the coil comments assigned to them
never output to object file.
D “YES”: (Default setting)
The symbols which can be displayed on CRT/MDI(6bytes or less
symbols) and the coil comments assigned to them are output to object
file.
They can be displayed on CRT/MDI.
D “NO” :
No symbol/coil comment is converted to object file.
Any symbol and coil comment is not displayed on CRT/MDI.
(2) F7 [NETCMT]
If Net comment is used in ladder program, you can choose whether
‘Net comment pointer’ (Note1) is output to object file or not.
D “POINTERS ONLY” : (Default setting)
To edit the ladder program by CNC on–line editor and decompile the
data select this setting.
However, ladder size gets larger because ‘Net comment pointer’ is
output to object file.
D “NO” :
Any ‘Net comment pointer” is not output to object file. In this case,
ladder size in the object file is saved.
However, decompile the object file makes its net comment data
information lost.
199
3. OPERATION B–62884EN/01
Note
Net comment has its own character information only in a
source program on the personal computer.
Compiled object file does not include any net comment
characters.
Only ‘Net comment pointer’( = information of net comment
position.) can be output to object file as an functional
instruction “NOP”.
This ‘Net comment pointer” helps to restore net comment
date at decompiling the object file that is edited on CNC
on–line editor.
3) Enter a password.
D A password that can be used is a combination of 8 or less
letters and/or numerals.
D Uppercase and lowercase letters are not distinguished from
each other. (If a lowercase letter is entered, it is assumed to
be uppercase.)
200
B–62884EN/01 3. OPERATION
Verification (R)
201
3. OPERATION B–62884EN/01
Verification (R/W)
Decompile Source
Object file program
Note
To decompile a password–protected object file, it is
necessary to enter a password. (See Section 3.5.4.)
202
B–62884EN/01 3. OPERATION
(2) Decompiling
[Operation]
1) Select [EXEC] on the decompile screen.
2) Decompilation is performed and the result is displayed.
(3) Decompiling
Upon the completion of decompiling, pressing the F2 [MAP] key can
display the memory map of the object file.
The result of decompiling can be displayed by pressing the F3
[ERROR] key on the decompile screen, regardless of whether an error
or warning has occurred.
If many errors have occurred, the error file can be viewed or printed
using a text editor.
The result of decompiling can also be displayed using the utility
function (see Section 3.5.9).
(Example) When the program shown below is decompiled :
Result file SAMPLE.ERR and map file SAMPLE.MAP
are output to directory C: \ DATA.
203
3. OPERATION B–62884EN/01
(4) Termination
[Operation]
1) Select [END].
2) The screen display returns to the main menu screen.
3.5.5.2
Decompile Option (1) Merge
In case the existent file is specified for output source program when
decompiling, the existent source program is deleted and new source
program is created with the contents of object file.
In this case it is possible to merge the Ladder in object file with the
Symbol/Commnet in source program by specifying the
undermentioned function–key.
204
B–62884EN/01 3. OPERATION
(a) F4 [MERGE]
This specification decides whether to merge the symbol/comment by
“NO” or “YES”.
1) ”NO” :
The existent source program is deleted and new source program
is created with the contents of object file.
There is no display of “F5[SYNBOL]” in this condition.
2) “YES” : (Default setting)
The symbol/commnet in source program is merged with that in
object file. As for the other data except symbol/comment, object
file is effective.
Just after this specification, F5[SYMBOL] will be displayed to
specify which symbol definition is effective, either in source
program or in object file, when they are in conflict.
(b) F5 [SYMBOL]
F5[SYMBOL] will be displayed when ”YES” is specified for
F4[MERGE].
This specification decides which symbol definition in either source
program or object file is effective when they are in conflict.
1) “SOURCE DATA”
The symbol definition in source program is effective.
2) “MEMORY CARD DATA” : (Default setting)
The symbol definition in object file is effective.
205
3. OPERATION B–62884EN/01
Object file
- Symbol/Comment data
ADDRESS SYMBOL(6byte) COIL-COMMENT(30byte)
Source program
- Symbol/Comment data
ADDRESS SYMBOL(16byte) RELAY-COMMENT(16byte) COIL-COMMENT(30byte)
(ii) The result of ”MERGE = YES” and ”Symbol definition = MEMORY CARD DATA”.
Source program
X0.0 XXXXXX XXXXXXXXXXXXXXX
Y2.3 BBBBBBBB BBBBBBBBBBBBBB BBBBBBBBBBBBBBBB
R1.4 YYYYYY YYYYYYYYYYYYYYYYYYY
206
B–62884EN/01 3. OPERATION
Note
If an R/W password has been set up, ”password (R/W)” is
displayed.
207
3. OPERATION B–62884EN/01
3.5.5.4 When the results of decompilation are output to a source program, they
Outputting to Split Files are split into units of subprograms and output to different files. For
details, see Section 2.6.2.
LEVEL1.#LA
Ladder 1st level
END1 (SUB 1)
LEVEL2.#LA
Ladder 2nd level
END2 (SUB 2)
LEVEL3.#LA
Ladder 3rd level
END3 (SUB 48)
208
B–62884EN/01 3. OPERATION
3.5.6.1 Ports are set according to the values in the following data files.
I/O Port Setting (1) FLIO_AT.DAT
These files are in text format. So, a text editor can be used to change
set values in the files.
(2) Contents of the FLIO_AT.DAT
(effective data section only)
209
3. OPERATION B–62884EN/01
DATA-BLOCK=IO-PORT-SET
210
B–62884EN/01 3. OPERATION
9600/4800bps
Download PMC (I/O) screen
9600/4800bps
Upload PMC (I/O) screen
9600/4800bps
Comparison PMC (I/O) screen
(1) Download
[Operation]
1) Select F3 : [PMC] on the I/O menu screen.
2) Select F1 : [DNLOAD] (download) on the PMC menu screen to
display the source program name.
* 3) Press the System key of the CNC.
* 4) Press the CNC soft keys [PMC], [I/O], [HOST], and [EXEC] in
this order.
5) Press the Enter key.
6) Downloading is executed. During operation, the indication
“EXECUTING” blinks.
7) When downloading terminates normally, the indication
“NORMAL END” is output.
(2) Upload
Language data (C language) other than Ladder programs can be used.
When uploading or comparison is executed from PMC, one of two
data types (LADDER or ALL) can be specified. LADDER and ALL
have the following meanings:
LADDER Sequence program only
ALL Sequence program and language data (C language)
* 4) Press the CNC soft keys [PMC], [I/O], [HOST], and [EXEC] in
this order.
211
3. OPERATION B–62884EN/01
* 4) Press the CNC soft keys [PMC], [I/O], [HOST], and [EXEC] in
this order.
5) Press the Enter key.
6) Comparison is executed. .During operation, the indication
“EXECUTING” blinks.
7) When comparison terminates normally, the indication
“NORMAL END” is output.
(4) Termination
[Operation]
1) Select [END].
2) The screen display returns to the main menu screen.
Note
In the operations above, an asterisk prefixed to a circled
number represents an operation on the CNC.
212
B–62884EN/01 3. OPERATION
F1 KEY : FA WRITER
F2 KEY : PMC WRITER
F3 KEY : PMC
F4 KEY : Handy File
F5 KEY : Memory Card
F6 KEY : BACKUP
F9 KEY : ROM format file
F10 KEY : END
213
3. OPERATION B–62884EN/01
1 EXEC 2 3 4 5 6 7 8 9 10 END
7) The following two methods can be used to insert the memory card
output in step 6) into the memory card interface in the CNC and
read programs on the memory card.
D Using the I/O function of the PMC
Specify M–CARD, READ, and the desired filename or file
number at DEVICE, FUNCTION, and FILE NO. on the
PMC I/O screen, respectively, then press soft key [EXEC].
Sequence programs are read from the memory card file
created in step 5).
PMC I/O screen
CHANNEL = 1
DEVICE = M–CARD
FUNCTION = READ
DATA KIND = LADDER
FILE NO. =
( #NAME )
214
B–62884EN/01 3. OPERATION
(2) PMC program transfer from the CNC to the personal computer
PMC programs are written to a memory card, using a memory card
interface in the CNC. When the memory card is inserted in a memory
card interface in the personal computer, the PMC programs on the
memory card can be accessed as ordinary DOS files.
[Operation]
1) Specify M–CARD, WRITE, DATA KIND, and the desired
filename (omissible) at DEVICE, FUNCTION, LADDER, and
FILE NO. on the PMC I/O screen, respectively, then press soft
key [EXEC]. Sequence programs are output to the memory.
PMC I/O screen
CHANNEL = 1
DEVICE = M–CARD
FUNCTION = WRITE
DATA KIND = LADDER
FILE NO. =
( #NAME )
215
3. OPERATION B–62884EN/01
1 EXEC 2 3 4 5 6 7 8 9 10 END
7) Discompile the object file after conversion, and the resultant file
will become able to be edited on the personal computer.
216
B–62884EN/01 3. OPERATION
1 EXEC 2 3 4 5 6 7 8 9 10 END
217
3. OPERATION B–62884EN/01
1 EXEC 2 3 4 5 6 7 8 9 10 END
3.5.6.5 This backup function can back up the source program, which the system
Backup of User Program uses, to another source program and can restore the backup source
program.
Please use this function when you back up the source program under
editing or under debugging.
F1 KEY : BACKUP
F2 KEY : RESTORE
(1) Backup
[Operation]
1) Select [BACKUP] from the input/ output menu.
2) Select F1 : [BACKUP] from the backup menu.
3) Enter a backup program name, and press [EXEC].
218
B–62884EN/01 3. OPERATION
1 EXEC 2 3 4 5 6 7 8 9 10 END
1 EXEC 2 3 4 5 6 7 8 9 10 END
219
3. OPERATION B–62884EN/01
3.5.6.6 It is possible to convert between a ROM format file and a memory card
Converting ROM Format format file. ROM format file conversion function can be used at the
following cases.
File
a.In the case of using ROM format file which is created by FAPT
LADDER.
b.In the case of link processing.
(1) Operation
1) Select [I/O] from the off–line menu. The input/output menu
screen is displayed.
2) Select F9:[ROMFIL] from the input/output menu. The
“I/O(ROM format file)” screen (Fig.3.5.6.6(a)) is displayed.
3) Select F1:[WRITE]. The “I/O (MCARD→ROM FILE)” screen
is displayed.
Select F2:[READ]. The “I/O (ROM FILE→MCARD)” screen is
displayed.
4) Input a ROM format file name and a memory card file name.
5) When press [EXEC], it is possible to convert between a ROM
format file and a memory card file.
Fig.3.5.6.6(a)
3.5.7 This function enables the setting of options for each function.
Setting Program Specified data is stored for each source program.
Options [Operation]
1) Using the or key, position the cursor to the function for
which options are to be set.
2) On the setting screen for each function, select an item by positioning
the cursor with the or key, then change the setting with the
or key.
220
B–62884EN/01 3. OPERATION
Compile
Decompile
1 EDIT 2 PRINT 3 COMPIL 4 DECOMP5 I/O 6 SET–UP 7 MNEEDT8 UTILTY 9 ONLINE 10 END
Fig.3.5.7
3.5.7.1 The user can set the compile function options as described below. These
Compile options, when set, are used as the initial values of the compile options for
the off–line function, or are used for compile processing performed with
the on–line functions.
For details of each option, see Section 3.5.4.
(1) Condense
This option specifies whether condense mode is to be used for
compile processing.
(2) Symbol
This option specifies whether to output symbol or comment data to
an object file.
(3) Net comment
This option specifies whether to output net comment data to an object
file.
(4) Password
This option specifies whether to display the password setting dialog
box at compile time.
[NO] : Does not display the dialog box. (Password
setting is disabled.)
[RW&R] : Displays the password (R/W) setting dialog box
as well as the password (R) setting dialog box.
[RW] : Displays only the password (R/W) setting dialog
box.
[R] : Displays only the password (R) setting dialog
box.
221
3. OPERATION B–62884EN/01
[Compile]
condense : [OFF/ON]
symbol/comment : [NOT USE/USE]
net comment : [NO/POINTERS]
password : [NO/RW&R/RW/R]
1 EDIT 2 PRINT 3 COMPIL 4 DECOMP5 I/O 6 SET–UP 7 MNEEDT8 UTILTY 9 ONLINE 10 END
Fig.3.5.7.1
3.5.7.2 The user can set the decompile function options as described below.
Decompile These options, when set, are used as the initial values of the off–line
function decompile options, or are used for the decompile processing
performed with the on–line functions.
For details of each option, see Section 3.5.5.
(1) Symbol merge
This option specifies whether to merge source program data and
object file symbol/comment data at decompile time.
[NO] : Does not merge symbol and comment data.
[SOURCE] : Gives priority to the source data when
duplicate addresses exist in the source
program and the symbol data of the object
file.
[MEMORY CARD] : Gives priority to the object file data when
duplicate addresses exist in the source
program and the symbol data of the object
file.
222
B–62884EN/01 3. OPERATION
[Decompile]
Fig.3.5.7.2
3.5.7.3 When a new program is to be created, the initial value of each option can
Modifying Program be modified by means of the procedure described below.
Option Initial Values [Operation]
(OPTION.CNF) 1) Using the text editor, open the OPTION.CNF file under the directory
where this system is installed.
2) Find the section corresponding to a model subject to initial value
modification (that is, a line starting with #).
Example: #32;(RA3) for PMC–RA3
#41;(RB4_STEP) for PMC–RB4 (STEP SEQ)
Note
A section having a line beginning with a semicolon (;)
contains legend data. Any attempt to modify such a section
is ignored.
Table 3.5.7.3
223
3. OPERATION B–62884EN/01
Note
Never attempt to modify the values of options that are not
listed in the above table. Otherwise, the system may
malfunction.
3.5.8
Mnemonic Editing
3.5.8.1 A source program is converted to a mnemonic file that can be edited with
Conversion of a Source any standard text editor.
Program to a Mnemonic [Operation]
File 1) Select [MNEEDT] (mnemonic editing) from the main menu.
2) The mnemonic menu screen appears (Fig. 3.5.8.1 (a)).
224
B–62884EN/01 3. OPERATION
1 EXEC 2 3 4 5 6 7 8 9 10 END
225
3. OPERATION B–62884EN/01
Notes
1 The item specifying Japanese language comment
conversion cannot be selected on an English mode system.
2 Format displayed on the code or Japanese-language input
mode screen during message editing.
3.5.8.2 A mnemonic text file edited in a certain format using a atandard text editor
Conversion of a is converted to a source program.
Mnemonic File to a [Operation]
Source Program 1) Select [MNEEDT] (mnemonic editing) from the main menu.
2) The mnemonic menu screen appears.
3) Select [SRCCNV] (conversion to a source program).
4) The source program conversion screen appears (Fig. 3.5.8.2).
1 EXEC 2 3 4 5 6 7 8 9 10 END
226
B–62884EN/01 3. OPERATION
The unit-format data mentioned above varies from one PMC model
to another as listed below.
PMC model
Unit-format data
R series/PA3/QC/NB/NB2
Parameter %@0
Title %@1
Symbol & comment %@2 or %@2-C (Note 1)
Ladder %@3
Message %@4
I/O module %@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.
227
3. OPERATION B–62884EN/01
| R0200.0 UNIT–3–POWER
Symbol
Blank character or horizontal tabulation character
Address
Coil comment
Blank character or horizontal tabulation character
Relay comment
Blank character or horizontal tabulation character
Mark of comment data
line (only ’$1’)
228
B–62884EN/01 3. OPERATION
| $1 ’’ ’INITIALIZE OF SEQUENCE’
Note
Every single quotation mark in the relay comment and coil
comment string must be described as ”$” + ” ’ ” in the
mnemonic file.
3.5.8.4
Sample Mnemonic Files (a) Parameter
(Single-format) Following example is for PMC-RC4. For other PMCs, see
APPENDIX A FUNCTIONS SPECIFIC TO INDIVIDUAL PMC
MODELS
1) PMC-RC4
229
3. OPERATION B–62884EN/01
Note
When specifying YES in Item 3 above (whether an
operator’s panel is used), specify the KEY address, LED
address, KEY image address, and LED image address as
follows:
%@1↓
01 MACHINE TOOL BUILDER NAME↓
02 MACHINE TOOL NAME↓
03 CNC & PMC NAME↓
04 PMC PROGRAM NO.↓
05 EDITION NO.↓
06 PROGRAM DRAWING NO.↓
07 DATE OF PROGRAMING↓
08 PROGRAM DESIGNED BY↓
09 ROM WRITTEN BY↓
10 REMARKS↓
%↓
[EOB]
%@2–C Symbol
R0200.0 UNIT–3–POWER Display of
$1 ’KEEP POWER ON’ ’KEEP UNIT–3 POWER ON’ symbol/comment
Coil Comment
Relay comment
R0200.1 UNIT–2–ACT
$1 ’$’OIWER$$’ ’KEEP UNIT–4 $$POWER$’ ON’
R0300.0 Control code
$1 ’KEEP POWER ON’ ’KEEP UNIT–4 POWER ON’
P0008 OPEN–FRONT
$1 ’OPEN FRONT COVER’
L0100 INITIALIZE
$1 ’’ ’INITIALIZE OF SEQUENCE’
no Relay comment
%
[EOB]
230
B–62884EN/01 3. OPERATION
%@3 ↓
RD X0.4↓
OR Y80.6↓
WRT D300.1↓
SUB 1↓
RD.NOT X3.0↓
SUB 40↓
2↓
8191 ↓
D300 ↓
SUB 2↓
%↓
[EOB]
2) FULL_OPTIONS
%@3↓ Symbol
N00001: SUB 71 ; SP Relay comment
P1 ;(SUBPR1 ) ”SUB PROG. NO.01” ↓
; [SUB PROGRAM DATA NO.01]↓
Coil comment
N00002: RD X0.0 ;(XADRS1 ) ”JUMPB LABEL L001”↓
SUB 68 ; JMPB↓ no Comment
L100 ;(LABEL1 ) ↓ no Relay
; [LABEL L00001]↓ comment
N00003: RD X0.1 ;(XADRS2 ) ”JUMPC LABEL L001”↓
SUB 73 ; JMPC↓
L100 ;(LABEL1 ) ↓
; [LABEL L00001]↓
N00004: SUB 69 ; LBL ↓
L100 ;(LABEL1 ) ↓
; [LABEL L00001]↓
N00005: SUB 72 ; SPE ↓
N00006: SUB 71 ; SP ↓
P2 ;(SP1000 ) ”SUB PROGRAM NO.1” ↓
N00007: RD R0.0 ;(RADRS00) ↓
DEC D0 ;(DADRS04) ↓
2↓
WRT D0.0 ↓
N00008: SUB 72 ; SPE ↓
N00009: SUB 64 ; END ↓
% ↓
231
3. OPERATION B–62884EN/01
3) LABEL/SUB-PROGRAM
(e) Message
%@4↓
A00.0 2100020 ATC DOOR NOT CLOSE↓
A00.1 2100022 SPINDLE SPEED ARRIVAL SIGNAL NOT ON↓
A00.2 2100020 EDTOK KEY SWITCH ON↓
%↓
[EOB]
%@5↓
X000 1 0 1 ID64A↓
Y008 1 0 4 OD64B↓
%↓
[EOB]
232
B–62884EN/01 3. OPERATION
10 REMARKS↓
% ↓
%@2–C ↓
R0.200.0 UNIT–3–POWER↓
$1 ’KEEP POWER ON’ ’KEEP UNIT–3 POWER ON’ ↓
R0200.1 UNIT–2–ACT↓
$1 ’$’POWER$$’ ’KEEP UNIT–4 $$POWER$’ ON’ ↓
R0300.0 ↓
$1 ’KEEP POWER ON’ ’KEEP UNIT–4 POWER ON’ ↓
P0008 OPEN–FRONT↓
$1 ’OPEN FRONT COVER’ ↓
L0100 INITIALIZE↓
$1 ’’ ’INITIALIZE OF SEQUENCE’ ↓
% ↓
%@3 ↓
RD R1001.0↓
OR R120.3 ↓
AND R1000.2 ↓
WRT Y2000.4 ↓
(*
Inscribe the net comment here. Any characters Net
which are input with personal computer can be used. comment
*)
RD R1001.0↓
AND R1000.2 ↓
WRT Y23.4 ↓
(* $P *) form feed position (in Ladder diagram printing)
RD R101.0 ↓
OR R123.4 ↓
AND R100.2↓
WRT Y200.4↓
% ↓
%@4
A00.0 2100020 ACT DOOR NOT CLOSE ↓
A00.1 2101022 SPINDLE SPEED ARRIVAL SIGNAL NOT ON ↓
% ↓
%@5 ↓
X000 1 0 1 ID16C ↓
Y008 1 0 4 OD32A ↓
% ↓
%@E ↓
233
3. OPERATION B–62884EN/01
3.5.8.6 When using the step sequence method, mnemonic instructions cannot be
The Note if the Step coded.
Sequence Function is The mnemonic conversion functions need following notes:
Selected When Setting a 1) Programming by Mnemonic Instructions
Model A step sequence program cannot be created with mnemonic
instructions. It is impossible to create a step sequence program with
a text editor, or to read the program by means of mnemonic-to-source
conversion.
2) Source-to-Mnemonic and Mnemonic-to-Source Conversions
If source-to-mnemonic conversion is executed for a step sequence
source program, only ladder subprograms are converted to
mnemonics, step sequence subprograms being ignored. If a step
sequence source program is subjected to source-to-mnemonic
conversion, then to mnemonic-to-source conversion, the original
source program will not be replicated.
3.5.8.7 The batch file FLMNE.BAT can be executed by suspending the execution
User Batch File of mnemonic editing.
Execution A user’s own batch file generated by editing the contents of the
FLMNE.BAT file with a standard text editor can also be executed.
D Example 1
The execution of mnemonic editing is suspended and text editor VZ is
activated. (In this case, VZ must be defined in the environment variable
PATH beforehand.)
[Operation]
1) Use a standard text editor to create the batch file FLMNE.BAT
as follows:
VZ
Execute ’FLMNE.BAT’.
Add parameter(s)? [A(Add), N(Not add), S(Stop)]
8) Press any key. The screen display returns to the mnemonic menu
screen.
D Example 2
The execution of Ladder Editing Package is suspended. Then, the
command processor COMMAND.COM is activated and DOS
commands are enabled. Create FLMNE.BAT as follows:
234
B–62884EN/01 3. OPERATION
COMMAND
3.5.9 Selecting [UTILTY] from the off-line menu enables the use of the utility
Utility functions. The following functions are registered at installation:
UTILITY
F1 Dos
F2 floadat
F3 View result
F4 Linker
The user can specify the type of files to be referenced, simply by changing
the file name extension (.err: Execution result file/.map: Map file).
235
3. OPERATION B–62884EN/01
3.5.10
Selecting On-Line “ON-LINE FUNCTION” can be selected from the off-line menu. For
Function from Off-Line details, see Section “3.4 On-Line Function”.
Function
236
B–62884EN/01 4. ERROR MESSAGE LIST
This chapter describes the general output messages. Messages are output
and categorized:
237
4. ERROR MESSAGE LIST B–62884EN/01
4.1.1
Fatal Error
238
B–62884EN/01 4. ERROR MESSAGE LIST
4.1.2
Error
239
4. ERROR MESSAGE LIST B–62884EN/01
4.2
B : TITLE EDITING
4.2.1
Error
240
B–62884EN/01 4. ERROR MESSAGE LIST
4.3
C : I/O MODULE
EDITING
4.3.1
Error
4.3.2
Warning
241
4. ERROR MESSAGE LIST B–62884EN/01
4.4
D : SYSTEM
PARAMETER
EDITING
4.4.1
Error
242
B–62884EN/01 4. ERROR MESSAGE LIST
4.5
E : LADDER/STEP
SEQUENCE EDITING
4.5.1
Fatal Error
4.5.2
Error (at Editing
Ladder Diagram)
Number Message Contents
E:E–3100 INPUT INVALID
E:E–3101 ADDRESS BIT NOTHING
E:E–3102 RELAY OR COIL NOTHING
E:E–3103 HORIZONTAL LINE ILLEGAL
E:E–3104 VERTICAL LINE ILLEGAL
E:E–3105 ILLEGAL FUNCTION NO.
E:E–3106 FUNCTION LINE ILLEGAL
E:E–3107 PARAMETER NOTHING
E:E–3108 LADDER ILLEGAL
E:E–3109 ERROR NET FOUND
E:E–3110 RELAY OR COIL FORBIT
E:E–3111 PLEASE COMPLETE NET
E:E–3112 ILLEGAL NETS CLEAED
E:E–3113 ADDRESS BIT NOTHING
E:E–3114 FUNCTION NOT FOUND
E:E–3115 LADDER BROKEN
E:E–3116 ADDRESS BYTE NOTHING
E:E–3117 STACK REGISTER OVER(8BIT)
ERR
E:E–3118 PLEASE KEY IN SUB NO.
E:E–3119 PLEASE KEY IN FUN NO.
E:E–3120 SYMBOL/COMMENT DATA TOO
LARGE
E:E–3121 SAME SYMBOL DATA EXIST
E:E–3122 SOURCE PROGRAM OF DIFFER- A Format–B and C programs were found to exist when renaming a
ENT FILE FORMAT Format–A program.
243
4. ERROR MESSAGE LIST B–62884EN/01
4.5.3
Error (at Editing Step
Sequence)
Number Message Contents
E:E–3200 ILLEGAL SOURCE CODE. A read error occurred when reading the specified intermediate code
file.
E:E–3201 BUFFER SIZE OVER. An intermediate code exceeds the Edit buffer size.
E:E–3202 NUMBER OF NEST BRANCH TOO The maximum allowable number of branch nests has been
BIG. exceeded.
E:E–3203 NUMBER OF BRANCH TOO BIG. The maximum allowable number of branches has been exceeded.
E:E–3204 SIZE OF TABLE BUFFER TOO BIG. The maximum allowable number of element tables has been
exceeded.
E:E–3205 UNCONNECTED STEP The step, transition, branch, or line is not continuous.
SEQUENCE DIAGRAM.
E:E–3206 SELECTED BRANCH ERROR. The start side of the select branch does not agree with its end side.
E:E–3207 PARALLEL BRANCH ERROR. The start side of the parallel branch does not agree with its end side.
E:E–3208 SYNTAX ERROR. The sequence in the select branch is other than ”transition to step to
transition.” Or, the sequence in the parallel branch is other than ”step
to transition to step.”
244
B–62884EN/01 4. ERROR MESSAGE LIST
245
4. ERROR MESSAGE LIST B–62884EN/01
4.5.4
Warning (at Editing
Ladder Diagram)
Number Message
E:W–4100 ILLEGAL OPERATION
E:W–4101 EDIT BUFFER OVER
E:W–4102 70LINE/1NET OVER
E:W–4103 LARGE NET APPEARED
E:W–4104 MNEMONIC BUFFER OVER
E:W–4105 SET COUNT OVER
E:W–4106 256STEP/1NET OVER
E:W–4107 THE ZOOM NESTING CONDITION WAS CAN-
CELLED
E:W–4108 THE ZOOM NESTING CONDITION WILL BE CAN-
CELLED, IF YOU SELECT TO SAVE.
E:W–4109 THE ZOOM NESTING CONDITION WILL BE CAN-
CELLED,IF YOU SELECT TO UPDATE/APPEND.
E:W–4110 THE ZOOM NESTING CONDITION WILL BE CAN-
CELLED, IF YOU SELECT TO OVERWRITE.
E:W–4111 MACHINE KIND AND INPUT PROGRAM NOT
CONSISTENCY !
246
B–62884EN/01 4. ERROR MESSAGE LIST
4.6
F : SYMBOL &
COMMENT EDITING
4.6.1
Error
Number Message
F:E–3100 INPUT DATA ILLEGAL.
F:E–3101 SYMBOL/COMMENT DATA TOO LARGE
F:E–3102 SAME SYMBOL DATA EXIST
F:E–3103 NO DEFINITION ADDRESS APPOINTED
F:E–3104 NOT FOUND DATA ERROR
F:E–3105 FILE READ ERROR HIT ANY KEY
F:E–3106 FILE WRITE ERROR HIT ANY KEY
F:E–3107 DATA SAVE ERROR
F:E–3108 SAME ADDRESS DATA EXISTS.
F:E–3109 INPUT ADDRESS DATA.
F:E–3110 ILLEGAL SYMBOL.
247
4. ERROR MESSAGE LIST B–62884EN/01
4.7
G : MESSAGE
EDITING
4.7.1
Error
Number Message
G:E–3100 ILLEGAL CHARACTERS ARE SPECIFIED AT ∗.
G:E–3101 MESSAGE DATA TOO LARGE.
G:E–3102 THE FOLLOWING DATA OF ∗ WERE DELETED.
248
B–62884EN/01 4. ERROR MESSAGE LIST
4.8
H : PRINTOUT
4.8.1
Fatal Error
4.8.2
Error
249
4. ERROR MESSAGE LIST B–62884EN/01
4.8.3
Warning
250
B–62884EN/01 4. ERROR MESSAGE LIST
4.9
I : COMPILE
4.9.1
Fatal Error
4.9.2
Error
251
4. ERROR MESSAGE LIST B–62884EN/01
252
B–62884EN/01 4. ERROR MESSAGE LIST
253
4. ERROR MESSAGE LIST B–62884EN/01
254
B–62884EN/01 4. ERROR MESSAGE LIST
4.9.3
Warning
255
4. ERROR MESSAGE LIST B–62884EN/01
4.10
J : DECOMPILATION
4.10.1
Fatal Error
4.10.2
Error
256
B–62884EN/01 4. ERROR MESSAGE LIST
4.10.3
Warning
257
4. ERROR MESSAGE LIST B–62884EN/01
4.11
K : MNEMONIC
CONVERSION
4.11.1
Fatal Error
258
B–62884EN/01 4. ERROR MESSAGE LIST
4.11.2
Error
259
4. ERROR MESSAGE LIST B–62884EN/01
260
B–62884EN/01 4. ERROR MESSAGE LIST
261
4. ERROR MESSAGE LIST B–62884EN/01
4.11.3
Warning
262
B–62884EN/01 4. ERROR MESSAGE LIST
263
4. ERROR MESSAGE LIST B–62884EN/01
4.12
L : INPUT/OUTPUT
4.12.1
Error
264
B–62884EN/01 4. ERROR MESSAGE LIST
265
4. ERROR MESSAGE LIST B–62884EN/01
266
B–62884EN/01 4. ERROR MESSAGE LIST
267
4. ERROR MESSAGE LIST B–62884EN/01
268
B–62884EN/01 4. ERROR MESSAGE LIST
269
4. ERROR MESSAGE LIST B–62884EN/01
4.12.2
Warning
270
B–62884EN/01 4. ERROR MESSAGE LIST
4.13
N : ON–LINE
MONITOR
4.13.1
Error
271
4. ERROR MESSAGE LIST B–62884EN/01
272
B–62884EN/01 4. ERROR MESSAGE LIST
273
4. ERROR MESSAGE LIST B–62884EN/01
274
B–62884EN/01 4. ERROR MESSAGE LIST
275
4. ERROR MESSAGE LIST B–62884EN/01
Number Contents
N:E–3300 Signal trigger unavailable
[Cause] Trigger data on PMC side is invalid.
[Remedy] Please re–start signal trigger.
N:E–3301 Signal trigger buffer allocation error
[Cause] The memory is insufficient.
[Remedy] Please secure an extended memory, conventional memory, and the disk space.
N:E–3302 Reject signal trigger
[Cause] Online editor is selected.
[Remedy] Please re–start signal trigger after online editor was finished.
N:E–3303 Debug ladder is executing. Cannot execute signal trigger
[Cause] Signal trigger cannot be executed because debug ladder is executing on PMC side.
[Remedy] Please re–start signal trigger after debug ladder was finished.
N:E–3304 Signal trigger buffer size error
[Cause] The memory buffer for signal trigger on PMC side is insufficient.
N:E–3305 Signal trigger data unavail
[Cause] Signal trigger parameter is not corrected.
[Remedy] Please confirm the data of signal trigger parameter.
N:E–3310 Signal trace is unavailable
[Cause] Signal trace is not supported on PMC side.
[Remedy] It is necessary to exchange a system ROM of PMC.
N:E–3311 Signal trace parameter error
[Cause] Signal trace parameter is not corrected .
[Remedy] Please confirm the address of signal trace parameter.
N:E–3312 Signal analysis is executing. Signal trace cannot be executed
[Cause] Signal trace cannot be executed because signal analysis is executing on PMC.
[Remedy] Please re–start signal trace after signal analysis was finished.
N:E–3320 PMC parameter file read error.
[Cause] Fail in reading the PMC parameter file.
[Remedy] A hard error may occur. Please confirm following cases.
a) Whether drive is ready.
b) Whether disk format is right.
N:E–3321 PMC parameter file read error. Specified file not found.
[Cause] The specified file is not found.
[Remedy] Please confirm whether the file name is correct.
N:E–3322 PMC parameter file write error.
[Cause] Fail in writing the PMC parameter file.
[Remedy] A hard error may occur. Please confirm following cases.
a) Whether drive is ready.
b) Whether disk is not write–protected.
c) Whether disk format is right.
N:E–3323 PMC parameter file write error. Specified path not found.
[Cause] The specified path is not found.
[Remedy] Please confirm whether the file name is correct.
N:E–3324 PMC parameter file write error. Insufficient disk space.
[Cause] Insufficient disk space.
[Remedy] Please secure the disk space.
N:E–3325 PMC parameter file write error. File is write protected.
[Cause] The file is write–protected.
[Remedy] Please cancel the write–protect.
276
B–62884EN/01 4. ERROR MESSAGE LIST
Number Contents
N:E–3326 Illegal PMC parameter file name.
[Cause] The mistake is found in the file name.
[Remedy] Please confirm the file name.
N:E–3327 This file format is not PMC parameter file format.
[Cause] There is a part of illegal format in the PMC parameter file.
[Remedy] Please confirm whether the file format is correct.
N:E–3328 Can not save.(Not EDIT mode.)
[Cause] PMC parameter file can not be saved if NC is not EDIT mode while Ladder is running.
[Remedy] Please put NC into EDIT mode. Or, please stop the Ladder.
N:E–3329 Can not restore.(Not emergency stop nor PWE = ”1”.)
[Cause] PMC parameter file can not be restored if NC is not stopping emergency or Parameter Write Enable
(PWE) is not ”1” while Ladder is running.
[Remedy] Please put NC into the state of emergency stop and set Parameter Write Enable (PWE) ”1”. Or,
please stop the Ladder.
N:E–3341 Step cannot be executed. Ladder program is running
[Cause] Step cannot be executed because the ladder program is running.
[Remedy] Please stop the ladder program.
N:E–3342 Block cannot be executed. Ladder program is running
[Cause] Block cannot be executed because the ladder program is running.
[Remedy] Please stop the ladder program.
N:E–3343 Step cannot be executed. Signal trigger is executing
[Cause] Step cannot be executed because signal trigger is executing.
[Remedy] Please stop the execution of signal trigger function.
N:E–3344 Block cannot be executed. Signal trigger is executing
[Cause] Block cannot be executed because signal trigger is executing.
[Remedy] Please stop the execution of signal trigger function.
N:E–3345 Trigger cannot be executed. Ladder program is running
[Cause] Trigger cannot be executed because the ladder program is running.
[Remedy] Please stop the ladder program.
N:E–3346 Scan cannot be executed. Ladder program is running
[Cause] Scan cannot be executed because the ladder program is running.
[Remedy] Please stop the ladder program.
N:E–3347 Trigger cannot be executed. Signal trigger is executing
[Cause] Trigger cannot be executed because signal trigger is executing.
[Remedy] Please stop the execution of signal trigger function.
N:E–3348 Scan cannot be executed. Signal trigger is executing
[Cause] Scan cannot be executed because signal trigger is executing.
[Remedy] Please stop the execution of signal trigger function.
N:E–3349 Ladder debug parameter error. (Address %s?)
[Cause] In ladder debug parameter, trigger address is not correct.
[Remedy] Please confirm trigger address.
N:E–3350 Ladder debug parameter error. (Count %s?, Min=1 Max=32767)
[Cause] In ladder debug parameter, trigger count or scan count is not correct.
[Remedy] Please confirm trigger count or scan count.
N:E–3351 Block execution aborted !
[Cause] Block execution is aborted by the following operations.
– Select Online editor
– Run the ladder program
– Enter or exit online monitor
277
4. ERROR MESSAGE LIST B–62884EN/01
Number Contents
N:E–3352 Address cannot be changed. Debug trigger is executing
[Cause] Trigger address cannot be changed because debug trigger is executing.
[Remedy] Please stop the execution of debug trigger.
N:E–3353 Count cannot be changed. Debug trigger is executing
[Cause] Trigger count cannot be changed because debug trigger is executing.
[Remedy] Please stop the execution of debug trigger.
N:E–3354 Count cannot be changed. Debug scan is executing
[Cause] Scan count cannot be changed because scan is executing.
[Remedy] Please stop the execution of scan.
N:E–3370 Signal analysis is unavailable
[Cause] Signal analysis not supports on PMC side.
[Remedy] It is necessary to exchange a system ROM of PMC.
N:E–3371 Signal analysis parameter error
[Cause] Signal analysis parameter is not corrected.
[Remedy] Please confirm the data of signal analysis parameter.
N:E–3372 Signal trace is executing. Cannot execute signal analysis
[Cause] Signal analysis cannot be executed because signal trace is executing on PMC side.
[Remedy] Please re–start signal analysis after signal trace was finished.
N:E–3373 Disable init for sampling
[Cause] Signal analysis cannot be initialized because signal analysis is executing on PMC side.
[Remedy] Please re–try parameter initialized after signal analyz was finished.
N:E–3374 Aborted signal analysis execution and initialize ?
[Cause] Signal analysis cannot be initialized because signal analysis is executing on PMC side by the keep
memory data of the old edition.
278
APPENDIX
A. FUNCTIONS SPECIFIC TO INDIVIDUAL
B–62884EN/01 PMC MODELS
Those functions which vary depending on the PMC model are described
below. Read this appendix in conjunction with Section 1.2.2.
281
A. FUNCTIONS SPECIFIC TO INDIVIDUAL
PMC MODELS B–62884EN/01
A.1
SYSTEM
PARAMETERS
A.1.1 The system parameter editing screens for all of the PMC models are
Editing shown below. For a detailed explanation of editing, see Section 3.5.2.6.
(1) PMC–RB3/RB4/RB5/RB6
1 2 3 4 5 6 7 8 9 10 END
(2) PMC–RC3/RC4
1 2 3 4 5 6 7 8 9 10 END
282
A. FUNCTIONS SPECIFIC TO INDIVIDUAL
B–62884EN/01 PMC MODELS
A.1.2 The system parameter mnemonic formats for the PMC models are shown
Examples of Mnemonic below. For information about the mnemonic editing function, see Section
3.5.8.
Files (Single–Format)
(1) PMC–RB4/RB5/RB6
%@0↓
2 BINARY↓ 2. Counter data type (Binary or BCD)
3 NO↓ 3. Whether an operator’s panel is used (YES: Used, NO: Not used)
4 PMC – RB4↓ 4. PMC model (PMC-RB4/PMC-RB4 (STEP SEQ) /
%↓ PMC-RB5/PMC-RB6 (STEP SEQ) )
[EOB]
Note When specifying YES in Item 3 above (whether an operator’s panel is used), specify the KEY address, LED address,
KEY image address, and LED image address as follows:
(2) PMC–RB3
%@0↓
2 BINARY↓ 2. Counter data type (Binary or BCD)
3 NO↓ 3. Whether an operator’s panel is used (YES: Used, NO: Not used)
4 PMC – RB3↓ 4. PMC model (PMC-RB3)
7 100↓ 7. Ladder execution time (100% (fixed))
%↓
[EOB]
Note When specifying YES in Item 3 above (whether an operator’s panel is used), specify the KEY address, LED address,
KEY image address, and LED image address as follows:
(3) PMC–RC3/RC4
Note When specifying YES in Item 3 above (whether an operator’s panel is used), specify the KEY address, LED address,
KEY image address, and LED image address as follows:
283
A. FUNCTIONS SPECIFIC TO INDIVIDUAL
PMC MODELS B–62884EN/01
A.2 During linking, load modules created in the C language are linked with
a ROM format file. The C language can be used only with
LINK PMC-RC3/RC4/RC4 (STEP SEQ)/QC/NB/NB2. Linking is not
required when the C language is not used.
ROM
Transferred
format file
Link ROM to the ROM
format file writers and
PMC
Load modules
in C language
Notes
This function enables linking to be performed on a personal
computer. In addition, with this function, an object and C
language load modules can be separately transferred to
and linked on the PMC (dotted line in the figure below).
Personal computer
Link control statement FAPT LADDER
creation tool
PMC – RC3
Debug
ROM writer
284
A. FUNCTIONS SPECIFIC TO INDIVIDUAL
B–62884EN/01 PMC MODELS
Notes
1 Intel hexadecimal load modules cannot be linked. Before
link operation, convert the file format by referring to the
HEX2SREC User’s Manual.
2 With FAPT LADDER-II, ROM format files are no longer
used. This means that a ROM format file cannot be created
by compile processing alone, conversion between an object
file and ROM format file being required. A detailed
description is given below.
2) Conversion is performed.
3) Check that specified file names have been created using the DIR
command.
4) Specify an output file name (for example, SAMPLE.SR) as the
load module file name for linking.
Note
When the extension of an input file name is omitted, the
extension “.HEX” is assumed. Output is directed to a file
with the same name but the extension is changed to ”.SR.”
The specification of the following files has the same effect
in input/output:
HEX2SREC SAMPLE.HEX SAMPLE.SR
HEX2SREC SAMPLE SAMPLE.SR
HEX2SREC SAMPLE.HEX
HEX2SREC SAMPLE
285
A. FUNCTIONS SPECIFIC TO INDIVIDUAL
PMC MODELS B–62884EN/01
2) Then, the pop-up screen shown below appears. Pressing the Enter
Note
If an invalid model file is specified, the status line of the link
screen does not display a model name. In such a case,
check the following:
· When the newly entered file name is invalid
→ Enter a valid file name.
· When the specified model file is not installed
→ Install the model file.
286
A. FUNCTIONS SPECIFIC TO INDIVIDUAL
B–62884EN/01 PMC MODELS
(d) Linking
[Operation]
1) Specify the load module file name and ROM format file name to
link. The load module file name must conform to DOS
specifications. Here the load module file name should be
specified with its extension (--------.***). (Specity an output
program name for HEX2SREC.)
2) Select [EXEC].
(4) Termination
[Operation]
1) Select [END].
2) The screen display returns to the main menu screen.
287
B. AUTOMATIC COMPILATION
AND DECOMPILATION B–62884EN/01
288
B. AUTOMATIC COMPILATION
B–62884EN/01 AND DECOMPILATION
Note
The options applied to automatic compilation or
decompilation, started under the above conditions, are
those specified with [PROGRAM OPTION SETTING] of the
off–line function. Before attempting to select [ON–LINE
FUNCTION], confirm the set options. For details of how to
set options, see Section 4.5.7.
289
C. CHANGE OF EACH SETTING FILE B–62884EN/01
290
B–62884EN/01 C. CHANGE OF EACH SETTING FILE
C.1 “%%%FLSET.CNF” is a file of the text form and some setting parameters, by
which the behavior of system is decided, are described there.
SYSTEM
The file exits in the directory in which the system is installed.
CONFIGURATION
And the parameters can be changed by a text editor on the market.
FILE “%%% FLSET.
CNF”
Note
%%%FLSET.CNF contains the set values used to
determine system operation. If data in this file is not
modified correctly, the functions described in this manual
may not be performed correctly. Do not, therefore, attempt
to modify any data other than the items described below.
;
; FAPT LADDER Initial Setting File
; ( ‘key word =’ ⇐ 9characters)
;
;
*V; System information
;
verl=A08B–9201–J503 Version 01.0;
rights=Copyrigth (C) 1991–1995 FANUC LTD.;
*S; System Setup
;
editor =; Text Editor
;
ladkey = 1; Ladder editing key buffer size
; (1 ⇐ ladkey ⇐ 16)
;
IEC_SYM=2 1:Check symbol (level–1) for IEC standard
; 2:No check
;
*U; Utility Information
;
N = UTILITY; Utility Guidance
;
F1 = Dos / command.com; [F1] Soft Key Guidance & EXE
F2 = flOadat / FLOADAT; [F2] Soft Key Guidance & EXE
F3 = View result / FLVIEW.BAT %p.err; [F3] Soft Key Guidance & EXE
F4 =Linker / i_lipmcr–pf103400b.tbl; [F4] Soft Key Guidance & EXE
F5 =; [F5] Soft Key Guidance & EXE
F6 =; [F6] Soft Key Guidance & EXE
F7 =; [F7] Soft Key Guidance & EXE
F8 =; [F8] Soft Key Guidance & EXE
F9 =; [F9] Soft Key Guidance & EXE
F10=; [F10] Soft Key Guidance & EXE
;
[EOF]
291
C. CHANGE OF EACH SETTING FILE B–62884EN/01
Registered tool
Delimiter between displayed name and command
Function key to which the tool is assigned
292
B–62884EN/01 D. CONVERSION OF SEQUENCE PROGRAM
293
D. CONVERSION OF SEQUENCE PROGRAM B–62884EN/01
Note
The supported source program types also vary with the
PMC model. For details, refer to the relevant FAPT
LADDER manual.
C:¥
data¥
PRG _C¥
S CONTROL Source program managing file
S SYSPARAM System parameter data file
S TITLE Title data file⋅
S XSYMBOL.xxx Symbol & Comment data file (Note 1)
S MESSAGE Message data file
S IOMODULE I/O Module data file
S LEVEL1.#LA First level ladder data file
S LEVEL2.#LA Second level ladder data file
S LEVEL3.#LA Third level ladder data file (Note 2)
S Pyyy.#LA Sub–program ladder data file (Note 3)
S Pzzz.#SS Sub–program step sequence data file (Note 3)
S NETCMT.xxx Net comment data file (Note 1)
S OPTION Setting of option
S MCARD Memory card format file
Notes
1 ’xxx’ is number of multi file managing.
2 Only for use LEVEL3 ladder.
3 ’yyy’, ’zzz’ is number of sub–program.
2) FORMAT–A
This source program type is only used on FAPT LADDER.
The source program is managed using the following names. A
single directory can contain two or more source programs.
294
B–62884EN/01 D. CONVERSION OF SEQUENCE PROGRAM
3) FORMAT–B
This source program type is only used on FAPT LADDER.
A directory is created with the specified source program name.
In the directory, the program is managed under the following
names. A single directory cannot contain two or more source
programs.
FAPT LADDER
1) 3) External devices
Source file → ROM format → CNC
← file ← Memory–card format file
2) 4) Handy–File format file
1) Compile 2) Decompile
3) Output (in ROM format) 4) Input (in ROM format)
295
D. CONVERSION OF SEQUENCE PROGRAM B–62884EN/01
FAPT LADDER–II
Source file 3) External devices
1) → CNC
Each data file MCARD file Memory–card format file
← 2)
4) Handy–File format file
1) Compile 2) Decompile
3) Output (in object format) 4) Input (in object format)
296
B–62884EN/01 D. CONVERSION OF SEQUENCE PROGRAM
D.2 When converting data created with FAPT LADDER for use with the
Ladder Editing Package, use a method that is appropriate for the data
CONVERSION FROM format, as described below.
FAPT LADDER [Data types]
– Source file of FORMAT–C
– Source file of FORMAT–A and –B
– Mnemonic format file
– Memory–card format file
– ROM format file
(1) Source file conversion (with the backup function)
(a) FORMAT–C
A file can be converted with the “Restore” of the backup function.
For details of this function, see Section 3.5.6.5.
All FAPT LADDER–II source files are of FORMAT–C type,
allowing this method to be used for conversion.
(b) FORMAT–A/B
First, using FAPT LADDER, convert a file of to FORMAT–C
type. Then, perform program conversion as explained in (a),
above.
(2) Conversion using a mnemonic format file
Convert a program to a mnemonic format file, using the mnemonic
editing function of FAPT LADDER, before using the program.
For details of this function, see Section 3.5.8.
Note, however, that this method cannot be used to convert a step
sequence program. (See Section 3.5.8.6.)
(3) Conversion using a memory–card format file
Convert a program to a memory–card format file, using the FAPT
LADDER I/O function of “Memory card,” before using the program.
For details of the function, see Section 3.5.6.3.
(4) Conversion using a ROM format file
First, convert a ROM format file, created with a FAPT LADDER
function such as the compile function, to a memory–card format file
by using the I/O function of “ROM format file.” Then, apply method
(3), above.
For details of the function, see Section 3.5.6.6.
297
D. CONVERSION OF SEQUENCE PROGRAM B–62884EN/01
D.3 By changing the mnemonic file, it is possible to convert some PMC type
sequence program to another type of it.
CONVERT THE PMC
TYPE OF SEQUENCE
PROGRAM
D.3.1 On the following PMC type, it is possible to edit the different PMC type
Converting by System data by changing system parameter of the mnemonic data.
Parameter Editing However, format of the system parameter, usable functional instructions
and range of address are different.
%@A %@A
%@0 %@0
2 BCD 2 BCD
3 NO 3 NO
4 PMC–RB3 Change system parameter 4 PMC–RC3
7 100 5 000000
% 6 50
%@1 7 100
01 ABC–KIKAI %
02 S–DRILL %@1
01 ABC–KIKAI
02 S–DRILL
%
%@5
X000 1 0 1 ID16C %
Y008 1 0 4 OD32A %@5
% X000 1 0 1 ID16C
%@E Y008 1 0 4 OD32A
%
%@E
298
B–62884EN/01 D. CONVERSION OF SEQUENCE PROGRAM
D.3.2
Conversion Using a
Conversion source Conversion Converter
Signal Address (PMC) destination (PMC) file name
Converter
PMC-L/M/M (MMC) → PMC-RB3/RB4/RB5/RB6 FS0T_CNV.SYM
(FS0-T) RC3/RC4
Note
A converter file is included under the APPENDIX
subdirectory on the system floppy disk (Vol. 5).
299
D. CONVERSION OF SEQUENCE PROGRAM B–62884EN/01
300
B–62884EN/01 D. CONVERSION OF SEQUENCE PROGRAM
D.3.3 Data (such as title, symbol & comment, ladder, message, and I/O module
Using Data in a data) in a sequence program can be used for another sequence program,
by the following method.
Sequence Program for
The range of addresses used varies from one model to another. They may
Another Program
have to be modified. Refer to the programming manual of the respective
models.
[Example : Using the symbols & comment data of the PMC–RB for the PMC–RC3]
%@A %@A
%@0 %@0
2 BCD 2 BCD
3 NO 3 NO
4 PMC–RB 4 PMC–RC3
7 100 5 000000
9 YES 6 50
% 7 100
%@1 %
%@1
%@2
X000 .0 ZPX. M %@2
X0001.1 ZPY. M Insert X0000.0 ZPX. M
% X0001.1 ZPY. M
%
%
%@E %
%@E
301
D. CONVERSION OF SEQUENCE PROGRAM B–62884EN/01
D.4
TRANSFER FROM
P–G
When a file with the same name as the file specified for receiving data
already exists in the current directory, the following message is
displayed.
(2) Downloading
Loads the FAPT LADDER mnemonic data into the P–G from the PC
via the RS–232–C port.
FLOADAT [name of file for storing downloaded data] –d (for IBM PC/AT)
Note
The above parameters can be specified with either
lowercase or uppercase characters.
302
B–62884EN/01 D. CONVERSION OF SEQUENCE PROGRAM
D.4.1.2 PC side
Communications IBM PC/AT series MODE COM1: 4800,E,7,2
Settings (PC DOS MODE MODE COM1: 9600,E,7,2
command) (for 9600 baud)
P–G side
IO NC,CN1,F1,F6
IO NC,CN1,F1,F6,BR10 (for 9600 baud)
Notes
1 The baud rate can be set to either 4800 or 9600. However,
note that when the PC baud rate is set to 9600, the
parameter BR10 must be added to the baud rate setting for
the P–G.
2 It is necessary to set these communications setting only for
doing this operation. After using this function, please
restore the communications settings as the section 2.1
(Chapter 1).
The CN number is not fixed. For the P–G or P–G Mark II, the CN
number can be any setting from CN1 to CN4. For the P–G Mate, the
CN number can be any setting from CN1 to CN3. However, note that
the CN number selected here must match the CN number of the IO
command. Use the cables specified in Appendix H.
Operation example
During uploading
Operation procedure Example of input and screen contents
<PC> <PG> Turn on power.
<PG> Enter IO command settings. IO NC, CN1, F1, F6 (, BR10)
<PC> IBM PC/AT Series : Enter MODE command settings. (See Section 2 of Communications Settings)
<PG> Store transmission data in P–G memory. Press the [F2] key to select menu item no.2.
<PC> Execute FLOADAT. Enters waiting state. FLOADAT FILENAME –u
<PC> “LOADER START” is displayed.
<PG> Set [F6] ON. Select no.4 on the menu.
<PC> Select any entry from 1 to 7 on the submenu.
Begins transmission. <PG> “EXECUTING” is displayed.
Completes transmission.
<PG> Returns to the menu. <PC> “Operation Complete” is displayed.
<PC> The message “Operation Complete” is displayed, “HIT ANY KEY” is displayed.
followed by the prompt “HIT ANY KEY”. Hit any key
to end operation.
303
D. CONVERSION OF SEQUENCE PROGRAM B–62884EN/01
During downloading
Operation procedure Example of input and screen contents
<PC> <PG> Turn on power.
<PG> Enter IO command settings. IO NC, CN1, (BR10,) F1, F6
<PC> IBM PC/AT Series : Enter MODE command setting. (See Section 2 of Communications Settings)
<PG> Turn on [F1] key. Select no.2 on the menu. <PG> “EXECUTING” is displayed.
Enters waiting state.
<PC> Execute FLOADAT. FLOADAT FILENAME –d
304
B–62884EN/01 D. CONVERSION OF SEQUENCE PROGRAM
D.4.1.4 When the transmission speed is faster than reception processing, BUSY
BUSY Control control is performed by issuing the DC 1 and DC 3 codes. In the IBM
PC/AT series, there is no X parameter, which effectively has the same
result.
D.4.1.5 The system will automatically determine which of the following seven
Data Start and End pairs of start and end codes is used. When none of these codes are used,
an error message is displayed and operation terminates.
Codes
Start code End code
1 %@A %@E
2 %@0 %
3 %@1 %
4 %@2 %
5 %@3 %
6 %@4 %
7 %@5 %
Notes
1 The end codes shown here must appear at the beginning of a line.
In other words, strictly speaking, a data reception end code is
actually denoted by the sequence CR + LF + an end code. End
codes (% etc.) appearing within comments are ignored.)
ŸŸŸŸ
CR LF DS CR LF
ŸŸ
ŸŸŸŸ
ŸŸ
CR LF DS CR LF
ŸŸŸŸ Discarded
ŸŸŸŸ Valid data
After the end code (DE) has been sent or received, DC 3 is sent for
uploading or DC 4 is sent for downloading, then the file is closed.
305
D. CONVERSION OF SEQUENCE PROGRAM B–62884EN/01
Parameter Error
FLOADAT FILENAME –u/–d set parameter. (FILNAME, upload or download.)
(3) When data not in the FAPT LADDER format is sent or received
This software only detects errors in the command line and in the FAPT
LADDER format.
This software does not support detection of errors in the contents of FAPT
LADDER data.
Messages
When the file name specified as the file for receiving data already exists
in the current directory, the following message is displayed.
306
B–62884EN/01 D. CONVERSION OF SEQUENCE PROGRAM
307
E. STANDARD SYMBOL DATA B–62884EN/01
When a mnemonic file and the standard symbol data are combined, it is possible
to use the standard symbol name provided by FANUC.
Note
The standard symbol data is stored in the directory APPENDIX of
system floppy (Vol. 5).
308
F. TOOL FOR CHANGING MESSAGE DATA
B–62884EN/01 (CHGMES)
309
F. TOOL FOR CHANGING MESSAGE DATA
(CHGMES) B–62884EN/01
TOTAL 133KBytes
3. INSTALLATION
Please copy EXE–FILE (_CHGMES.EXE) to any directory from
system floppy disk(Vol.5).
Key in “_CHGMES” on the installed directory, then following files
are generated.
D CHGMES.EXE ⋅ ASC2IMG.EXE ⋅ IMG2ASC.EXE :
Execute files (.EXE)
D RB3DUMMY.SFM ⋅ RB3BASIC.SFM ⋅ RB3MES.SFM :
example files(.SFM)
310
F. TOOL FOR CHANGING MESSAGE DATA
B–62884EN/01 (CHGMES)
311
F. TOOL FOR CHANGING MESSAGE DATA
(CHGMES) B–62884EN/01
<Outline of Operation>
*3
ŸŸ
ŸŸ Changing to message ROM data(Using this function)
↓ ↓
CHGMES [In. file] [Out. file] [pmc type] ([Comp. file])
(Note)
*1 *2 *3
*2
FLOPPY MEMORY CARD
ŸŸ
. (Note) Handy file
. format file OR
CNC
Loading at [I/O]screen operation of PMC. Only message data for changing of ROM file
Note
It is possible to load by memory card only for FS16–B, FS18–B, FS–20, FS21–B, and FS15–B
(PMC–NB).
Please refer to the following manual about detailed operation of loading by the memory card
or handy file. It is not possible to load on boot screen.
FANUC PMC MODEL PA1/PA3/RA1/RA2/RA3/RB/RB2/RB4/RC/RC3/RC4/NB
PROGRAMMING MANUAL (LADDER LANGUAGE) (B–61863E/06)
312
F. TOOL FOR CHANGING MESSAGE DATA
B–62884EN/01 (CHGMES)
5. USING EXAMPLE
Check the installation of this function by using the following example.
There are some sample files in system floppy disk for checking this
function.
313
F. TOOL FOR CHANGING MESSAGE DATA
(CHGMES) B–62884EN/01
314
B–62884EN/01 G. CAUTIONS FOR USING THE O/S
315
H. DATA TRANSFER CABLES B–62884EN/01
Use the cables below to transfer data from a PC to a CNC, ROM writer
(FA writer or PMC writer), or P–G (P–G Mark II or P–G Mate).
1. For IBM PC/AT
IBM PC/AT
On–line cable
9–pin female 25–pin male
connector connector
IBM PS/2
On–line cable
9–pin female 25–pin male
connector connector
316
B–62884EN/01 H. DATA TRANSFER CABLES
2 2
SD SD
3 3
RD RD
4 4
RS RS
5 5
CS CS
25–pin male 20 20 25–pin male
connector ER ER connector
6 6
DR DR
8 8
CD CD
7 7
SG SG
1 1
FG FG
1 8
CD CD
2 3
RD RD
3 2
SD SD
4 20
ER ER
9–pin female 5 7 25–pin fe-
connector SG SG male con-
6 6
DR DR nector
7 4
RS RS
8 5
CS CS
9 22
CI CI
2 2
SD SD
3 3
RD RD
4 4
RS RS
5 5
CS CS
25–pin female 20 20 25–pin female
connector ER ER connector
6 6
DR DR
8 8
CD CD
7 7
SG SG
1 1
FG FG
317
I. INQUIRY FORM B–62884EN/01
I INQUIRY FORM
318
B–62884EN/01 I. INQUIRY FORM
FANUC
sales person
Version Date of
No. Product name Ordering code
No. purchase
[Usage environment]
OS Version (Manufacturer: )
[Details of inquiry]
Please use this form when you have any questions about this product.
319
B–62884EN/01 Index
[A] Decompilation, 202
Decompile, 222
A : Initial Menu, 238
Decompile Option, 204
About PMC Program, 10
Diagnose, 47
About Symbol & Comment Data, 12
Differences from Fapt Ladder, 294
Automatic Compilation and Decompilation, 288 Directory Configuration after Installation, 25
Display System Information, 100
[B]
B : Title Editing, 240 [E]
Backup of User Program, 218 E : Ladder/Step Sequence Editing, 243
BUSY Control, 305 Editing, 115, 282
Error, 239, 240, 241, 242, 247, 248, 249, 251, 256,
259, 264, 271
Error (at Editing Ladder Diagram), 243
[C] Error (at Editing Step Sequence), 244
C : I/O Module Editing, 241 Error Detection and Handling, 307
Cautions for Using the O/S, 315 Error Detection and Messages, 306
Change of Each Setting File, 290 Error Message List, 237
Changing the Printer Specification, 194 Examples of Mnemonic Files (Single–Format), 283
Command Input During Startup, 302 Examples of Operation, 106
Common System Operations, 35 Executing or Stopping a Program, 91
Communication, 105 Exit, 46
Communications Settings, 303
Compilation, 195 [F]
Compile, 221
F : Symbol & Comment Editing, 247
Compile Options, 199 Fatal Error, 238, 243, 249, 251, 256, 258
CONFIG.SYS, 26 File, 43
Configuration and Installation of Package, 14 File Configuration, 28
Conversion from FAPT LADDER, 297 File System, 28
Conversion of a Mnemonic File to a Source Program, Function for Transferring Data between the P–G and
226 PC, 302
Conversion of a Source Program to a Mnemonic File, Function Overview, 5
224 Functions Specific to Individual PMC Models, 281
Conversion of Sequence Program, 293
Conversion Using a Signal Address Converter, 299
Convert the PMC Type of Sequence Program, 298 [G]
Converting by System Parameter Editing, 298 G : Message Editing, 248
Converting ROM Format File, 220
[H]
H : Printout, 249
[D] Handy File+3.5” Floppy Disk (MS–DOS Format), 216
D : System Parameter Editing, 242
Data Conversion (Return Codes), 305
Data Start and End Codes, 305 [I]
Data Transfer Cables, 316 I : Compile, 251
Index B–62884EN/01
[K] [P]
K : Mnemonic Conversion, 258 Package Configuration, 17
Password, 207
Password Set Function, 200
[L] PMC Alarm Status, 89
L : Input/Output, 264 PMC Parameter, 76
PMC Programming Method, 10
Ladder Debugging Function, 64
PMC Status Window, 90
Ladder Diagram/Step Sequence Editing, 118
Print Format–1: SETUP Menu, 184
Ladder Monitor, 47
Print Format–2 (AMOFTRP, DAT/* .INF/Message
Ladder monitor, 47 File), 185
Link, 284 Printout, 174
Loading of Program, 101 Program Backup, 103
Protocol, 304
[M]
Memory Card Interface in the Personal Computer and
[R]
Memory Card, 212 Registering the Software in the Windows [Programs]
Menu, 18
Menu Structure, 33
Restoring PMC Parameter, 44
Message Editing, 169
Mnemonic Editing, 224
Mnemonic File Format, 227 [S]
Modifying Program Option Initial Values (OP-
TION.CNF), 223 Sample Mnemonic Files (All–format), 233
Sample Mnemonic Files (Single–format), 229
Monitoring a Ladder, 106
Saving PMC Parameter, 43
MS–DOS, 45
Selecting Off–Line Function from On–Line Function,
45
Selecting On–Line Function from Off–Line Function,
[N] 236
Sequence Program Creation, 8
N : On–Line Monitor, 271
Setting Program Options, 220
B–62884EN/01 Index
Signal Analysis Function, 95 The Note if the Step Sequence Function is Selected
When Setting a Model, 234
Signal Status Window, 73
Signal Trace Function, 92 The Overview of Ladder Editing Package, 4
[T] [W]
The Constitution of Source Program, 29 Warning, 241, 250, 255, 257, 262, 270
The Major Functions, 4 Warning (at Editing Ladder Diagram), 246
Revision Record
01 Sep., ’96