Professional Documents
Culture Documents
GE Fanuc Open Ladder Editing
GE Fanuc Open Ladder Editing
GE Fanuc CNC
Open CNC Ladder Editing Package
Operators Manual
www.cnccenter.com
GE Fanuc Automation
Computer Numerical Control Products
Open CNC
Ladder Editing Package
Operator's Manual
GFZ-62884EN/01
September 1996
GFL-001
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.
GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutory
with respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, or
usefulness of the information contained herein. No warranties of merchantability or fitness for
purpose shall apply.
Table of contents
B62884EN/01
1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1
OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2
1.2.1
1.2.2
1.2.3
1.3
4
7
8
10
10
12
om
1.3.1
1.3.2
14
OPERATING ENVIRONMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
2.2
PACKAGE CONFIGURATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18
2.3
18
22
2.4
25
2.5
CONFIG.SYS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26
2.6
ce
nt
e
2.3.1
2.3.2
r.c
2.1
FILE CONFIGURATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6.1
2.6.2
28
File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Constitution of Source Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28
29
3. OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
3.1
31
3.2
OVERVIEW OF OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
3.2.1
33
35
3.4
ONLINE FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
43
47
101
105
106
OFF-LINE FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
115
3.5
37
.c
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
nc
Menu Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Printout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Compilation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Decompilation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Program Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mnemonic Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Selecting On-Line Function from Off-Line Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.5.6
3.5.7
3.5.8
3.5.9
3.5.10
115
115
174
195
202
209
220
224
235
236
A : INITIAL MENU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.1
4.1.2
4.2
238
Fatal Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
238
239
B : TITLE EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
240
Table of contents
4.2.1
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
240
241
4.3.1
4.3.2
241
241
242
4.4.1
242
243
243
243
244
246
247
4.6.1
4.7
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
247
G : MESSAGE EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
248
4.7.1
4.8
H : PRINTOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.8.1
4.8.2
4.8.3
4.9
249
249
250
I : COMPILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
251
Fatal Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
251
251
255
J : DECOMPILATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
256
4.10.1
4.10.2
4.10.3
4.11
Fatal Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
256
256
257
K : MNEMONIC CONVERSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
258
4.11.1
4.11.2
4.11.3
4.12
Fatal Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
258
259
262
L : INPUT/OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
264
4.12.1
4.12.2
4.13
248
249
Fatal Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.9.1
4.9.2
4.9.3
4.10
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
r.c
4.6
Fatal Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error (at Editing Ladder Diagram) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error (at Editing Step Sequence) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Warning (at Editing Ladder Diagram) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
om
4.5.1
4.5.2
4.5.3
4.5.4
ce
nt
e
4.5
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
nc
4.4
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
264
270
N : ONLINE MONITOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
271
Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
271
4.13.1
.c
4.3
B62884EN/01
APPENDIX
SYSTEM PARAMETERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Examples of Mnemonic Files (SingleFormat) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
282
283
LINK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
284
A.1.1
A.1.2
A.2
282
ii
291
Table of contents
B62884EN/01
294
D.2
297
D.3
298
D.3.1
D.3.2
D.3.3
D.4
298
299
301
TRANSFER FROM PG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
302
302
om
D.4.1
r.c
ce
nt
e
.c
nc
iii
1. GENERAL
B62884EN/01
.c
nc
ce
nt
e
r.c
om
1. GENERAL
B62884EN/01
1.1
OVERVIEW
Name
Specification
Remarks
om
r.c
Operators manual
FAPT LADDERII
ce
nt
e
FAPT LADDER
nc
.c
Inquiry form
If you have any questions after reading this operators
manual and the manuals listed above, use the inquiry form
attached at Appendix I to consult us the questions.
1. GENERAL
B62884EN/01
2) Others
Name
r.c
Abbreviations
om
PMC-R Series
PMC-RA3
PMC-RB3
PMC-RB4
PMC-RB5
PMC-RB6
PMC-RC3
PMC-RC4
PMC Models
OPEN CNC
MMCIV
HSSB
.c
nc
ce
nt
e
1. GENERAL
B62884EN/01
1.2
THE MAJOR
FUNCTIONS
1.2.1
The Ladder Editing Package is a software package that enables the use of
the following PMC functions and sequence program development
functions on the OPEN CNC.
<Ladder Editing Package functions>
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
.c
nc
ce
nt
e
r.c
om
The Overview of
Ladder Editing
Package
1. GENERAL
B62884EN/01
1.2.1.1
Function Overview
OPEN CNC
Machine
CNC / PMC
Online functions
om
DI/ DO
r.c
ce
nt
e
Floppy disk
Ladder editing
package
Keyboard
Input/editing
Drawing
Hard disk
.c
nc
Printer
1.2.1.2
FANUC NC board
Incorporated
Personal
computer
Fig.1.2.1.2(a)
Machine
1. GENERAL
B62884EN/01
om
Machine
Fig.1.2.1.2(b)
ce
nt
e
r.c
[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 MMCIV Operators
Manual (B62494EN).
Key Correspondence
Full keyboard
Custom
Tab
System
Alt
Alter
nc
Ctrl
Can
Esc
HELP
.c
Back
Space
CRT/MDI
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.
[Program backup destination]
PMC flash memory
3) System in which the CNC is connected to a commercially
available personal computer via the highspeed serial bus
1. GENERAL
B62884EN/01
[Overview]
CNC
Highspeed
serial bus
Personal
computer
Machine
om
Fig.1.2.1.2(c)
r.c
CNC
ce
nt
e
Highspeed
serial bus
Machine
Fig.1.2.1.2(d)
nc
[CRT/MDI operation]
See Item 2) above.
[Program backup destination]
PMC flash memory
.c
1.2.2
Supported PMC
Functions
1. GENERAL
B62884EN/01
Reference
section
RA3
RB3
RB4
RB4 (STEP RB5
SEQ)
RB6
RB6 (STEP RC3
SEQ)
RC4
RC4 (STEP
SEQ)
1.3
3.5.2
Online functions
3.4
Offline functions
3.5
PMC
Handy File
3.5.6
Memory card
Link function
Section A.2 in
Appendix A
: Usable
: Not usable
: May be usable (Whether the functions are supported varies with the series and editions of the PMC and CNC.
For details, refer to the PMC programming manual.)
1.2.3
.c
nc
Sequence Program
Creation
ce
nt
e
r.c
Input/
output
out
ut
device
om
Step sequence
program
1. GENERAL
B62884EN/01
om
r.c
New?
NO
Offline functions
ce
nt
e
Online functions
YES
YES
NO
nc
Debugging
completed?
YES
Debugging
completed?
editing
NO
YES
Compile (link)
.c
Print?
NO
Decompile
End
End
In online mode, programming/monitoring can be performed during communication with the PMC. In
offline mode, programming is performed on the OPEN CNC without communication. Other PMC programming systems (for use with personal computers) are FAPT LADDER and FAPT LADDERII. For
details, refer to the following manuals:
FAPT LADDER Operators Manual (B66131E)
FAPT LADDERII Operators Manual (B66184EN)
1. GENERAL
B62884EN/01
1.3
ABOUT PMC
PROGRAM
1.3.1
om
PMC Programming
Method
The ladder method is most of ten used for programming the sequence
control governed by a PMC. This method was derived from relay-panel
control circuits. Since it has been in use for years, many sequence
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.
ce
nt
e
r.c
.c
nc
10
1. GENERAL
B62884EN/01
LEVEL 1 ( LADDER)
LEVEL 2 ( LADDER)
LEVEL 3 ( LADDER)
r.c
om
Source program
Ladder 1st level
Mnemonic
Mnemonic program
conversion
nc
ce
nt
e
Subprogram P1
.c
Subprogram P2
Compilation/Decompilation
Object code
CNC
11
step sequence
1. GENERAL
B62884EN/01
1.3.2
You can assign names or add notes to I/O signals, internal relays, and can
add notes to a sequence program.
They are generally called symbol & comment data.
Symbol
Name
assigned
uniquely to each
relay/coil,
to be used in place of
PMC address.
to
to
X0.0
INPUT
X0.0
Y0.0
r.c
Display
om
Terms
RELAY X
COMMENT
Y0.0
ce
nt
e
Coil comment
Net comment
Text
assigned
between ladder nets
to explain them.
COIL Y
COMMENT
HERE IS COIL
COMMENT
(* HERE IS NET *)
(* COMMENT
*)
Relay comment
Coil comment
ASCII characters
(lower-case
alphabetic
characters not
allowed)
ASCII characters
Japanese
kana/kanji
characters
ASCII characters
Japanese
kana/kanji
characters
Maximum cha.
16 byte
16 byte
30 byte
Maximum
number
20,000 entries
(Note)
20,000
Duplicated
definition
Not allowed
Allowerd
nc
Specification
.c
Available
characters
20,000
(Note)
(Note)
Allowerd
Note
Free area size of hard disk drive, EMS and XMS on personal
computer may restrict them.
12
1. GENERAL
B62884EN/01
Available characters
ASCII characters
Japanese kana/kanji characters
Line feed
Steps to occupy
2 step/Net comment
Maximum characters/line
64 characters/line
4095 characters/Net comment
(Note 1)
Maximum lines
(Note 1)
Maximum number
(Note 2)
Notes
om
Specification
.c
nc
ce
nt
e
r.c
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
.c
nc
ce
nt
e
r.c
om
B62884EN/01
14
B62884EN/01
2.1
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
om
Computer
(Note 2)
Memory
r.c
CNC function
ce
nt
e
OPERATING
ENVIRONMENT
Hard disk
Graphic adapter
VGA or higher
Printer
(Note 5)
(Note6)
.c
nc
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
B62884EN/01
om
ce
nt
e
r.c
.c
nc
16
B62884EN/01
2.2
PACKAGE
CONFIGURATION
The Ladder Editing Package is distributed on the five system disks listed
below. These disks are of 3.5inch, 2HD type (1.44MB). Check that none
of the system disks is missing.
(1) Ladder Editing Package (Vol.1)/A08B9201J510#ZZ071
(2) Ladder Editing Package (Vol.2)/A08B9201J510#ZZ072
(3) Ladder Editing Package (Vol.3)/A08B9201J510#ZZ073
(4) Ladder Editing Package (Vol.4)/A08B9201J510#ZZ074
.c
nc
ce
nt
e
r.c
om
17
2.3
B62884EN/01
2.3.1
Registering the
Software in the
Windows [Programs]
Menu
The following describes the installation of this software from floppy disk
drive A to hard disk drive C.
(1) Insert Vol. 1 into drive A.
(2) Click the [Start] button, then click the [Run] dialog box.
(3) Enter A:SETUP in the [Open] box of the [Run] dialog box.
om
INSTALLATION
Run
[ ? ] []
A: SETUP
ce
nt
e
Open :
r.c
Type the name of a program, folder, or document, and Windows will open
it for you.
Ok
Cancel
Browse . . .
(4) The message below appears, and the setup program is started.
.c
nc
SETUP
18
Initializing Setup...
B62884EN/01
(5) Specify the hard disk drive to which the software is to be installed
(Note).
Install to :
om
[] c:[C_DRIVE]
Exit Setup
r.c
Continue
ce
nt
e
(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].
.c
nc
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.
Interface Type
F Interface Type 1
f Interface Type 2
Ok
19
Cancel
B62884EN/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].
Disk information
Ok
7808K
128000K
Cancel
ce
nt
e
Available space:
r.c
Required space:
C:
om
Install Language
F English only
f Japanese only
f English and Japanese
(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].
nc
Color type
F COLOR
f MONO 1
f MONO 2
.c
Ok
20
Test
Cancel
B62884EN/01
(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),
and then press <Enter>.
A:
Cancel
r.c
Ok
Floppy
disk
to be inserted
om
ce
nt
e
.c
nc
Note
The configuration of the directory in which the Ladder
Editing Package has been installed cannot be modified.
21
2.3.2
Installing the Software
to Invoke from the DOS
Command Prompt
B62884EN/01
om
(3) The installer is started, and the title screen appears. Select [Continue].
r.c
(4) Enter the hard disk drive to which the software is to be installed
(Note).
ce
nt
e
Install to
Ok
Quit
Fig.2.3.2(a)
Ok
.c
nc
(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].
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
B62884EN/01
F Interface Type 1
f Interface Type 2
Fig.2.3.2(c)
Quit
om
Ok
r.c
ce
nt
e
Japanese only
.c
nc
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
F COLOR
f MONO1
f MONO2
Ok
Fig.2.3.2(e)
23
Quit
B62884EN/01
(8) The selected options are displayed. After checking that the desired
options are selected, select [Yes]. The installation is started.
Install drive
Interface
Language
: C: FANUCLEP
: Type 1
: English only
om
No
r.c
Yes
ce
nt
e
(9) When the installation terminates normally, the message shown below
appears.
Installation is done.
Exit
nc
Fig.2.3.2(f)
.c
Note
The configuration of the installation destination directory
cannot be modified.
24
B62884EN/01
C:FANUC
LEP
om
DIRECTORY
CONFIGURATION
AFTER
INSTALLATION
CNC
BOP
r.c
2.4
ce
nt
e
C:FANUCLEP
PMC0000 : Work directory
.c
nc
25
2.5
B62884EN/01
CONFIG.SYS
r.c
om
.c
nc
ce
nt
e
(2) When the system is used under DOS (In the following example, DOS
is already installed in C:DOS.)
DEVICE=C:DOSANSI.SYS
DEVICE=C:DOSEMM386.EXE
DEVICE=C:DOSMSIME.SYS
DEVICE=C:DOSMSIMEK.SYS
(a) ANSI.SYS (required)
The display mode and attributes of the display unit are set. This
setting cannot be omitted.
(b) EMM386.EXE
This device driver enables the use of expansion memory as EMS
memory. When using another EMS driver, refer to the relevant
manual for details of the setting required in CONFIG.SYS.
(c) MSIME.SYS/MSIMEK.SYS
This device driver enables the use of MSKANJI API for
Japaneselanguage input. When using another Japanese
language input system, refer to the relevant manual for details of
the setting required in CONFIG.SYS.
26
B62884EN/01
.c
nc
ce
nt
e
r.c
om
Notes
1 All of the above device drivers are provided as standard with
Windows 95/MSDOS. The specification of switches and
parameters may be required for the above settings. For
details, refer to the windows 95/the MSDOS online 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
B62884EN/01
2.6
FILE
CONFIGURATION
The files constituting system are described below.
File System
ce
nt
e
r.c
om
2.6.1
.c
nc
28
B62884EN/01
2.6.2
The Constitution of
Source Program
SAMPLE
(Note 1)
(Note 1)
nc
ce
nt
e
CONTROL
SYSPARAM
TITLE
XSYMBOL.xxx
MESSAGE
IOMODULE
LEVEL1. #LA
LEVEL2. #LA
LEVEL3. #LA
Pyyy. #LA
Pzzz. #SS
NETCMT.xxx
MCARD
r.c
data
SAMPLE.ERR
SAMPLE.MAP
om
C:
Notes
.c
29
3. OPERATION
OPERATION
.c
nc
ce
nt
e
r.c
om
B62884EN/01
30
3. OPERATION
B62884EN/01
3.1
STARTING THE
LADDER EDITING
PACKAGE
1 Starting the Ladder Editing Package from the DOS command line
(1) Move to the drive and directory where the system software of the
Ladder Editing Package is installed.
(2) Key in FLADDER
Enter
A : >C :
Enter
C : >CD FANUCLEP
Enter
Enter
r.c
C : FANUCLEP>FLADDER
om
ce
nt
e
(3) The online functions are activated as soon as the Ladder Editing
Package is started.
DOS prompt
Online functions
Offline functions
End
nc
End
.c
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
B62884EN/01
(Reference)
OPEN CNC, DOS/Windows, Ladder Editing Package,
extended driver/library
r.c
om
Install DOS/Windows
ce
nt
e
nc
NO
.c
End?
YES
32
3. OPERATION
B62884EN/01
3.2
OVERVIEW OF
OPERATION
3.2.1
The menu screens displayed by the system are structured as shown below.
Start
1
Save PMC parameter
Restore PMC parameter
File
r.c
Online function
Offline function
Diagnose
nc
I/O
Communication
Load program
Store program
Backup program
Communication
.c
ce
nt
e
MSDOS
Exit
om
Menu Structure
33
3. OPERATION
F1
Title
EDIT
F2
Title
PRINT
F3
COMPILE
F4
DECOMPILE
F5
I/O
F6
F8
F9
MNEMONIC EDIT
UTILITY
ONLINE
FUNCTION
END
nc
F10
Parameter
Symbol
Ladder diagram
Step sequence
I/O module
Message
Cross reference list
Bit address map
FA writer
PMC writer
PMC
Handy File
Memory card
Backup
ROM format file
ce
nt
e
PROGRAM
OPTION SETUP
F7
Ladder diagram/
Step sequence
Symbol & comment
Message
I/O module
System parameter
om
Offline function
r.c
(1)
B62884EN/01
.c
34
3. OPERATION
B62884EN/01
3.3
COMMON SYSTEM
OPERATIONS
2 PRINT
[F1]
3 COMPIL 4 DECOMP 5
[F2]
[F3]
[F4]
I/O
[F5]
[F6]
[F7]
9 ONLINE 10 END
[F8]
[F9]
[F10]
Esc
om
function key. The escape key terminates the current screen then
returns the display to the previous screen in the menu hierarchy.
(3) Cursor keys
,
, and
r.c
key together
ce
nt
e
or
key.
Page
Down
and
Page
Up
page, respectively.
nc
Tab
button.
.c
Main menu
Item name
PMC Model
<O>
[C : FLADDER
Current
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.
(8) Popup menu
When the following popup menu appears, the desired process can
be selected using any of the three methods described below.
35
3. OPERATION
B62884EN/01
Update
Quit
Append
1) Cursor movement
or
, such that
om
pressing the
r.c
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 ,
ce
nt
e
respectively.
nc
I1. File
.c
Pressing the
Alt
3. I/O
4. Communication
Function number.
function name Icon for
PMC status indication
(See the section explaning how to start the on
line functions.)
Alt
I1. File
3. I/O
4. Communication
File save
Exit
Using the cursor keys, position the highlight to the desired item on
a functions pulldown menu. A menu item with an arrow mark ( )
at its right edge has its own pulldown menu, which can be displayed
by pressing the
key.
36
Enter
key after
3. OPERATION
B62884EN/01
3.4
ONLINE FUNCTIONS
3.4.1
Overview of the
OnLine Functions
3.4.1.1
om
The online functions are used to perform ladder and signal status
monitoring, display, and modification on the OPEN CNC screen.
[Menu structure]
Outline
r.c
ce
nt
e
PMC
nc
.c
Sequence program
(RAM)
4)
Continuation or end
3)
3) Ladder monitoring
4) Online functions
Sequence program
(RAM)
3)
4)
Diagnosis
File
Relay comment
Net comment
37
Power ON
Sequence program
(FROM)
3. OPERATION
B62884EN/01
3.4.1.2
Starting the OnLine
Functions
The use of the online functions is automatically enabled when the system
is started. Alternatively, the use of the online functions can be selected
in offline mode. For an explanation of online function selection in
offline mode, see Section 3.5.
.c
nc
ce
nt
e
r.c
om
5) Ladder monitoring
Subprogram screen display (automatic)
See Section
3.4.3.1.
Subprogram selection
38
3. OPERATION
B62884EN/01
2. Diagnose
3. I/O
4. Communication
Status
om
Communication
Start
Cancel
r.c
ce
nt
e
F7
F8
F9
F10
Splist Search Symbol Setting
Fig.3.4.1.2 (a)
.c
nc
39
3. OPERATION
B62884EN/01
N : E3160
Store
Disregard
Qiut
Disregard difference.
om
Load
r.c
ce
nt
e
Fig.3.4.1.2 (b)
.c
nc
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 offline
editing.
When the online 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.
(e) Loading from the PMC
After communication with the PMC starts normally, the SET
COMMUNICATION dialog box closes automatically and the
LOAD FROM PMC dialog box is opened in its place.
Load Program
Transfer data type
F LADDER
f ALL
100%
0%
Exec
Abort
Fig.3.4.1.2 (c)
40
Cancel
3. OPERATION
B62884EN/01
om
Note
The online monitoring function of a step sequence
program is not supported.
[Operation]
1) Position the cursor to the desired subprogram by pressing the
2) Press the
key.
Enter
r.c
or
key.
ce
nt
e
Subprogram list
LEVEL 1
LEVEL2
Ok
Cancel
Fig.3.4.1.2 (d)
.c
nc
Displayed position
of icon
1. File
2. Diagnose
3. I/O
4. Communication
1)
Fig.3.4.1.2 (e)
41
2)
3)
3. OPERATION
B62884EN/01
om
Fig.3.4.1.2 (f)
ce
nt
e
r.c
Program on
PMC is stopped.
Fig.3.4.1.2 (g)
.c
nc
Program on
PMC is running.
Communication
is active.
Fig.3.4.1.2 (h)
42
Communication
is not active.
3. OPERATION
B62884EN/01
3.4.2
File
3.4.2.1
Saving PMC Parameter
1. File
om
ce
nt
e
r.c
Fig.3.4.2.1 (a)
File name
nc
C:\DATA\PMC_PRM
.c
0%
100%
Exec
Abort
Execute saving
Abort saving
Input a
saving
file name.
Cancel
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
B62884EN/01
(4) Message
Message
File already exists.
Overwrite?
3.4.2.2
om
Restoring PMC
Parameter
r.c
ce
nt
e
1. File
Fig.3.4.2.2 (a)
nc
.c
File name
C:\DATA\PMC_PRM
0%
100%
Abort
Exec
Execute restoring
Abort restoring
Input a
restoring
file name.
Cancel
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
3. OPERATION
B62884EN/01
r.c
Selecting OffLine
Function from OnLine
Function
The Off-Line function can be selected from the On-Line function. For
details, see 3.5 Off-Line Function.
om
3.4.2.3
1. File
ce
nt
e
Fig.3.4.2.3
3.4.2.4
MSDOS
.c
nc
1. File
Fig.3.4.2.4
45
3. OPERATION
B62884EN/01
3.4.2.5
Exit
1. File
om
r.c
Fig.3.4.2.5(a)
ce
nt
e
Ok
Cancel
Fig.3.4.2.5(b)
preserved by
F7
.c
nc
(3) Operation
(a) Push [OK] button.
1) Online function ends.
2) When there are any modifications which have not been
Yes
No
Fig.3.4.2.5(c)
46
3. OPERATION
B62884EN/01
3.4.3
Diagnose
2. Diagnose
om
r.c
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
3.4.3.1
ce
nt
e
To select the ladder monitor screen, select [2. Diagnose] to display a pull-down
menu, then select [Ladder Monitor].
For [Ladder Monitor], both the ladder monitor function and on-line edit
function can be used.
Ladder Monitor
3.4.3.1.1
.c
nc
Ladder monitor
STATUS : OFF
(Thin line)
STATUS : ON
(Thick line)
47
3. OPERATION
B62884EN/01
1. File
2. Diagnose
[LEVEL1]
D000
D000
3. I/O
4. Communication
NET 0000100006
R0000.1
R0000.0
om
SUB 1
END1
SUB 2
END2
SUB
END
64
ce
nt
e
Shift
r.c
F7
F8
F9
F10
SpList Search Symbol Seting
S+F8
SSet
Fig.3.4.3.1.1(a)
Function
Key to be used
Reference
.c
nc
Home
End
SpList
(c)
Search
(d)
F8 : [Search]
F8
(d)
Symbol
(e)
Setting
(f)
48
3. OPERATION
B62884EN/01
om
Page
Down
Enter
key.
r.c
key or the
Subprogram list
ce
nt
e
LEVEL 1
LEVEL2
.c
nc
Ok
Cancel
Fig.3.4.3.1.1(b)
2) Display information
The following information appears on the subprogram screen.
Ladder (No mark)
Step Sequence
(S mark)
LEVEL 1
LEVEL2
Subprogram No.
Symbol
Fig.3.4.3.1.1(c)
49
Coil comment
3. OPERATION
B62884EN/01
Shift
F8
F8
om
r.c
F8
Example) X0000.0+
F8
symbol +
F8
ce
nt
e
Example) SYMBOL1+
F8
Example) S1+
F8
F8
nc
name +
Example) END1+
.c
D Net number:
F8
F8
netnumber+
Example) 10+
Shift
F8
F8
F8
50
or
key.
Tab
key. To
3. OPERATION
B62884EN/01
Search
Search Data :
X0000. 0
Cancel
r.c
OK
om
Data Kind
F ADDR/SYMBOL
f WRTCOIL
f FUNCTION
f NETNO
Fig.3.4.3.1.1(d)
ce
nt
e
nc
address. When
.c
w
OK
w
w
Address [
Symbol
F9
Relay Comment [
Coil Comment
Cancel
Fig.3.4.3.1.1(e)
D ADDRESS :
51
3. OPERATION
B62884EN/01
F10
r.c
When the
om
key. To change
key.
ce
nt
e
Tab
Display setting
Ladder Mode
F Ladder Monitor
f Signal Trigger
f Online Editor
f Debug Ladder
Function Paramareter
V Display
.c
nc
Fig.3.4.3.1.1(f)
52
OK
Cancel
3. OPERATION
B62884EN/01
3.4.3.1.2
To select the Online Editor screen, select [Ladder monitor] from the [2.
Diagnose] pulldown menu, then press F10 : [Setting]. The Display
setting dialog box appears. In the dialog box, select [Online Editor].
Online editing
Display setting
F Online Editor
f Debug Ladder
r.c
om
Ladder Mode
f Ladder Monitor
f Signal Trigger
ce
nt
e
Function Paramareter
V Display
OK
Cancel
Fig.3.4.3.1.2(a)
.c
nc
53
3. OPERATION
B62884EN/01
1. File
2. Diagnose
3. I/O
4. Communication
Online Editor
[LEVEL1]
NET 0000100006
X0000.0
Y0000.0
X0000.1
X0000.2
Y0000.1
Y0000.2
(S)
X0001.1
Y0000.2
(R)
om
X0001.0
SUB 1
END1
SUB
END
64
(*1)
ce
nt
e
X0000.0
r.c
SUB 2
END2
F1
Shift
F3
(S)
S+F2
S+F3
(R)
nc
.c
w
w
F5
F6
F7
F8
F9
F10
Functn Update Search Symbol Seting
S+F7
Undo
S+F8
SSET
C+F1N
etIns
F4
S+F1
Ctrl
F2
C+F2L C+F3
C+F4
inIns ElmIns Select
C+F5
Cut
C+F6
Copy
C+F7
paste
Fig.3.4.3.1.2(b)
Enter
diagram.
(b) Online editing
Online editing operations (1)
Operation
group
Input mode
modification
Function
Key to be used
Insert mode
Enabling/Cancelling
Insert
Insert mode
Enabling/Cancelling
Delete
Contact/coil
input
(C) 1)
(C) 2)
input
(d) 1)
F1
54
Reference
3. OPERATION
B62884EN/01
Operation
group
Function
Contact/coil
input
Key to be used
input
Shift
Reference
(d) 2)
F1
input
(d) 3)
F2
input
Shift
(d) 4)
F2
input
(S)
(d) 5)
input
(R)
(d) 6)
Shift
Tab
F3
(d) 7)
r.c
Selecting a contact/coil
om
F3
Shift
ce
nt
e
Changing an address
address +
only
Tab
(d) 8)
Enter
Entering a contact/coil
(d) 9)
Enter
Functional
Entering a
instruction input instruction
functional functional
(d) 10)
instructionnumber
+
Line connection
F6
input
(e) 1)
F4
nc
.c
Line deletion
Net, line,
element
insertion
input
(e) 2)
F5
deletion
Delete mode +
F4
Delete mode +
F5
deletion
(e) 2)
Inserting a net
Ctrl
Inserting a line
Ctrl
Inserting a element
Cut and paste Specifying a range
function
F1
(f) 2)
(f) 3)
F3
Ctrl
F4
Ctrl
F5
Ctrl
F6
Ctrl
F7
Copying a net
Pasting a net
(f) 1)
F2
Ctrl
Cutting a net
55
(e) 1)
(g) 1)
(g) 2)
(g) 3)
(g) 4)
3. OPERATION
B62884EN/01
Function
Moving the cursor up or
down
(h) 3)
(h) 4)
End
Page
Down
F8 : [Search]
ce
nt
e
F8
(h) 6)
See
(1),
Ladder
monitor.
See
(1),
Ladder
monitor.
Setting
Switching between
F10 :[Setting]
ladder monitor and
online editing, switching
between symbol display
and comment display,
etc.
See
(1),
Ladder
monitor.
(i) 1)
nc
Symbol
.c
Others
(h) 5)
Page
Up
Shift
(h) 2)
Home
(h) 1)
r.c
Reference
om
Cursor
movement
Key to be used
F7 : [UPDATE]
Shift
(i) 2)
F7
Insert
: Press the
Insert
2) Delete mode
Key
Delete
56
3. OPERATION
B62884EN/01
Cancel
: Press the
Delete
Enter
key.
Key
om
Function : Set
An addressed
2) Set
:
Shift
F1
ce
nt
e
Key
key.
F1
r.c
Function : Set
An addressed
Shift
and
keys.
F1
3) Set
Key
F2
nc
Function : Set
An addressed
key.
F2
.c
4) Set
Key
Shift
F2
Function : Set
An addressed
and
keys.
F2
(S)
Key
F3
Function : Set
An addressed
(S)
(S)
Shift
F3
key.
(R)
Key
Shift
Function : Set
An addressed
+
(R)
(R)
F3
57
Shift
and
F3
keys.
3. OPERATION
B62884EN/01
7) Select Contact/Coil
Key
Tab
Shift
Tab
forward direction.
Shift
changes reverse.
Tab
ce
nt
e
r.c
om
(S)
(R)
: address+
Enter
.c
nc
Key
Enter
F4
F5
58
3. OPERATION
B62884EN/01
Ctrl
F1
[Netlns]
Function : Inserts a single blank net after the net at the cursor
position.
2) Inserting a line
Key
Ctrl
F2
[Lilns]
Key
Ctrl
F3
om
Function : Inserts a single blank line under the line to which the
cursor is positioned.
3) Inserting an element
[Elmlns]
Ctrl
F4
[Select]
ce
nt
e
Key
r.c
.c
nc
Cancel
Ctrl
and
F4
: Press the
Ctrl
and
F4
2) Cutting a net
Key
Ctrl
F5
[Cut]
Ctrl
F6
[Copy]
Ctrl
F7
[Paste]
3. OPERATION
B62884EN/01
(h) Cursor
1) Move cursor Up/Down
Key
screen scrolls.
2) Move cursor to Left/Right
Key
om
screen or press
at
r.c
the left end of the screen, the cursor moves to one line
above and right end. When pressing
at the right
ce
nt
e
end of the screen, the cursor moves one line below and
left end.
At the top.bottom of the screen, the screen scrolls.
3) Move to the top of ladder
Key
Home
End
nc
.c
Key
Page
Up
Page
Down
F7
60
3. OPERATION
B62884EN/01
2) Undo
Key
Shift
F7
r.c
3.4.3.1.3
om
Note
Applying the [Undo] function causes the effects of editing
since the last update to be lost.
ce
nt
e
(2) Operations
(a) Selection of Signal Trigger Screen
Please select Signal Trigger of Ladder Mode by Displaying
setting dialog (F10 key) of the Ladder Monitor screen.
Display setting
Ladder Mode
f Ladder Monitor
F Signal Trigger
f Online Editor
f Debug Ladder
Function Paramareter
V Display
.c
nc
61
OK
Cancel
3. OPERATION
B62884EN/01
1. File
2. Diagnose
3. I/O
4. Communication
Signal Trigger
[LEVEL1]
NET 0000100006
Y0000.1 COMM
ENT
G0500.3
R0900.0
X0010.7
Y0065.7
SUB 1
END1
SUB 2
END2
F1
Exec
F2
F3
Trgsrc Trgprm
Stop
F7
F8
F9
F10
Splist Search Symbol seting
ce
nt
e
* 1996/05/07 15:00:00
r.c
TRIGGER
Y0014.2
om
X0012.5
.c
nc
62
3. OPERATION
B62884EN/01
Trigger Parameter
CheckPoint
F Level1
f END1
f END2
f END3
ce
nt
e
TriggerMode
f ON
F OFF
r.c
65535
Count
om
X1000.0
Address
OK
Init
nc
.c
w
w
w
Cancel
63
3. OPERATION
B62884EN/01
3.4.3.1.4
ce
nt
e
r.c
om
Ladder debugging
function
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.
.c
nc
(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 Signal Trigger
f Online Editor
F Debug Ladder
64
OK
Cancel
3. OPERATION
B62884EN/01
2. Diagnose
3. I/O
4. Communication
Ladder Debug
[LEVEL1]
NET 0000100006
Y0000.1 COMM
ENT
G0500.3
R0900.0
X0010.7
Y0065.7
X0012.5
om
Y0014.2
SUB 2
END2
r.c
SUB 1
END1
ACC : 1
F2
F3
F4
B.Srch Dbgprm Sync.B
F7
F8
F9
F10
Splist Search Symbol Seting
ce
nt
e
F1
Step
[Displaying of Step]
ACC=1
: result of operation
: contents of stack
: overflow
: sign
: zero
( 1 byte )
( 0=NO, 1=YES )
( 0=NO, 1=YES )
( 0=NO, 1=YES )
nc
ACC
STK
OF
SF
ZF
.c
2) Step Operation to execute one net (one circuit) from current position.
F1
Step
F7
F8
F9
F10
Splist Search Symbol Seting
F5
B.Strt
F7
Splist
F8
F9
F10
Search Symbol Seting
65
3. OPERATION
B62884EN/01
1) Stop operation to stop the execution of ladder when a trigger condition specified by signal becomes true.
1. File
2. Diagnose
3. I/O
4. Communication
Ladder Debug
[LEVEL1]
NET 0000100006
Y0000.1 COMM
ENT
G0500.3
R0900.0
Y0065.7
X0012.5
SUB 1
END1
SUB 2
END2
TRIGGER
* 1995/12/20 13:20:59
F7
F8
F9
F10
Splist Search Symbol Seting
ce
nt
e
F1
Exec
(Stop)
Y0014.2
r.c
X0010.7
om
.c
nc
Stop time
COUNT:Trigger checking count
(default 1)
F3
Dbgprm
F7
Splist
F8
F9
F10
Search Symbol Seting
66
3. OPERATION
B62884EN/01
om
Break Control
Mode
F Trigger
Address
V Subprogram
f Scan
r.c
Mode
F Element
f Net
f Block
X1000.0
CheckPoint
ce
nt
e
F Level1
f END1
Count
f END2
f END3
65535
TriggerMode
.c
nc
F ON
OK
Cancel
f OFF
Init
Step
: Step operations (Default)
Break Control : Stop function of break with condition
67
3. OPERATION
B62884EN/01
2) Step/Mode
Step
Mode
om
F Element
f Net
f Block
ce
nt
e
r.c
Element
Step
V SubProgram
nc
is not displayed.
.c
(Check)
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
Trigger
Scan
68
f Scan
3. OPERATION
B62884EN/01
5) Break Control/Address
Break Control
Address
X1000.0
Break Control
CheckPoint
f END2
f END3
ce
nt
e
F Level1
f END1
r.c
om
Address
: Trigger setting address
* When d) Break Control/Mode is Trigger, it is possible
to set this item.
6) Break Control/Check point
nc
.c
Break Control
Count
65535
Default=1
Count
: Trigger Count or Scan Count(1 to 65535)
8) Break Control/Trigger Mode
Break Control
TriggerMode
F ON
f OFF
ON
: Rising edge detection
OFF
: Falling edge detection
* When Break Control/Mode is Trigger, it is possible
to set this item.
69
3. OPERATION
B62884EN/01
om
r.c
ce
nt
e
F1
Step
F2
F3
F4
B.Srch Dbgprm Sync.B
F7
F8
F9
F10
Splist Search Symbol Seting
nc
.c
: Step
: Net
: No Check or Check
F1
Step
F2
F3
F4
B.Srch Dbgprm Sync.B
F7
Splist
F8
F9
F10
Search Symbol Seting
Step Operation to execute one net (one circuit) from current position.
70
3. OPERATION
B62884EN/01
: Step
: Block
r.c
om
F5
B.Strt
F7
Splist
F8
F9
F10
Search Symbol Seting
ce
nt
e
F1
F2
F3
F4
Exec B.Srch Dbgprm Sync.B
(Stop)
nc
.c
F1
F2
F3
F4
Exec B.Srch Dbgprm Sync.B
(Stop)
F5
B.Strt
F7
Splist
F8
F9
F10
Search Symbol Seting
F1
Exec
(Stop)
F2
F3
F4
F5
B.Srch Dbgprm Sync.B B.Strt
F7
Splist
F8
F9
F10
Search Symbol Seting
71
3. OPERATION
B62884EN/01
om
Notes
Normally, transferring to the synchronous buffer is
automatically performed at the beginning of the 2nd level
ladder.
F7
Splist
F8
F9
F10
Search Symbol Seting
r.c
F1
Step
Press F4Sync.B
ce
nt
e
F2
F3
F4
B.Srch Dbgprm Sync.B
F7
Splist
F8
F9
F10
Search Symbol Seting
.c
nc
:
:
:
:
:
:
Break Control
Trigger
Trigger address
Level1 or END1 to 3
1 to 65535
ON or OFF
F1
Exec
(Stop)
F3
Dbgprm
F7
Splist
F8
F9
F10
Search Symbol Seting
72
3. OPERATION
B62884EN/01
: Break Control
: Scan
: 1 to 65535
om
F7
Splist
F8
F9
F10
Search Symbol Seting
r.c
F1
Exec
(Stop)
3.4.3.2
Signal Status Window
ce
nt
e
.c
nc
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
B62884EN/01
Signal Status
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
1
0
0
:
:
:
:
:
:
:
:
:
:
01
80
00
1C
00
00
AA
55
00
00
ON
1
01
om
0
1
0
0
0
0
1
0
0
0
r.c
R00000
R00001
R00002
R00003
R00004
R00005
R00006
R00007
R00008
R00009
Fig.3.4.3.2 (a)
ce
nt
e
Signal Status
OFF
0
R00001
80
.c
nc
WORK1
R00000
R00002
TOOL1
R00003
00
1C
R00004
PMC Address
Byte symbol
Hexadecimal expression
00
Fig.3.4.3.2 (b)
Bit Symbols
F8
Search
F4
Symbol
or
or
F4
Adress
F10
WrtOff
Fig.3.4.3.2 (c)
74
F10
Wrt On
3. OPERATION
B62884EN/01
(3) Operations
Operations on the signal status window is described.
Basic operation
Function
Cursor keys
/
Page
Down
Tab
Shift
om
Page
Up
Move cursor.
Enter
Enter
Enter
F4
address+[Search]
F8
Display/Hide symbols.
ce
nt
e
[Symbol]/[Adress]
r.c
write-protection is unlocked.
[Wrt On]/[WrtOff]
F10
.c
nc
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
Sure to modify ?
75
3. OPERATION
B62884EN/01
3.4.3.3
PMC Parameter sub-menu consists of the menu items for the windows
below.
1) Timer window
2) Counter window
3) Keep relay window
4) Data table control window
5) Data table window
PMC Parameter
om
2. Diagnose
r.c
or
ce
nt
e
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
Timer
Counter
Keep relay
Data table control
Data table
.c
nc
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.
(1) Timer window
Timer window displays the contents of PMC Timer address. You
can examine the contents of PMC Timer address, and you can also
change the values for TMR instruction.
(a) Menu position
To active Timer window, pull down [2. Diagnose] menu, and
select [PMC Parameter] on the menu. Then sub-menu appears
which contains item [Timer] which activates Timer window.
76
3. OPERATION
B62884EN/01
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
om
Timer
Counter
Keep relay
Data table control
Data table
r.c
T00000
T00002
T00004
T00006
T00008
T00010
T00012
T00014
T00016
T00018
600000
0
0
0
0
0
0
0
1000
0
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
nc
ce
nt
e
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
T00020
T00022
T00024
T00026
T00028
T00030
T00032
T00034
T00036
T00038
0
0
0
0
0
0
0
0
0
0
Fig.3.4.3.3 (a)
.c
Timer
TEN_MINUTES
1. T00000
600000
6. T00010
2. T00002
7. T00012
3. T00004
4. T00006
8. T00014
0
ONE_SECOND
9. T00016
1000
5. T00008
10. T00018
Byte symbol
PMC Address
Fig.3.4.3.3 (b)
77
3. OPERATION
B62884EN/01
3) Function keys:
F4
Symbol
F8
Search
F10
Wrt On
or
F4
Adress
F10
WrtOff
om
or
Fig.3.4.3.3 (c)
Basic operation
Cursor keys
/
Function
Move cursor.
Page
Down
ce
nt
e
Page
Up
r.c
(c) Operations
The following table lists the operations supported by the
[TIMER] window.
number +
nc
[Symbol]/[Address]
.c
address + [Search]
Enter
Display/Hide symbols.
F4
F8
number + [Search]
F8
F10
(d) Message
Message
Sure to modify?
78
3. OPERATION
B62884EN/01
2. Diagnose
om
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
r.c
Timer
Counter
Keep relay
Data table control
Data table
ce
nt
e
Address
C00000
C00004
C00008
C00012
C00016
C00020
C00024
C00028
C00032
C00036
.c
nc
No.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Preset/Current
1000 /
347
256 /
129
0/
0
0/
0
0/
0
0/
0
0/
0
36 /
0
0/
0
0/
0
No.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
Address
C00040
C00044
C00048
C00052
C00056
C00060
C00064
C00068
C00070
C00076
Fig.3.4.3.3 (d)
79
Preset/Current
0/
0
0/
0
0/
0
0/
0
0/
0
0/
0
0/
0
0/
0
0/
0
0/
0
3. OPERATION
B62884EN/01
Counter
No. Address
Preset/Current
WORK COUNTER
1. C00000 1000 /
347
No. Address
Preset/Current
0/
om
6. C00020
256 /
129
7. C00024
0/
3. C00008
0/
8. C00028
36 /
4. C00012
0/
9. C00032
0/
5. C00016
0/
10. C00036
0/
r.c
2. C00004
Symbol
ce
nt
e
Fig.3.4.3.3 (e)
3) Function keys :
.c
nc
F4
Symbol
F8
Search
F10
Wrt On
or
or
F4
Adress
F10
WrtOff
Fig.3.4.3.3 (f)
(c) Operations
The table below lists the operations supported by the [COUNTER]
window.
Basic operation
Cursor keys
Page
Up
number +
Function
Move cursor.
Move address area on window.
Page
Down
Enter
[Symbol]/[Address]
80
Display/Hide symbols.
F4
3. OPERATION
B62884EN/01
Basic operation
F8
number + [Search]
F8
F10
om
address + [Search]
Function
(d) Message
Message
r.c
Sure to modify ?
ce
nt
e
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
.c
nc
2. Diagnose
81
Timer
Counter
Keep relay
Data table control
Data table
3. OPERATION
B62884EN/01
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
K00010
K00011
K00012
K00013
K00014
K00015
K00016
K00017
K00018
K00019
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
om
0
0
0
0
0
0
0
0
0
0
r.c
0
0
0
0
0
0
0
0
0
0
ce
nt
e
K00000
K00001
K00002
K00003
K00004
K00005
K00006
K00007
K00008
K00009
Fig.3.4.3.3 (g)
F8
Search
F10
Wrt On
or
F10
WrtOff
Fig.3.4.3.3 (h)
(c) Operations
Basic operation
Cursor keys
Page
Up
Function
Move cursor.
Page
Down
Enter
.c
nc
1) Function Keys :
Enter
Enter
protection is unlocked.
82
3. OPERATION
B62884EN/01
Basic operation
Function
F8
F10
om
address + [Search]
(d) Message
Message
r.c
Sure to modify ?
ce
nt
e
K17
or
K900
#7
#6
#5
#4
#3
#2
DTBLDSP
MEMINP
#1
#0
PRGRAM LADMASK
.c
nc
#7 DTBLDSP
K19
or
K902
#7
#6
#5
#4
#3
#2
#1
#0
FROM-WRT
83
3. OPERATION
B62884EN/01
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
om
Timer
Counter
Keep relay
Data table control
Data table
r.c
ce
nt
e
DATATAABLETOP
D00050
TOOLTABLE
D00200
BCDCONVTABLE
Type
Format
8000
10
20
100
10
byte
word
word
byte
word
Hex
Dec
Dec
Dec
BCD
nc
1.
2.
3.
4.
5.
Number
.c
Start address/
Data size
symbol of the group
Data group number
Number of element
Data format
Protection
on
off
off
off
off
Write-protection
Fig.3.4.3.3 (i)
2) Function keys:
F1
New
F2
Delete
F3
G. Data
F4
Symbol
F8
Search
or
or
F4
Adress
F10
WrtOff
Fig.3.4.3.3 (j)
84
F10
Wrt On
3. OPERATION
B62884EN/01
(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
Cursor keys
Move cursor.
D-address+
number+
Page
Down
Enter
om
Page
Up
Function
Enter
r.c
Enter
ce
nt
e
[New]
F1
[Delete]
F2
F3
nc
[G.Data]
[Symbol]/[Adress]
F4
F8
.c
address+[Search]
Function
number+[Search]
[Wrt On]/[WrtOff]
F10
F8
Display/Hide symbols.
Search address (address can be symbol).
You cannot search any other address than PMC
parameter address, T, C, K and D, at the Data
table control window. When T, C, K or D address
is specified to search, Data table control window
is closed and the special window for the address is
opened with the address at top of window.
Search data group by data group number.
(d) Messages
Message
Sure to modify ?
85
3. OPERATION
B62884EN/01
om
2. Diagnose
ce
nt
e
r.c
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
Timer
Counter
Keep relay
Data table control
Data table
nc
Data table
.c
D00000
D00001
D00002
D00003
D00004
D00005
D00006
D00007
D00008
D00009
D00010
D00011
D00012
D00013
D00014
D00015
D00016
D00017
D00018
D00019
C0
FE
80
FD
00
FB
00
F6
00
EC
D00020
D00021
D00022
D00023
D00024
D00025
D00026
D00027
D00028
D00029
00
D8
00
B0
00
00
00
00
00
00
Fig.3.4.3.3 (k)
Data format
Number of element
and data size
86
Write-protection
3. OPERATION
B62884EN/01
D00001
FF
D00006
D00002
EC
D00007
D00003
FF
D00008
D00004
D8
D00009
Cursor
D00010
C0
B0
D00011
FE
FF
D00012
80
60
D00013
FD
FF
D00014
00
ce
nt
e
Symbol
Address
FF
om
D00005
r.c
DATTABLETOP
D00000
F6
Fig.3.4.3.3 (l)
3) Function keys:
.c
nc
F3
F4
C. Data Symbol
F8
Search
F10
Wrt On
or
or
F4
Adress
F10
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
Up
Page
Down
Tab
Shift
number+
Enter
Tab
87
3. OPERATION
B62884EN/01
Basic operation
Function
Changes the keep relay signal status. Pressing
Enter
the
Enter
Enter
enabled state.
[Symbol]/[Adress]
Display/Hide symbols.
F4
address+[Search]
F8
number+[Search]
om
F3
ce
nt
e
F8
r.c
[C.Data]
[Wrt On]/[WrtOff]
F10
Data table
byte
Decimal
word
BCD
-2,147,483,648 to 2,147,483,647
0 to 99
0 to 9,999
0 to
99,999,999
00 to FF
0000 to FFFF
00000000 to
FFFFFFFF
nc
Hexadecimal
double-word (dword)
(d) Messages
Message
.c
Sure to modify ?
88
3. OPERATION
B62884EN/01
3.4.3.4
om
2. Diagnose
ce
nt
e
r.c
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
.c
nc
ALARM NOTHING
OK
Fig.3.4.3.4 (a)
(3) Operation
Press
Enter
Space
or
box.
(4) Messages
The alarm messages same as PMCs 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 (B61863E)
89
3. OPERATION
B62884EN/01
3.4.3.5
2. Diagnose
r.c
om
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
ce
nt
e
Status
Series/Edition
****/**
****/**
SCAN TIME
CUR
MAX
MIN
Date/Time
00/00/00
00:00:00
.c
nc
PMC TYPE
PMC-***
0ms
0ms
0ms
Series/Edition of PMC
Series/Edition of ladder Editing Card
Month/Date/Year
Hour:Minute:Second
Fig.3.4.3.5 (a)
90
3. OPERATION
B62884EN/01
Executing or Stopping a
Program
2. Diagnose
om
3.4.3.6
ce
nt
e
r.c
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
nc
.c
Yes
No
Fig.3.4.3.6 (a)
91
3. OPERATION
B62884EN/01
No
om
Yes
Fig.3.4.3.6 (b)
r.c
3.4.3.7
nc
ce
nt
e
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.
.c
(2) Operations
(a) Selection of Signal Trace Screen
Please select Signal Trace from the menu of 2.Diagnose.
2. Diagnose
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
92
3. OPERATION
B62884EN/01
Signal Trace
0000
0001
0002
0003
0004
0005
0006
0007
6
F
f
f
f
f
f
f
f
X0000(01111111)
4
3
2
5
F
f
F
f
f
f
f
f
F
F
F
f
f
f
f
f
F
f
f
f
f
f
f
f
F
F
f
f
f
f
f
f
F1
EXEC
STOP
F
F
f
f
f
f
f
f
0
f
f
f
f
f
f
f
f
Value
F
F
F
f
f
f
f
f
FDH
2DH
60H
00H
00H
00H
00H
00H
om
No.
r.c
F3
PARAM
Page
Up
, and
Page
Down
key
ce
nt
e
nc
.c
MODE
f 1 BYTE
f 2 BYTES (Consecutive Address)
F 2 BYTES (Two Address not Consecutive)
ADDRESS 1
ADDRESS 2
F PMC ADDRESS
f PHY ADDRESS
f PMC ADDRESS
F PHY ADDRESS
X0000
FFE480
7654 3210
MASK
7654 3210
1111 1111
V MAX DISPLAY
MASK
OK
1111 1111
Cancel
3. OPERATION
B62884EN/01
r.c
om
Address type
PMC address (symbol is also
acceptable)
Physical address
Trace address
Sets address at which a signal is
traced by specifiedaddress type.
Mask data
Sets a masked bit or bits (signals can
be read with unnecessary bits
masked)
ce
nt
e
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)/
B61863E1 and operate carefully not to specify an illegal
memory address.
.c
nc
(Check)
94
3. OPERATION
B62884EN/01
3.4.3.8
Signal Analysis Function
om
(2) Operations
(a) Selection of Signal Analysis Screen
2. Diagnose
ce
nt
e
r.c
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
Signal analysis
Condition
: TriggerON
Trigger Mode : ABOUT
nc
R0901.0
.c
R0901.1
R0901.2
R0901.3
512
Start Time
F1
Exec
STOP
1024(msec)
1996/01/30 10:11:12
F2
F3
T.Srch Sgnprm
Stop Time
1996/01/30 10:11:22
F6
Exchg
F10
SgnSet
95
3. OPERATION
B62884EN/01
Analysis Parameter
Condition
f Start
F TriggerON
f TriggerOFF
(sec)
Trigger Address
TriggerMode
f AFTER
F ABOUT
f BEFORE
f ONLY
SignalAddress
2:
X0000.1
3:
X0000.2
5:
R0900.0
r.c
X0000.0
6:
R0900.1
7:
R0900.2
ce
nt
e
1:
4:
X0000.3
8:
R0900.3
Cancel
Init
nc
OK
*ESP
om
10
Sampling Time
(Next Page)
.c
SignalAddress
9:
X0000.4
13:
R0900.4
10:
X0000.5
14:
R0900.5
11:
X0000.6
15:
R0900.6
12:
X0000.7
16:
R0900.7
96
3. OPERATION
B62884EN/01
om
Notes
1 Condition 1 and 2 are effective when a trigger address is
specified.
r.c
.c
nc
ce
nt
e
0 : AFTER
In this mode, signal status are
obtained in the period specified in
the SAMPLING TIME from the
time when the trigger conditions
are satisfied.
1 : ABOUT
In this mode, signal status are
obtained in the period specified in
the SAMPLING TIME with the
time at the middle when the trigger
conditions are satisfied.
2 : BEFORE
In this mode, signal status are
obtained in the period specified in
the SAMPLING TIME before the
trigger conditions are satisfied.
3 : ONLY
In this mode, the signal states are
obtained only when the trigger
conditions are satisfied.
Notes
2 Trigger mode 1 is effective when condition 1 is set.
Trigger mode 2 is effective when condition 2 is set.
5) Signal Address . . . Specify up to 16 addresses at which the
tracing is performed with PMC
addresses or symbol names.
Please select [OK] when setting is completed.
Please select [Cancel] or press the Esc key when you cancel
setting.
When [Init] is selected, parameter and trace data of Signal
Analysis Function is initialized.
(c) Setting of Signal Analysis Screen
Analysis setting dialog is displayed by pressing F10SgnSet.
97
3. OPERATION
B62884EN/01
Analysis setting
Scale
f 8 msec
F 16 msec
f 32 msec
om
Address/Symbol
F Symbol
f Address
r.c
DisplayMode
V Max Display
ScrollMode
V Scale(msec/Times)
Cancel
ce
nt
e
OK
8 8 msec/divisions
16 16msec/
32 32msec/
.c
nc
(No check)
Half screen display (four points)
X
(Check)
(Check)
98
3. OPERATION
B62884EN/01
with
or
om
Please select [Cancel] or press the Esc key when you cancel
setting.
(d) Starting or stopping of data sampling
Please press F1Exec 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 F2T.SRCH key displays the trace data.
(Example) Entering 800, then pressing F2T.SRCH key
displays the waveform from 512 ms to 1024 ms.
(f) Exchanging positions at which traced data is displayed.
Pressing the F6Exchg key moves the cursor to the first traced
address.
Move the cursor to an address to be displayed at different position
key and press SELECT key. Move the cursor
ce
nt
e
r.c
.c
nc
F6
Exchg
F6
F7
Select Cancel
F6
To
F7
Cancel
F6
Exec
F7
Cancel
99
3. OPERATION
B62884EN/01
3.4.3.9
Display System
Information
om
2. Diagnose
ce
nt
e
r.c
Ladder Monitor
Signal Status
PMC Parameter
PMC alarm status
PMC Status
RUN/STOP the program
Signal Trace
Signal Analysis
System Information
Enter
Space
or
box.
.c
nc
System Information
Fig.3.4.3.9 (a)
Notes
1 The online 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
online monitor driver.
2 While the online 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
3. OPERATION
B62884EN/01
3.4.4
Input/Output
3. I/O
Load program
Store program
Backup program
om
3.4.4.1
nc
Loading of Program
ce
nt
e
r.c
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.).
.c
3. I/O
Load program
Store program
Backup program
101
3. OPERATION
B62884EN/01
Load program
Transfer data type
F LADDER
f ALL
100%
Exec
Abort
Abort loading
Execute loading
Load
program
size
indicator
om
0%
Cancel
r.c
Fig.3.4.4.1 (a)
ce
nt
e
(3) Operation
Tab
Enter
key.
Once the program has been loaded normally, the dialog box closes
automatically.
3.4.4.2
nc
.c
3. I/O
Load program
Store program
Backup program
102
3. OPERATION
B62884EN/01
Store program
Transfer data type
F LADDER
f ALL
100%
Exec
Abort
Abort storing
Cancel
r.c
Execute storing
Loading
program
size
indicator
om
0%
Fig.3.4.4.2 (a)
ce
nt
e
(3) Operation
Tab
Enter
key.
Once the program has been stored normally, the dialog box closes
automatically.
.c
nc
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
Program Backup
A program stored in the PMC or which has been edited with the online
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.
(1) Menu position
To display the program backup dialog box, first display the
pulldown menu for [3.I/O], then select Backup program
103
3. OPERATION
B62884EN/01
3. I/O
Load program
Store program
Backup program
r.c
om
ce
nt
e
Exec
nc
Executes backup.
Cancel
Fig.3.4.4.3 (a)
Backup program
.c
Exec
Executes backup.
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
3. OPERATION
B62884EN/01
Esc
key.
om
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.
3.4.5
r.c
Communication
ce
nt
e
4. Communication
Communication
.c
nc
status
Start
Cancel
Fig.3.4.5 (a)
105
Start or stop
communication
Close
communication dialog
box
3. OPERATION
B62884EN/01
3.4.6
Examples of Operation
3.4.6.1
(1) Starting the online functions
When the system is started, the online functions, and
communication are automatically started.
1. File
2. Diagnose
3. I/O
om
Monitoring a Ladder
4. Communication
Communication
r.c
Status
Start
ce
nt
e
Cancel
F7
F8
F9
F10
Splist Search Symbol Seting
Fig.3.4.6.1 (a)
.c
nc
Load
Store
Disregard
Quit
Disregard difference.
Fig.3.4.6.1 (b)
106
3. OPERATION
B62884EN/01
Subprogram list
om
r.c
LEVEL 1
LEVEL 2
P00001 (OPEN RIGHT DOOR )
P00002 (OPEN LEFT DOOR )
S P00010 (GRIP WORK PEICE )
P00011 (PUT WORK PIECE )
P00021 (CLOSE RIGHT DOOR)
P00022 (CLOSE LEFT DOOR )
Cancel
ce
nt
e
OK
Fig.3.4.6.1 (c)
or
subprogram to be displayed.
Enter
key.
nc
.c
1. File
2. Diagnose
3. I/O
4. Communication
Ladder Monitor
[LEVEL1]
NET 00001-00006
R0000.1
D000
R0000.0
D000
SUB 1
END
F7
F8
F9
F10
SpList Search Symbol Seting
Fig.3.4.6.1 (d)
107
3. OPERATION
B62884EN/01
or OFF (0). They are displayed with thick or thin line according
to their status as follows.
OFF (0)
Thick
Thin
Thin
Thick
Thick
Thin
om
ON (1)
Thick
Thick
(R)
Thick
Thin
Thin
r.c
(S)
Thin
Page
Up
Page
Down
Function key
F8
ce
nt
e
nc
Display setting
Ladder Mode
F Online Editor
F Symbol
f Address
f Relay Comment
f Symbol & Address
f Relay Comment & Address
f Relay Comment & Symbol
OK
Function Parameter
j Display
.c
f Ladder Monitor
Cancel
Fig.3.4.6.1 (e)
108
Enter
3. OPERATION
B62884EN/01
-OFF
-
RST
SUB 36
0002
ADDB
TCTRL-1
ACT
TCNT-1
[
12]
om
0000000001
NXT-TCNT
[
TCNT-1
r.c
Contents of address
13]
Contents of address
NXT-TCNT
ce
nt
e
Fig.3.4.6.1 (f)
Enter
RST
nc
R9091.0
ACT
R0112
[
12]
0000000001
R0114
[
w
w
0002
ADDB
.c
R0103.2
SUB 36
13]
Fig.3.4.6.1 (g)
109
3. OPERATION
B62884EN/01
Status
Series/Edition
4066/10
SCAN TIME
CUR
MAX
MIN
0ms
0ms
0ms
ce
nt
e
r.c
Date/Time
00/00/00
00:00:00
om
PMC TYPE
PMC-RB4
Fig.3.4.6.1 (h)
nc
.c
Ok
Fig.3.4.6.1 (i)
110
3. OPERATION
B62884EN/01
Program on
PMC is running.
Program on
PMC is stopped.
ce
nt
e
r.c
om
Communication
is active.
Communication
is stopped.
.c
nc
Signal Status
G00000
G00001
G00002
G00003
G00004
G00005
G00006
G00007
G00008
G00009
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
:
:
:
:
:
:
:
:
:
:
Fig.3.4.6.1 (n)
111
00
00
00
00
00
00
00
00
00
00
3. OPERATION
B62884EN/01
F4
Symbol
F8
Search
F10
Wrt On
or
or
F4
Adress
F10
WrtOff
om
Fig.3.4.6.1 (o)
F8
r.c
ce
nt
e
Signal Status
R00000
R00001
R00002
R00003
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
:
:
:
:
42
00
00
00
R00009
00
nc
Fig.3.4.6.1 (p)
.c
Function key
F4
F4
bit symbols
byte symbol
Signal Status
ON OFF
1
0
:
CONST
R00000
R00001
00
R00004
00
Fig.3.4.6.1 (q)
112
42
3. OPERATION
B62884EN/01
F10
F10
changes to [WrtOff].
r.c
om
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.
(e) Changing status
ce
nt
e
Page
Down
Enter
Page
Up
Enter
and
key to
which was OFF, and turns a signal status OFF which was ON.
Signal Status
nc
CONST
R00000
42
R00001
02
R00004
00
.c
w
w
w
ON OFF
1
0
:
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.
(f) Enabling write-protection again
Press function key
F10
113
F10
3. OPERATION
B62884EN/01
r.c
om
ce
nt
e
Backup program
Exec
Cancel
.c
nc
Fig.3.4.6.1 (s)
Esc
key.
OK
Fig.3.4.6.1 (t)
114
Cancel
3. OPERATION
B62884EN/01
3.5
OFF-LINE FUNCTION
3.5.1
When OffLine Function is selected from the online function menu, the
following offline menu screen appears.
General
om
[C: DATASAMPLE ]
EDIT
PRINT
COMPILE
DECOMPILE
I/O
PROGRAM OPTION SETUP
MNEMONIC EDIT
UTILITY
ONLINE FUNCTION
END
ce
nt
e
r.c
F1 KEY :
F2 KEY :
F3 KEY :
F4 KEY :
F5 KEY :
F6 KEY :
F7 KEY :
F8 KEY :
F9 KEY :
F10 KEY :
[C: FLADDER]
EDIT 2 PRINT
3 COMPIL 4 DECOMP5
I/O
END
3.5.2
nc
Editing
.c
(1) Start
[Operation]
1) Select [EDIT] from the main menu indicated below.
OFFLINE MENU
[C: FLADDER]
[C: DATASAMPLE ]
F1 KEY :
F2 KEY :
F3 KEY :
F4 KEY :
F5 KEY :
F6 KEY :
F7 KEY :
F8 KEY :
F9 KEY :
F10 KEY :
EDIT 2 PRINT
EDIT
PRINT
COMPILE
DECOMPILE
I/O
PROGRAM OPTION SETUP
MNEMONIC EDIT
UTILITY
ONLINE FUNCTION
END
3 COMPIL 4 DECOMP5
I/O
115
END
3. OPERATION
B62884EN/01
1 TITLE
om
TITLE
LADDER DIAGRAM
SYMBOL & COMMENT
MESSAGE
I/O MODULE
SYSTEM PARAMETER
END
r.c
F1 KEY :
F2 KEY :
F3 KEY :
F4 KEY :
F5 KEY :
F6 KEY :
F10 KEY :
[C: FLADDER]
10
END
ce
nt
e
1)
2)
3)
4)
5) EDITION NO
6) PROGRAM DRAWING NO
7) DATA OF PROGRAMMING
:
:
:
8) PROGRAM DESIGNED BY
9) ROM WRITTEN BY
:
:
10) REMARKS
nc
.c
w
w
w
[C: FLADDER]
10
END
(2) Termination
[Operation]
1) Select [END] or press the
Esc
116
3. OPERATION
B62884EN/01
om
3.5.2.1
r.c
ce
nt
e
(1) Start
[Operation]
1) Select [TITLE] on the editing menu screen.
2) The following title editing screen appears:
EDIT (TITLE)
1)
2)
3)
4)
.c
nc
5) EDITION NO
6) PROGRAM DRAWING NO
7) DATA OF PROGRAMMING
[C: FLADDER]
8) PROGRAM DESIGNED BY
9) ROM WRITTEN BY
:
:
10) REMARKS
10
END
Fig.3.5.2.1
(2) Input
[Operation]
1)
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
B62884EN/01
PROGRAM DRAWING NO
DATE OF PROGRAMMING
PROGRAM DESIGNED BY
ROM WRITTEN BY
REMARKS
:
:
:
:
:
32 characters
16 characters
32 characters
32 characters
32 characters
(3) Termination
[Operation]
Esc
screen.
2) The following message appears.
F1
F2
F3
om
r.c
3) Press the desired function key. The system returns to the editing
menu.
Ladder Diagram/Step
Sequence Editing
ce
nt
e
3.5.2.2
LEVEL1 j
P1
j
P8
j
P21
j
j
j
P101 j
LEVEL2 j LEVEL3
P2
j P4
j P5
P9
j P14
j P15
P22
j P24
j P25
j
j
j
j
P202 j]P304 j]P405
j P6
j P16
j P26
j
j
j]P406
j P7
j P17
j P27
j
j
j]P407
.c
nc
j
j
j
j
j
j
j
SprogP1
1 ADRESS 2
6 DELETE 7
9 NEW
10 ZOOM
Display by [ZOOM] or
LEVEL1
ladder diagram
LEVEL2
ladder diagram
LEVEL3
Pxxx
a subprogram
ladder diagram
j] Pxxx
a subprogram
Pxxx
a duplicate subprogram
118
Enter
3. OPERATION
B62884EN/01
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 ].
r.c
om
Page
Down
ce
nt
e
Page
Up
Meaning of display
nc
EDIT
:
(LADDER/STEP SEQUENCE) :
PMC-RC4 (STEP SEQ)
:
[A:FLADDER
:
Editing screen
The list screen of subprogram
Setting a model
Current directory
.c
jLEVEL1
jLEVEL2
jLEVEL3
j]P0002
j P0004
j P0005
j P0006 j P0007
119
3. OPERATION
B62884EN/01
Ladder
Step sequence
key. Alternatively,
om
Enter
key.
r.c
ce
nt
e
Enter
key. To
cancel the results of the previous editing session and edit the
subprogram from its original state, enter N .
Enter
key.
nc
.c
[C: DATASAMPLEP1.#LA]PMCRC4
SUB71
SP
P0001
R000.0 ACT
SUB 8
MOVE
1100
0111
D000
D010
AD=X0.0
CCO=TEST DATA NO.1
CO=SAMPLE
00001 RC0=RELAY SAMPLE
1
5 function 6
(a)
(b)
(c)
P0001
Y000.0
X000.0
w
w
<0>[C:FLADOER]
000014/000014
000012
8
(d)
10 comand
120
3. OPERATION
B62884EN/01
(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.
AD=X000.0 :
2)
SY=SAMPLE:
00001
Symbol data
Total number of symbols
3)
RCO=RELAY
SAMPLE
:
00012
r.c
ce
nt
e
4)
om
1)
1)
2
2) [COMAND]
2 Delnet
5)
5 function
3 Insert
4 Adress
5 Search
.c
1 insnet
nc
6)
6 Copy
7)
7 Move
8)
or
8 File
8)
or
10 comand
[comand]
9 syEdit
9)
10 Zoom
10)
(R)
5 netcmt
6 page
10
(S)
3) Under condition 1), holding down [SHIFT] lets you select the following items.
1
4) Under condition 2), holding down [SHIFT] lets you select the following items.
5 Gsrch
10 List
3 search
4 cdown
5 cup
7 exclud
10
3 Inselm
10
5) [Delnet]
1 exec
2 cancel
6) [Insert]
1 Insnet
2 Inslin
121
2)
3. OPERATION
B62884EN/01
7) [Search]
1 top
2 bottom
3 srch
4 wsrch
5 nsrch
6 ssrch
7 cdown
8 cup
10
4 cdown
5 cup
10
8) [Copy] / [Move]
2 cancel
3 search
1 to
*
2 cancel
3 search
4 cdown
5 cup
6 to[1]
7 toorg
om
1 until
10
2 cancel
ce
nt
e
1 exec
r.c
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]
9
10
.c
nc
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
3. OPERATION
B62884EN/01
X0.1
D30.2
F14.2
Y52.7
om
X2.4
ce
nt
e
r.c
[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
.c
nc
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.
Enter
key.
key.
123
3. OPERATION
B62884EN/01
Enter
key.
MOVE
fff.f
(1)
ffff
(2)
ffff
(3)
ffff
(4)
ffff
r.c
ACT
om
(SUB 8)
Control condition
ce
nt
e
Output address
Input data address
Loworder 4bit logical
multiplication data
MOVE
ffff
ffff
ffff
ffff
(1)
(2)
(3)
(4)
.c
nc
SUB 8
[Operation]
1) Enter a control condition.
Press [
]. Next, enter an address and bit data, then
press the
Enter
Enter
Enter
key. The
Enter the
124
3. OPERATION
B62884EN/01
nc
ce
nt
e
r.c
om
.c
1 line
2 lines
125
3. OPERATION
B62884EN/01
RST
ACT
SUB 36
ADDB
1004
R000
R010
om
R020
RST
SUB 11
PARI
R100
nc
ce
nt
e
ACT
r.c
O.E
SUB 49
DISP
0011
0003
.c
ACT
D300
000
003
006
009
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
126
3. OPERATION
B62884EN/01
RST
SUB 27
CODB
ACT
0005
0007
D300
000
002
004
00000000
00000000
00000000
om
D320
00000000
00000000
ce
nt
e
r.c
SUB 49
DISP
nc
Net A
0011
0003
D300
000
003
006
009
Net B
.c
Net C
0000
0000
0000
0000
0000 0000
0000 0000
0000 0000
0000
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
B62884EN/01
r.c
om
ce
nt
e
Display
screen
RST
SUB 8
.c
nc
MOVE
Number of MOVE
instruction lines =
number of parameters
(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
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
3. OPERATION
B62884EN/01
SUB 27
ACT CODB
Number of CODB
instruction lines = 55
ce
nt
e
Display
screen
0004
0200
4 bytes
200 data tables
r.c
RST
om
.c
nc
<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
B62884EN/01
r.c
om
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.)
ce
nt
e
1 insnet
2 Delnet
nc
[Insert]
3 Insert
.c
1 insnet
2 inslin
Esc
key.
4 Adress
5 Search
6 Copy
7 Move
8 File
9 syEdit
10
10
3 inselm
To be added
130
3. OPERATION
B62884EN/01
To be added
Cursor
om
[Operation]
1) Move the cursor to the position shown above.
ce
nt
e
r.c
2) Press [
] to delete the vertical line to the left
extending upward. This disappears.
3) Press [
] to create a vertical line extending upward
]. A
to the right of the cursor, then press [
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
.c
nc
To be added
131
3. OPERATION
B62884EN/01
Enter
key.
6) Press the [
om
r.c
ce
nt
e
Cursor
.c
nc
Cursor
Cursor
132
3. OPERATION
B62884EN/01
] :
] :
r.c
om
(ii) Use the [Delnet] key to delete a program net (section from an
RD instruction to a WRT instruction).
ce
nt
e
[Delnet]
1 exec
2 Delnet
3 Insert
4 Adress
5 Search
6 Copy
7 Move
8 File
9 syEdit
10
3 search
4 cdown
5 cup
7 exclud
10
2 cancel
.c
nc
[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:
1 Insnet
[Search]
1 top
2 Delnet
3 Insert
4 Adress
5 Search
6 Copy
7 Move
8 File
9 syEdit
10
3 srch
4 wsrch
5 nsrch
6 scrch
7 cdown
8 cup
10
2 bottom
133
3. OPERATION
B62884EN/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.
ce
nt
e
r.c
om
(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
F54.1
nc
X2.0
D35.3
.c
G17.2
X4.2
X14. 0
F54.1
X0. 4
X0. 5
Y52.3
Esc
key.
G11.6
Y49.1
D32.0
G43.1
D21.2
134
3. OPERATION
B62884EN/01
ce
nt
e
r.c
om
.c
nc
135
3. OPERATION
B62884EN/01
om
r.c
key
Esc
ce
nt
e
6)
7)
8)
cursor
1)
displaying on
the screen
Whole
program
one of
subprograms
2)
3)
nc
4)
D Searching result
.c
5 function
or
or
10 comand
[comand]
136
3. OPERATION
B62884EN/01
2) [comand]
1 insnet
2 Deinet
3 Insert
4 Adress
5 Search
6 Copy
7 Move
8 File
9 syEdit
10
5 Gsrch
10 List
4)
1
3 srch
4 wsrch
6 ssrch
9 cancel
10
+ [COMMAND])
r.c
(Shortcut command is G
om
[Gsrch]
ce
nt
e
Esc
or [cancel]
w
w
w
Esc
- [cancel]=
.c
nc
137
3. OPERATION
B62884EN/01
om
[to fil]
r.c
[Copy]
Range to be
copied
[until]
Specified file
Fig.3.5.2.2 (b)
2 Deinet
3 Insert
4 Adress
5 Search
6 Copy
7 Move
8 File
9 syEdit
10
ce
nt
e
1 insnet
[Copy]
1 until
2 cancel
3 search
4 cdown 5 cup
10
1 to
2 cancel
3 search
4 cdown 5 cup
6 tofil
7 toorg
10
.c
nc
[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, [cup], [cdown], or [search] key.
The selected nets are displayed in yellow.
Alternatively, enter a numeric value and press the [cup] or
[cdown] 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 [tofil] key
(Copying the net or nets into another file)
1) Press the [tofil] key. The following message is
displayed.
138
3. OPERATION
B62884EN/01
Enter
key.
om
F1
F2
ce
nt
e
F2
F3
r.c
Note
Incorrect nets cannot be copied.
.c
nc
1 insnet
2 Delnet
3 Insert
4 Adress
5 Search
6 Copy
7 Move
9 syEdit
10
[Move]
1 until
8 File
2 cancel
3 search
4 cdown 5 cup
10
2 cancel
3 search
4 cdown 5 cup
6 tofil
7 toorg
10
1 to
[Operation]
Substituting [Move] for [Copy], follow steps 1) to 6) for
copying.
Note
Incorrect nets cannot be moved.
139
3. OPERATION
B62884EN/01
View screen
[VIEW]
File to be
combined
Input
Edit
[TO]
Combine
r.c
Section to be
edited
File to be
combined
(view file)
om
[TO]
Combine
File being
edited
(original file)
Source
file
Edited file
to be
combined
ce
nt
e
nc
2 Delnet
.c
1 Insnet
3 Insert
4 Adress
5 Search
6 Copy
7 Move
8 File
9 syEdit
10
RC4
[C: DATASAMPLEP1.#LA]PMCRC4
SUB71
SP
<0>[C:FLADOER]
NET 0000100003 STEP 00010/32000 EMS
P0001
P0001
Y000.0
X000.0
AD=X0.0
CCO=TEST DATA NO.1
CO=SAMPLE
00001 RC0=RELAY SAMPLE
1
5 function 6
000014/000014
000012
8
10 comand
140
3. OPERATION
B62884EN/01
om
<POPUP menu>
(View)
Shows the ladder diagram
of the file to be combined
(View screen)
nc
(To)
ce
nt
e
(Cancel)
r.c
.c
Press the
<POP UP menu>
(Save)
Cancels the
edited data
Esc
*1
(Edit)
(Temp)
Returns to the
ladder diagram
screen (The view
screen is continued.)
141
3. OPERATION
B62884EN/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.
F1
F2
F3
To
View
Cancel
om
ce
nt
e
r.c
key.
nc
F1
F2
F3
To
View
Cancel
w
w
Esc
To
.c
F1
F2
F3
F4
F5
To
View
Rename & Save
Edit
Create Latemp file
142
3. OPERATION
B62884EN/01
key.
3 search
4 cdown
5 cup
6 tofil
7 toorg
10
om
1 to
r.c
F1
F2
ce
nt
e
1 Insnet
2 Delnet
3 Insert
4 Adress
5 Search
6 Copy
7 Move
8 File
9 syEdit
[syEdit]
2 cancel
3 search
4 cdown
5 cup
6 tofil
7 toorg
10
[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
.c
nc
1 to
10
right part of the screen. Edit the symbol and press the
Enter
143
3. OPERATION
B62884EN/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.
om
(m) ZOOM
Subprograms called by the currently selected programs issuing
of a CALL/CALLU instruction can easily be referenced and
edited.
r.c
key.
ce
nt
e
Enter
R001.0 ACT
SUB65
CALL
P001
.c
nc
Esc
144
3. OPERATION
B62884EN/01
om
5 function
ce
nt
e
r.c
(i) Operation
The command List is operated with the following function
key.
1)
8
or
or
10 comand
[comand]
2) [comand]
1 insnet
2 Delnet
3 Insert
4 Adress
5 Search
6 Copy
7 Move
8 File
9 syEdit
10
nc
5 Gsrch
.c
(Shortcut command is
10 List
+ [COMMAND])
R100.1.0 R1000.2
R120.3
R100.1.0 R1000.2
Shift
+[netcmt].
Y2000.4
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
B62884EN/01
Y2000.4
R100.1.0 R1000.2
R120.3
Y23.4
r.c
R100.1.0 R1000.2
om
character cursor
ce
nt
e
Esc
.c
nc
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.
(iii) To modify Net comment
1) Place the cursor on the Net comment which you want to
modify and press
Shift
+[netcmt] or
Enter
*)
*)
[inslin] will shift lines at the cursor and after down by one
line, and make a blank line at the cursor position.
(* Net comment is written in here.
(*
(* All characters you can enter are available.
(*
146
*)
*)
*)
*)
3. OPERATION
B62884EN/01
*)
*)
*)
*)
om
[dellin] will delete whole one line at the cursor and shift
lines after the cursor up by one line.
(* Net comment is written in here.
(* All characters you can enter are available.
*)
*)
or
Esc
r.c
ce
nt
e
.c
nc
Shift
+[netcmt] or
Enter
147
3. OPERATION
B62884EN/01
Shift
+[ page ].
Y2000.4
R100.1.0 R1000.2
R120.3
Y23.4
om
R100.1.0 R1000.2
2) Lines at the cursor and after are shifted down, and the
mark of New page is inserted.
R100.1.0 R1000.2
r.c
Y2000.4
R120.3
ce
nt
e
<New page>
R100.1.0 R1000.2
Y23.4
nc
.c
1) Press the
Esc
or
or
10 comand
148
3. OPERATION
B62884EN/01
Esc
ce
nt
e
r.c
om
Esc
nc
Enter
.c
as shown below:
149
3. OPERATION
B62884EN/01
P2
P10
S3
P3
S4
S11
P11
S15
P13
S13
P14
S14
P15
S20
P20
L2
S21
P21
S23
P22
S24
L4
S30
P30
om
S10
S31
P23
P31
L2
S23
r.c
]S2
11
ce
nt
e
(Note )
11
21
31
12
22
32
.c
nc
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.
]S2
[
j
[
[j]
[
j]
[
|
[ JMP
]
]
]
]
]
[V]
:
:
:
:
:
S10
V]
S20
5 JMP
Step subprogram
Initial step subprogram
Block step subprogram
Line for link
Jump to label
6 LBL
[
[
[
[
[
LBL
FUNC
CHK
ZOOM
S30
]
]
]
]
]
8 FUNC
:
:
:
:
:
9 CHK
10 ZOOM
150
3. OPERATION
B62884EN/01
P2
[
[
[
[
[
[
[
[
[
= =
|
= =
FUNC
CHK
ZOOM
]
]
]
]
]
]
]
]
]
:
:
:
:
:
:
:
:
:
==
P13
==
P20
L2
P30
8 FUNC
9 CHK
10 ZOOM
Transition
Divergence of selective sequence
Divergence of simultaneous sequence
Line for link
Convergence of selective sequence
Convergence of simultaneous sequence
Various functions
Grammatical checking
Zooming into a subprogram
om
P10
ce
nt
e
r.c
S1
STEP : S1
ACTION :
[V]
nc
V]
5 JMP
6 LBL
11
8 FUNC
9 CHK
10 ZOOM
.c
S1
P10
STEP : S1
ACTION : P10
11
151
Enter
key to change
3. OPERATION
B62884EN/01
S1
STEP : S10
ACTION : P10
11
om
]S1
r.c
P100
ce
nt
e
ACTION :
==
==
8 FUNC
9 CHK
12
10 ZOOM
]S1
ACTION : P100
12
.c
nc
P100
]S1
==
==
8 FUNC
9 CHK
10 ZOOM
Position the cursor to the desired input position and press the
[] key.
152
3. OPERATION
B62884EN/01
]S1
om
]S1
S3
ce
nt
e
S2
r.c
ACTION : P100
==
==
24
8 FUNC
9 CHK
10 ZOOM
nc
.c
P100
= = = =
w
w
w
]S1
12
==
==
8 FUNC
9 CHK
10 ZOOM
153
3. OPERATION
B62884EN/01
]S1
= = = = = = = = =
S2
S3
om
= = = = = = = = =
==
r.c
24
==
8 FUNC
9 CHK
10 ZOOM
ce
nt
e
]S1
P10
P100
nc
LABEL : L10
[V]
V]
5 JMP
6 LBL
11
8 FUNC
9 CHK
10 ZOOM
.c
L10
]S1
P100
STEP : S1
ACTION : P10
11
154
3. OPERATION
B62884EN/01
L10
]S1
P100
P100
]S2
LABEL :
om
P100
[V]
V]
5 JMP
6 LBL
8 FUNC
9 CHK
10 ZOOM
ce
nt
e
L10
]S1
r.c
23
P100
P100
L10
]S2
.c
nc
P100
LABEL : L10
23
key.
]S1
P100
155
Esc
key.
Delete
key.
3. OPERATION
B62884EN/01
]S1
P100
If the
Enter
om
]S1
r.c
P100
ce
nt
e
Delete
key again.
]S1
nc
P100
.c
Insert
Shift
Insert
and
key.
Insert
keys.
]S1
P1
= = = = = = = = =
]S2
S10
P2
P10
S3
S11
S20
P20
S21
STEP : S2
ACTION : P200
13
156
3. OPERATION
B62884EN/01
Press the
Insert
key.
]S1
P1
S10
S20
ce
nt
e
r.c
]S2
om
= = = = = = = = = = = = =
Press the
Shift
and
Insert
13
key.
]S1
P1
.c
nc
= = = = = = = = = = = =
]S2
S10
S20
P2
P10
P20
S3
S11
STEP : S2
ACTION : P102
w
w
w
S21
13
(xi) Search
P1
= = = = = = = = = = =
]S2
S10
P1
P11
]S2
S10
157
S20
P21
S20
3. OPERATION
B62884EN/01
]S3
S11
S21
om
F1
F2
F3
F4
F5
r.c
= = = = = = = = = = =
ce
nt
e
F1
F2
F3
F4
F5
Se
Co
Mo
mA
Li
]S3
F1
F2
F3
F4
F5
F6
F7
Step
Action
Label
sYmbol
Position
Top
Bottom
.c
nc
P1
= = = = = = = = = = =
F1
F2
F3
F4
F5
Se
Co
Mo
mA
Li
]S3
F1
F2
F3
F4
F5
F6
F7
Step
Ac
La
search string:A
sY
Position
Top
Bottom
Enter the step number to be searched for (S20, for example), then
press the
Enter
158
3. OPERATION
B62884EN/01
P1
= = = = = = = = = = =
Se
Co
Mo
mA
Li
]S3
F1
F2
F3
F4
F5
F6
F7
Step
Ac
La
search string:S20
sY
Position
Top
Bottom
P1
r.c
om
F1
F2
F3
F4
F5
= = = = = = = = = = =
S10
S20
ce
nt
e
]S2
P1
P11
P21
.c
nc
= = = = = = = = = = =
F1
F2
F3
F4
F5
Search
Copy
Move
mAin
List
Press the [F2] (Copy) key. The system prompts the operator to
enter a start point.
P1
= = = = = = = = = = =
]S2
P1
S10
S20
P11
P21
ACTION :
Specify Start position
159
12
3. OPERATION
B62884EN/01
Position the cursor to the desired start point (position 2-3 in the
example shown below), then press the
Enter
]S2
S10
P1
P11
= = = = = = = = = = =
P21
ACTION :
Specify End position
om
S20
r.c
23
Position the cursor to the desired end point (position 3-4 in the
example shown below), then press the
Enter
ce
nt
e
]S2
S10
S20
P1
P11
P21
= = = = = = = = = = =
ACTION :
nc
34
key. The
= = = = = = = = = = =
]S2
S10
S20
P1
P11
P21
.c
STEP : S10
ACRTION : P100
P11
P21
43
160
3. OPERATION
B62884EN/01
P1
= = = = = = = = = = =
]S2
S20
P11
P21
r.c
P1
S10
om
ce
nt
e
= = = = = = = = = = =
Search
Copy
Move
mAin
List
nc
F1
F2
F3
F4
F5
.c
LEVEL2 LEVEL3
V P0002
V P0004
V P0009
V P0014
V P0022
V P0024
S
S
S
S
V P0202
V]P0304
V P0005
V P0015
V P0025
S
S
V]P0405
V P0006
V P0016
V P0026
S
S
V]P0406
V P0007
V P0017
V]P0027
S
S
V]P0407
3. OPERATION
B62884EN/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
P11
P21
P1
om
= = = = = = = = = = =
P1
r.c
= = = = = = = = = = =
Search
Copy
Move
mAin
List
ce
nt
e
F1
F2
F3
F4
F5
nc
.c
V P0008
V P0021
V P0009
V P0022
V P0014
V P0024
V P0015
V P0025
V P0016
V P0026
8 MAIN
V P0017
V]P0027
9 CHANGE 10 ZOOM
Page
Down
162
3. OPERATION
B62884EN/01
Screen display
V] P200
V P0008
V P0009
om
V P0015
V P0016
V P0017
ce
nt
e
r.c
= = = = = = = = = = =
]S2
P1
S10
S20
P11
P21
nc
.c
= = = = = = = = = = =
]S2
P1
S10
P11
S20
Check completed
= = = = = = = = = = =
]S2
P1
163
S10
P11
S20
3. OPERATION
B62884EN/01
P1
S10
S20
P11
P21
]S2
S10
S20
om
]S2
r.c
Subprogram to be edited
Ladder subprogram
[V]
Ladder subprogram
V]
Transition
Ladder subprogram
ce
nt
e
ESC
key.
P1
nc
= = = = = = = = = = =
.c
F1
F2
F3
F4
F5
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
164
3. OPERATION
B62884EN/01
3.5.2.3
Symbol & Comment
Editing
Shift
om
ce
nt
e
r.c
(1) Start
[Operation]
1) Select [SYMBOL] (symbol and comment) from the editing
menu.
2) The following symbol and comment editing screen appears:
EDIT (SYMBOL & COMMENT) RB4 (STEP SEQ) <0>[C: FLADDER
.c
nc
2 SEARCH 3 AREA
4 ADD
6 DELETE 7
8 COPY
9 PASTE
10 END
Address field
Symbol field
165
] [
3. OPERATION
B62884EN/01
om
r.c
ce
nt
e
, or
key
or
Shift
key press
key.
.c
nc
166
3. OPERATION
B62884EN/01
[Operation]
1) Select [SEARCH] on the symbol and comment editing screen.
2) The following input window appears on the screen.
SEARCH :
om
ce
nt
e
r.c
nc
.c
Esc
key.
167
3. OPERATION
B62884EN/01
COMMENT )
<O>[A:FLDATARB4
COIL_COMMENT 0000030/00000090
RELAY COMMENT
COIL COMMENT
(Note)
r.c
00001 X00000.0
00002 X00000.1
00003*X00000.2
PMC-RB4
om
SYMBOL 000001/000003
NO.
ADDRESS
SYMBOL
2 SERCH
3 AREA
4 ADD
6 DELETE 7
ce
nt
e
8 COPY
9 PASTE
10 END
Note
It is the indicator. Symbol/comment are displayed with
turning at this point in ladder diagram editing screen.
1 NO.
2 ADRS
3 SYMBOL 4 RELAY
5 COIL
10
.c
nc
168
3. OPERATION
B62884EN/01
3.5.2.4
Message Editing
r.c
om
(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
ce
nt
e
nc
EDIT (MESSAGE)
PMCRC4
MESSAGE
001
A00. 0
002
A00. 1
003
A00. 2
004
A00. 3
1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
.c
NO ADDRESS
[C: FLADDER]
2 TOP
10 END
(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
B62884EN/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
key.
om
Enter
r.c
(e) END
[Operation]
Esc
ce
nt
e
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
below.
nc
.c
(1) Startup
[Operation]
1) Select [MODULE] (I/O module) from the edit menu.
2) The following I/O module edit screen appears.
EDIT (I/O MODULE)
PMCRC
<0>[C: FLADDER]
X0000
X0001
X0002
X0003
X0004
X0005
X0006
X0007
X0008
X0009
X0010
X0011
X0012
X0013
X0014
X0015
Y0000
Y0001
Y0002
Y0003
Y0004
Y0005
Y0006
Y0007
Y0008
Y0009
Y0010
Y0011
Y0012
Y0013
Y0014
Y0015
0
0
1 SEACH 2 INPUT
0
0
3 HELP
01 ID16C
01 ID16C
6 DELETE 7 DELALL 8
170
10 END
3. OPERATION
B62884EN/01
(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
ce
nt
e
r.c
om
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) Deletion [DELETE] [DELALL] [DEL.CH]
.c
nc
(iii) To delete the modules of one channel (for models in which more
than one channel can be set):
[Operation]
1) Select a channel for deletion.
2) Select [DEL.CH].
Esc
3) Select one of the above items, and return to the edit menu.
171
3. OPERATION
B62884EN/01
3.5.2.6
(1) Start
[Operation]
1) Select [SYSPRM] (SYSTEM PARAMETER) from the editing
menu.
2) The system parameter editing screen appears.
The screen shown below is the system parameter editing screen
for PMC-RB. For each PMC model, see Item (4) below.
System Parameter
Editing
om
(2) Input
[Operation]
keys.
r.c
2) Enter data.
For information about input items, see Item (4) below.
ce
nt
e
(3) Termination
[Operation]
Esc
3) Select a function key from the above. The screen display returns
to the editing menu.
nc
(4) System parameter editing screen and input items for PMC model
[Example of Editing screen]
EDIT (SYSTEM PARAMETER) RC4
.c
:
:
0
100%
:
:
:
:
:
:
:
50%
000000H
0
(0:BINARY, 1:BCD)
(1150%)
(099%)
(0:NO, 1:YES)
w
w
<0>[C: FLADDER]
10 END
Fig.3.5.2.6 (a)
Note
For other editing screens, see APPENDIX A FUNCTIONS
SPECIFIC TO INDIVIDUAL PMC MODELS
172
3. OPERATION
B62884EN/01
[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
om
r.c
Setting
100%
150%
5ms
7.5ms
ce
nt
e
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
.c
nc
Setting range 0 to 99
4) LANGUAGE ORIGIN
This parameter specifies the start address of the link control
statement data of a language program.
Initial value 000000
173
3. OPERATION
B62884EN/01
Initial value 0 : NO
Setting 0 : NO / 1 : YES
om
ce
nt
e
r.c
3.5.3
Printout
3.5.3.1
Overview
nc
.c
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
Setup menu
[PRINT]
F1
Start printing
Fig.3.5.3.1 Operation Flow of Printout
174
3. OPERATION
B62884EN/01
3.5.3.2
[C: FLADDER]
C:DATASAMPLE
LADDER DIAGRAM
V
V
I/O MODULE
MESSAGE
2 SETUP 3
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
[NO/YES]
[NO/YES]
[NO/YES]
[OPTION]
[NO/YES]
[OPTION]
[NO/YES]
[OPTION]
[NO/YES]
[NO/YES]
[OPTION]
[NO/YES]
[OPTION]
[NO/YES]
[OPTION]
om
TITLE
SYSTEM PARAMETER
SYMBOL & COMMENT
r.c
1 PRINT
V
V
V
9 BREAK 10 END
ce
nt
e
[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
nc
display.
.c
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
B62884EN/01
3.5.3.3
key
key or
om
Enter
specification screen will appear. To set the option, enter the desired
key.
Enter
r.c
ce
nt
e
C:DATASAMPLE
[ SYMBOL PRINT ]
:
:
:
.c
nc
V
V
V
1
0
[RELAY/COIL/ALL]
10 END
176
3. OPERATION
B62884EN/01
[C: FLADDER]
C:DATASAMPLE
[ LADDER PRINT ]
V
V
V
V
PRINT UNIT
MODULE NAME
NET RANGE
START NET NUMBER
END NET NUMBER
NEW PAGE
SUBPROGRAM
CROSS REFERENCE
RELAY INFORMATION
:
:
[ALL / MODULE]
:
:
1
0
:
:
:
[NO/YES]
[NO/YES]
[SYMBOL/RELAY COMENT]
10 END
r.c
om
.c
nc
ce
nt
e
[C: FLADDER]
C:DATASAMPLE
PRINT UNIT
MODULE NAME
SUBPROGRAM
:
:
:
[ALL / MODULE]
[NO/YES]
10 END
177
3. OPERATION
B62884EN/01
om
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.
PRINT
r.c
C:DATASAMPLE
[ MESSAGE PRINT ]
ADDRESS RANGE
START ADDRESS
END ADDRESS
:
:A000.0
:A124.7
ce
nt
e
10 END
nc
.c
[C: FLADDER]
C:DATASAMPLE
V
V
V
:
:
:
[NO/YES]
ALL
[RELAY/COIL]
[ PRINT FORMAT ]
X0.0
: S00001/N00001
Y0.0
()
(/)
: S00001/N00002
10 END
178
3. OPERATION
B62884EN/01
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.
Table 3.5.3.3 Cross-Reference List Address Specification
Example of
keying in
Address to be output
om
Address specification
mode
ALL
ALL
All addresses
Bit address
R1.0
Byte address
X10
Address range
F10.0-F12.7
X2.3-END
(Note 1)
ce
nt
e
r.c
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.
nc
APPOINT COMMENT
Specify the kind of comment data
RELAY Print Relay comment.
COIL Print Coil comment.
.c
[C: FLADDER]
C:DATASAMPLE
:
:
[ALL/USED]
[ALL]
V
V
10 END
179
3. OPERATION
B62884EN/01
om
[DATASAMPLEP2]
***
N00588
C 3457
N00589
D 3480
(*
(*
(*
(*
X01.0
Relay
X0.0
Relay
X1.0
SUB65
CALL
X0.0
Relay
Y0.0
P4
P2000
ACT
SUB68
JMP8
L9999
.c
Relay
X0.0
SUB69
LBL
L9999
### L9999
###
N00592
G 3468
Y01.0
nc
N00591
F 3485
SUB66
CALLU
###
*)
*)
*)
*)
Relay
X0.0
N00590
E 3463
P2
X0.0
ACT
PAGE1
Net No.
### P2
X0.0
***
r.c
N00587
B 3455
SUB71
SP
LADDER DIAGRAM
ce
nt
e
N00586
A 3453
Fig.3.5.3.3 (g) Example of Printout of a Ladder Diagram with Cross Reference Data
180
3. OPERATION
B62884EN/01
[FLADDERSAMPLE]
***
Cross reference
***
PAGE2
STEP No./NET No.
Symbol
U11O U11 ON
S00055/N00024
U12O U12 ON
S00057/N00025
S00249/N00104
S00041/N00017
Y0.2
Y0.3
CTR
NO.1
MULTIPLE USED
S00247/N00104
CTR
NO.2
CTR
NO3.
om
Y0.1
Comment
r.c
Address
S00268/N00107
ce
nt
e
S00261/N00106
S00254/N00105
.c
nc
Fig.3.5.3.3 (h) Example of Printout with a Multiple Coil Write Check Indication
181
3. OPERATION
B62884EN/01
Initial step
P100
Transition
<- L1
j S210
P101
Label
S211 j
P151
P152
Divergence of selective
sequence
Divergence of
simultaneous
S215 j S217 sequence
P161
P165
Convergence of
simultaneous
P162
sequence
P160
S212 j
P153
S216
P163
P154
P164
Step
Convergence of selective
sequence
j ] S1000
P2000
nc
Block step
P102
> L1
S1
P1
Initial step
Transition
P100
L1
S210
P101
P150
:
:
S211
P151
:
P152
:
:
S212
P153
:
P154
Label
Divergence of selective
P160 sequence
Divergence of
simultaneous
:
S215 *
S217 sequence
P161 :
P165
Convergence of
simultaneous
P162
sequence
*
:
ce
nt
e
P150
:
I*
:
:
+
:
<*
:
:
+
:
:
*
:
:
+
:
:
*
:
:
+
:
:
B*
:
:
+
:
:
->
om
[ j ] S1
P1
r.c
S216
P163
164
Step
Convergence of selective
sequence
S1000
P2000
Block step
P102
Jump
L1
.c
Jump
*
:
[ j ] S1
P1
P100
<- L1
j S210
P150
P155
P100
<- L1
j S210
P101
P160
P150
P155
P160
182
3. OPERATION
B62884EN/01
om
22 element
r.c
(28 element)
14 element
(1/3)
ce
nt
e
Note)
Link number
(3/3)
<
>
5=>
v1
v2
v3
v2
v3
(2/3)
4=>
=>4
v1
.c
nc
=>5
183
3. OPERATION
B62884EN/01
3.5.3.4
PRINT (SETUP)
[C: FLADDER]
/
/
/
/
ASCII
GRAPHIC
ASCII
GRAPHIC
r.c
om
D 10
10
15
15
10 END
ce
nt
e
[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
Enter
or
key.
key.
nc
,
Enter
, or
key.
.c
by pressing the
184
3. OPERATION
B62884EN/01
3.5.3.5
AMROFTRP. DAT
Diagram output
PR201-10
PR201-15
PR201-A4
PR10-A
PR15-A
PRA4-A
ESC-P-10
ESC-P-15
ESCP10-A
ESCP15-A
FANUC-10
CROSSINF. DAT
(Setting the cross-reference
list output format)
INF
INF
INF
INF
INF
INF
INF
INF
INF
INF
INF
r.c
.
.
.
.
.
.
.
.
.
.
.
om
Print Format-2
(AMOFTRP, DAT/*
.INF/Message File)
ce
nt
e
nc
(Message file)
.c
For these parameter files, do not change any item not described here.
Point of change
Settings
#10-A=10-inch/ASCII
#10-G=10-inch/graphic
#15-A=15-inch/ASCII
#15-G=15-inch/graphic
#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
B62884EN/01
Point of change
Settings
TOPMGL=0
TOPMG=0
(for each form)
Decimal number
N00005
E
Y0.7
00001
Y0.0
*00006
Y0.0
*00006
Y0.7
00001
Y0.1
Y0.0
*00006
Y0.1
Y0.7
00001
When LCNTL=4
N00004
D
Y0.7
00001
Y0.0
*00006
Y0.0
*00006
Y0.7
00001
Y0.0
*00006
Y0.1
ce
nt
e
N00004
D
N00003
C
r.c
N00003
C
om
Y0.1
N00005
E
Y0.2
*00008
Y0.7
00001
Y0.2
*00008
When LCNTL=5
Name of file to be
edited
.c
nc
AMROFTRP.DAT
186
Point of change
Settings
LCNTL=4
(Set for each sheet)
Specify either 4 or 5
3. OPERATION
B62884EN/01
Printer name
PR10 A
PR201 10
ESCP10 A
ESC P 10
FANUC 10
.
.
.
.
.
INF
INF
INF
INF
INF
PR201
PR201
VP1000
VP1000
FANUC printer
#10-G
:
:
C FILE=
PR10 A
PR201 10
ESCP10 A
ESC P 10
FANUC 10
.
.
.
.
.
INF
INF
INF
INF
INF
PR201
PR201
VP1000
VP1000
FANUC printer
#15-A
:
:
C FILE=
PR15 A
PR201 15
ESCP15 A
ESC P 15
.
.
.
.
INF
INF
INF
INF
PR201
PR201
VP1000
VP1000
#15-G
:
:
C FILE=
PR15 A
PR201 15
ESCP15 A
ESC P 15
.
.
.
.
INF
INF
INF
INF
PR201
PR201
VP1000
VP1000
#A4L-A
: (Note)
:
C FILE=
PRA4 A
PR201 A4
. INF
. INF
PR201
PR201
#A4L-G
: (Note)
:
C FILE=
PRA4 A
PR201 A4
. INF
. INF
PR201
PR201
r.c
om
#10-A
:
:
C FILE=
nc
AMROFTRP.
DAT
Point of
change
ce
nt
e
Name of file to
be edited
.c
Note
#A4L-A and #A4L-G are unavailable in the output to
VP1000.
Point of change
LPI (H) (1B) (C) (T20) ; (H) (1B)
number>) ;
LDRLPI (H) (1B) (C) (H) (1B)
number>) ;
(T15) ;
Settings
(C)
(T<decimal
(C)
(T<decimal
Point of change
LMARGIN
(L000) ;
187
Settings
3. OPERATION
B62884EN/01
ce
nt
e
@ SYS-TITLE
(*** SYSTEM & PARAMETER ***) ;
@ CMT-TITLE
(*** SYMBOL & COMMENT ***) ;
@ LAD-TITLE
(*** LADDER DIAGRAM ***) ;
@ STEP-TITLE
(*** STEP SEQUENCE DIAGRAM ***) ;
@ IO-TITLE
(*** I/O MODULE DATA ***) ;
@ MSG-TITLE
(*** MESSAGE DATA ***) ;
@ TIT-TITLE
(*** TITLE DATA ***) ;
@ CRS-TITLE
(*** CROSS-REFERENCE ***) ;
@ BIT-TITLE
(*** BIT ADDRESS MAP ***) ;
om
I-PRTOUT. JPN.
I-PRTOUT. ENG.
Point of change
r.c
Notes
1 These point of changes are in the file, I_PRTOUT. ENG.
2 Onebyte katakana characters cannot be used.
nc
GUIDE=
Settings
Any character string consisting
of up to 19 bytes
.c
CROSSINF.DAT
Point of change
188
3. OPERATION
B62884EN/01
Name of file to be
edited
NET-INF=
STEP-INF=
Settings
When only the net number is
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
r.c
om
CROSSINF.DAT
Point of change
ce
nt
e
CROSSINF.DAT
Point of change
FORM=
Settings
Character string+%s
nc
Note
Only letters in lowercase are valid as %s.
.c
CROSSINF.DAT
Point of change
READ=
WRITE=
Settings
Character string consisting of
up to 13 bytes.
READ=-| |- -| / |:
WRITE=-( )- -( / )- :
189
Point of change
NL=
Settings
Decimal number
3. OPERATION
B62884EN/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.)
Name of file to be
edited
FF=
Settings
.c
nc
ce
nt
e
r.c
CROSSINF.DAT
Point of change
om
190
3. OPERATION
B62884EN/01
When 2 is
selected as
the printout
paper
*
*
*
*
.c
When 3 is
selected as
the printout
paper
*
*
*
*
om
r.c
*
*
*
*
#PAPER=10-G
#10-A=NEC 10
LENGTHL=11
LENGTH=11
WIDTHL=10
WIDTH=10
PITCHL=15/120
PITCH=20/120
LINESL=83
LINES=55
RATIOL=2/3
RATIO=2/3
GRAMODL=14
GRAMOD=16
ANKMODL=0
ANKMOD=1
LEFTMGL=0
LEFTWG=0
TOPMGL=5
TOPMG=0
LCNTL=4
C FILE=PR10 A.INF
O FILE=PRTDAT.DMP
#END
#10-G=EPSON 10
LENGTHL=11
LENGTH=11
WIDTHL=10
WIDTH=10
PITCHL=15/120
PITCH=20/120
LINESL=83
LINES=55
RATIOL=2/3
RATIO=2/3
GRAMODL=14
GRAMOD=16
ANKMODL=0
ANKMOD=1
LEFTMGL=0
LEFTWG=0
TOPMGL=0
TOPMG=0
LCNTL=4
C FILE=ESCP10 A.INF
O FILE=PRTDAT.DMP
#END
#15-A=15 inch/ASCII
LENGTHL=11
LENGTH=11
WIDTHL=15
WIDTH=15
PITCHL=15/120
PITCH=20/120
LINESL=83
LINES=55
RATIOL=2/3
RATIO=2/3
GRAMODL=16
GRAMOD=16
ANKMODL=1
ANKMOD=1
LEFTMGL=0
LEFTWG=0
TOPMGL=0
TOPMG=0
LCNTL=5
C FILE=PR15 A.INF
O FILE=PRTDAT.DMP
#END
* #15-G=15 inch
ce
nt
e
When 1 is
selected as
the printout
paper
nc
#PAPER=10-G
#10-A=10 inch/ASCII
LENGTHL=11
LENGTH=11
WIDTHL=10
WIDTH=10
PITCHL=15/120
PITCH=20/120
LINESL=83
LINES=55
RATIOL=2/3
RATIO=2/3
GRAMODL=14
GRAMOD=16
ANKMODL=0
ANKMOD=1
LEFTMGL=0
LEFTWG=0
TOPMGL=0
TOPMG=0
LCNTL=4
C FILE=PR10 A.INF
O FILE=PRTDAT.DMP
#END
#10-G=10 inch/graphic
LENGTHL=11
LENGTH=11
WIDTHL=10
WIDTH=10
PITCHL=15/120
PITCH=20/120
LINESL=83
LINES=55
RATIOL=2/3
RATIO=2/3
GRAMODL=14
GRAMOD=16
ANKMODL=0
ANKMOD=1
LEFTMGL=0
LEFTWG=0
TOPMGL=0
TOPMG=0
LCNTL=4
C FILE=PR201 10.INF
O FILE=PRTDAT.DMP
#END
#15-A=15 inch/ASCII
LENGTHL=11
LENGTH=11
WIDTHL=15
WIDTH=15
PITCHL=15/120
PITCH=20/120
LINESL=83
LINES=55
RATIOL=2/3
RATIO=2/3
GRAMODL=16
GRAMOD=16
ANKMODL=1
ANKMOD=1
LEFTMGL=0
LEFTWG=0
TOPMGL=0
TOPMG=0
LCNTL=4
C FILE=PR15 A.INF
O FILE=PRTDAT.DMP
#END
#15-G=15 inch
Note
An asterisk (*) indicates data which can be modified.
191
3. OPERATION
B62884EN/01
PR201H3 CNTINF {
CRLF
FORMF
CPI
CANCEL
LDRCPI
* LPI
* LDRLPI
* LMARGIN
RMARGIN
LDRCHAR
JPNSET
JPNRESET
}
(H)(OD,OA);
(H)(OC);
(H)(1B)(C)(H);
(H)(18);
(H)(1B)(C)(Q);
(H)(1B)(C)(T20);
(H)(1B)(C)(T15);
(H)(1B)(C)(L000);
(H)(1B)(C)(/078);
(H)(1B)(C)(J0014);
(H)(1B)(C)(K);
(H)(1B)(C)(H);
ce
nt
e
r.c
:
:
:
:
nc
om
PR201H3 CNTINF {
CRLF
FORMF
CANCEL
CPI
LDRCPI
LPI
LDRLPI
LMARGIN
RMARGIN
LDRCHAR
JPNSET
JPNRESET
}
(H)(OD,OA);
(H)(OC);
(H)(18);
(H)(1B)(C)(H);
(H)(1B)(C)(Q);
(H)(1B)(C)(T25);
(H)(1B)(C)(T15);
(H)(1B)(C)(L005);
(H)(1B)(C)(/078);
(H)(1B)(C)(J0014);
(H)(1B)(C)(K);
(H)(1B)(C)(H);
.c
Note
An asterisk (*) indicates data which can be modified.
192
3. OPERATION
B62884EN/01
:
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
;
r.c
om
[C:DATASAMPLE]
*** Cross reference ***
ce
nt
e
PAGE 1
STEP NO./NET No.
Address
X0.0
Symbol Comment
Y0.0
nc
R0.0
.c
193
3. OPERATION
B62884EN/01
:
GUIDE=step number
NET-INF=0
STEP-INF=1
FROM=S%s
READ=read
WRITE=write
NL=0
FF=0
;
r.c
om
ce
nt
e
[C:DATASAMPLE]
*** Cross reference ***
PAGE 1
Step number
Address
Symbol Comment
.c
nc
X0.0
Read : S00045 S00049 S00053 S00082 S00088 S00094
X0.1
Read : S00050 S00054 S00059 S00065 S00077
MULTIPLE COIL USED
Y0.0
Write: S00045 S00128 S00256
R0.0
Read : S00009 S00012 S00014 S00015 S00022 S00024 S00033 S00045
S00047 S00074 S00079
Write: S00002
3.5.3.6
Enter
C: \ FLADDER>COPY A: \ APPENDIX \
AMROFTRP.PR C:
194
Enter
3. OPERATION
B62884EN/01
Enter
Enter
om
Note
To reenable output to the EPSON VP1000 printer, perform
steps 1) through 3), replacing AMROFTRP.PR with
AMROFTRP.ESC.
r.c
ce
nt
e
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.
C:/>MODE COM1:4800,N,8,2
.c
Compilation
nc
3.5.4
Enter
Compile
Source
program
Object
file
Transferred to the
ROM writer
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
B62884EN/01
Condensed mode
Ladder
Ladder
C
language
C
language
om
Object file
ce
nt
e
r.c
Ladder
Ladder
nc
C
language
C
language
.c
196
3. OPERATION
B62884EN/01
3.5.4.1
Start and Terminate
(1) Start
[Operation]
1) Select [compil] (compile) from the offline menu.
2) The compile screen appears.
PMCRB4
: C:DATASAMPLE
ce
nt
e
r.c
<0>[C:FLADDER
om
Compile
1 EXEC
10 END
.c
nc
[COMPIL]
F3
[ EXEC ]
[CONDNS]
F1
w
w
Offline menu
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
B62884EN/01
om
ce
nt
e
Compile completed
r.c
C:DATASAMPLE
##### 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 #####
Compile
PMCRB4
.c
nc
<0>[C:FLADDER
: C:DATASAMPLE
Compile completed
1 EXEC
2 MAP
3 ERROR 4
error count=000000
warning count=000000
198
10 END
3. OPERATION
B62884EN/01
Esc
om
(5) Termination
[Operation]
key.
3.5.4.2
r.c
These options initial value can be changed at the Program option setup.
(Refer to 3.5.7 Program option setup.)
Compile Options
nc
ce
nt
e
(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.
.c
(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 online 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
B62884EN/01
om
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
online editor.
r.c
3.5.4.3
ce
nt
e
Use
Password (R)
Password (R/W)
nc
.c
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
3. OPERATION
B62884EN/01
Enter
D When
Esc
om
discontinued.
r.c
Go to 1).
4) The password configuration screen appears.
Verification (R)
ce
nt
e
Esc
discontinued.
.c
nc
Go to 1).
If password=R is specified.
Go to 10).
6) The password (R/W) set screen appears.
Enter password (R/W)
Enter
201
3. OPERATION
B62884EN/01
D When
Esc
rejected.
Go to 1).
8) The password confirmation screen appears.
Verification (R/W)
Esc
r.c
D When
om
rejected.
ce
nt
e
10)Compilation begins.
Go to 1).
3.5.5
Decompilation
nc
Data that is uploaded from the PMC or is read from ROM is object file
data. Data in the object file cannot be edited or printed out. Such data
must be decompiled before it can be edited or printed out.
Decompile
Source
program
Note
To decompile a passwordprotected object file, it is
necessary to enter a password. (See Section 3.5.4.)
.c
Object file
202
3. OPERATION
B62884EN/01
3.5.5.1
(1) Start
[Operation]
1) Select [DECOMP] (decompile) from the main menu.
2) The decompile screen appears.
Decompile
PMCRB4
: C:DATASAMPLE
ce
nt
e
r.c
<0>[C:FLADDER
om
Operation
1 EXEC
4 MERGE 5 SYMBOL 6
10 END
nc
(2) Decompiling
[Operation]
1) Select [EXEC] on the decompile screen.
2) Decompilation is performed and the result is displayed.
.c
(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
B62884EN/01
Decompile
PMCRB4
<0>[C:FLADDER
: C:DATASAMPLE
warning count=000000
1 EXEC
2 MAP
r.c
om
Decompile completed
10 END
ce
nt
e
(4) Termination
[Operation]
1) Select [END].
2) The screen display returns to the main menu screen.
3.5.5.2
(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 functionkey.
Decompile
PMCRB4
<0>[C:FLADDER
: C:DATASAMPLE
.c
nc
Decompile Option
1 EXEC
4 MERGE 5 SYMBOL 6
204
10 END
3. OPERATION
B62884EN/01
om
(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.
.c
nc
ce
nt
e
r.c
(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
B62884EN/01
X0.0
R1.4
XXXXXXXXXXXXXXX
YYYYYYYYYYYYYYYYYYY
XXXXXX
YYYYYY
Source program
AAAAAAAAAA
BBBBBBBB
YYYYYY
XXXXXX
YYYYYY
COIL-COMMENT(30byte)
AAAAAAAAAAAAAAAA
BBBBBBBBBBBBBB
AAAAAAAAAAAAAAAAAA
BBBBBBBBBBBBBBBB
YYYYYYYYYYYYYYYYYYY
r.c
X0.0
Y2.3
Y4.7
RELAY-COMMENT(16byte)
ce
nt
e
- Symbol/Comment data
ADDRESS SYMBOL(16byte)
om
- Symbol/Comment data
ADDRESS SYMBOL(6byte)
XXXXXXXXXXXXXXX
YYYYYYYYYYYYYYYYYYY
(ii) The result of MERGE = YES and Symbol definition = MEMORY CARD DATA.
Source program
nc
XXXXXX
BBBBBBBB
YYYYYY
BBBBBBBBBBBBBB
.c
X0.0
Y2.3
R1.4
XXXXXXXXXXXXXXX
BBBBBBBBBBBBBBBB
YYYYYYYYYYYYYYYYYYY
AAAAAAAAAA
BBBBBBBB
YYYYYY
AAAAAAAAAAAAAAAA
BBBBBBBBBBBBBB
X0.0
Y2.3
Y4.7
206
AAAAAAAAAAAAAAAAAA
BBBBBBBBBBBBBBBB
YYYYYYYYYYYYYYYYYYY
3. OPERATION
B62884EN/01
3.5.5.3
Password
Password (R/W)
Password (R/W)
Password (R/W)
Password (R)
Password (R)
om
r.c
Note
If an R/W password has been set up, password (R/W) is
displayed.
ce
nt
e
Esc
.c
nc
rejected.
207
3. OPERATION
B62884EN/01
3.5.5.4
Object file
Source program
LEVEL1.#LA
om
LEVEL2.#LA
r.c
LEVEL3.#LA
SP (SUB 71)
P001
ce
nt
e
P1.#LA
Subprogram P1
(Ladder)
SP (SUB 71)
P002
P2.#SS
Subprogram P2
(Step Sequence)
nc
P003
.c
SP (SUB 71)
P3.#LA
Subprogram P3
(Ladder)
208
3. OPERATION
B62884EN/01
3.5.6
Input/Output
om
Ports are set according to the values in the following data files.
(1) FLIO_AT.DAT
These files are in text format. So, a text editor can be used to change
set values in the files.
r.c
3.5.6.1
.c
nc
ce
nt
e
209
3. OPERATION
B62884EN/01
DATA-BLOCK=IO-PORT-SET
=COM1 : 48, N, 8, 2
FA-WRITER
PMC-L
PMC-M
PMC-M (TT)
PMC-M (AXIS)
PMC-MMC
PMC-MMC (AXIS)
PMC-N
PMC-P
PMC-QA
PMC-M (I/O)
PMC-M (I/O, TT)
PMC-M (I/O, AXIS)
PMC-N (I/O)
PMC-RB
PMC-RC
PMC-RA1
PMC-RA2
PMC-RB2
PMC-RA3
PMC-RB3
PMC-RC3
PMC-PA1
PMC-PA3
PMC-QC
PMC-NB
PMC-RB4
PMC-RC4
PMC-RB4 (STEP-SEQ)
PMC-RC4 (STEP-SEQ)
=COM1 : 48, N, 8, 2
=COM1 : 48, N, 8, 2
=COM1 : 48, N, 8, 2
=COM1 : 48, N, 8, 2
=COM1 : 48, N, 8, 2
=COM1 : 48, N, 8, 2
=COM1 : 48, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 48, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 48, N, 8, 2
=COM1 : 48, N, 8, 2
=COM1 : 48, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
=COM1 : 96, N, 8, 2
.c
nc
ce
nt
e
r.c
om
PMC-WRITER
210
3. OPERATION
B62884EN/01
3.5.6.2
CNC
9600/4800bps
Download
9600/4800bps
Upload
om
9600/4800bps
Comparison
r.c
ce
nt
e
(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.
.c
nc
5) Press the
Enter
key.
(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
ALL
211
3. OPERATION
B62884EN/01
5) Press the
Enter
key.
om
(3) Comparison
[Operation]
1) Select F3 :[PMC] on the I/O menu screen.
2) Select F3 :[COMPAR] (comparison) on the PMC menu screen to
display the source program name.
* 3) Press the System key of the CNC.
5) Press the
Enter
key.
r.c
* 4) Press the CNC soft keys [PMC], [I/O], [HOST], and [EXEC] in
this order.
ce
nt
e
(4) Termination
[Operation]
1) Select [END].
2) The screen display returns to the main menu screen.
3.5.6.3
.c
nc
Note
In the operations above, an asterisk prefixed to a circled
number represents an operation on the CNC.
212
3. OPERATION
B62884EN/01
I/O
PMCRB3
FA WRITER
PMC WRITER
PMC
Handy File
Memory Card
BACKUP
ROM format file
END
om
F1 KEY :
F2 KEY :
F3 KEY :
F4 KEY :
F5 KEY :
F6 KEY :
F9 KEY :
F10 KEY :
[C: FLADDER]
9 ROMFIL 10 END
r.c
ce
nt
e
PMCRC3
[C: FLADDER]
.c
nc
1 WRITE
2 READ
10 END
213
3. OPERATION
B62884EN/01
PMCRC3
<0>[C: FLADDER]
: C:DATASAMPLE
10 END
r.c
1 EXEC
om
ce
nt
e
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 MCARD, 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).
nc
CHANNEL
DEVICE
FUNCTION
DATA KIND
FILE NO.
( #NAME )
MONIT STOP
=
=
=
=
=
1
MCARD
READ
LADDER
.c
EXEC
CANCEL
WRITE
READ
COMPAR
214
3. OPERATION
B62884EN/01
om
(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 MCARD, 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
1
MCARD
WRITE
LADDER
r.c
=
=
=
=
=
ce
nt
e
CHANNEL
DEVICE
FUNCTION
DATA KIND
FILE NO.
( #NAME )
MONIT STOP
EXEC
.c
w
w
w
5)
6)
WRITE
READ
COMPAR
nc
2)
3)
4)
CANCEL
215
3. OPERATION
B62884EN/01
PMCRC3
<0>[C: FLADDER]
10 END
r.c
1 EXEC
: C:DATASAMPLE
om
3.5.6.4
Handy File+3.5 Floppy
Disk (MSDOS Format)
ce
nt
e
7) Discompile the object file after conversion, and the resultant file
will become able to be edited on the personal computer.
.c
nc
(1) PMC program transfer from the personal computer to the CNC
[Operation]
1) Compile a source program.
2) Select [I/O] (input/output) from the main menu.
3) Select F4 : [FDCAS] (Handy File) from the input/output menu.
(See Fig. 3.5.6.4 (a).)
4) Select [WRITE] (WRITE (Programmer Handy File)).
I/O (FDCAS)
PMCRB3
[C: FLADDER]
1 WRITE
2 READ
216
10 END
3. OPERATION
B62884EN/01
<0>[C: FLADDER]
om
: C:DATASAMPLE
ce
nt
e
r.c
1 EXEC
10 END
nc
.c
(2) PMC program transfer from the CNC to the personal computer
[Operation]
1) Connect the CNC and Handy File, and output the PMC program
to a 3.5 floppy disk (DOS format).
The following operations are performed on the personal
computer side.
2) Select [I/O] (input/output) from the main unit.
3) Select F4 : [FDCAS] (Handy File) from the input/output menu.
4) Select [READ] (READ (Programmer Handy File)). (See Fig.
3.5.6.4 (a).)
5) Convert the PMC program on a 3.5 floppy disk (Handy File
format) generated in step 1) to source program by specifying the
following items and running the utility.
D Name of the Handy File format file
Specify the program name output in step 1), and the 3.5
floppy disk drive where the floppy disk is inserted.
D Name of the source program
Display the source program.
217
3. OPERATION
B62884EN/01
PMCRC3
<0>[C: FLADDER]
10 END
r.c
1 EXEC
: C:DATASAMPLE
om
3.5.6.5
Backup of User Program
ce
nt
e
This backup function can back up the source program, which the system
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.
PMCRC3
[C: FLADDER]
F1 KEY : BACKUP
F2 KEY : RESTORE
F10 KEY : END
.c
nc
I/O (BACKUP)
1 BACKUF 2 RESTOP 3
10 END
(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
3. OPERATION
B62884EN/01
I/O (BACKUP)
PMCRB3
<0>[C: FLADDER]
10 END
r.c
1 EXEC
om
ce
nt
e
(2) Restoring
[Operation]
1) Select [BACKUP] from the input/ output menu.
2) Select F2 : [RESTOR] from the backup menu.
3) Enter a backup program name, and press [EXEC].
I/O (RESIORE)
PMCRB3
<0>[C: FLADDER]
nc
.c
1 EXEC
10 END
219
3. OPERATION
B62884EN/01
3.5.6.6
Converting ROM Format
File
ce
nt
e
r.c
om
(1) Operation
1) Select [I/O] from the offline 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 (MCARDROM FILE) screen
is displayed.
Select F2:[READ]. The I/O (ROM FILEMCARD) 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.
I/O (ROM format file)
PMCRB3
[C: FLADDER]
3.5.7
.c
nc
Setting Program
Options
1 WRITE
2 READ
10END
Fig.3.5.6.6(a)
1) Using the
key.
220
or
3. OPERATION
B62884EN/01
2 PRINT
r.c
1 EDIT
om
Compile
Decompile
Fig.3.5.7
3.5.7.1
ce
nt
e
The user can set the compile function options as described below. These
options, when set, are used as the initial values of the compile options for
the offline function, or are used for compile processing performed with
the online functions.
For details of each option, see Section 3.5.4.
Compile
(1) Condense
This option specifies whether condense mode is to be used for
compile processing.
nc
(2) Symbol
This option specifies whether to output symbol or comment data to
an object file.
.c
221
3. OPERATION
B62884EN/01
2 PRINT
[OFF/ON]
[NOT USE/USE]
[NO/POINTERS]
[NO/RW&R/RW/R]
r.c
1 EDIT
:
:
:
:
om
condense
symbol/comment
net comment
password
Fig.3.5.7.1
3.5.7.2
ce
nt
e
The user can set the decompile function options as described below.
These options, when set, are used as the initial values of the offline
function decompile options, or are used for the decompile processing
performed with the online functions.
For details of each option, see Section 3.5.5.
Decompile
.c
nc
222
3. OPERATION
B62884EN/01
2 PRINT
r.c
1 EDIT
END
: [NO/SOURCE/MEMORY_CARD]
om
symbol merge
Fig.3.5.7.2
Modifying Program
Option Initial Values
(OPTION.CNF)
When a new program is to be created, the initial value of each option can
be modified by means of the procedure described below.
[Operation]
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 PMCRA3
#41;(RB4_STEP) for PMCRB4 (STEP SEQ)
ce
nt
e
3.5.7.3
.c
nc
Note
A section having a line beginning with a semicolon (;)
contains legend data. Any attempt to modify such a section
is ignored.
Option
condense
symbol
(Symbol/
comment)
0:
1:
netcmt
0:
(Net comment)
1:
223
3. OPERATION
B62884EN/01
Subsection
Option
password
0:
1:
2:
3:
*DECOMPILE symbolmerge
0:
1:
om
2:
r.c
Note
Never attempt to modify the values of options that are not
listed in the above table. Otherwise, the system may
malfunction.
Mnemonic Editing
3.5.8.1
nc
Conversion of a Source
Program to a Mnemonic
File
ce
nt
e
3.5.8
MNEMONIC EDIT
PMCRC4
<0>[C:FLADDER ]
[C: FLADDER ]
.c
F1 KEY :
F2 KEY :
F3 KEY :
F10 KEY :
MNECNV
2 SRCCNV 3 BATCH 4
10 END
224
3. OPERATION
B62884EN/01
SOURCE MNEMONIC
PMCRC4
<0>[C:FLADDER ]
[C: FLADDER ]
:
:
:
, 4 : LADDER
, 5 : I/O MODULE
, 6 : MESSAGE
)
)
)
)
: FOR _PG
10 END
r.c
1 EXEC
om
1)
2)
3)
(
(
(
(
4)
nc
ce
nt
e
keys.
.c
FOR_P-G
and
225
3. OPERATION
B62884EN/01
LABEL/
SUB-PROGRAM
r.c
om
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.
6) Select [EXEC] upon completion of item specification.
7) Source program is converted to a mnemonic file.
Enter
ce
nt
e
Space
is pressed
after conversion.
3.5.8.2
MNEMONIC SOURCE
PMCRC4
<0>[C:FLADDER ]
[C: FLADDER ]
:
:
.c
nc
Conversion of a
Mnemonic File to a
Source Program
A mnemonic text file edited in a certain format using a atandard text editor
is converted to a source program.
[Operation]
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
10 END
226
3. OPERATION
B62884EN/01
om
3.5.8.3
Mnemonic File Format
is
r.c
Space
ce
nt
e
Description
%@A
%@E
%@0 to 5
% only
nc
The unit-format data mentioned above varies from one PMC model
to another as listed below.
Unit-format data
.c
Parameter
Title
Symbol & comment
Ladder
Message
I/O module
PMC model
R series/PA3/QC/NB/NB2
%@0
%@1
%@2 or %@2-C (Note 1)
%@3
%@4
%@5
Note
%@2, and %@2-C correspond to source format types as
follows:
%@2 : FORMAT-A/B
%@2-C: FORMAT-C
Ladder Editing Package uses FORMAT-C only. This means that, as part
of conversion to a mnemonic file, conversion to %@2-C type code is
performed. For conversion to a source program, however, both type codes
(%@2 and %@2-C) can be used.
(2) Linefeed code
Control character LF (0AH) is defined as a linefeed code. Control
character CR (0DH) is ignored.
227
3. OPERATION
B62884EN/01
om
r.c
ce
nt
e
Symbol
.c
nc
| R0200.0 UNIT3POWER
228
3. OPERATION
B62884EN/01
| $1
INITIALIZE OF SEQUENCE
om
Note
Every single quotation mark in the relay comment and coil
comment string must be described as $ + in the
mnemonic file.
(b) Ladder data
1) Description of net comment
The net comment data is specified by (* and *) characters.
Characters
Means
*)
r.c
(*
ce
nt
e
3.5.8.4
(a) Parameter
Following example is for PMC-RC4. For other PMCs, see
APPENDIX A FUNCTIONS SPECIFIC TO INDIVIDUAL PMC
MODELS
1) PMC-RC4
%@0
2
BCD
3
NO
4
PMC RC4
5
000000
6
50
7
100
%
[EOB]
.c
nc
Means
2.
3.
4.
5.
6.
7.
229
3. OPERATION
B62884EN/01
Note
When specifying YES in Item 3 above (whether an
operators panel is used), specify the KEY address, LED
address, KEY image address, and LED image address as
follows:
ce
nt
e
r.c
%@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]
om
Display of
symbol/comment
no Relay comment
[EOB]
.c
nc
Coil Comment
Relay comment
R0200.1 UNIT2ACT
$1 $OIWER$$
KEEP UNIT4 $$POWER$ ON
R0300.0
Control code
$1 KEEP POWER ON
KEEP UNIT4 POWER ON
P0008
OPENFRONT
$1 OPEN FRONT COVER
L0100
INITIALIZE
$1
INITIALIZE OF SEQUENCE
230
3. OPERATION
B62884EN/01
%@3
N00001: SUB
Symbol
Relay comment
; SP
;(SUBPR1 ) SUB PROG. NO.01
; [SUB PROGRAM
DATA NO.01]
ce
nt
e
71
P1
r.c
2) FULL_OPTIONS
om
%@3
RD X0.4
OR Y80.6
WRT D300.1
SUB 1
RD.NOT X3.0
SUB 40
2
8191
D300
SUB 2
%
[EOB]
X0.0
68
L100
N00003: RD
SUB
X0.1
73
L100
N00004: SUB
69
L100
nc
N00002: RD
SUB
N00005: SUB
N00006: SUB
WRT
N00008: SUB
N00009: SUB
%
.c
N00007: RD
DEC
231
Coil comment
;(XADRS1 ) JUMPB LABEL L001
; JMPB
no Comment
;(LABEL1 )
no Relay
; [LABEL L00001]
comment
;(XADRS2 ) JUMPC LABEL L001
; JMPC
;(LABEL1 )
; [LABEL L00001]
; LBL
;(LABEL1 )
; [LABEL L00001]
; SPE
; SP
;(SP1000 ) SUB PROGRAM NO.1
;(RADRS00)
;(DADRS04)
72
71
P2
R0.0
D0
2
D0.0
72
; SPE
64
; END
3. OPERATION
B62884EN/01
3) LABEL/SUB-PROGRAM
Address
RD
JMPB
LABEL1
SP1000
RD
JMPB
LBL
SPE
SP
RD
DEC
WRT
SPE
END
SUBPR1 ;<P1
> SUB PROG. NO.01
; [SUB PROGRAM
DATA NO.01]
Coil comment
Symbol
XADRS1 ;<X0.0
> JUMPB LABEL L001
LABEL1 ;<L100
>
;[LABEL L00001]
XADRS2 ;<X0.1
> JUMPB LABEL L001
LABEL1 ;<L100
> [LABEL L00001]
;<L100
>
;[LABEL L00001]
;<P2
RADR00 ;<R0.0
DADR04 ;<D0
2
D0.0
ce
nt
e
om
SP
(e) Message
nc
%@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]
0
0
1 ID64A
4 OD64B
.c
%@5
X000 1
Y008 1
%
[EOB]
232
Relay comment
r.c
%@3
SUBPR1
3. OPERATION
B62884EN/01
3.5.8.5
%@A
%@0
2 BINARY
3 NO
4 PMCRB4
%
%@1
01 MACHINE TOOL BUILDER NAME
10 REMARKS
%
%@2C
R0.200.0 UNIT3POWER
$1 KEEP POWER ON
KEEP UNIT3 POWER ON
R0200.1 UNIT2ACT
$1 $POWER$$
KEEP UNIT4 $$POWER$ ON
R0300.0
$1 KEEP POWER ON
KEEP UNIT4 POWER ON
P0008
OPENFRONT
$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
which are input with personal computer can be used.
*)
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
.c
nc
ce
nt
e
r.c
om
(a) PMC-RB4
233
Net
comment
3. OPERATION
B62884EN/01
3.5.8.6
r.c
om
3.5.8.7
nc
ce
nt
e
.c
VZ
2)
3)
4)
5)
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
3. OPERATION
B62884EN/01
COMMAND
3.5.9
Utility
UTILITY
F1 Dos
F2 floadat
F3 View result
F4 Linker
om
Selecting [UTILTY] from the off-line menu enables the use of the utility
functions. The following functions are registered at installation:
r.c
ce
nt
e
F1
: Dos
: floadat
: View result
F4
: Linker
nc
4) Link function
.c
3) detailed below.
The user can register any desired command as a utility. For an explanation
of how to perform this registration, see Section 3.1 of Appendix C.
(1) Referencing the results of compile or decompile processing (starting
FLVIEW.BAT)
Upon the completion of compile or decompile processing, an
execution result file and map file are created. These files are of text
format, enabling their reference using a commercially available
editor. By using this function, however, these files can be referenced
even before Ladder Editing Package is terminated.
[Operation]
1) Press
F3
2) Then, the pop-up screen shown below appears. These files can
now be referenced by pressing the
Enter
key.
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
B62884EN/01
3.5.10
ON-LINE FUNCTION can be selected from the off-line menu. For
details, see Section 3.4 On-Line Function.
.c
nc
ce
nt
e
r.c
om
Selecting On-Line
Function from Off-Line
Function
236
B62884EN/01
om
This chapter describes the general output messages. Messages are output
and categorized:
r.c
ce
nt
e
A
B
C
D
E
F
G
H
I
J
K
L
N
.c
nc
Funcion name
237
4.1
B62884EN/01
A : INITIAL MENU
4.1.1
Fatal Error
Contents
INSUFFICIENT MEMORY.
A:F2001
A:F2004
A:F2005
A:F2006
A:F2007
A:F2008
A:F2009
A:F2010
The source program contains an invalid file or does not contain necessary files.
Check the source program files.
.c
nc
ce
nt
e
A:F2000
om
Message
r.c
Number
238
B62884EN/01
4.1.2
Error
Number
Message
Contents
The name of the source program has not been input. Input the source
program name.
A:E3121
A:E3122
The specified source program is not compatible with the system. For
details of which machine models are compatible, see Section 1.2.2.
Some system files (xxxx.TBL) cannot be found. Reinstall the system.
A:E3124
A:E3125
The specified path does not exist. Check the input source program
name.
A:E3126
A FORMATA/B program was specified when copying a source program. FORMATA/B cannot be used. Convert the program via a
memory card or mnemonic format file. For details, see Appendix D.
A:E3128
A:E3130
XXXX FILE READ ERROR. HIT ANY File xxxx cannot be read.
KEY.
A:E3131
A:E3132
A:E3133
A:E3134
The option file (OPTION) has been initialized because its data was
destroyed.
A:E3137
A:E3138
A:E3139
A:E3140
ce
nt
e
r.c
om
A:E3120
.c
nc
A:E3144
A:E3145
A:E3146
A:E3147
A:E3148
A:E3143
239
B62884EN/01
4.2
B : TITLE EDITING
4.2.1
Error
Message
Contents
B:E3020
B:E3021
Data cannot be written to the source program title file (TITLE) or control file (CONTROL).
B:E3022
.c
nc
ce
nt
e
r.c
om
Number
240
B62884EN/01
4.3
C : I/O MODULE
EDITING
4.3.1
Error
Message
Contents
C:E3021
C:E3022
Data cannot be written to the source program I/O module file (IOMODULE) or control file (CONTROL).
C:E3023
C:E3024
The specified group does not exist. Press F3 [HELP] to confirm the
input value range.
C:E3025
The specified base does not exist. Press F3 [HELP] to confirm the
input value range.
C:E3026
The specified slot does not exist. Press F3 [HELP] to confirm the input
value range.
C:E3027
C:E3028
C:E3030
C:E3032
The specified group, base, and slot have already been assigned
modules.
Specify different group, base, and slot numbers.
C:E3033
C:E3034
INVALID DATA, EXCEPT 0, IS SPE- For I/O UnitB (xxx:poweron/off information), a slot other than slot
CIFIED AT THE SLOT OF XXX AS
0 cannot be specified. Specify slot 0.
I/O UNIT B.
r.c
ce
nt
e
.c
nc
The specified module does not exist. Press F3 [HELP] to confirm the
module names that can be specified.
4.3.2
om
Number
Warning
Number
C:W4020
Message
Contents
The specified group, base, and slot have already been assigned
modules. Check whether the same numbers can be assigned for the
group, base, and slot.
C:W4021
INVALID DATA, EXCEPT 0, IS SPE- For the I/O UnitB module, a base other than base 0 cannot be speciCIFIED AT THE BASE OF I/O UNIT fied. Specify base 0.
B.
C:W4022
I/O UnitA and I/O UnitB cannot be assigned to the same group.
Specify different groups.
241
B62884EN/01
4.4
D : SYSTEM
PARAMETER
EDITING
4.4.1
om
Error
Message
Contents
D:E3020
D:E3021
D:E3022
INVALID VALUE
D:E3023
D:E3024
r.c
Number
.c
nc
ce
nt
e
242
B62884EN/01
4.5
E : LADDER/STEP
SEQUENCE EDITING
4.5.1
Number
om
Fatal Error
Message
CANNOT READ FILE.
E:F2101
E:F2102
r.c
E:F2100
Contents
Message
ce
nt
e
4.5.2
INPUT INVALID
E:E3101
E:E3102
E:E3103
E:E3104
E:E3105
E:E3106
E:E3107
PARAMETER NOTHING
E:E3108
LADDER ILLEGAL
E:E3109
E:E3110
E:E3111
E:E3112
E:E3113
Contents
.c
nc
E:E3100
E:E3115
LADDER BROKEN
E:E3116
E:E3117
E:E3118
E:E3119
E:E3120
E:E3121
E:E3122
E:E3114
243
Number
B62884EN/01
Message
Contents
E:E3124
E:E3125
E:E3126
E:E3127
SOURCE PROGRAM OF
ANOTHER FORMAT EXISTS
E:E3128
ILLEGAL SYMBOL
E:E3129
E:E3130
E:E3131
E:E3132
E:E3133
E:E3134
E:E3135
E:E3136
PROGRAM IS OPENED
E:E3137
E:E3138
E:E3139
ce
nt
e
r.c
om
E:E3123
nc
4.5.3
.c
Message
Contents
E:E3201
E:E3202
E:E3203
E:E3200
E:E3204
E:E3205
UNCONNECTED STEP
SEQUENCE DIAGRAM.
E:E3206
The start side of the select branch does not agree with its end side.
E:E3207
The start side of the parallel branch does not agree with its end side.
E:E3208
SYNTAX ERROR.
244
B62884EN/01
Number
Message
Contents
The step line contains an element other than initial step, step, block
step, jump (dummy step), and serial move (vertical line).
E:E3210
The transition line contains an element other than initial step, step,
block step, and jump (dummy step).
E:E3211
CANNOT INSERT.
E:E3212
E:E3213
E:E3214
E:E3215
E:E3216
E:E3217
E:E3218
E:E3219
E:E3220
A branch contains two or more left end codes. (Invalid data exists
before and after the branch code.)
E:E3221
E:E3222
There is an invalid code before or after the branch start and end
codes.
E:E3223
E:E3224
E:E3225
E:E3226
E:E3227
The specified step number is already in use. Check which step numbers are already in use.
E:E3228
E:E3229
E:E3230
E:E3231
INPUT INVALID.
E:E3232
EXPECTED ADDRESS.
.c
nc
ce
nt
e
r.c
om
E:E3209
E:E3234
E:E3235
SUBPROGRAM ALREADY
ENTRIED.
E:E3236
E:E3237
E:E3233
An attempt was made to perform ZOOM for more than eight layers.
245
B62884EN/01
4.5.4
Warning (at Editing
Ladder Diagram)
Number
Message
ILLEGAL OPERATION
E:W4101
E:W4102
70LINE/1NET OVER
E:W4103
E:W4104
E:W4105
E:W4106
256STEP/1NET OVER
E:W4107
E:W4108
E:W4109
ce
nt
e
r.c
om
E:W4100
E:W4111
.c
nc
E:W4110
246
B62884EN/01
4.6
F : SYMBOL &
COMMENT EDITING
4.6.1
Error
Message
om
Number
F:E3101
F:E3102
F:E3103
F:E3104
F:E3105
F:E3106
F:E3107
ce
nt
e
r.c
F:E3100
F:E3109
F:E3110
ILLEGAL SYMBOL.
.c
nc
F:E3108
247
B62884EN/01
4.7
G : MESSAGE
EDITING
4.7.1
Error
Number
Message
ILLEGAL CHARACTERS ARE SPECIFIED AT .
G:E3101
G:E3102
.c
nc
ce
nt
e
r.c
om
G:E3100
248
B62884EN/01
4.8
H : PRINTOUT
4.8.1
Fatal Error
Message
Contents
H:F2005
H:F2008
om
Number
r.c
4.8.2
Error
Number
Message
Contents
INSUFFICIENT MEMORY.
H:E3101
H:E3102
H:E3103
H:E3104
H:E3105
H:E3106
H:E3107
H:E3108
H:E3109
INSUFFICIENT DISK SPACE NEED There is insufficient free space on the disk. Reserve xxxx bytes of
XXXX BYTE FREE
free space.
H:E3110
There is insufficient free space on the disk to perform crossreference. Reserve xxxx bytes of free space.
H:E3111
The maximum allowable number of steps for the ladder diagram has
been exceeded. The maximum number of steps that can be printed
is 32767.
.c
nc
H:E3113
H:E3114
H:E3112
ce
nt
e
H:E3100
249
B62884EN/01
4.8.3
Warning
Number
Message
Contents
H:W4101
H:W4102
The SEL indicator on the printer is not lit. Press the SEL button such
that the indicator lights.
.c
nc
ce
nt
e
r.c
om
H:W4100
250
B62884EN/01
4.9
I : COMPILE
4.9.1
Fatal Error
Number
Message
Contents
I:F2101
OUT OF MEMORY
om
I:F2100
4.9.2
Number
r.c
Error
Message
Contents
The source program cannot be read. (This error normally does not
occur during compilation.)
I:E3101
I:E3102
I:E3103
Source program xxxx does not exist. (This error normally does not
occur during compilation.)
I:E3105
I:E3107
The source file for the system parameter data does not exist.
I:E3108
The source file for the title data does not exist.
I:E3109
The source file for the I/O module data does not exist.
I:E3110
VERIFICATION ERROR
I:E3111
I:E3112
I:E3200
THERE IS AN UNDEFINED
INSTRUCTION.
I:E3201
I:E3220
SPECIFIED VALUE FOR A PARAMETER OF THE XXXX INSTRUCTION IS OUTSIDE THE RANGE.
I:E3221
I:E3222
An outofrange program number or an address other than a program number is specified in a parameter of instruction xxxx.
I:E3223
An outofrange label number or an address other than a label number is specified in a parameter of instruction xxxx.
I:E3250
THERE IS NO LADDER PROGRAM. The ladder program is empty. Specify the END1 or END2 instruction.
ce
nt
e
I:E3100
.c
nc
251
B62884EN/01
Message
Contents
The size of the ladder program exceeds the maximum size specified
for the selected program type.
I:E3252
I:E3253
Because the first level of the main program takes too long to execute,
the ladder cannot be executed. Make the first level smaller, or
increase the ratio of the ladder execution time in the system parameter.
I:E3254
I:E3270
I:E3271
I:E3272
I:E3273
I:E3274
The CALLU instruction cannot be used because a subprogram cannot be called from other than the second level of the main program.
I:E3290
THERE IS NO SP INSTRUCTION AT
THE TOP OF THE SUBPROGRAM.
I:E3291
A subprogram must end with the SPE instruction to indicate the end
of the subprogram.
I:E3292
I:E3293
SP INSTRUCTION IS DETECTED
IN THE SUBPROGRAM.
I:E3310
The END1 instruction is not found at the end of the first level.
I:E3311
The END2 instruction is not found at the end of the second level.
I:E3312
The END3 instruction is not found at the end of the third level.
I:E3313
I:E3314
I:E3315
I:E3316
I:E3317
I:E3318
I:E3319
I:E3320
I:E3330
The COME instruction is not specified when the COM instruction, that
indicates the start of the instruction control range, is specified.
.c
nc
ce
nt
e
r.c
om
Number
I:E3251
252
B62884EN/01
Message
Contents
I:E3332
The CALLU instruction cannot be used because a subprogram cannot be called from within the COM instruction control range.
I:E3333
The COM instruction, that indicates the start of the instruction control
range, is specified twice within the range.
I:E3334
The COME instruction, that indicates the end of the instruction control
range, is specified when the COM instruction, used to indicate the
start of the range, is not specified.
I:E3335
COME INSTRUCTION IS
DETECTED THOUGH THE CASE
OF THE COIL NUMBER SPECIFICATION.
The COME instruction is specified to indicate the end of the instruction control range when the end of the range has already been
defined as a number of coils.
I:E3340
The JMP instruction is specified to indicate the start of the jump block,
but the JMPE instruction, that indicates the end of the block, is not
specified.
I:E3341
I:E3342
I:E3343
I:E3350
The JMPB instruction does not contain label xxxx that indicates the
jump destination.
I:E3351
Two or more identical label numbers are found when defining jump
destinations with the LBL instruction. Specify unique label numbers.
I:E3352
I:E3353
.c
nc
ce
nt
e
r.c
om
Number
I:E3331
THERE IS AN UNDEFINED
INSTRUCTION.
I:E3420
The parameter of the program start instruction (SP) contains a program number that does not correspond to the program name.
I:E3422
I:E3423
I:E3440
THERE IS NO SP INSTRUCTION
AT THE TOP OF THE SUBPROGRAM.
I:E3400
I:E3421
253
Number
B62884EN/01
Message
Contents
A subprogram must end with the SPE instruction to indicate the end
of the subprogram.
I:E3442
I:E3443
SP INSTRUCTION IS DETECTED
IN THE SUBPROGRAM.
I:E3460
I:E3461
I:E3462
I:E3480
Two or more steps have identical step numbers. Define a unique step
number for each step.
I:E3570
THE SIZE OF THE MESSAGE DATA The amount of message data exceeds the maximum number of characters that can be specified for the selected program type. Reduce
IS TOO LARGE.
the total number of characters.
I:E3600
The combined size of the ladder program and the step sequence program exceeds the maximum allowable size specified for the selected
program type. Reduce the size of the ladder or step sequence program.
I:E3601
I:E3620
THERE IS NO SUBPROGRAM
XXXX.
The selected program does not contain any subprogram file numbered
xxxx. Create a subprogram file having this number.
I:E3640
The END instruction is placed at the end of the second level when it
is followed by a subprogram. Or, the END instruction is placed at the
end of a subprogram when there is a subsequent subprogram having
a higher program number.
I:E3650
I:E3651
I:E3652
I:E3654
r.c
ce
nt
e
nc
.c
I:E3653
om
I:E3441
254
B62884EN/01
4.9.3
Warning
Number
Message
Contents
The title data contains kana or kanji characters. These characters are
replaced by spaces.
I:W4101
Necessary addresses (key address, LED address, etc.) are not set
when YES is specified for the system parameter indicating whether
the F0 operator panel is to be used. The value of this parameter is
changed to NO during compilation.
I:W4102
There is a subprogram for which editing has not yet been completed.
Complete the editing of this subprogram.
I:W4103
MULTIPLE SUBPROGRAMS WITH Two subprograms have identical numbers (e.g., P1.#LA and
SAME NUMBER EXIST.
P1.#SS). The ladder program is the first to be compiled (P1.#LA in
the above example).
I:W4104
I:W4105
I:W4200
THERE IS NO LADDER PROGRAM. The ladder program is empty. This ladder program is not output to a
memory card file.
I:W4201
The first level of the main program takes too long to execute. Make
the first level smaller, or increase the ratio of the ladder execution time
in the system parameter.
I:W4202
I:W4203
I:W4204
I:W4400
r.c
ce
nt
e
.c
nc
The comment data contains a special character that cannot be handled by the CNC. This character is replaced by a space.
I:W4502
I:W4570
The message data contains a special character that cannot be handled by the CNC. This character is replaced by a space.
I:W4600
UNREFERENCED SUBPROGRAM
XXXX.
Subprogram xxxx is not called by any program. This program is, however, output to a memory card file.
I:W4500
om
I:W4100
I:W4501
255
B62884EN/01
4.10
J : DECOMPILATION
4.10.1
Fatal Error
Message
Contents
J:F2100
The function code specified in the memory card file does not match
that defined in the system. The files function code appears immediately after DATA; the systems function code after SYSTEM. Install
valid system data.
J:F2101
PMC SERIES IS DIFFERENT FROM The program specified in memory card file xxxx does not match the
XXXX MEMORY CARD FORMAT
selected program type. Select a valid program.
FILE.
J:F2102
Specified memory card file xxxx does not exist. Create the file.
J:F2103
MISMATCHED PASSWORD.
J:F2104
J:F2105
Error
Message
r.c
nc
Number
ce
nt
e
4.10.2
om
Number
Contents
THERE IS AN UNDEFINED
INSTRUCTION.
J:E3101
There is a subprogram in the selected program that does not end with
the SPE instruction.
J:E3200
The symbol data size in a selected program exceeded the systemdefined limit before the program was executed. The program thus cannot
be executed; reduce the symbol data size.
.c
J:E3100
J:E3300
256
B62884EN/01
4.10.3
Warning
Message
Contents
J:W4101
J:W4102
J:W4103
J:W4104
Step number xxxx is assigned to two or more different steps. Edit the
step sequence as necessary.
J:W4200
J:W4201
xxxx symbol data items are defined for the same address. Either the
source data or the memory card data becomes valid, depending on
the setting of the symbol merge option.
J:W4202
J:W4203
ILLEGAL SYMBOL.
(ADDRESS XXXX, SYMBOL XXXX)
J:W4204
J:W4300
r.c
ce
nt
e
nc
.c
J:W4301
om
Number
J:W4100
The R/D extension address cannot be used because the PMC version of PMCRC is earlier than 3. Change the PMC version in the system parameter.
The header section of memory card file xxxx is invalid. However, processing continues.
J:W4900
J:W4901
J:W4800
257
B62884EN/01
4.11
K : MNEMONIC
CONVERSION
4.11.1
Number
om
Fatal Error
Message
Contents
INSUFFICIENT MEMORY.
K:F2001
K:F2006
K:F2007
K:F2100
K:F2101
K:F2102
ILLEGAL OPTION(S).
K:F2103
INSUFFICIENT PARAMETER(S).
K:F2104
K:F2105
K:F2106
ILLEGAL IDCODE.
K:F2107
EXPECTED TERMINATOR.
K:F2108
K:F2109
EXPECTED IDCODE.
K:F2110
ILLEGAL PARAMETER(S).
K:F2111
K:F2112
K:F2113
K:F2114
K:F2115
K:F2116
K:F2117
.c
nc
ce
nt
e
r.c
K:F2000
258
B62884EN/01
4.11.2
Error
Number
Message
Contents
K:E3100
K:E3101
K:E3102
K:E3103
K:E3104
K:E3105
A bit address is specified in the byte address parameter of the functional instruction.
K:E3106
K:E3107
K:E3108
K:E3109
A parameter prohibited address is specified as the address parameter of the functional instruction.
K:E3110
K:E3111
K:E3112
K:E3113
K:E3114
K:E3117
EXPECTED A MULTIPLE OF 2.
K:E3118
EXPECTED A MULTIPLE OF 5.
.c
nc
ce
nt
e
r.c
om
EXPECTED ADDRESS.
K:E3120
K:E3119
K:E3121
EXPECTED PARAMETER(S).
K:E3122
K:E3123
ILLEGAL ADDRESS.
K:E3124
K:E3125
K:E3126
ILLEGAL CHARACTER(S).
The system parameter, title data, symbol and comment data, or message data contains invalid character data.
259
Number
B62884EN/01
Message
Contents
ILLEGAL SOURCEPROGRAM
NAME.
K:E3128
K:E3129
K:E3130
K:E3131
ILLEGAL VALUE.
K:E3132
An invalid value is specified in the base data of the I/O module data.
K:E3133
An invalid value is specified in the group data of the I/O module data.
K:E3134
An invalid value is specified in the slot data of the I/O module data.
K:E3135
K:E3136
K:E3137
K:E3138
INPUT SOURCEPROGRAM
NAME.
K:E3139
K:E3140
K:E3141
K:E3142
K:E3143
K:E3144
K:E3145
INVALID QUALIFIER.
K:E3146
K:E3147
K:E3148
K:E3149
K:E3150
K:E3151
K:E3152
ce
nt
e
r.c
om
K:E3127
.c
nc
The system parameter, title data, symbol and comment data, ladder,
or I/O module data is followed by an invalid character.
K:E3154
K:E3153
K:E3155
K:E3156
K:E3157
K:E3158
OUT OF ADDRESS LIMITS IN DATA An outofrange address is specified in the functional instruction
TABLE.
data table.
K:E3159
260
B62884EN/01
Number
Message
Contents
K:E3161
K:E3162
OUT OF VALUE.
K:E3163
K:E3164
K:E3165
K:E3166
K:E3167
K:E3168
PROCESS ERROR.
K:E3172
K:E3173
K:E3174
K:E3176
K:E3177
K:E3178
K:E3179
The group, base, and slot data of the I/O module data all have the
same number.
K:E3181
K:E3187
K:E3188
K:E3189
TOTAL VALUE OF BASE AND SLOT The sum of the base data and slot data values of the I/O module data
IS OVER.
exceeds the maximum.
.c
nc
ce
nt
e
r.c
om
K:E3160
UNDEFINED INSTRUCTION.
K:E3191
UNEXPECTED ADDRESS.
K:E3190
UNEXPECTED PARAMETER(S).
K:E3193
K:E3192
K:E3194
K:E3195
261
B62884EN/01
4.11.3
Warning
Number
Message
Contents
K:W4101
The system parameter, title data, symbol and comment data, message data, or I/O module data does not exist.
K:W4102
K:W4103
K:W4104
K:W4105
ILLEGAL OP.PANEL(PARAMETER).
PROCEED TO DISCOMPILE
USING NO.
K:W4106
ILLEGAL SYMBOL.
K:W4107
K:W4108
K:W4109
K:W4110
A register exists that has not been output to the ladder data.
K:W4111
K:W4112
Control conditions required for the functional instruction are not specified.
K:W4113
K:W4114
K:W4115
.c
nc
ce
nt
e
r.c
om
K:W4100
K:W4117
K:W4116
K:W4119
K:W4120
INVALID QUALIFIER.
K:W4121
REGISTERS OVERFLOW.
K:W4122
K:W4123
The group, base, and slot data of the I/O module data all have the
same number.
K:W4118
An invalid character follows the end code % of the system parameter, title data, symbol and comment data, ladder data, message data,
or I/O module data.
262
B62884EN/01
Message
Contents
K:W4124
K:W4125
K:W4126
K:W4127
K:W4128
UNEXPECTED COIL(S).
K:W4129
K:W4130
REDEFINITION OF ADDRESS
DATA.
Two or more symbol definitions exist for a single address. When the
start code of the symbol data is %@2, the symbol definition must not
be specified more than once. The second and subsequent definitions
are ignored. For information relating to the start code, see Section
3.5.8.3.
K:W4131
K:W4132
The character string length of the symbol data exceeds the maximum
(six characters for FORMATA and FORMATB; 16 characters for
FORMATC). The symbol data is replaced by spaces.
K:W4133
K:W4134
Two or more different symbols are specified for the same address.
(For FORMATC, an identical symbol may be specified in more than
one location.) Symbols other than that specified first are replaced by
spaces.
K:W4135
RELAY COMMENT DATA ALREADY Two or more different character strings are specified for the same
EXIST.
relay comment at the same address. (For FORMATC, an identical
character string may be specified in more than one location.) Relay
comments other than that specified first are replaced by spaces.
K:W4136
K:W4137
r.c
ce
nt
e
nc
.c
K:W4138
om
Number
Two or more different character strings are specified for the same coil
comment at the same address. (For FORMATC, an identical character string may be specified in more than one location.) Coil comments other than that specified first are replaced by spaces.
Two or more different character strings are specified for the same
comment title at the same address. (For FORMATC, an identical
character string may be specified in more than one location.) Comment titles other than that specified first are deleted.
The relay comment data length exceeds 16 characters. (For FORMATC only) The relay comment data is replaced by spaces.
The coil comment data length exceeds 30 characters. (For FORMATC only) The coil comment data is replaced by spaces.
K:W4140
The comment title data length exceeds 30 characters. (For FORMATC only) The comment title data is replaced by spaces.
K:W4139
263
B62884EN/01
4.12
L : INPUT/OUTPUT
4.12.1
Error
Number
Message
Contents
L:E3101
The currently set cassette or module does not match the currently
selected machine model.
L:E3102
L:E3103
L:E3104
L:E3105
L:E3106
L:E3107
L:E3108
ACCESS CANCELED
L:E3109
L:E3110
L:E3120
L:E3121
L:E3122
L:E3123
L:E3124
L:E3125
ROM PARITY ERROR OF APPOINT The ROM parity of the specified file is invalid.
FILE
L:E3126
L:E3150
L:E3151
L:E3152
L:E3153
ce
nt
e
r.c
om
L:E3100
.c
nc
L:E3155
L:E3156
L:E3157
L:E3158
L:E3159
L:E3160
L:E3180
L:E3181
DIAGNOSIS ERROR
L:E3182
L:E3183
COMPARE ERROR
The EROM data does not match the ROM file contents.
L:E3154
264
B62884EN/01
Number
Message
Contents
L:E3185
L:E3186
L:E3187
PARITY ERROR
L:E3188
L:E3189
L:E3190
L:E3191
L:E3192
L:E3193
L:E3194
L:E3195
INSUFFICIENT MEMORY
L:E3196
L:E3197
L:E3198
The ROM count for memory card format conversion is invalid (the
count falls outside the allowable range).
L:E3199
The ROM count for memory card format conversion is invalid (the file
size falls outside the allowable range).
L:E3200
L:E3201
INITIALIZE ERROR
L:E3202
L:E3203
L:E3204
L:E3205
OUT OF MEMORY
L:E3206
L:E3207
The work file for memory card format conversion cannot be opened.
L:E3208
L:E3209
L:E3210
The machine model setting file was destroyed during an I/O operation.
ce
nt
e
r.c
om
L:E3184
.c
nc
L:E3211
L:E3212
L:E3213
L:E3214
L:E3215
L:E3216
L:E3217
The ROM count for memory card format conversion is invalid (the
ROM size falls outside the allowable range).
265
Number
B62884EN/01
Message
Contents
L:E3219
L:E3220
L:E3221
L:E3222
L:E3223
L:E3224
L:E3225
L:E3226
L:E3227
L:E3228
INVALID ROM COUNT IN ROM FILE The ROM count in the ROM file is invalid.
L:E3229
L:E3230
PARAMETER ERROR
(MEMORY CARD TYPE)
L:E3300
The name of the source file for which format conversion is to be performed is invalid.
L:E3301
The name of the destination file for source file conversion is invalid.
L:E3302
L:E3303
L:E3304
L:E3306
L:E3320
L:E3321
L:E3322
L:E3323
L:E3324
L:E3325
.c
nc
ce
nt
e
r.c
om
L:E3218
L:E3328
L:E3329
L:E3330
L:E3331
L:E3332
L:E3333
L:E3334
L:E3335
L:E3326
266
B62884EN/01
Message
INVALID DATA BITS IN TEXT FILE
Contents
L:E3337
L:E3338
L:E3339
L:E3340
L:E3341
L:E3342
L:E3343
The work file cannot be deleted (the specified file is not found).
L:E3344
L:E3345
L:E3350
L:E3351
PORT ERROR(PARTY)
L:E3352
PORT ERROR(FRAMING)
L:E3353
PORT ERROR
(BREAK INTERRUPT)
L:E3354
PORT ERROR
(TIME OUT)
L:E3355
PORT ERROR
(DATA OUTPUT)
L:E3356
The system timer is invalid. Change the data in the text file
(FLIO_AT.DAT).
For details, see the comment section of
FLIO_AT.DAT.
L:E3400
L:E3401
L:E3402
L:E3403
L:E3404
L:E3500
L:E3501
ce
nt
e
r.c
om
Number
L:E3336
.c
nc
L:E3503
L:E3502
L:E3504
L:E3505
L:E3506
L:E3507
L:E3508
PARAMETER ERROR IN DATA FILE The data file contains an invalid parameter.
L:E3509
267
Number
B62884EN/01
Message
Contents
L:E3510
L:E3513
L:E3514
L:E3515
COCNVERT CANCEL
L:E3516
L:E3600
L:E3601
L:E3602
L:E3603
L:E3604
L:E3605
L:E3606
L:E3607
L:E3608
PARAMETER ERROR IN DATA FILE The data file contains an invalid parameter.
L:E3609
L:E3610
L:E3611
L:E3612
L:E3613
L:E3614
L:E3615
COCNVERT CANCEL
L:E3516
.c
nc
ce
nt
e
r.c
om
L:E3511
L:E3512
L:E3618
L:E3617
L:E3620
L:E3621
L:E3622
L:E3700
L:E3701
L:E3702
INSUFFICIENT MEMORY
L:E3703
L:E3619
268
B62884EN/01
Number
Message
Contents
L:E3705
The ROM count for memory card format conversion is invalid (the
count falls outside the allowable range).
L:E3706
The ROM count for memory card format conversion is invalid (the file
size falls outside the allowable range).
L:E3707
L:E3708
INITIALIZE ERROR
L:E3709
L:E3710
L:E3711
L:E3712
OUT OF MEMORY
L:E3713
L:E3714
The work file for memory card format conversion cannot be opened.
L:E3715
L:E3716
L:E3717
L:E3718
L:E3719
L:E3720
L:E3721
L:E3722
L:E3723
L:E3724
The ROM count for memory card format conversion is invalid (the
ROM size falls outside the allowable range).
L:E3725
L:E3726
L:E3727
L:E3728
L:E3729
L:E3730
L:E3731
L:E3732
L:E3733
L:E3734
L:E3735
INVALID ROM COUNT IN ROM FILE The ROM count in the ROM file is invalid.
L:E3736
L:E3737
PARAMETER ERROR
(MEMORY CARD TYPE)
ce
nt
e
r.c
om
L:E3704
The machine model setting file was destroyed during an I/O operation.
.c
nc
269
B62884EN/01
4.12.2
Warning
Number
Message
Contents
L:W4101
L:W4102
XXXX IS A PROGRAM OF
DIFFERENT PMC TYPE.
Restoring program PMC type and system PMC type is not same.
L:W4200
NORMAL END
L:W4201
L:W4202
PARITY UNMATCH
L:W4203
L:W4204
L:W4205
The last 120h bytes of the ROM file have been deleted.
L:W4206
L:W4207
.c
nc
ce
nt
e
r.c
om
L:W4100
270
B62884EN/01
4.13
N : ONLINE
MONITOR
4.13.1
Error
Message
Contents
om
Number
N:E3003
N:E3006
N:E3007
N:E3008
N:E3030
N:E3031
When the PMC control module type is RA1, online editing cannot be
performed.
N:E3036
N:E3037
N:E3038
N:E3041
N:E3042
N:E3045
The ladder program being edited is too large to be written to the PMC.
Reduce the size of the ladder program.
N:E3046
The program being edited does not match that of the PMC.
Load, store, or restore the program such that it matches the PMC program.
N:E3047
N:E3048
The program being edited does not match that of the PMC.
Load, store, or restore the program such that it matches the PMC program.
N:E3050
INPUT INVALID
N:E3051
N:E3054
N:E3055
ce
nt
e
r.c
N:E3001
.c
nc
271
Number
B62884EN/01
Message
Contents
The usage of the END1, END2, END3, and END functional instructions is invalid.
Check whether these instructions have been entered in the correct
order.
N:E3058
LADDER BROKEN
N:E3060
N:E3061
N:E3062
N:E3063
N:E3064
SP NO. DUPLICATE
N:E3065
No subprogram exists.
Create a subprogram.
N:E3066
N:E3068
N:E3069
N:E3070
N:E3071
N:E3072
N:E3073
N:E3074
ce
nt
e
r.c
om
N:E3056
.c
nc
N:E3075
N:E3076
N:E3077
SYMBOL UNDEFINE
N:E3080
LADDER ILLEGAL
272
B62884EN/01
Number
Message
Contents
ILLEGAL OPERATION
N:E3084
N:E3085
N:E3090
N:E3091
N:E3092
N:E3093
N:E3094
N:E3095
N:E3096
PARAMETER NOTHING
N:E3097
No address is specified.
Specify an address.
N:E3100
The net being edited exceeds the size of the editing buffer.
Reduce the size of the net being edited.
N:E3102
N:E3111
N:E3113
N:E3114
ILLEGAL FUNCTION NO
N:E3123
N:E3126
N:E3130
N:E3131
N:E3125
r.c
ce
nt
e
nc
.c
N:E3124
om
N:E3082
273
B62884EN/01
Message
NET COMMENT FILE OPEN ERROR
ERROR STATUS = nn
Contents
N:E3140
N:E3141
An error occurred while reading data table control data from the PMC.
Check the connection with the PMC and whether the specified
machine model matches that of the connected PMC.
N:E3142
An error occurred while writing data table control data to the PMC.
Check the connection with the PMC and whether the specified
machine model matches that of the connected PMC.
N:E3143
An attempt was made to change a value in a data table group, but that
data table group is writeprotected.
First, check whether the correct data table group is specified, then set
that data table group to writeenabled status.
N:E3144
N:E3150
N:E3151
N:E3153
N:E3155
N:E3158
N:E3160
SELECTED PROGRAM IS
UNMATCH.
The specified program does not match that in the PMC memory.
Specify the correct program, or load or store the program such that
it matches the PMC memory program.
N:E3161
ce
nt
e
r.c
om
Number
N:E3132
.c
N:E3162
Communication with the PMC has not yet been established. Set up
communication with the PMC.
N:E3163
MISMATCH PASSWORD
N:E3164
The size of the specified program exceeds that of the PMC program
memory.
Check the sizes of the specified program and the PMC program
memory.
N:E3167
N:E3170
N:E3171
nc
The system cannot switch to store or monitor because the ladder diagram has been modified.
Update the ladder diagram.
274
B62884EN/01
Message
Contents
When nn = 1:
There is insufficient memory.
Reserve an area in extended memory, conventional memory, or on
disk.
When nn = 2:
The net comment file contains invalid data.
Check the net comments using the offline function.
N:E3173
When nn = 1:
There is insufficient memory.
Reserve an area in extended memory, conventional memory, or on
disk.
When nn = 2:
The net comment file contains invalid data.
Check the net comments using the offline function.
N:E3174
When nn = 1:
There is insufficient memory.
Reserve an area in extended memory, conventional memory, or on
disk.
When nn = 2:
The net comment file contains invalid data.
Check the net comments using the offline function.
N:E3175
N:E3176
N:E3177
N:E3178
The net comment file contains no net comment within the specified
range.
Check the net comments using the offline function.
N:E3183
On-line editing function and I/O menu functions are protected. Confirm keep relay.
Data table control data screen is protected. Confirm keep relay.
N:E3184
N:E3185
N:E3186
N:E3187
WRITE PROTECT.
.c
nc
ce
nt
e
r.c
om
Number
N:E3172
275
B62884EN/01
Number
Contents
Signal trigger unavailable
[Cause] Trigger data on PMC side is invalid.
[Remedy] Please restart signal trigger.
N:E3301
N:E3302
N:E3303
N:E3304
N:E3305
N:E3310
N:E3311
N:E3312
N:E3320
N:E3321
r.c
ce
nt
e
nc
.c
N:E3322
om
N:E3300
N:E3323
N:E3324
N:E3325
276
B62884EN/01
Number
Contents
Illegal PMC parameter file name.
[Cause] The mistake is found in the file name.
[Remedy] Please confirm the file name.
N:E3327
N:E3328
N:E3329
N:E3341
N:E3342
N:E3343
N:E3344
N:E3345
N:E3346
N:E3347
.c
nc
ce
nt
e
r.c
om
N:E3326
N:E3348
N:E3349
N:E3350
N:E3351
277
B62884EN/01
Number
Contents
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:E3353
N:E3354
N:E3370
N:E3371
N:E3372
N:E3373
N:E3374
.c
nc
ce
nt
e
r.c
om
N:E3352
278
r.c
ce
nt
e
nc
.c
om
APPENDIX
B62884EN/01
.c
nc
ce
nt
e
r.c
om
Those functions which vary depending on the PMC model are described
below. Read this appendix in conjunction with Section 1.2.2.
281
B62884EN/01
A.1
SYSTEM
PARAMETERS
A.1.1
The system parameter editing screens for all of the PMC models are
shown below. For a detailed explanation of editing, see Section 3.5.2.6.
Editing
PMCRB3
<0>[C: FLADDER]
:
:
:
:
:
(0:BINARY, 1:BCD)
(0:NO, 1:YES)
r.c
1)
2)
3)
4)
5)
6)
7)
8)
9)
om
(1) PMCRB3/RB4/RB5/RB6
ce
nt
e
10 END
(2) PMCRC3/RC4
PMCRC4
.c
nc
<0>[C: FLADDER]
:
:
0
100%
:
:
:
:
:
:
:
50%
000000H
0
(0:BINARY, 1:BCD)
(1150%)
(099%)
(0:NO, 1:YES)
282
10 END
B62884EN/01
A.1.2
Examples of Mnemonic
Files (SingleFormat)
The system parameter mnemonic formats for the PMC models are shown
below. For information about the mnemonic editing function, see Section
3.5.8.
(1) PMCRB4/RB5/RB6
When specifying YES in Item 3 above (whether an operators panel is used), specify the KEY address, LED address,
KEY image address, and LED image address as follows:
3 YES X0000 Y0000 R0000 R0010
%@0
2
BINARY
3
NO
4
PMC RB3
7
100
%
[EOB]
(Binary or BCD)
(YES: Used, NO: Not used)
(PMC-RB3)
(100% (fixed))
nc
2.
3.
4.
7.
ce
nt
e
(2) PMCRB3
Note
(Binary or BCD)
(YES: Used, NO: Not used)
(PMC-RB4/PMC-RB4 (STEP SEQ) /
PMC-RB5/PMC-RB6 (STEP SEQ) )
r.c
Note
2.
3.
4.
om
%@0
2
BINARY
3
NO
4
PMC RB4
%
[EOB]
When specifying YES in Item 3 above (whether an operators panel is used), specify the KEY address, LED address,
KEY image address, and LED image address as follows:
.c
(3) PMCRC3/RC4
%@0
2
BCD
3
NO
4
PMC RC4
5
000000
6
50
7
100
%
[EOB]
Note
2.
3.
4.
5.
6.
7.
(Binary or BCD)
(YES: Used, NO: Not used)
(PMC-RC3/PMC-RC4/PMC-RC4
(STEPSEQ))
Start address of language program link control statement data
(0 or 800000 to 8FFFFF (hexadecimal))
Percentage of language program execution time
(1% to 99%)
Ladder execution time
(Always 100%)
When specifying YES in Item 3 above (whether an operators panel is used), specify the KEY address, LED address,
KEY image address, and LED image address as follows:
3 YES X0000 Y0000 R0000 R0010
283
A.2
B62884EN/01
During linking, load modules created in the C language are linked with
a ROM format file. The C language can be used only with
PMC-RC3/RC4/RC4 (STEP SEQ)/QC/NB/NB2.
Linking is not
required when the C language is not used.
LINK
ROM
format file
ROM
format file
Transferred
to the ROM
writers and
PMC
om
Link
Load modules
in C language
ce
nt
e
r.c
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).
FAPT LADDER
nc
Convert
(Note 2)
Object file
(MCARD file)
iC286 (compiler)
.c
FANUC
distribution
library
BND386 (binder)
BLD386 (binder)
Link
OJ386 (converter)
Intel hexadecimal
load module
Convert
(Note 2)
ROM format file
Object file
with C language
(MCARD file)
HEX2SREC
(Note 1)
PMC RC3
Debug
ROM writer
284
B62884EN/01
om
Notes
1 Intel hexadecimal load modules cannot be linked. Before
link operation, convert the file format by referring to the
HEX2SREC Users 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.
r.c
ce
nt
e
C:\FLADDER\APPENDIX> HEX2SREC
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.
.c
nc
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
B62884EN/01
F4
Enter
om
r.c
ce
nt
e
PMC model
PMC-RC3
PMC-RC4
PMC-RC4 (STEP SEQ)
fl03400.tbl
fl04000.tbl
fl04200.tbl
(Initial value)
PMCRC3
nc
: A:DATACMODULE.SR
: A:DATASAMPLE.#EX
Edition
.c
Series
NC & PMC name
<0>[A:FLADDER]
1 EXEC
2 MAP
3 ERROR 4 P
5I
10 END
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.
286
B62884EN/01
(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].
.c
nc
ce
nt
e
r.c
om
(4) Termination
[Operation]
1) Select [END].
2) The screen display returns to the main menu screen.
287
B. AUTOMATIC COMPILATION
AND DECOMPILATION
.c
nc
ce
nt
e
r.c
om
B62884EN/01
288
B. AUTOMATIC COMPILATION
AND DECOMPILATION
B62884EN/01
.c
nc
ce
nt
e
r.c
om
Note
The options applied to automatic compilation or
decompilation, started under the above conditions, are
those specified with [PROGRAM OPTION SETTING] of the
offline function. Before attempting to select [ONLINE
FUNCTION], confirm the set options. For details of how to
set options, see Section 4.5.7.
289
.c
nc
ce
nt
e
r.c
om
B62884EN/01
290
B62884EN/01
C.1
SYSTEM
CONFIGURATION
FILE %%% FLSET.
CNF
r.c
om
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
;
;
;
*V;
System information
;
verl=A08B9201J503
Version 01.0;
rights=Copyrigth (C) 19911995 FANUC LTD.;
*S;
System Setup
;
editor =;
;
ladkey = 1;
;
;
IEC_SYM=2
;
;
*U;
Utility Information
;
N = UTILITY;
;
F1 = Dos / command.com;
F2 = flOadat / FLOADAT;
F3 = View result / FLVIEW.BAT %p.err;
F4 =Linker / i_lipmcrpf103400b.tbl;
F5 =;
F6 =;
F7 =;
F8 =;
F9 =;
F10=;
;
[EOF]
ce
nt
e
.c
nc
Text Editor
Utility Guidance
291
B62884EN/01
om
r.c
Registered tool
.c
nc
ce
nt
e
292
B62884EN/01
.c
nc
ce
nt
e
r.c
om
293
D.1
DIFFERENCES FROM
FAPT LADDER
B62884EN/01
FORMATC
f (NOTE)
f (NOTE)
f (NOTE)
FAPT LADDERII
FAPT LADDER
om
FORMATA
r.c
Note
The supported source program types also vary with the
PMC model. For details, refer to the relevant FAPT
LADDER manual.
ce
nt
e
C:
data
PRG _C
.c
nc
S
S
S
S
S
S
S
S
S
S
S
S
S
S
CONTROL
SYSPARAM
TITLE
XSYMBOL.xxx
MESSAGE
IOMODULE
LEVEL1.#LA
LEVEL2.#LA
LEVEL3.#LA
Pyyy.#LA
Pzzz.#SS
NETCMT.xxx
OPTION
MCARD
(Note 1)
(Note 2)
(Note 3)
(Note 3)
(Note 1)
Notes
1 xxx is number of multi file managing.
2 Only for use LEVEL3 ladder.
3 yyy, zzz is number of subprogram.
2) FORMATA
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
B62884EN/01
xxxxxxxx.#CN
xxxxxxxx.#PA
xxxxxxxx.#TA
xxxxxxxx.#SY
xxxxxxxx.#C1
xxxxxxxx.#C2
xxxxxxxx.#ME
xxxxxxxx.#IO
xxxxxxxx.#LA
om
CONTROL
SYSPARAM
TITLE
SYMBOL
COMMENT1
COMMENT2
MESSAGE
IOMODULE
LEVEL1.#LA
LEVEL2.#LA
LEVEL3.#LA
Pyyyyy.#LA
Pyyyyy.#SS
nc
ce
nt
e
r.c
3) FORMATB
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.
.c
FAPT LADDER
Source file
1)
2)
1) Compile
3) Output (in ROM format)
ROM format
file
3)
4)
2) Decompile
4) Input (in ROM format)
295
External devices
CNC
Memorycard format file
HandyFile format file
FAPT LADDERII
Source file
Each data file
1)
2)
3)
MCARD file
4)
2) Decompile
4) Input (in object format)
.c
nc
ce
nt
e
r.c
1) Compile
3) Output (in object format)
External devices
CNC
Memorycard format file
HandyFile format file
om
(b)
B62884EN/01
296
B62884EN/01
D.2
om
CONVERSION FROM
FAPT LADDER
When converting data created with FAPT LADDER for use with the
Ladder Editing Package, use a method that is appropriate for the data
format, as described below.
[Data types]
Source file of FORMATC
Source file of FORMATA and B
Mnemonic format file
Memorycard format file
ROM format file
r.c
ce
nt
e
.c
nc
297
On the following PMC type, it is possible to edit the different PMC type
data by changing system parameter of the mnemonic data.
However, format of the system parameter, usable functional instructions
and range of address are different.
Conversion source
(PMC)
om
D.3
B62884EN/01
Conversion
destination (PMC)
Remarks
r.c
PMC-RA1/RA2/RA3
Step sequence data
PMC-RB3/RB4/RB5/RB6 cannot be converted.
RB/RB2/RB3
RC3/RC4
RB4/RB5/RB6
RC/RC3/RC4
PMC-PA1/PA3/NB/NB2
ce
nt
e
(1) Set the PMC type to PMCRB3 and convert the original source
program to mnemonic file.
(2) Change the system parameter of the mnemonic file to PMCRC3
with a standard text editor.
(3) Convert the mnemonic file((2)) to source program by the open
CNC of PMCRC3 model.
nc
.c
%@A
%@0
2 BCD
3 NO
4 PMCRB3
7 100
%
%@1
01 ABCKIKAI
02 SDRILL
%
%@5
X000 1 0 1 ID16C
Y008 1 0 4 OD32A
%
%@E
%@A
%@0
2 BCD
3 NO
4 PMCRC3
5 000000
6 50
7 100
%
%@1
01 ABCKIKAI
02 SDRILL
%
%@5
X000 1 0 1 ID16C
Y008 1 0 4 OD32A
%
%@E
298
B62884EN/01
D.3.2
Conversion source
(PMC)
Conversion
destination (PMC)
Converter
file name
PMC-L/M/M
(FS0-T)
PMC-L/M/M
(FS0-M)
om
Conversion Using a
Signal Address
Converter
r.c
Note
A converter file is included under the
APPENDIX
subdirectory on the system floppy disk (Vol. 5).
[Example operation: PMCM PMCRB4]
(1) Set FAPT LADDER for PMCM, then convert the program subject
to conversion to a mnemonic file. ( A.)
ce
nt
e
(2) On the OPEN CNC of the PMCRB4 model, convert the source
program to a mnemonic file with the offline function for
MNEMONIC EDIT. ( B.)
(3) Start your text editor (any commercially available text editor can be
used.) (Specify the name of the mnemonic file created in (2) as the
edit file name.)
(4) Replace the symbol data of the conversion destination mnemonic file
(PMCRB4) with the converter file (FS0T_CNV.SYM). ( C.)
nc
(5) Replace the ladder data of the conversion destination mnemonic file
(PMCRB4) with the ladder data of the conversion source mnemonic
file (PMCM). ( D.)
(6) Terminate the text editor, then start the Ladder Editing Package.
.c
(7) Convert the mnemonic format file created in (5), above, to a source
program.
(8) On the symbol editing screen, delete all symbol and comment data.
299
%@A
%@0
1 400
20
Converter file
(FS0T_CNV.SYM)
%@2
G0000.0 G100.0
G0000.1 G100.1
G0000.2 G100.2
F0135.4 F275.4
F0135.5 F275.5
F0135.6 F275.6
F0135.7 F275.7
%
7 100
80
90
%@1
%
%@2
%
%@3
RD X21.4
WRT G121.4
RD. NOT X22.3
WRT. NOT G122.3
SUB 1
SUB 2
%
%@4
%
%@E
C.Insertion
.c
nc
ce
nt
e
r.c
D.Insertion
%@A
%@0
2 BINARY
3 NO
4 PMCRB4
%@1
%
%@2
%
%@3
%
%@4
%
%@5
%
%@E
om
A. Conversion source
mnemonic format file
(PMCM)
B62884EN/01
300
B62884EN/01
D.3.3
Using Data in a
Sequence Program for
Another Program
Data (such as title, symbol & comment, ladder, message, and I/O module
data) in a sequence program can be used for another sequence program,
by the following method.
The range of addresses used varies from one model to another. They may
have to be modified. Refer to the programming manual of the respective
models.
om
[Example : Using the symbols & comment data of the PMCRB for the PMCRC3]
%@A
%@0
2 BCD
3 NO
4 PMCRC3
5 000000
6 50
7 100
%
%@1
%@2
X000 .0 ZPX. M
X0001.1 ZPY. M
%
%
%@E
ce
nt
e
r.c
%@A
%@0
2 BCD
3 NO
4 PMCRB
7 100
9 YES
%
%@1
Insert
%@2
X0000.0 ZPX. M
X0001.1 ZPY. M
%
.c
nc
%
%@E
301
B62884EN/01
D.4
TRANSFER FROM
PG
D.4.1.1
Command Input During
Startup
om
Function for
Transferring Data
between the PG and
PC
(1) Uploading
Loads the FAPT LADDER mnemonic data into the PC from the PG
via the RS232C port.
r.c
D.4.1
FLOADAT
ce
nt
e
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.
File is exist. Over write? <Y/N>
nc
(2) Downloading
Loads the FAPT LADDER mnemonic data into the PG from the PC
via the RS232C port.
[name of file for storing downloaded data]
Note
The above parameters can be specified with either
lowercase or uppercase characters.
.c
FLOADAT
302
B62884EN/01
D.4.1.2
PC side
IBM PC/AT series
MODE COM1:
(PC DOS MODE
MODE COM1:
command)
PG side
IO NC,CN1,F1,F6
IO NC,CN1,F1,F6,BR10 (for 9600 baud)
Communications
Settings
4800,E,7,2
9600,E,7,2
(for 9600 baud)
ce
nt
e
r.c
om
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 PG.
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).
nc
<PC> <PG>
<PC>
IBM PC/AT Series : Enter MODE command settings. (See Section 2 of Communications Settings)
<PG>
<PC>
FLOADAT FILENAME u
.c
<PG>
<PG>
<PC>
Begins transmission.
<PC>
<PG>
EXECUTING is displayed.
<PC>
Completes transmission.
Returns to the menu.
<PG>
<PC>
303
B62884EN/01
During downloading
Operation procedure
<PC> <PG>
Turn on power.
<PG>
<PC>
IBM PC/AT Series : Enter MODE command setting. (See Section 2 of Communications Settings)
<PG>
<PG>
<PC>
Execute FLOADAT.
FLOADAT FILENAME d
Completes transmission.
Returns to the menu.
<PC>
ce
nt
e
<PG>
om
<PC>
r.c
Begins transmission.
EXECUTING is displayed.
D.4.1.3
.c
nc
Protocol
During uploading
When the FLOADAT command is executed on the PC side, a
communications request is issued for the PG and reception begins.
After all data has been received, DC 3 is sent and transmission is
completed.
1) DC 1 code is sent to the PG (data transmission request).
2) Data is received.
3) Completion code is received and reception is completed.
4) DC 3 code is sent.
Transmission and reception both use the 1byte machinedependent
BIOS call for input and output.
During downloading
After the PG issues a transmission request, the PG enters the
waiting state. FLOADAT is activated in the PC, then transmission
begins. After all data has been sent, DC 4 is sent and transmission
is completed.
1) The PG issues DC 1.
2) DC 2 code is sent to the PG.
3) Data is sent.
4) DC 4 code is sent.
Transmission and reception both use the 1byte machinedependent
BIOS call for input and output.
304
B62884EN/01
D.4.1.4
BUSY Control
D.4.1.5
Data Start and End
Codes
Start code
om
%@A
%@E
%@0
%@1
%@2
%@3
%@4
%@5
ce
nt
e
r.c
Notes
1 The end codes shown here must appear at the beginning of a line.
nc
D.4.1.6
.c
D.4.1.7
Transmission and
Receive Data
...
CR LF
Discarded
DS CR LF
CR LF
DS CR LF
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
B62884EN/01
D.4.1.8
om
r.c
(3) When data not in the FAPT LADDER format is sent or received
ce
nt
e
.c
nc
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
<Y/N>
B62884EN/01
D.4.1.9
ce
nt
e
r.c
om
Ctrl
+ C ).
.c
nc
307
B62884EN/01
When a mnemonic file and the standard symbol data are combined, it is possible
to use the standard symbol name provided by FANUC.
DATA FILE NAME
om
CNC TYPE
FS16/18T
F16&F18T. SYM
FS16/18M
F16&F18M.SYM
r.c
Note
.c
nc
ce
nt
e
308
B62884EN/01
.c
nc
ce
nt
e
r.c
om
309
B62884EN/01
.c
nc
ce
nt
e
r.c
om
68KBytes
65KBytes
133KBytes
3. INSTALLATION
Please copy EXEFILE (_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
B62884EN/01
( [COMPARE FILE] )
Return
om
OUTPUT FILE
PMC TYPE
COMPARE FILE
(Optional)
.c
nc
ce
nt
e
r.c
INPUT FILE
311
B62884EN/01
<Outline of Operation>
Basic message ladder
Source format
program
Source format
program
om
Generation, Editing
r.c
COMPILATION
Object file
ce
nt
e
Object file
*3
*1
MEMORY CARD
nc
FLOPPY
.c
(Note)
.
.
*2
FLOPPY
Handy file
format file
(Note)
CNC
MEMORY CARD
OR
Note
It is possible to load by memory card only for FS16B, FS18B, FS20, FS21B, and FS15B
(PMCNB).
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) (B61863E/06)
312
B62884EN/01
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.
RB3DUMMY.SFM : : Message data and dummy ladder file (Handy
file format)
(Message
data
(50KB)+Ladder
(END1+END2))
: : Basic message ladder file (Handy file format)
(Message
data
(50KB)+Ladder
data+Symbol&Comment data)
RB3MES.SFM
ce
nt
e
r.c
om
RB3BASIC.SFM
.c
nc
Message
PMC type of input file and key in PMC type do not match.
PMC type of compare file and key in PMC type do not match.
chgmes : Message sizes of (input file) and (compare file) are Message size of input file and compare file do not agree.
mismatched
Please adjust the message size by adding some dummy
message to the input file. Please comfirm the MAP display on
the compile function of FAPT LADDER.
chgmes : Cannot start ASC2IMG
313
B62884EN/01
Message
Illegal format of the input file. Please change the fomat, and
re-active.
.c
nc
ce
nt
e
r.c
om
314
B62884EN/01
.c
nc
ce
nt
e
r.c
om
315
B62884EN/01
IBM PC/AT
om
Use the cables below to transfer data from a PC to a CNC, ROM writer
(FA writer or PMC writer), or PG (PG Mark II or PG Mate).
1. For IBM PC/AT
Online cable
25pin male
connector
r.c
9pin female
connector
25pin female
connector
25pin male
connector
ce
nt
e
Online cable
nc
9pin female
connector
.c
316
25pin male
connector
25pin female
connector
25pin male
connector
B62884EN/01
20
20
RD
RS
CS
25pin male
connector
ER
DR
CD
SG
RD
RS
CS
ER
DR
CD
SG
FG
ce
nt
e
CD
RD
SD
9pin female
connector
ER
SG
RS
CS
CI
20
22
20
20
CD
RD
SD
ER
SG
DR
RS
CS
CI
.c
nc
DR
25pin male
connector
r.c
FG
SD
om
SD
SD
RD
RS
25pin female
connector
CS
ER
DR
CD
SG
FG
317
SD
RD
RS
CS
ER
DR
CD
SG
FG
25pin female
connector
I. INQUIRY FORM
B62884EN/01
.c
nc
ce
nt
e
r.c
om
INQUIRY FORM
318
I. INQUIRY FORM
B62884EN/01
Company name
Section
Person in charge
Phone No.
Address
Fax No.
No.
Product name
Ordering code
Version
No.
Date of
purchase
r.c
om
FANUC
sales person
2
3
[Usage environment]
Machine type used (PC)
ce
nt
e
OS
Version
EMS board:
Yes / No
(Manufacturer:
(Manufacturer:
(Manufacturer:
(Manufacturer:
.c
[Details of inquiry]
nc
Please print out the CONFIG.SYS and AUTOEXEC.BAT files on a sheet and attach it to this form.
Please use this form when you have any questions about this product.
319
Index
B62884EN/01
[A]
A : Initial Menu, 238
About PMC Program, 10
About Symbol & Comment Data, 12
Automatic Compilation and Decompilation, 288
Decompilation, 202
Decompile, 222
Decompile Option, 204
Diagnose, 47
Differences from Fapt Ladder, 294
Directory Configuration after Installation, 25
Display System Information, 100
[B]
om
[E]
r.c
[C]
C : I/O Module Editing, 241
ce
nt
e
[F]
nc
Compile, 221
Compile Options, 199
CONFIG.SYS, 26
.c
[G]
[H]
[D]
H : Printout, 249
Handy File+3.5 Floppy Disk (MSDOS Format), 216
[I]
I : Compile, 251
Index
B62884EN/01
[O]
Online editing, 53
OnLine Functions, 37
Installation, 18
Operating Environment, 15
Operation, 30, 203
om
[J]
Overview of Operation, 33
J : Decompilation, 256
r.c
[K]
[P]
Package Configuration, 17
ce
nt
e
Password, 207
[L]
L : Input/Output, 264
Ladder Debugging Function, 64
Ladder Monitor, 47
Link, 284
.c
nc
Ladder monitor, 47
[M]
Printout, 174
[R]
Registering the Software in the Windows [Programs]
Menu, 18
Restoring PMC Parameter, 44
[S]
Sample Mnemonic Files (Allformat), 233
Sample Mnemonic Files (Singleformat), 229
Saving PMC Parameter, 43
MSDOS, 45
[N]
N : OnLine Monitor, 271
Index
B62884EN/01
om
[U]
Utility, 235
ce
nt
e
[T]
r.c
nc
.c
w
w
[W]
Sep., 96
Date
01
evision
Revision Record
Contents
Revision
Date
r.c
ce
nt
e
nc
.c
Contents
om
om
r.c
.c
nc
ce
nt
e