Documente Academic
Documente Profesional
Documente Cultură
Operators Manual
B-66131EN/05 Japan 1995
GFLE-003
In this manual we have tried as much as possible to describe all the various matters. However, we cannot describe all the matters which must not be done, or which cannot be done, because there are so many possibilities. Therefore, matters which are not especially described as possible in this manual should be regarded as impossible.
Notice
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 every 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 accuracy, completeness, sufficiency, or usefulness of the information contained herein. No warranties of merchantability or fitness for purpose shall apply. The following are Registered Trademarks of GE Fanuc Automation CIMPLICITY Genius
The following are Trademarks of GE Fanuc Automation Alarm Master CIMSTAR Field Control Genet Helpmate LogicMaster Modelmaster PowerMotion ProLoop PROMACRO Series Five Series 90 Series One Series Six Series Three VuMaster Workmaster
Copyright 1998 FANUC Ltd. Authorized Reproduction GE Fanuc Automation Europe S.A.
All Rights Reserved No part of this manual may be reproduced in any form. All specifications and designs are subject to change without notice.
CONTENTS
I.
BASICS
(NORMAL
OPERATIONS) l-1
1.
OVERVIEW
......................................................
2.
PC9801 operating
Installation
..........................................
3.
ACTIVATION
....................................................
l-15
4.
..q ....................... ........................................... Menu Configuration ..................................... Common System Operations Model Setting ................................................
.....................
5.
OPERATION 5.1 Editing 5.1 .l 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.2 5.3 Printout
l-22 l-22 l-25 l-26 l-60 l-68 l-70 l-73 l-85 1 - 94 l-95
............................... Symbol and comment editing ........................................ Message editing I0 module editing ....................................... .................................
Operation Password
l-99
1 - 103
It is possible to choose output data (Symbol/Comment. Net comment) to ROM format file ............. l-103 l-105 l-109 l-110 l-110 l-112 to the model ....... 1-113 1-113 l-116 ................................ The list of source program ........................................ DOS command .............................................. ............................................ to split files ................................... program according Operation Outputting Converting Merge
Decompilation
a step sequence
..............................................
......................................................
5.6 InputiOutput. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6.1 5.6.2 5.6.3 5.6.4 ROM writers (PMC writer, FA writer) Transfer Transfer Transfer to and from PMC-L/M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AB.C.!E) A, . .
(FANUC Series 0)
to and from PMC-P (FANUC Power Mate-MODEL to and from PMC-N!NA (FANUC Series 15MODEL
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . for PMC-QA (FANUC SYSTEM F-MODEL D Mate) . . . . . . . . . . . . . . . . . . and memory card . . . ................. . . . . .
l-
1-134 l-140 1-142 1-147 1-149 l-150 l-150 l-152 1-153 1-157 1-166 l-170 1-171
Handy File + 3.5 floppy disk (MS-DOS FLOPPY CASSETTE Editing ADAPTER
function
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
II.
APPLICATIONS
(NOTES
ON THE PC ENVIRONMENT) .................. .................. 2-l 2-l 2-l 2-2 2-4 2-4 2-5 2-5 2-5 2-6 2-7 2-8 2-8 2-9 ............ 2-11 2-11 2-12 2-14 2-14 ................... 2-14 2-15 2-16 2-16
OPERATIONS
FOR THE PC9801 AND IBM PCAT Data between the P-G and PC ...............................
Communications Protocol
...................................
............................................... ........................................... ................................... ............................... ............................... ............................... ................................. Program editing .......................... ........................ ..........................
BUSY control
Data start and end codes Data conversion Transmission Error detection Error detection
(return codes)
by system parameter
1.3 1.4
Changing
1.4.4 Setting the printer model and print paper 1.4.5 1.4.6 Setting the line spacing Setting the left margin
.......................
................................... ....................................
1.4.7 1.4.8 1.4.9 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.16 1.4.17 1.4.18 1.4.19
Setting the title of printout Setting the cross-reference Setting the cross-reference Specifying
................................. list output format guidance list output information list output format information ....
the cross-reference
coil guidance
..................... ...................
Setting the output format guidance Setting the output information Setting the output format
...........................
.................................. ...........................
Setting the read/write coil guidance Setting line feed Setting form feed
........................................ .......................................
III.THE
STEP SEQUENCE
1.
WhatisaStepSequence? Programming
with the Step Sequence Method ................................... A Program Configuration Screen ............................. The Configration of a Sequence Program DataFlow
2.
................................................... SETTING A MODEL ................................................ 2.1 Operation .................................................... EDITING 3.1 3.2 ........................................................ ............................................... .......................................
3.
Basic Operation
Creating a subprogram
APPENDIX
APPENDIX APPENDIX APPENDIX APPENDIX APPENDIX APPENDIX APPENDIX APPENDIX APPENDIX APPENDIX APPENDIX APPENDIX
CABLES
FOR OPERATING
PROGRAMMING OPERATING
A8 - 1 A9 - 1 AlO1
PROGRAM
CONFIGURATION
FILE %%?oFLSET.CNF..
Al 1 - 1 A121
12 INQUIRY FORM
.........................................
I.
BASICS
(NORMAL OPERATIONS)
1. OVERVIEW
1. OVERVIEW
This manual describes offline programming are designed the software system products listed below which are included sequence program in the FAPT LADDER These software
for FANUC
PMC
generation.
products
Name FAPT LADDER PMC-L/M/P FAPT LADDER PMC-N FAPT LADDER PMC-RB/RC
Remarks For the NEC PC9801 Series and compatible machines language (Japanese version)
A08B-9200-J502#JP
BM PC/AT
procedures
required
to install, activate,
to the system
designed
programs,
FANUC PMC-MODEL
B-61013E
Programming
Inquiry form If you have any questions after reading this operators at Appendix 12 to consult manual and the manuals us the questions. listed above,
l-l
1. OVERVIEW
The following
abbreviations
Abbreviations PMC-UM!P * PMC-L * PMC-M * PMC-P Pfk-N PMC-R Series * PMC-RAl * PMC-RA2 * PMC-RA3 PMC-RB PMCRB2 ._ *
PMC Models
L M P N
FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PM&MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL FANUC PMC-MODEL
RAl RA2 RA3 RB RB2 RB3 RB4 RB5 RB6 RC RC3 RC4 PA1 PA3 QA QC NA NB NB2
* PMC-RB6
1-2
1. OVERVIEW
(1) Sequence program input. display, and editing (2) Transmission to and from PMC (RAM), and PMC verification
(3) ROM (EPROM, (4) Sequence ROM cassette, and ROM modules) write, read, and verification program print-out
. . . . . . . . . . .,................................ RS232C
>
(-NC
Tool
Memory card
card
Drawing
1-3
1. OVERVIEW
Operation
Reference
chapter/section
MS-DOS,
Install MS-DOS 4 Create directory for FAPT LADDER 1 Install FAPT LADDER + Install device drivers @et CONFIG.SYS and AUTOEXECBAT) J. Reset personal computer Section 2.2
Section 2.1
Section 5.6
Chapter 3
Section 4.3
Chapter 5
J/
End? Yes JI Terminate FAPT LADDER
l-4
2. INSTALLATION
2.
INSTALLATION
software is stored on the floppy disks listed below. Before the system can be cannot
FAPT LADDER
of these system floppy disks must be written to a hard disk; the software and software of his or her personal computer, particularly
To install the system on a hard disk, the user needs to be with basic MS-
and AUTOEXEC.BAT.
The names of the floppy disks are listed below. FAPT LADDER PMC-L;M:P Vols.1 and 2 FAPT LADDER PMC-Lmodule floppy disk system floppy disk
A08B-9200-J500
#JP (PC9801)
A08B-9201 -J500 #EN (IBM PC/AT) A08B-9200-J600 A08B-9201-J600 #JP (PC9801) #EN (IBM PCAT) #JP (PC9801) #EN (IBM PC/AT) #JP (PC9801) #EN (IBM PCAT) #JP (PC9801) #EN (IBM PCAT) #JP (PC9801)
A08B-9200-J601 A08B-9201-J601
A08B-9200-J602 A08B-9201-J602
Vols. 1, 2, and 3 FAPT LADDER PMC-RAl IRA2iRA3;PAl floppy disk FAPT LADDER PMC-RB1RB2RB3.RB4RCRC3.1RC4 module floppy disk FAPT LADDER PMC-QC module floppy disk iPA module A08B-9200-J603 #JP (PC9801)
A08B-9201 -J603 #EN (IBM PCAT) A08B-9200-J604 A08B-9201-J604 #JP (PC9801) #EN (IBM PCAT) (PC9801) (IBM PCAT) (PC9801) (IBM PC AT)
A08B-9200-J606#JP A08B-9201-J606#EN
l-5
2. INSTALLATION
PMC model PMC-L PMC-M PMC-M (with MMC) PMC-P PMC-N PMC-PA1 PMC-PA3 PMC-QA PMC-QC ?MC-NA MC-NB
PMC model PMC-RAl PMC-RA2 PMC-RA3 PMC-RB PMC-RB2 PMC-RB3 PMC-RC PMC-RC3 PMC-RC4
Combination 0, QJ
@, @ @. QJ @, @ @, @ @, @ 0, 0, 8, @ @ @
NEC PC9801 Main memory Hard disk Free area of 500K bytes or more is required About 3M bytes is required MS-DOS for installing
the system (Note 3). PC-DOS Version 3.3 or later EPSON VP1 000
OS
Printer
EMS
memory specification)
memory
Others
(Note
1)
memory
size
of the machine
is insufficient,
memory
expansion
is
(Note 2)
memory,
the memory
driver.
command
l-6
2. INSTALLATION
(Note 3) In addition, an area for storing sequence program data is required. (Note 4) To use the Epson VP1000 with an NEC PC9801, a program modification
For details, see Section 1.2 in Part II.
is required.
2.1.1
PC9801 operating
environment
l l
RSDRV.SYS PRINT.SYS
below to
CONFIG.SYS.
named gSDEV on drive A.
and PRINT.SYS
DEVICE=A:$(DEVyRSDRV.SYS DEVICE=A:yDEV'1CPRINT,SYS
(Note)
When
a memory
card
adapter,
set CONFIG.SYS
referring
to the
operators
(2) Using the expanded memory can be used with the system allows a larger sequence
The expanded
memory
specification program.
(EMSXMS) EMSXMS
memory memory
as a to
program
program
of up to about 21840
steps can be
handled when the main memory has a free area of 570K bytes. Ladder diagram editing cannot output drawings be allocated in main memory if a free area sufficient for 16000 steps cannot device drivers. In this
MS-DOS Version 3.38 (for the PC-9801 Series) Machine with a 80386:80386SX CPU
Specify
the statement
statement
of the CONFIG.SYS
file.
Each
(Note)
When an EMS board and EMS device driver are used, change according to the manufactures manual.
the CONFIGSYS
file
l-7
2. INSTALLATION
Expanded Extended
memory memory
(EMS) (XMS)
(Kate 1) (Note 2)
or more
Note
1)
memory Please
effects prepare
to handle memory
Note 2)
with EMS less than 256 kbytes, can handle may be restricted.
Please prepare
256 kbytes
Although according
FAPT LADDER
enough
1)
EMS memory
sequence program
program if available. memory is used, and the size of
FAPT LADDER uses EMS memory for Ladder sequence When no EMS memory is found, the convenGonal
conventional
memory may restrict the number of steps able to be edited. program occupies 256 kbyte of EMS, regardless of the type of PMC, or
Ladder sequence
program to edit.
2)
FAPT LADDER uses EMS and/or XMS memory for Symbol & Comment When neither drive, of them are available, FAPT LADDER
and processing
About 200 kbytes of EMS or XMS memory are used for every 1,000 Symbol data. EMS and XMS memory for Net comment
3)
or temporary
file
for PC9801
(See Section 51.3.) input, a front-end processor (FEP) for Japanese language input is
For information
about
the installation
and operation
1-8
2. INSTALLATION
The following
Japanese
Supplier NEC
NECAIK2. DRV
NECDIC. DRV Just Systems ATOKGA. SYS ATOKGB. SYS ATOK7A. ATOK7B. SYS SYS
Single-block ATOKG
About 115K bytes When the EMS is used Main : 50K bytes EMS : 64K bytes
ATOK
points on Japanese
language input:
(a) When
FAPT
a Japanese
language
language
input mode),
the Japanese
LADDER
input is completed
(W When
a comment
up to 14 characters
can be entered.
(c) A comment entered in Japanese can be displayed on the editing screen or printed out, but
cannot be written is output into a ROM cassette indicating or transferred to the PMC. characters At compile time, a to message blanks. this restriction and all Japanese are converted
Note, however,
that sequence
program operation
is not affected.
60
language available
as a resident driver in the system. is reduced bytes accordingly. or more Check to allow
This means
usable
for FAPT
is 500K
without
installing
PRINT.SYS
and RSDRV.SYS
in order to in
FILES or BUFFERS
is specified
CONFIG.SYS. adjustments
specified.
Make
09 A Japanese language input FEP can also be installed with ADDDRV and DELDRV by using
a subprocess after calling COMMAND.COM in user batch execution.
An example is provided
below.
l-9
2. INSTALLATION
the contents
of FLMNE.BAT
under
the directory
where
FAPT LADDER
is
as follows:
FLMNE. BAT r !COMMAND Inaddition, create a file with the name FEP.DEF with the definitions
below assumes FEP. use of ATOK7. For detailed information, below. The example of the relevant
>
and select F3 (user batch file
The following
message appears:
Execute
the following
commands
ADDDRV FEP.DEF
DELDRV
2.1.2
environment
(1) CONFIGSYS,
The system uses ANSI-based using CONFIG.SYS. Add the line indicated ANSI.SYS
escape
sequences.
Therefore,
ANSI.SYS
needs to be installed
DEVICE=A:\DEV\ANSI.SYS
l-10
2. INSTALLATION
(2) Using
EMS memory specification (EMS) memory can be used with the system allows a larger sequence as a work to be
The expanded
program.
program
(An EMS memory size of 256K bytes or more allows 24000 steps to be edited.) is not used, a sequence program of up to about 21840 steps can be handled
If EMS memory
when the main memory has a free area of 570K bytes.) Ladder diagram editing cannot be started if a free area sufficient for 16000 steps cannot device drivers. be
allocated in main memory due to the space taken up by resident EMS memory is required. FANUC has confirmed MS-DOS that the setting described below ensures
In this case,
normal operation.
Version 4.0 below as the first DEVICE statements \DEV on drive A. of the CONFIG.SYS file. Each
Installation
of ordinary files (see item (1) for the procedure.) on the following system and module floppy disks are distributed in ordinary
. . *
PMC-L/M/P
editions
PMC-N system floppy disk (A08B-920019201 -JSOl) PMC-RB!RC system floppy disk (A08B-9200/9201 -J502) editions 07.1 and earlier
Installation
of compressed
files (see item (2) for the procedure.) system and floppy disks are distributed in compressed file
on the following
* *
PMC-L/M/P PMC-RBRC
editions editions
Note 1)
The installation
procedure
of the programs
to change. If there is no
refer to a README.DOC
1-11
2. INSTALLATION
Note 2)
file is a self-extracting
file produced
program
utility
LHA is freeware
floppy
disks
procedure
uses an example
in which
ordinary
files are read from each PMC-N Y FLADDER created on the hard
in the directory
commands
to execute
an installation
batch file.
C:+FLADDER
SYSTEM PROGRAM will be installed from DRIVE B:\ to C:\ FLADDER (HARD DISK) SET [SYSTEM FD Vol.11 on DRIVE B:\ When stop "CTRL+C" Press any key to continue
If it is necessary batch file. to discontinue installation, press the CTRL + C keys to stop execution of the
VOLI
is installed
message
appears,
SET [SYSTEM FD Vol.21 on DRIVE B:\ When stop "CTRLtC" Press any key to continue
VOL2 is installed on the hard disk.
message
appears,
SET [SYSTEM FD Vol.31 on DRIVE B:\ When stop "CTRLtC" Press any key to continue
VOL3 is installed on the hard disk.
1-12
2. INSTALLATION
The following
message appears.
RB.RC system floppy disk in drive B:, and installed hard disk drive (A:).
in the directory
commands
to execute
an installation
batch file.
I
Note 1) Note 2)
When specifying
the directory
message
appears, confirm
SYSTEM PROGRAM will be installed from DRIVE B:\ to A:\ FLADDER (HARD DISK) SET [SYSTEM FD Vol.11 on DRIVE B:\ When stop "CTRL+C" Press any key to continue
to discontinue
installation,
of the
VOLl
message
appears,
SET [SYSTEM FD Vol.21 on DRIVE B:\ When stop "CTRLtC" Press any key to continue
1-13
2. INSTALLATION
message
appears.
and
SET [SYSTEM FD Vo1.3) on DRIVE B:\ When stop "CTRL+C" Press any key to continue
@I The following
message appears.
(End/
The following table lists the installation batch files and their directories.
File name @ 8 $J @ PMC-L/M/P system floppy disk LMPINSTSAT LINST.BAT MINST.BAT MMINSTBAT INSTALL.BAT INSTALL.BAT
PMC-L module floppy disk PMC-M module floppy disk PMC-M (MMC) module floppy disk system floppy disk
@J PMC-NINAQA @
PMCRA~/RA~JAA~RB:RB~;RBYRB~/RC~RC~!RC~/PA 1IPA3IQCINB system floppy disk PMC-RAl !RA2IRAS/PAl IPA3 module floppy disk module
(3
RA12lNST.BAT RBRCINST.BAT
Y INSTALL Y INSTALL
QCINST.BAT NBINST.BAT
Y INSTALL gC INSTALL
(Note)
Systems restrictions
for different
However,
9 for details.
in separate directories.
1 -
14
3. ACTIVATION
3.
ACTIVATION
method
(1) Activation
\FLADDER>
FLADDER
(Note
1)
the version
of the system
and copyright
is displayed
and the
When a key is pressed while the initial screen is displayed, Select a screen by selecting the function
key corresponding
displayed
Fi KEY : SETUP F8 KEY : MNEMONIC EDIT F9 KEY : UT[LlTt FlO KEY : END
function
key.
(Note)
starting
up FAPT
LADDER,
change
the drive
and directory
in which
the is
directory.
the current
FAPT
1-15
3. ACTIVATION
Reference:
When an FL.BAT has been created in the directory FAPT LADDER key. can be activated by just typing below.
for which
path control
is set,
FL and pressing
the [RETURN]
FLADDER
[Operation] 0 Select [END] from the main menu, or press the < ESC > key to return to the initial screen. Then the following message appears:
command
mode.
l-16
4. BASIC OPERATION
4.
BASIC OPERATION
Main menu-
Fl
Title data Ladder diagram Symbol and comment Message I/O module System parameter
c
LPASCAL -PMC
(PMC-N/NA/RC/RC3!QC4;QC/NB) (PMC-N, NA) writer, FA writer Read Write Verification Blank check
file/Floppy card
(Note
1) The
format
of the
source
program
of this
system
is
different
from
that
of
FAPT
edit function
(F8) to edit a
(Note
2) An object file has the ROM format of FAPT LADDER for the P Series.
reads a sequence program created by the P Series In the ROM file format. of the floppy disk must be converted.
1-17
Diagram
of relationships
of the system
::
qzq+J4
U-inch ffOPPY FLOAD98 IFLOADAT ASC format
CNC . .. . . . . ; ROM ; I : . . . . .. . . . . .. i
; format : program :4 3.5inch ffOPPY
+q+-+
Binary format Memorv
II
I
I
i . .. . . .. . . .. . . .
k-1
Q I+
1 I
fg-pii?-~-
Binary format
Q-l_), ff
3.5inch
OPPY
ASC format
4. BASIC OPERATION
(1) Function
keys
below
are displayed
in reverse key.
video,
the
function
;;:
j.,
.j.,
j;
y:)):.,
:... ..:.
::::..::
j.
)j
;::i,:
:::
..
fj&:::q ,
;::.;&p~:., * .;&JE+
:. ::
:.>::;:;;g( ,
()
+j
,,
WI
PI
F31
IF41
WI
F61
(F,]WI
WI
IF101
screen in the
>,
<
>,
< +
to
the second
or subsequent
cursor
(4) Scroll
keys
keys <ROLL UP> and <ROLL DOWN > scroll the screen up (to display the (for
one page) and scroll the screen down (to display the next one page), respectively
the PC9801). The scroll keys <PAGE page, respectively DOWN > and <PAGE UP> display the next page and the previous
(5) [INS]
key
between the overwrite mode c 0 > and insert mode -z I >.
(9) [HELP]
key
help information
item.
1-19
4. BASIC OPERATION
(7) Status
line
Main t-
menu
PMC-RB2
t
<O>[A::FLADDER
Model currently
selected
Current directory
name
(Note)
The
indications
may slightly
vary
from
the descriptions
of this
manual. depending
used.
(8) Pop-up
menu
the desired
process
can be selected
using any of
1) Cursor movement
To select an item, press the cursor key < ? > or c 1 >, such that the item to be selected is displayed in reverse video. Then, pressing the <RETURN> key selects that item.
2) Function key
A function corresponding key is indicated function key. at the left of each item. To select an item, press the
3)
Command
name letter in (usually, the initial of) an item name is the command or <A> name. In the
An uppercase
respectively.
l-20
4. BASIC OPERATION
is preserved
version)
PUC-MI PIIC-RA? PUC-RA3 PUG-RB pcuc;;; PUC-RB4 PIIC-RB4 PMC-RC *PWC-RC3 PVC-AC4 PVC-RC4 PUC-PAI PUC-PA3 PVC-PC PVC-NB (STEP Sip:
(STEP
SW
Select the PMC model using the arrow keys. Press the <RETURN displayed Setup > key. Then the following message appears and the model name
Select [END].
(Note)
l-21
5. OPERATION
5.
OPERATION
5.1 Editing
The source file of a sequence program is edited.
(1) Start
Mm. WC >
~~~~~~~~~~~~~~\~~~~~~~~~~
.:
j ;
>&:j
Fl KEY: EDIT
F2 KEY : PRINT F3 KEY : COMPILE F4 KEY : OECO?kPlLE Fj KEY : LINK F6 KEY : I/O Fi KEY : SETUP FB KEY : MNEMONIC EDIT F9 KEY : UTILITY F10 KEY : END
The following
l-22
5. OPERATION
6!
Enter the name of a source program to be edited. No more than 36 characters can be entered to specify a program name. (extension (.xXx) must be excluded).
(i)
6 6
input nrnnram , yvy < 2 , name.
output program
PROGRAM
NAME only.
file is edited
directly
I/O program
Specify the same program name in the INPUT PROGRAM field and OUTPUT PROGRAM NAME field.
NAME
file is modified
are stored
in a separate
file
I=7
Example)
L-2
To specify a file that exists in the current directory To specify a file in another directory,
A : iFLADDER 7
displayed
t Current directory
-IT
DATA i-SAMPLE1 SAMPLE2
l-23
5. OPERATION
@ The following
F4 KFI : ,WSAGE F5 KEY : I,;0 KIDLLE! FE hEY : SYSTM P.!J&WTER FlO kEY : E!lu
($3 Select data to be edited with the corresponding $3 The editing displayed screen for the selected is selected.
function
data appears.
when [TITLE]
EDIT( TITLL )
: fPf.z-fc \\ / ,slb~:at.
:\:: :: f
iR
10 mu
(2) Termination
[Operation] Q Select [END] or press the < ESC > key on the editing screen.
G3 The following
message appears:
l-24
5. OPERATION
(3
is selected,
editing are written to a file. is selected, the editing operation is terminated without writing the results
or QUIT is selected,
(ii) To terminate
5.1.1
(1) Start
The following
EMT ( TITLE)
MI-is
6hfA:'ZtNXI%'\
(2) Input
[Operation] 0 Select an input item (displayed in reverse video) with the < 1 > and <
1 > keys.
l-25
5. OPERATION
Enter data.
The maximum
number of characters
MACHINE TOOL BUILDER NAME MACHINE TOOL NAME CNC b NC NAME PMC PROGRAM NO EDITION NO PROGRAM DRAWING NO DATE OF PROGRAMMING PROGRAM DESIGNED BY ROM WRITTEN BY REMARKS
(3) Termination
: : : : : : : : : :
32 characters 32 characters 32 characters 4 characters 2 characters 32 characters 16 characters 32 characters 32 characters 32 characters
[Operation] 0 Select [END] on press the c ESC > key to return to the editing menu screen.
The following
message appears.
Fl F2 F3
key.
(1) Start
1-26
5. OPERATION
The following
StBil :sp
PO001
l-AD=xooo. 0 SY=S.:rFE
HIz+F3-a 4+3l Q-TEST %kztn
DAT,A NO I + c--,-..
(a) When 09
the [View]
command
line is shown.
command,
Sequence
in Section 3.1.1 of the supplement.) is being edited, number of the net which is
can be edited.
cursor. @ AD = X000.0 8 SY = SAMPLE 000216552 @ CO = TEST DATA NO.1 0003Of65535 : : Address on which the cursor is placed Symbol Number symbols : Comment Number Maximum comment of characters number specified in the comment/ permitted in the of current symbols!Maximum number of
of characters
1-27
5. OPERATION
(2) Function
key indications
and selection
correspond
to the function
keys as indicated
below.
-@ [coman_d]
Under condition CD),holding down [SHIFT] lets you select the following items. ......: .:,:. :.:,:.: ...\ :.:.: :.:,:,:i... ...........I. .., ::.>,:.: :., :.:c.::~:~;:i:.:jl ... ....:.:.:,:,~.:.:.:,:.:.:,::.: :;::,:: .,::::: ........::.:...:. .:g:.:;er .:.,_ ::~:::~i,~.~:1:I:I.~: 1:1:1:::1:~.:81:~~~.~:~~:~::. ;.:, I:! y.v.w.,l:... :::::.i:.:...:.:.:.:,~:.:.:.:.:.:. , ~~~~~~~ 2 ;,$;!&k&; 3 ~~~~~~~~~~~~~~~~~~:~~ 4 ~~~~~~~:;~~~~~~~ 5 ~~~~~~~ 6 :~:~~~~~~~ , ~~~~~~~~~~~~~~~~~~~~ 8 ~:~~:~~~~~~~~~, 9 ~~~~~~~~~~~:~~~~ , Oii,i~::i:;~~~I~:::::ii >::.:_:...:.: .....:.::. ___,.. ,.) .:.:_:.:..l ,.,. .... ,>: ... ........._.... ............y.._ 7.. ,\., :.:.:.:.:s.. ,.I .:, .,.:..:.:.:.:_..:: ): .:,~):.:.:,.., .,:,:.:Q..:.) .. .i:: .,.,.,.,. .,.,,,_ .,., .~)~);:_:_:.):.::.:.::.~ ,.,. ..:.: .,.,.i,.,.,__.
:..:.:
[Delnet]
[Search]
... ... ,. ... : ,./.. ..
5 ;;,;;w&&
6 ;,&&i;
..,.. .,. ,. . ..:::..:.:... ::..: ....: .,_,). $):: ::,., ::. .. ,,.,,: : 7 :i$&.~. 8 ;. .,~&~:~~.Y: g _.,:_,::l:;,~.;i:i 10,::,;&.;;;:;I.. :.: .,.: .C,.: ,.,.,: .,..:: : ...
I,
CB [Copy1 1 Wove1
2 ;:l~a;~&;: 3 : .karch
.. . ..I4
,i_down
i$$&;:;.; ....x. .
.t;p,.,
6 ,.,
:,A
7.;, . .. ... .
3.
.. g .Y .: --<;.I,,.
.:.
..I
:: :,.
... .
., :. .,<. y
,,, .. .. * :::;t+r 1 Lj:;::.tii:.:.::..? :. 3 :~..~&~ch : 4 :&own 5 c-up 6 tO-fil 7.
to&J. 8.
,:
.:
: i., 10
.:,
[to-org)
is displayed
mode only.
can be specified.
Select desired
I
I
0xec
cancel 3
10
1-28
5. OPERATION
(Note)
a command
of
F4 [Adress]
screen.
initial letter)
in the corresponding
(3) Sequence
program
input
program
input,
select
[LADDER]
from
menu.
The
function
key
menu is displayed.
When no sequence
the screen
displays only the right and left vertical rails of a ladder diagram.
Use the cursor keys to move the cursor to any location in the ladder diagram. Examples of basic instruction below. program input and function instruction program input are shown
(a) Example
3
[Operation ] Move the cursor to the start position, The [ -I ILLEGAL Ithen press [ -I I1. HORIZONTAL LINE ] symbol appears on the screen. The message appears at the lower-right ladder diagram corner of the screen. line creation This message warns the user that horizontal and bit data. is not completed. Enter an address Enter X0.1 on the keyboard the contact, and press the < RETURN > key. The address is set at and the cursor moves right. As in @ and 8, enter contact A of 030.2. Enter contact Press [ e B of F14.2. ] and enter address F14.2. then press the <RETURN> key. The
l-29
5. OPERATION
Enter address Y52.7. then press the <RETURN The cursor automatically
> key.
Next, enter an OR condition. Press [ + ] and enter address X2.4, then press the <RETURN > key.
Press [ To enter [ -
will be entered
entered.
Note, however,
A vertical
line extending
upward
is required
for OR.
Press
] to enter
upward.
(b) Example
of function
instruction
program
input
For function
instruction
key [functnj.
the function
instruction
name or SUB
If the user does not remember instruction displayed table that lists function on the screen.
a function can be
instructions
and corresponding
SUB numbers
The table can be displayed Then the function Press the [functn] table. instruction
just by pressing
key without
entering
any data.
table is automatically
instruction
ACT
1 MOVE 0000
(1)
0000
(2)
Control condition
LL
When entering parameters a function of the function
(3) 0000
(4)
0000
H
.
Output address
Input data address 4-bit logical multiplication data enter the data
Low-order 4-bit
High-order
instruction instruction
as shown below.
-It--
MOVE
0000
SUB 8
0000 0000
0000
l-30
5. OPERATION
[Operation] @ Enter a control condition. Press [ -i key. t1. Next, enter an address and bit data, then press the <RETURN>
instruction. key. Next, enter SUB number 8, then press the <RETURN > key. diagram shown above appears.
instruction
&!
instruction. multiplication automatically data of the first parameter, moves downwards. then Enter the
4-bit logical
The cursor
three parameters
one by one.
(c) Restrictions
and notes
on ladder
creation
[Restrictions] @ Restrictions related to the ladder 1 net (corresponding to the portion between the RD
and WRT instructions) a) When the ladder 1 net exceeds 256 steps (as counted as steps in the
corresponding
mnemonic
program),
the following
message appears:
A limit of 256 steps per net was exceeded. If there are more than 256 steps, no net is displayed.
related to a ladder diagram display per screen is made to display more than 70 ladder net lines per screen, the error
below occurs.
Symptom When there are more than 70 lines per net, the following The NET being created is too large. If 70 lines displayed. A limit of 70 lines per net was exceeded. are exceeded, the following message appears, and no net is message appears.
(a-2)
When there are more than 70 lines totaled over two or more nets, the following message appears. The NET being created is too large. If 70 lines are exceeded when totaled over two or more nets, the following
message appears for a net that is the current and the display of the current
net is discontinued.
The NET is larger than the editing buffer. In this case, specify function the net to be displayed. rrsing the ladder diagram search
b)
How to obtain the number of lines per screen Even if part of a net is displayed on a screen, all lines of the net are included in the
l-31
5. OPERATION
In addition,
nets is counted
as a valid line.
The number of lines in each net to be displayed (b-l) Basic instructions One line is comprised of one basic instruction.
is determined
as follows:
b-1-
1 line
*lines
conditions
of calculation
RST
r
1-32
Number of control conditions = 2 Number of parameters = 4 Number of lines = number of parameters + 1 = 5 lines
RlOO
5. OPERATION
(b-3)
Data table section of function instructions The data table section of the COD, CODB, follows: When the data table is one or two bytes Number of lines
or DISP instruction
is calculated
as
0000 0000
0000
I
1
1
Number of lines in the data table section = 11/6 = 1 with remainder 5 = 2 lines
When the data table is four bytes Number of lines = number of data tables/4 ( + 1 if there is a remainder)
SUB 27 CODB
00000000 00000000
Number of lines in the data table section = 514 = 1 with remainder 1 = 2 lines
l-33
5. OPERATION
(b-4)
the number of lines per screen below, the number of fines in the screen
display
section
is
- The valid nets on the display screen are nets A and B. - Number of lines in net A Function instruction section + data table section = 6 lines (1116) (3+1) - The number of lines in net B is 2.
-I-+ I
8 lines
Net A
rT
ACT tSUB 49 DISP
0011
0003
........
Net B : . . . . . . .. Net C
....................................................................
........
c)
The ladder diagram can be edited only when the total number parameter of the DISP instruction (SUB 49) is less than 396. of 70 lines. or more
This is because
the total number of steps is 396, the net consists If a net that consists editing, the following of a total of 396 steps
is created
during
mnemonic
1-34
5. OPERATION
Example of symptom -
If an attempt is made to enter the net of a function that of a basic rejected. The NET being created is too large. For example, cannot if the basic instruction (because instruction, the following message
is displayed,
(SUB 8) of
be entered,
The results
calculation
are described
below.
1
68-line net Display screen . t+r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . .. . . . . . . . . . . . . . . . . . .. . . . . . . . . . . ! i i ; :. .. ... .. Number of instruction number of (4) + 1 = MOVE lines = parameters 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
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.
68-line net
I . . . . . . . ]::!j
.I...l
< Measure > If the display of the 68-line net is not scrolled. the latter basic instruction can be entered.
if an attempt is made to enter 396 as the total number of message instruction (SUB 49) the following message appears,
and the
l-35
5. OPERATION
This symptom
and a combination
of
CODB and COD instructions. For example, if the number of tables for the CODB instruction can be only 66 at maximum. is 200, the total number The calculation results of are
FIST -IIACT -II000 002 Display screen . . . . . .. . . . 4 bytes 200 data tables Number of CODB _ instruction lines = 55
00000000
00000000
00000000 00000000
. . .. . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 198
. ..
00000000
00000000
00000000 00000000
I[ I_
Function instruction section = 4 parameters + 1 Data table section = 20014 = 50 Calculation of DISP instruction data items that can be entered instruction = 3 parameters + 1 Number of remaining = 70 - 55 - 4 lines = 11 lines Data tables = 11%=66 Function sections makes it possible to set the
.. . . . . . . . . . . . . . . . . . . .. . . . .. .. . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . .. .
.. .
< Measure > Moving the DISP instruction to the top of the display screen
Restriction Without
on the maximum
number of steps
The maximum
number of ladder steps that can be edited is as follows: EMS : 21840 steps : 24000 steps that the maximum allowable number of steps can decrease, depending
on how memory is used. If a ladder being edited exceeds disabled and the following MNEMONIC BUFFER message OVER the maximum is displayed: allowable number of steps, editing is
l-36
5. OPERATION
[Notes] CD 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.
and one coil can be entered in one line on the screen. does not apply to a sequence program created in mnemonic symbol. with [ ----1. Use [Delnet] (net program created in mnemonic this limit, it is format exceeds
continuation
deletion)
(4) Replacing
sections
of a sequence
program
(5) Sequence
program
addition soft key of the function key programmer menu and use the function keys
To terminate
the programmer
:I,i&&t
....
:.
.. ~::::&I&:1 >ji&if:$::
:..: ,y,:: ... . . :, . ..... .::::I
: :..:.q.::::.
:;.
. ,,::::
$~$z$,$@:i;i
................
$&&$
~~~;fjiii.~~~! $zzyrdit:::;,
:: ,.:,:: ... .::..: .: .... .:::::.:.:. ... : :
........ .....~:.:::.:+~:.~~x~
::.:.
....
...
...
.:::.y
.:::.:
[Insert]
As described
(a) Example:
is added on a line
Addition on a line
to add item(s),
in
l-37
5. OPERATION
[Operation] Move the cursor to the position Press [ _ 4 ] to delete shown above. the vertical line to the left extending upward. This
disappears. Press [ A ] to create a vertical ). A horizontal line extending upward to the right of the cursor,
then press [
Move the cursor to the point on the line where a contact Press [ -j j] to add a contact.
-To
be added
an area is required
To create
cursor to any point in the ladder diagram enclosed key. Each time the [insnet] key is pressed,
the lower part of the ladder diagram Make an addition in this area.
is shifted one
line down to create an area for addition. After line addition, any remaining
area (as in the case where two lines are added in an area
[Operation] @ Move the cursor to any point in the ladder dragram enclosed in dashed lines.
G? Press [insnet]. The lower part of the ladder diagram is shifted down by one line.
l-38
5. OPERATION
a numeric a numeric
Move the cursor to the desired position and press the <RETURN Press the [ L > key.
and press [
-_(
l-j.
in a single-net
sequence
program
[Operation) 0 Enter the number of lines to be inserted, then press the [insfin] key. The entered number of lines is inserted. (When the [inslin] key is pressed without entering a number, just one line is added.)
If the [inslin]
key is pressed
is positioned
as shown
in the left-hand
figure.
(d) Element
insertion
in a single-net
sequence
program
[Operation] 0 Enter the number of elements number of elements If the character [inselm] <A> is inserted. is prefixed to the number of elements to be inserted and the to be inserted, then press the [inselm] key. The entered
are inserted after the cursor. entering the number of elements to be inserted,
without
_~&$+
I I I
4
Cursor
1-39
5. OPERATION
when
the cursor
is placed
as shown figure.
an element
as shown
in the right-hand
<A>
is entered
is
as shown
in the right-
(6) Deletion
in asequence
-_
(a) A program
can be partially
deleted
by positioning
to be deleted
e__--
1 :
[4 1 2
I:
] :
line extending
upward to the left of the cursor. upward to the right of the cursor.
net (section
from an RD instruction
to a WRT
(c) Multiple
[Delnet]
[Operation] Deletion Move the cursor to the net to be deleted, deleted is displayed in red. then press the [Delnet] key. The net to be
Deleting multiple
Move the cursor by using keys such as the cursor down key, [c-down] key, then display numeric value. value the nets to be deleted the cursor In red.
is entered.
moves
as many
times
Execution Cancellation
key. key.
l-40
5. OPERATION
When the nets to be deleted are known beforehand, delete, enter the number of nets to delete. can be omitted.
operation,
steps G and 8
(7) Searching
in a sequence
program
A sequence
soft keys:
(Search1
program
is displayed
on the screen
and the cursor is moved to the start of the program. (b) [bottom] When this key is pressed, the end of the sequence the cursor is moved to the end of the program. program is displayed on the screen and
(c) [srchl
Search operation using this key searches the program for aspecified address from the current location for the cursor on the screen to the end of the program. on the screen. When an address in one of
usina the cursor searches the program for the specified address from the current
Move the cursor to the relay contact of the address to search for, then press the [srch]
location of the cursor on the screen to the end of the program. If the specified displayed address is found, the section of the program positioned containg the address is
on the screen.
l-41
5.
OPERATION
Gll.6
-Y49.1 D32.0
II
When the same address as this address is to be searched for. move the cursor to this position, then press the (srch] key.
GE.1
021.2
When the same address is found, the cursor moves to this location.
Address soecification
of the cursor on the screen to the end of the program. When the specified is displayed address. If the search operation fails to find the specified address, an error indication appears. address is found, the section of the program containing The cursor is automatically positioned the address at the found
on the screen.
04
is found. it is displayed
closest to the cursor is displayed The address of a relay coil to search for can be specified in one of two ways.
searches
the program
address
from the
on the screen to the end of the program. address is found, the section of the program
containing
on the screen and the cursor is positioned fails to find a relay coil with the specified
appears.
bv address inout of relay coils to search for with the keyboard, then press the (w-
searches
the program
current location of the cursor on the screen to the end of the program.
l-42
5. OPERATION
When
address
is found,
the section
of the program
containing
on the screen and the cursor is positioned fails to find a relay coil with the specified
appears.
(e) [n-srch]
(net-number
search) net number, entering starting from the top of the display is
If the [n-srch]
a number,
by one net. search) instructions. Searching the [s-srch] function is performed key. by entering a function
name or number,
If the [s-srch]
key is pressed
instructions
are searched
>, -z +
>) The address is searched for. instruction instruction number, END1 is for.
Enter an address or symbol, then press a cursor key. Enter a NET No., then press a cursor key. Enter a function instruction
is searched
then
a cursor
searched for, (h) Searching When the in all main/sub-programs(G-SRCH) source program type is FORMAT-B/C, global searching in all main/sub-
programs is enabled. Refer to APPENDIX 6 Managing a Source Program for source program type.
1)
The range of search All programs, which include a currently is searched displayed subprogram, are searched for.
The subprogram a) b) c) d)
one.
l-43
5. OPERATION
G-SRCH
mode continues
unless pushing
key.
A __1. 8 I@ @ @ m t @ 0 @ Final net of the maximum Th (Searching in the order of @ -@I) numbered subprogram v cursor t displaying on the screen 1 one of subprograms Whole program 1st net of LEVEL1
Searching
result
When the object of search is found, the cursor will move to the position. In case of finding closed. Then, the program which contains the object, will be opened to display the object position with the cursor. At this time, whether to save or quit modifications is inquired, in case there are in another program the program which is currently displayed will be
modifications
When two or more objects exist, the result of search are displayed by one.
in order of 1) one
l-44
5. OPERATION
3)
Operation The global search is operated with the following function key.
(comand] 8 [comand]
with pushing
the [SHIFT]
(the following
will be displayed)
in state of 8
[G-SRCH]
(Shortcut
command
a) Beginning of G-SRCH
It switches After that, all programs
G-SRCH
b)
Execution
c) End of G-SRCH
G-SRCH different - <ESC> individually. =
Only G-SRCH
on the opening
now
is the state as it is. - [CANCEL] = It returns SRCH to the program which was opened at beginning the G-
is inquired,
displayed.
Copying
sections
of a sequence
program
A multiple-net
sequence
The net
l-45
5. OPERATiON
Specified
file
Fig. 51.2
(6)
[COPY]
$$ :::;$$,j:$;~: $ ++t
.,:/..:...\:::..: ..:...;. .
..., :,
..Z_
. . ...).
.:.:.::,:.:..:.:.:.:,:.;,,
:I;,
$S;+b ;;
;:&J&&,l
:: ::..:.:,. .:::::::::
..:.:.:...:.:.:.::....:.:.:.:.L:.,. :.:.:.:.:.:.:,.:y(.:.~.:::
:.:.:ii
.:,:,y . . . . . :.>;.x
,:.y
.......:.:Q:.:.:~:.:.~.:.:
1:.
$+.:.
I
key. The selected net is
[Operation] Copying a net Place the cursor on the net to be copied displayed in yellow. and press the [Copy]
Copying two or more nets To select the nets to be copied, copied, then move the cursor first move the cursor to the first net of the range to be to be copied The selected by nets
to the net at the other end of the range [c-down], or [search] key.
pressing the cursor up, cursor down, [c-up], are displayed Alternatively, in yellow. enter a numeric value
and press
the [c-up]
or [c-down]
key.
The cursor
moves according
to the specified
value.
Setting the net or nets to be copied Press the [until] Specifying file) Move the cursor to the copy destination in the same file and press the (to] key. The key. using the [to] key
(Copying
l-46
5. OPERATION
selected cursor.
immediatelv
specified
by the
of times
net or nets two or more times, enter the number the [to] key.
key
(Copying
2)
3)
Enter
of the file
into
which
the
net(s)
is to be copied
and
press
the
<RETURN
POP-UP menu:
/I 4) If the selected destination file is present, from the menu. the following POP-UP menu is displayed.
Select desired processing The file already exists. ~1 Update F2 Quit Append
F3
Updates the selected file. The new copy replaces the previous data of the file. Cancels output to the selected file. Appends the copy to the selected file.
(9) Moving
sections
A multiple-net copied.
sequence
program
can be moved
net by net.
Specify
The selected
edited or output to another file. The only difference moving. -tIWlet [Move] until cancel search Delnet Insert
between copying
Adress
Search
WY
Move
File
syEdit
c-down
c-up
to
cancel
search
c-down
C-UP
to-fil
+org
l-47
5. OPERATION
(Note)
incorrect
(10) Combining
a sequence
program
to another source program that is being edited. can be displayed and edited separately, then combined to
the original source program that is being edited. Original screen r View screen
[}-9
Section to be edited
1
t
Edit
I F-01
Fig. 51.2 (7) Combining a Sequence Program for the FAPT LADDER screen. even system
Combine
must agree with the PMC model of the file can be specified each other. for (If a
However,
contains model.
instruction
format that does not agree with the specified When ignoring the warning message
in compilation.)
to continue
operation,
l-48
5. OPERATION
1)
Function keys
[Comand ]
inmet ~ BPiiiei: ::. : :Adiers :. I_lnreti. :!.. .. ... ,.:,. Se&&. j r &,fjjf ;:;:: ;,.:&qove.. &
.. .. syEdii
ORIGINAL View
= display = display
for the first time using the [File] command is carried out on the View 1 screen
ORICISAL
= Initial displa) at opening the file = Display opened by [Filel comand -Model of PMC edited in View screen NET 00001-00002 STEi YOOO. 0
Kmmm
SliB71 ISP
I PO@@I I
sY=sAwlE
0002/6552
Fig. 51.2
(8)
Screen
Displayed
l-49
5. OPERATION
Specify an insertion point (The data is inserted immediately above the cursor.) I
[ Press thl:LE]
key 1
c POP-UP menu > 4 (View) Shows the ladder diagram of the file to be combined (View screen) 1. Check the displayed data of the file to be combined 2. Edit the data of the file to be combined and combine it +
(To)
Combines the file with the Ladder program on the original screen 1. The file is immediately combined. The data of the file is not displayed.
editing
(Save)
$ (Edit) Returns to the ladder diagram screen (The view screen is continued.)
Operation
1 - 50
5. OPERATION
3)
Examples
Example 1. Combining
a sequence
program file
[Operation] Place the cursor on the insertion point on the original screen.
Select [File]. Enter the name of the file to be combined and press the <RETURN > key.
immediately
above
in step
0.
(Original
Example 2. Combining
a modified sequence
program
[Operation] Place the cursor on the insertion point on the original screen.
Select [File].
> key.
program (Ladder
screen. be
To terminate and
editing, terminated
press in
the the
performed
way.)
l-51
5. OPERATION
file.)
in step @.
.- @I -The-file screen)
is
inserted
immediately
above
in step
0.
(Original
Example 3. Combining
a specified
section of a sequence
program
[Operation] Place the cursor on the insertion point on the original screen.
Select [File].
key.
Select (until].
[Copy]
or [Move]
on the view
screen
and specify
a desired
range
with
From the
following
function
menu,
select
[to-org].
(Specify
insertion
into
the
jj
immediately
above
in step 0.
(Original
1-52
5. OPERATION
(11) Editing
a symbol
and comment
diagram
editing
screen
address
[Comand]
[syEdit]
1
.: ~~:;~::;:::: i:.,:,:j
: ..
:ig:::iexee+:: aiijans~l, j3
..I. ,.,., .?. .A. .. .,.,. ,: .. ..
::,Y;~y~r::~:~
::
I
in a ladder diagram, key. place the cursor on the corresponding
Editing the symbol and comment The cursor moves to the symbol editing section the symbol and press the <RETURN > key. in the bottom right part of the screen. field. Edit
editing : Terminates Terminates editing after modifying editing without the data. the data.
key :
modifying
(12) Abbreviated
input
key
selected
key.
Those
portions
brackets can be omitted. I S M (nsert) (earth) (ove) D c F (elnet) (OPY) (ile) (SY)E NW
The function
keys in the menu above can be used for program creation and search operations.
(Note)
The
keys
[k
or L ] and
[J
orJ
] are used
to create
or delete
a vertical
line
extending
upward to the left or right of the cursor in a ladder diagram. and the dashed vertical line IS for deletion.
l-53
5. OPERATION
(13) ZOOM
When the source program type is FORMAT-B, edit another subprogram, which is called
it is realized
to refer and
by the CALU
CALLU
now on the opening. For the source program type, refer to APPENDIX 6 Management a source program.
1) Start up of zoom
a) Moved the cursor to the parameter <RET> key. of the CALUCALLU instruction and push the
b)
The program
now on opening
hides
screen.
Then
the subprogram
which is specified
by the parameter
in mentioning
2)
Start up under editing When ZOOM is attempted be inquired. Select either. while editing the program, the preservation of modifications will
II
3) by ZOOM, Fl F2 F3 F4 F5
End of ZOOM When the end operation it will return with the =zESC > key is attempted to the state when ZOOM in the program Moreover, editing screen to
is started.
it is possible
a)
Fl:Save(update)
It returns to the program screen where ZOOM was started, after the content program screen is preserved.
b)
F2:Quit It returns to the program screen where ZOOM program screen is cancelled. was started, after the content of current
l-54
5. OPERATION
c)
F3:Rename,
It returns to the program screen where ZOOM was started, after the content program screen is preserved into specified subprogram name.
in use called from currently displayed program is displayed. a step sequence (14) List"of "FAPT manual B-66131/04-6.
supplementary here.
1)
Operation The command List is operated with the following function key.
[comand] 1 8 [comand] .......... : .......... ............................................ ........ ...... ,.,:.: 1$$$i&$;;$ 2 :~,~i5t~ 3 $$$&$:$j;j4 .$&&&r$r_i j ;;&&&;i
......... ........ ......... :. ... .... ix,? .y,:+:)( ,,.,: ..:. j.
..:.
6 $$;$$.tt$$7 ~&~~~ 8 ~~>:,.$&$;~~$ g $;&gijllia@:ii, o:~~:~~:.:~:~~~,d~~ ..... : .................... .. .......... : ......,: ... ... ...... ...... : ..:.
I
1
the [SHIFT]
,.. .. :
in state of 8
1
.,
.::,:.:::.y::/~
:. :,:,:
:::j
..I
::l)j
(Shortcut
command
is < L >
+ [COMMAND])
the comments
between
ladder
nets.
These
comments
are called
Net
program.
1) To enter Net comment a) Move the cursor to the position you want to write a net comment. And then press <Shift > + [netcmt].
R1OO1.O
R1000.2
Y2000.4 n
R1OO1.O +*I
R1000.2
Y23.4 A
l-55
5. OPERATION
b)
Lines at the cursor and after are shifted down, ( and ) is inserted. Then the cursor changes the area. The area for Net comment display mode) automatically can expands up to a hundred expands according lines. into character-size
enclosed
by
cursor,
sentence
onto
and shrinks
by two lines
to the comment
sentences.
R1000.2
Y2000.4
n
cursor 9 ) Y23.4
R1000.2
a)
To determine comment
the editing
Net comment,
press
Then
the editing
is fixed,
b)
To cancel cancelled
Net comment,
press
[cancel].
will be
Note)
The number of characters ASCII character as two bytes. Line feed is also available for Net comment.
one
as one byte,
on Net comment.
to save memory
3)
a) Place the cursor on the Net comment which you want to modify and press
<Shift > + [netcmt] and the Net comment or < RET > . The Net comment editing mode becomes active, will be ready to modify its contents.
b) At Net comment editing mode, to insert a blank line into Net comment,
( Net comment ( All characters is written in here. you can enter are available. I::: ) 3
press [inslin].
1-56
5. OPERATION
[inslin]
will shift lines at the cursor and after down by one line,
l )
) )
(
c) At Net comment editing mode, to delete by line, press [dellin].
( Net comment (* Net comment ( All characters (* [dellin) line. ( Net comment ( &I characters is written in here. you can enter are available. editing mode, is written in here. will expand or shrink automatically. you can enter are available. :.:.:.: .iz
l ;
3 3 3 3
will delete whole one line at the cursor and shift lines after the cursor up by one
) )
d)
[cancel] it was
Entering
Net comment
editing
mode
or
the
of position string
comment
are usually
combined
to make
or something,
called Lost Net comment. Lost Net comment displayed in purple is displayed or dimly as blank Net comment on monochrome enclosed Lost by I( and ) Net comment which is can be
display.
1 - 57
5. OPERATION
normalized comment,
by editing
operation. copying
can be edited
as a normal
Net
such as deletion,
It is able to specify
the position
ladder diagram.
This specification
of
program.
R1000.2
Y2000.4 A
R1000.2
Y23.4
+Hf
b) Lines at the cursor and after are shifted down,
A w
R1000.2
Y2000.4 n v
page> Y23.4
+HI
2)
Other operation
New page can be handled as same as other ordinary copying [ Copy 1, moving [ Move 1, and deleting
ladder nets.
The operations
such as on
[Delnet]
New page.
editing
of a sequence
program
editing screen.
l-58
5. OPERATION
The following
menu) appears.
1Fl
F2 F3 F4 F5
a)
1:Save(update)
F2:Quit After current content of the editing is cancelled, the editing screen will be ended.
& quit of the editing is preserved into specified subprogram name, the
content
d)
F4:Edit The c ESC > key operation is canceled and it returns to the editing screen of former.
e)
F5:Main With the operation was started. a).b) or c), it returns it returns to the program to a program screen where ZOOM
configuration
screen at all
is selected
and it returns
screen,
the main menu or the program screen where ZOOM was started.
When error net exists When the error net exists, ERROR NET NO. is displayed and the end menu is not
b)
When
pressed
<ESC>
after
CAN
is typed
(meaning
of
CANCEL), -
the menu of 6, will be displayed. after removing to return the error net. before editing by
When Save is ordered, it will be preserved When Quit is ordered, it will be able
to the state
cancelling
l-59
5. OPERATION
5.1.3
definition and uses Name assigned uniquely to each relay/ coil, to be used in place of PMC address x0.0 ++++I--
display INPUT
to explain ;w
COMMEiT CO&NT
Coil comment (Extended and Renamed, old name: Comment) Net comment
Text assigned to coils to explain them. YO.0 --I Text assigned between ladder nets to explain them.
HERE IS COIL COMMENT
$n_ t- COMMENT
In FAPT LADDER, you can assign names or add notes to l/O signals, internal relays, notes to a sequence program.
Symbol/Comment
1)
Data kind
Comment
Available characters
6 bytes
Not supported
Maximum number
6552 entries
Not supported
Not allowed
Yes
l-60
5. OPERATION
2)
Symbol ASCII characters (lower- case alphabetic characters not allowed) 16 bytes
(Note 1)
16 bytes
30 bytes
No
Yes, if the symbol assigned to the same address is 6 (Note 4) bytes or shorter.
Note
1)
CRTiMDl (Japanese
characters,
replaced to blank.
can be handled with only PC98 series) in relay comment are replaced to blank when printing. computer may restrict
Japanese
exceeds
64 kbytes,
no symbols
and
comments
Comment
program
* Ver.8.4 or later
I
Available
characters (Note 1)
2 steps/Net
comment
comment
Maximum Maximum
lines number
comment
Display on CRT/MD1
Japanese
characters
are replaced
to blank when printing. the limitation effects for the Net comment. number of Net may
of characters
on maximum
Free area size of hard drive, EMS and XMS on personal computer
l-61
5. OPERATION
symbol comment
symbofcomment.
PMC setting.
2)
Source
programs
for above-mentioned
PMC,
created
with
ver.8.1
or
earlier,
need
conversion.
The operation is the followings. and start the ver.8.4.
a) b) cl 4
Adapt PMC setting to a source program. Convert it into ALL-format Reconvert the mnemonic mnemonic data. data into a source program with another program name.
The conversion
is completed
by above-mentioned
procedure.
3)
There is no operation
in case of creating
<
+-
>,
<
7,
<t
7,
<
5_ 7
Moves the cursor to another field to be edited. Moves the cursor to another be edited. position within the field to
<Shift>
+ <c>,<+>
in Japanese processor for Japanese containing word input is used, a comment can be entered characters alphanumeric in is
kana characters
processor
for Japanese
< CTRL
of the front-end
processor
for Japanese
word input,
processor
for Japanese
< CTRL
and
1-62
5. OPERATION
(1) Start
[Operation] @ Select [SYMBOL] (symbol and comment) from the editing menu.
The following
! UllOl
I I !
3l
~UDKESS SFWL
XUOOO. 0 x0000. 1 )ilJOUlJ. 2 5oouu.3 SIY-:. W-B WI-C m-i CUWEST CLMEXT COWXT CUWST
COWEST I?ZPUT INPUT lXCT ICPUT SLWLE WCLE SLWLE SUWLE So. 1 ho. 1 Xo. 1 hc. 1
111 t ; MD I ( F4 or SBIFT - F1 4 <- -> key wen 1,s~ I SIllA 1 ZSEARCR 3 MEA 4 f&B
SPASTE
10 EiB
(2) Entering
to which
no symbol
or comment
is
1
t Address field t Symbol field
[
t Comment field
1I
Enter a comment.
1-63
5. OPERATION
@ .- The entered address, symbol, and comment are cleared from the window and entered into
the file.
and comments
are entered,
the system
is automatically
set to receive
new
and comment
If the system is set to receive new data, select [QUIT] Move the cursor by pressing the < c >, <+>,
or e -+>
(4) Moving
a comment
A comment
assigned
Select [DELETE].
The following
1Comment
is to be moved.
Select [PASTE).
(5) Copying
a comment
A comment
assigned
Select [COPY].
The following
l-64
5. OPERATION
1Comment
is to be copied.
Select [PASTE].
[Operation] @ 8 Select [SEARCH] The following on the symbol and comment editing screen.
SEARCH
The system
searches
or address
in that order.
The
(7) Deleting
a symbol
and/or
comment
(a) Deleting
[Operation] 0
both a symbol
and a comment
C3 Select [DELETE].
are deleted.
(b) Deleting
either
a symbol or a comment
Select [DELETE].
symbol or comment
is deleted.
(c) Deleting
and comments
simultaneously
[Operation] 0 (2 Place the cursor at the top of the range to be deleted. Select [AREA]. The entire line is displayed in reverse video, and the following
Running!
Appoint extent
1-65
5. OPERATION
Select [DELETE].
(8) Terminating
the symbol
and comment
editing
[Operation] 0 On the edit screen, select [END] or press the <ESC> key.
The following
message appears on the screen: Update (Saves the edited data.) Qutt (Cancels the edited data.)
!i
(9) Editing
screen
setting
is PMC-RBWRB4
(STEP)/RCWRC4
(STEP))
*Symbol entry number CRT/MD1 can display / Total EDIT ( SYMBOL 6 COMMENT )
I+
I
PMC-RB4
I
<O>[A:%FLvDATA%RB4
SYYMBOL 000001/000003 COIL_COMMENT 0000030/00000090 y (Notel) COIL COMMENT ADDRESS SYMBOL RELAY COMMENT NO. I I I I IV 00001 X00000.0 AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA AAAAAAAAA-AAAAAAAAA-AAAAAAAAA 00002 X00000.1 BBBBBBBBBBBBBBBB BBBBBBBBBBBBBBBB BBBBBBBBB-BBBBBBBBB-BBBBBBBBB cccccccccccccccc ccccccccc-ccccccccc-ccccccccc 00003*X00000.2 CCCCC 1 '*' means a symbol data which can be displayed on CRT/MDI.
Note 1)
T is the indicator.
Symbol/comment
are displayed
with turning
(10) Searching
Search COMMENT. Especially strings.
function
comment,
which
is too long,
by specifing
a part of data
l-66
5. OPERATION
1)
and the pop-up menu apears to specify strings for search. changes as the undermentioned.
9 ::y , o ....;;:, ..: : ., ... ,, I
.:;:
&.<]:;
. ..
.. ...
. . ..
..;.... .,.
:\\y .
.:.
..
.,.,.,.
:..
;: f$@f.j.
5 ;: .:C,o$
..
.:y
.:.:.:<
:. .,..::.:;::..{:...
2)
by function-key.
A part of strings is available only in case of [RELAY]/[COIL]. If search is success, cursol moves to the found place.
3)
l-67
5. OPERATION
instructions.
Such a message
is created
5.1.4.1
I
CNC/PMC
I
JIS levels 1 and 2 PMC-RB/RB2/RB3/RB4!RB5/ RBG.RCIRC3IRC4 PMC-RAl IRA2RA3 A X
F16
0 0
X
0 0 0 0
by FAPT LADDER.)
0 0 0 0
F18 F15B
PMC-N:NA/NB
ra,
(A
: Some characters
The half-size
characters
can be entered
to symbols
Japanese-language
1) 2) 3)
are used
: : :
5.1.4.2
The
Edit procedure
that can half-size be used varies between the CNCIPMC model in which Japanese describes
language
characters)
This section
the procedure
common
to all models
(only alphanumeric
are entered),
RC as an example.
(1) Startup
l-68
5. OPERATION
The following
(Fig. 51.4)
1 002 ,401:. !
! 003 .AOO.2
; 004 ,400. ,
Fig. 51.4
Message
(2) input
[Operation] 0 Place the cursor on the message address where message data is to be entered.
(3) Modification
[Operation] @ Place the cursor on the message address where message data is to be entered.
Q a
The character
key.
(4) Search
[TOP] [BOTTOM]
1-69
5.
OPERATION
(5) END
The following
message
appears.
Select one of the above items, and return to the edit menu.
(1) Startup
The following
(Fig. 5.15)
!ADDRESS CROI'P BASE SLOT X0000 SOOOl X000? : x0003 s0004 X0005 , X0006 x0007 \OOOE X0009 x0010 so011 X001? \0013 so014 SO015 i i it
ADDRESS CROUPBASE SLOT soooo ~0001 YOOOZ PO003 \0004 YOOO5 YOOO6 YOOOi YOOOB YOOOD YOOIO YOOII YOOI? 10013 \0011 10015
WE
606LETE 7DELAi.L 8
5,
10 END
Fig. 51.5
(a)
I0 Module
Edit Screen
l-70
5. OPERATION
0 0 ; 0
i
! 0
00
::
YOOQl \oooo
1 \ 0002 0003
:: 01
If 1: :I
yoo~
% sooo~
YOOO4 F0005 FOO06 YOOCi YOOOS 10009 YOOlO 10011 YOOl? YOO13 YOOi4 YOOl5
IOmB,
Fig. 51.5
(b)
Ii0 Module Edit Screen (models in which more than one channel
can be set)
(2) Channel
switching
can be set)
(i)
(3) Setting
[Operation] Place the cursor on the start address when a module is to be set.
format:
GROUP.BASE.SLOT.NAME
(Note
or pressing
(Note
2)
is allocated
as follows:
Specify a group number in the configuration. Must be fixed at 0. Specify the unit number of the PO Unit-B. Alternatively. set to 0 if
## is to be allocated.
l-71
5. OPERATION
(4) Deletion
[DELETE]
[DELALL)
[DEL.CH]
(i)
[Operation J @ Place the cursor at the address where the module is to be deleted.
Select [DELETE].
[Operation] 0
Select [ DELALL].
of one channel
(for models
in which
can be
Select (DEL.CH].
address.
The following
message appears.
/I
Select one of the above items. and return to the edit menu.
l-72
5. OPERATION
(7) Termination
[END]
[Operation] 0 Select [END] or press the < ESC > key on the editing screen.
@ The following
message appears.
Fl
F2 F-3
key.
5.1.6
System parameter
editing
(1) Start
G3 The system parameter editing screen appears. The screen shown below is the system PMC model, see item (4) below. parameter editing screen for PMC-FIB. For each
(2) Input
[Operation] (J,) Select an input item (displayed in reverse video) with the < 1 7 and < 1 > keys
For information
1-73
5. OPERATION
(3) Termination
[Operation] 0 Select [END] or press < ESC > on the editing screen.
@ The following
message appears:
II
(4) System
(a) PMC-L/M
[Editing screen] 0 PMC-L
OBYTE
l-74
5. OPERATION
TIMER USED AREA (area used for timers1 When timers are set with the TMR function instruction on the CRT/MDI, setting and
display in BCD is possible. This parameter decimal format. specifies the size (in bytes) of an area that can be set and displayed from the start (D300) of nonvolatile instruction parameter memory. data in
in the TMR
of timer control
address to enable decimal display. A timer control data address requires as follows: five bytes. Therefore, this parameter must be set
COUNTER CRT/MDI,
USED AREA (area used for counters) of counters are set with the CTR function instruction on the and setting and display in BCD is possible. specifies the size (in bytes) of an area to use for decimal after the TIMER USED AREA in nonvolatile in the CTR instruction parameter of counter setting memory. control data
address to allow decimal display. A counter control data address requires five bytes. Therefore, this parameter must be
in four-diait
the size (in bytes) of an area used to store addresses (CRTIMDI) in 4-digit BCD. memory. Therefore, this parameter
on the screen
BCD display.
must be
x 2 bytes
BCD 2-DIGIT AREA (area for settinq and disolavinq This parameter specifies
in two-diait
the size (in bytes) of an area used to store addresses (CRTIMDI) in two-digit BCD.
on the screen
after the BCD 4-DIGIT AREA in nonvolatile One byte is required as follows: for two-digit
BCD display.
l-76
5. OPERATION
LADDER EXEC (ladder execution This parameter levels. execution. Note, however, that increased This
time) processing scan time for the first and second thus achieving high-speed ladder ladder
time,
ladder
execution
levels
Setting range
CYCLE TIME This parameter specifies a sequence program execution period of 16 or 8 ms.
0 : 16 ms
Setting
0: 16ms/l cannot
be set with
PMC-L is always set to 16 ms, and PMC-M (MMC) is always set to 8 ms.
method. Note that when executed. the non-division method is specified, the third-level ladder is not
IInitial value
(b) PMC-P
0 : Division method
Setting
0 : NO (division
method) method) I
1 : YES (non-division
[Editing screen]
l-77
5. OPERATION
[input item] @I PMC PARAM. This parameter SIZE (0 address size] specifies the size (in bytes) of nonvolatile memory in the common
nonvolatile
memory
Initial value
2048
Setting range
0 to 2048
relay (R address)
can be used.
Be sure to specify
this
(c) PMC-N/N
(I/O LINK)/OA
LI!Xx)
PMCQA
EDIT
iSWEll
PAitIWMER~
4050 series
10::;
0:
1 0.W. 1:YES
PUC TYPE j PA
l-78
5.
OPERATION
[Input item] COUNTER DATA TYPE specifies whether the format of a counter value used with the CTR This parameter function
instruction
is to be binary or BCD.
initial value
0 : BINARY
Setting
0 : BINARY / 1 : BCD
LADDER EXEC (ladder execution This parameter levels. execution. This specifies setting reduces
time) processing scan time, time for the first and second ladder thus achieving high-speed ladder ladder
an incremental
Initial value
100
Setting range
100 to 150
ladder execution
period of 8
1 ~~~~
that increased processing processing time
time
7.5ms
Note, however,
levels
Ladder processing
PASCAL EXEC (PASCAL execution This parameter time. to LADDER second levels, specifies
reduces
processing
processing.
Initial value
I Setting range
0 to 100
PASCAL EXEC RATIO (ratio of PASCAL processino The initial setting display.
l l l
to C/PASCAL
processing
time
Ladder processing
l-79
5. OPERATION
Initial value
50
1Setting
range
0 to 99
When 0% is specified,
C/PASCAL
is executed
value is specified
in a delayed display.
PASCAL ORIGIN This parameter program. specifies the start address .of the task control block (TCB) of a PASCAL
Initial value
000000
Setting range
Address
specify
OOOOOOH.
PASCAL DATA ORIGIN This parameter specifies the start address (physical address) of the data area for a
PASCAL program.
Initial value
000000
Setting range
Address
I %FF4000H (or
When
PASCAL
DATA
ORIGIN
parameter,
sb800000H
as the address.
Initial value
0 : NO
Setting
0 : NO / 1 : YES
@I PMUOS
software
This parameter
Initial value
01
Setting
software
currently
used
l-80
5. OPERATION
ladder execution
period of 8
time
Note, however,
levels
PMC screen display time Language program processing Ladder processing time
method. Note that when the non-division method is specified, the third-level ladder is not
executed.
I
@
Initial value
0 : Division method
Setting
0 : NO (division
method) method) I
1 : YES (non-division
EXEC RATIO program and PMC screen display have the same priority, this specifies the percentage of the following processing times:
language
PMC screen display time Language program processing Processing time of third-level time Ladder program a language program can be executed cyclically.
llnitial
value
50
1Setting range
0 to 99
LANGUAGE This
ORIGIN specifies the start address of the link control statement data of a
parameter
language
program.
Initial value
000000
Setting range
program storage
1-83
5. OPERATION
OPERATOR
operators operators
YES is specified
specify
the DtDO
operators operators
panel is actually
connected,
Initial value
0 : NO
Setting
0 : NO i 1 : YES
0 .,,
KEY DI ADDRESS Specify the start address (PMC address) of the external Dl where the operators panel is actually connected.
Setting range
ii)
KEY DO ADDRESS Specify the start address (PMC address) of the external DO where the operators panel is actually connected.
Setting range
iii)
start
Usually an arbitrary internal iv) LED BIT IMAGE ADDRESS Specify programs. the start address
(PMC
address)
of LED
images
referenced
by user
l-84
5.
OPERATION
5.2
Printout
program can be printed out. When PC9801 to Section 2.1 .l. left margin, line spacing and is used, PRINT.SYS must be installed
according
allows the user to set the top margin, 1.4 of Part II.
cross reference.
Compatible
printers
(Note)
To use an Epson VP1 000 with an NEC PC9801, a program modification 1.4 of Part II.
is required.
For
(1) General
flow of operation
for printout
Select a source program [ EXEC] <Fl > v Specify output item End -[ EXEC] <Fl>
Make # LS file
Operation
l-85
5. OPERATION
1 RC4(STEP).
:iliiiiliiiiiiiiiiii~~~pR~N~~~~~~~~~~~~~~~~~~~~~~
: : : f :
Added ->
~~...-I :
: : : : : :
Printing menu
C:YRC4-STEP
.fil::l:i
11
diagram printing
1) PRINT UNIT
Select either only a specified When selecting MODULE, sub-program or all sub-programs. name to MODULE NAME. specify the printing sub-program
2)
SUB-PROGRAM
l-87
5. OPERATION
(4) Output
item setting
are specified
as described
below.
depending
whether to output each data item to output each data item can be specified by placing the cursor on the desired
item on the output item select menu with the 7 or 1 key, then pressing
the <RETURN>
Specifying
options optional items, place the cursor on the desired option, option then press the After
> key.
The screen
for specifying
the corresponding
will appear.
the necessary
Detail of each data time 1) Title printing The data of the title is printed. 2) Parameter printing is printed.
The data of the system parameters 3) Symbol printing The symbol comment i) * The output specified 4)
printing
Ladder diagram printing A ladder diagram is printed. i) Option (ladder diagram printing) * The output unit, net range, page break, and cross-reference of a ladder
diagram to be printed are specified. * If a diagram is output module. * If 0 is set as the output end net when a range of nets is specified, up to the last net. a page break is made in the ladder diagram at printing as a list file, the unit of printout must be specified as a
continues .
If a cross-reference cross-reference.
is specified,
the ladder
diagram
is accompanied
with
5)
6)
Message
printing
The message data is printed. i) Option (message printing) * The range of messages to be printed is specified.
l-88
5. OPERATION
Print format specification Either Japanese-language (Japanese-language input mode screen) or code
format (code input mode screen) is selected. 7) Cross-reference A cross-reference i) list printing list is printed. (Fig. 5.2 (d))
Option (cross-reference *
list printing) list is printed, a check is made for duplicate If a duplicate writing writing, is
a message
of a write
and
addresses
can be specified
List Address
All addresses All addresses Specified Specified (including having a specified only initial letter
Address range
in a specified
range address
after a specified
(Note
are output
X. Y,
In this example,
Y and all
8)
Fig. 5.2(f)
Fig. 52(g)
l-89
5. OPERATION
diagram
Initial step
Transition Label s210 PlOl P150 -h 0 e Divergence of selective P160 sequence +-Divergence of simultaneous I S215 0 S217 sequence P161 1 P165 +Convergence of P162 simultaneous sequence ~ S216 P163 P164 fConvergence Step
4 4
Transition Label
+ P150
c+ P160
Divergence
S211 : P151
l
+ P152
of selective sequence +Divergence of . simultaneous S217 sequence : P165 -Convergence of simultaneous sequence Step
t 0
S212
t 0
S212 : P153
l
+ 164 cConvergence 4
Jump
->Ll
Jump
by SUB-PROGRAM
NUMBER
[NONES]
&IS1
4-
jG+G-j-
l-90
5. OPERATION
(5) Specification
of output forms
Fig. 5.2(h)
Forms Selection
Screen
Current < t
with *.
>andenter<RETURN>.
@I After selecting
screen.
Printing screen.
the indication
PRINTING
IN PROGRESS
blinks on the
When printing
printing halfway
ends,
PRINTING
IN PROGRESS display
disappears.
(To stop
through,
[BREAK]:
the screen
returns
specification
(7)
screen.)
Termination
[Operation]
l-92
5. OPERATION
Select screen.
[END]
on the input
program
specification
screen
or the output
item
selection
(8) [LIST]
command
Note)
function
is selected
to a specified
control
for creating
a control statement
is not included
function
edited,
net
numbers
starting
from numbers
1 are
assigned
to
subprograms. subprograms
is printed,
sequential
are assigned
to all
order of subprogram
numbers.
2)
Cross Reference A cross reference can only include information referenced by the ladder, first, second, or
If ladder subprogram
PO001 is referenced
only by a
and if address
PO001 is specified
there is no reference
information.
3)
Diagram
l-93
5. OPERATION
5.3 Compilation
During compilation, an edited source program programs is translated cannot into a ROM format file (object file) (PMC can
executable
by the PMC.
Uncompiled
be transferred
writer or FA writer) or RAM for the PMC. be performed in one of two modes:
$$g
Transferred andPMC
mode series, PMC-CC, PMC-NB, a source program can be compiled in condensed mode, the As a result,
of steps is compiled
A larger C language
C language
Time required
for compilation
is reduced.
computer
may be used.
l-94
5. OPERATION
described
below.
Memory
map changes
(area expansion)
are likely
to occur
when
instructions,
symbols, in In
comments, condensed
and so forth are added when a ROM format file generated mode is transferred to the PMC and edited with the built-in to possible overlap between
1 language 1
by compilation by compilation
mode cannot
be compared
with
5.3.1 Operation
(1) Start
~~~J@.-p>y<y?$y@gQ \.i\.\
\.._,.,\
A:YFLYiIATAYTEST
ROW formatfile name : A:YFLYDATAYTEST.tEl Series VC L PUC name Edilion &chine toolname Programe no.
/
!
~---
Compile Screen
l-95
5. OPERATION
General
Flow of Operation
for compiling
Main menu
!$yg
Main menu Fig. 5.3 (b) Compiling (2) Compiling
Make#LS fie
General Operation and Screens
When
PMCPAljPA3 mode.
is used,
selecting
[EXEC]
causes
programs
to compiled
in the
condense
[Operation] @ Specify a source program name and ROM format specifications. file name. The ROM format file
Select (EXEC]. Note) For PMC-PAlIPA3. compilation in condensed mode is done by [EXEC].
Compilation
is performed
terminates abnormally,
normally,
memory
is output.
When the
an error message
(b) Condensed
mode
Compilation NB.
in condensed
[Operation] 0 Specify a source program name and ROM format speciftcations. file name. The ROM format file name must conform to the MS-DOS
Select [CONDNS]
Compilation
is performed
in condensed
mode.
l-96
5. OPERATION
terminates abnormally,
normally,
memory
is output.
When the
an error message
result
by
occur, it is convenient
1)
function
is selected
when setting a model, and if the following messages are output to the following
sample file.
= =
Compiler
source program name : A:YFLYDATAYTEST ROM format file name : A:YFLYDATAfTEST. #EX
2)
messages
are output
to the following
= =
FLMNE.ERR(fixed
(4) Termination
[Operation]
Select [END).
l-97
5. OPERATION
(5) Specification
(a) Specification
It is possible
to specify
the extension
of its input
program
name as following
3 types.
function
about #LS.)
Specify the file WITH its extension It is possible program file. to select the file name with its extension for the #LS-file and the source
File name -
In case of there are some same file names (without the source file, target file is selected by system.
The order of priority for the target file specification 1 2 In case extension. The #LS-file The source program file of inputting the source program file,
is shown below.
please
select
the file
name
with
its
(b) Changing
with #LS-file,
(6) [LIST]
Command
(F4 KEY)
functions
by [LIST].
indications
Making .#ls-file
function.
l-98
5. OPERATION
function
is selected
when
setting
a model, .#LS,
with extension
is not included
MAIN.#LS
##### PASS1 ###I#
B:rb FLADDERY RC3ab MAIN B:Y FLADDERY RC3+ I-STEP B: Y FLADDERS' MODULE+ SUBPl B:a( FLADDERY MODULEY SUBPZ B:Y FLADDERY RC3+ END-STEP tcompilation result PASS 2 ####t PASS2 ##### B:Y FLADDERY RC3Y MAIN B:M FLADDERY RC3Y l-STEP B: + FLADDERY MODULE+ SUBPl Error end 20 (00111 Net ) B: Y FLADDERY MODULEM SUBPZ Error end 31 (00001 Net ) B:Y FLADDERY RC3M END-STEP compile completed error count=00002 warning count =OOOOO
PASS 1: PASS 2: Convert to object Syntax check
c Specified source program name +-Compilation result PASS 1 -Source program name (MAIN.#LS)
5.3.2
This function
It enables a password to be added during compilation. The password CRT:MDI. password can be used to prohibit ladder programs from being displayed or edited on the
To discompile correctly.
a ladder program
guarded
with a password,
it is necessary
to enter the
Type
Password (R) Password (R/W)
Use Password to allow display on the FSlG-B Password to allow display and editing on the FSlG-B I
l-99
5. OPERATION
using a commercially
available
editor.
:
: ; :
FAPT Text
Setting
File
lS: editor
rpl_dha ladkey : :
=; =$; 1;
password=O; t
j-1 :
*tJ;
@ Specify whether to use a password
(R)
and
the type
of a password
(when
used)
after
password = .
Password is used.
type
(cl
When password = 0
Gotoo.
When password = 1. 2, or 3: After compilation [EXEC] or [CONDNS] is selected, you will be prompted to specify
IDo
you
enter
password?
(Y/N)
To set a password.
press
cl
If password = 1 or 3, go to 0. If password = 2, go to @.
If it is unnecessary
to set a password,
press cl
Go to @.
l-100
5. OPERATION
password
Enter a password. . * A password that can be used is a combination Uppercase and lowercase of 8 or less letters and.;or numerals. from each other. (If a lowercase
to use space, kana. kanji, and special characters strings are unusable. string is entered as a password, string. on the screen. before any valid password -,
an error message
In such a case, use another character * * An entered password If the <RETURN> is not displayed key is pressed
is specified,
use of a
If password = 1, go to @. If password = 3, go to @.
When <ESC>
is discontinued.
GotoO.
screen appears.
as entered
before,
password was entered correctly. * When the password entered this time matches one that was entered before, it is
accepted. . When they do not match, the message You are allowed to retry entering When <ESC> twice. is discontinued. Password mismatch is displayed.
Go tom. Go to@.
If password = 3 is specified.
password
Enter a password .
(R/W).
of 8 or less letters from each
and!or numerals.
other. (If a lowercase
to use space. kana. kanji. and special characters strings are unusable. string is entered
character
as a password,
string.
an error message
is displayed.
1-
101
5. OPERATION
. 1
on the screen. before any valid password + Go to@. is rejected. is specified, use of a
is not specified.
Go too.
The password
confirmation
screen appears.
Verification
(R/W)
as entered
before, to ensure
that your
was entered correctly. the password entered this time matches one that was entered before, it is
accepted. When they do not match, the message .You are allowed to retry entering twice. is rejected. Password mismatch is displayed.
Go to@.
Compilation
begins.
(d) Password
To discompile
I
IBoth password
Set password
type
After discompilation
[EXEC]
is selected,
the following
password
-1
is entered,
discompilation
password
is incorrect,
an error message
twice.) is rejected.
l-102
5. OPERATION
5.3.3
Changing
are arranged
are displayed
function
of the PMC-RB4
or PMC-RC4
may be changed
compiled,
and downloaded.
5.3.4
It is possible to choose output data (Symbol/Comment, Net comment) to ROM format file
PMC-RB4
<O>[A:YFLYDATAfRB4 1
: A:YFLYDATAYRB4 : A:YFLYDATAYRB4.#EX
[F61 tF71
PMC-RB4
<O>[A:YFLYDATAFRB4 ;
Compi le normalend
EXEC
MAP
3 ERROR
F, SYMBOL
7 NETCMT
8 CONDNS
DOS
10
END
Fig. 53.4
l-103
5. OPERATION
(i)
F6 [SYMBOL] Select whether output or not output the symbol 8 comment HoweverJhe symbols which can not be displayed data to ROM format file. (7bytes or more symbols)
on CRTiMDl
assigned
2) "NO" :
No symbofcomment is converted to ROM format file. on CRTIMDI. Any symbol and comment is not displayed
(ii) F7 [NETCMT] If Net comment is used in ladder program, you can choose whether Net comment pointer
1)
POINTERS
ONLY
: (Default setting) by CNC built-in editor and decompile the data by FAPT
To edit the ladder program LADDER, select this setting. However, format file. ladder
because
Net comment
pointer
is output
to ROM
2) "NO" :
Any Net comment pointer is not output to ROM format file. In this case, ladder size in the ROM format file is saved. However, decompile the ROM format file makes its net comment data information lost.
Note
1)
programs.
At the compilation
of FORMAT-B
Note
2)
Net comment
information
only in a source
program
on the
personal computer. Compiled Only Net ROM format file does not include comment pointer( = any net comment characters. position.) can be
information
output to ROM format file as an functional This Net comment ROM format pointer
instruction
the
file that
is edited
to FAPT
LADDER.
l-104
5. OPERATION
5.3.5
(a)
appears.
(4
to resister
The sequence
as following
flow chart.
(1) Start
l-105
5. OPERATION
by absolute-pass.
Fig. 5.35
(1)
correspond
to the function
keys as indicated
below.
(a) [LIST1
EXEC
1
CHANGE 1 (W EXTEND DRIVE SEARCH 1 (c) END
(b) [CHANGE] 1
DELETE
INSERT
CHANGE
END
(c) [SEARCH) 5
TOP
BOTTOM
FILE
PCTYPE 1 (d)
END
(d) [PCTYPEJ 1
PREV
NEXT
END
l-106
5. OPERATION
The sequence
for registration
is shown below.
1. 2. 3. 4. 5.
of selected file
Select [EXEC]
The #LS-file name is changed Each data (System 1st registered file.
parameter~TitleSymbol&comment:Message/lO
(a) Changing
of directory
Changing
of drive + directory
use [DRIVE]
B:<RETURN>
Specification by absolute-path
B:\DATA<RETURN>
(b) Changing of file extension
[EXTEND]
[EXTEND]
(2).
It is possible to indicate file name except source program by changing In case of there are some selected Extension files, it is impossible by [EXTEND]
extension.
can be changed
l-107
5. OPERATION
The following
message
the [EXTEND].
extension
Searching
Following
functions
to &arch
1. 2. 3. 4.
for the first file for the last file by file name
(4
Searching
lb)
Searching
Searching
followed
file exists, the cursor moves to the specified file does not exist, an error message any key.
is displayed.
To terminates
(4
Searching
Type a PMC type, for example When files with specified possible following to select operations
RC3, followed
by [PCTYPE]. the cursor moves to the file. <RETURN> And then, it is key. And,
position
by pressing
backward
occurrence
PMC type.
is displayed.
to search by pressing
l-108
5. OPERATION
(6)
Changing
the selected
Following
functions
1. 2.
[DELETE] [INSERT]
the source
(a) Deleting
a file [DELETE]
is deleted.
the deleted
(b] Inserting
a file [INSERT]
at the cursor position and then the cursor moves to the source file
file is inserted
at the
blank line and the cursor moves to the inserted file name.
the changing
of selected
(7) Terminating
terminates.
5.3.6
DOS command
shell from FAPT LADDER by pushing this, key in the command [DOS] key. command line.
as bellow at MS-DOS
A:bEXIT
l-109
5. OPERATION
5.4 Decompilation
During decompilation, printed out. Data that is uploaded from the PMC or is read from ROM is ROM format file data. Such data must be decompiled Data in the a ROM format file is translated into a source program that can be edited or
ROM format file cannot be edited or printed out. edited or printed out.
before it can be
(Note)
To discompile password.
a password-protected
ROM
format
file,
it is necessary
to enter
5.4.1
Operation
(1) Start
[Operation] 0 Select [DISCPL] (decompile) from the main menu.
The decompile
2, 1: 3) 4, 51 6~ 7 8) 9)
COUtiTER DATA TYPE PMC.:OS SERIES LADDER EXEC (UNUSED, (UNUSED) (UNUSED (UNUSED SYNCHRONIZED LEVEL P&Z/OS EDITION
: :
) 1
: 0:
( 0:NO.
1:YES
Fig. 5.4
Discompile
Screen
(2) Decompiling
[Operation] 0 Specify a ROM format file name and source program name.
screen.
l-110
5. OPERATION
Decompilation
is performed
is output.
@ When
terminates
normally,
the
message
DECOMPILE
TERMINATED is
NORMALLY output.
terminates
abnormally,
an error message
(3) Termination
The screen display returns to the main menu screen. PASCAL and C language data is lost. After editing and
(Note
1)
During
decompilation,
recompilation,
link PASCAL and C language data again. in condensed mode can be decompiled can be recompiled in
the source
program
l-111
5. OPERATION
5.4.2
Outputting
to split files
are output files. to a source program, they are split into units of
of decompilation
ROM program
1 1
SP (SUB 7
SP (SUB 71)
PO02
1 *
I
The END instruction is not included in
SP (SUB
1-112
5. OPERATION
54.3
a ROM file is used only when a step sequence for the PMCRC4(STEP SEQ.
[Procedure] 1) Compile program. 2) 3) 4) Set model PMC-RCI(STEP Select F4 (DECOMPILE) SEQ) for FAPT LADDER. from the main menu. the program. the step sequence program for the PMCRB4(STEP SEQ) and create a ROM
5.4.4
Merge
file is specified for output source program when decompiling, the existent
source program is deleted and new source program is created with the contents In this case it is possible program by specifying
the undermentioned
PMC-RB4
<O>[A:YFL%DATAYRB4
: A:YFLYDATAYRB4.#EX : A:yFLYDATAyRB4
Specified Overwrite
1-113
5. OPERATION
(1)
1)
NO The
: (Default setting) existent source program is deleted and new source program is created with the
contents
2)
YES
: in source program is merged with that in ROM data. As for the other ROM data is effective. F5[SYMBOL] will be displayed to specify which symbol
The symbolkommnet
definition
is effective,
(2)
F5 [SYMBOL] F5[SYMBOL] will be displayed decides when YES symbol is specified definition for F4[SYMBOL]. source program or ROM data is
which
in either
1)
SOURCE
DATA
2)
ROM
l-114
5. OPERATION
of F4[MERGE]
and F5[DUPADR],
+-Ix0.0
COIL-COMMENT(30byte)
xxxxxx
YYYYYY
xxxxxxxxxxxxxxx
YYYYYYYYYYYYYYYYYYY
R1.4
Y2.3 Y4.7
AAAAAAAAAAAAAAAA BBBBBBBBBBBBBB
+a)
The result of "MERGE = NO" Source program x0.0 xxxxxx R1.4 YYYYYY xxxxxxxxxxxxxxx YYYYYYYYYYYYYYYYYYY
tb)
The result of "MERGE = YES" and "Symbol definition = ROM data". Source program x0.0 xxxxxx Y2.3 BBBBBBBB Y4.7 YYYYYY xxxxxxxxxxxxxxx BBBBBBBBBBBBBBBB YYYYYYYYYYYYYYYYYYY
BBBBBBBBBBBBBB
tc)
The result of "MERGE = YES" and "Symbol definition=source Source program x0.0 AAAAAAAAAA BBBBBBBB Y2.3 R1.4 YYYYYY AAAAAAAAAAAAAAAA BBBBBBBBBBBBBB
program".
l-115
5. OPERATION
5.5 Link
During linking, load modules a ROM format file. created in the C language, PASCAL, or other language are linked with and or
The C language
PMCNIRCIRC3iRC4/QCINB. PASCAL,
PASCAL can be used only with PMC-N. similar language is not used.
varies
between
PMC-N
and PMCRC/RC3/RC4:QC/NB.
or PASCAL line in
C prooram development
environment
for PMC-N
l
source
ICM (compiler)
. . . . . . . . . _ ROM file
format
LMB (linker)
LMT (converter)
1
C language load module
ttt Link + ROM format file with C language/PASCAL load modules linked
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . .. . . . .
PMC-N
Debug
1-116
5. OPERATION
C oroqram development
environment
for PMC-RC
(RC3!RCWQC!NB)
-Personal
J
C language source Link control source ROM format file J-Y iC286 (compiler) 1 -library BND386 (binder) + BLD386 (binder) 0J386 $_ (converter) HEX2SREC (Note) FANUC distribution
Link _
L:
-:
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. *
PMC_RC
i I vv$
I t I
I
(Note)
FAPT LADDER does not allow Intel hexadecimal operation, convert the file format by referring
load modules
Before link
to the HEX2SREC
On the indicated
load linked.
modules Perform
created
in the
development
languages This
before linking.
floppy disk:
(A08B-9200-J604
#JP)
Edition 3.1 or later Edition 3.1 or later Edition 1.0 or later Edition 1.0 or later Edition 1.0 or later Edition 1.0 or later
(A08B-9201 -J604 #EN) QC Module Floppy (A08B-9200-J605#JP) (A08B-9201 -J605-#EN) NB Module Floppy (A08B-9200-J606#JP) (A08B-9201 -J606-#EN)
A:\FLADDER\APPENDIX,
HEXZSREC
input-file-name
output-file-name
Conversion
is performed.
1-117
5. OPERATION
Specify linking.
SAMPLE.%)
(Note)
When
of an input is directed
file name
is omitted,
the name
extension
.HEX
is is in
assumed. changed
The specification
SAMPLE.SR
input/output:
HEXZSREC HEX2SREC HEXZSREC HEXZSREC SAMPLE.HEX SAMPLE SAHPLE.SR SAMPLE.HEX SAMPLE
Load
module
file file
: :
SR #EK
Machine
Program
no.
Fig. 5.5
Link Screen
(2) Linking
[Operation] @ Specify the load module file name and ROM format file name to link. name must conform specified to MS-DOS specifications. The load module file
Here the load module file name should be For PMC-RC, specify an output program
(--------.
l **).
Select [EXEC].
1-118
5. OPERATION
Linking is executed.
(3) Termination
5.6 Input/Output
There are three types of input/output operations, as described below.
1) 2) 3)
ROM read/write
operation
Transfer with the PMC RAM via an RS-232C interface. Input/output between PMC RAM and a memory card or floppy disk (FD) via a Floppy Cassette
RSDRV.SYS,
which
is an MS-DOS
standard
Install it according
in Section 2.1.
[Operation] 0 Switch off the personal cable. 0 0 @ @ (See Appendix computer 1.) make sure that RSDRVSYS has been installed. and input/output unit, and connect them via an RS232C
Before starting FAPT LADDER, Start FAPT LADDER. Select [l/O] (input/output) The input/output
menu appears.
1-119
5. OPERATION
Table 5.6 Input/output ROM writers (PMC WRITER, FA WRITER) (MMC)) destination
FANUC Series 0 (PMC-L/M!M FANUC Power Mate-MODEL FANUC Series 15 (PMC-N) FANUC Series 158 (PMC-NA)
A/B/C/E (PMC-P)
FANUC Series 16/18!20 (PMC-R series) FANUC Series 15B (PMC-NB) FANUC F-D Mate mini (PMC-QC) FANUC Power Mate-MODEL D (PMCPAl/PA3)
4800/9600
(Note 1) In input/output
possible necessary
operations
at 9600 bps is
In this case, it is
to make the settings of the CNC match those of the personal computer. operations with the FANUC Power Mate MODEL-A/B/C/D, a
(Note 2) In input/output
transmission
and comparison.
In this
(Note 3) In input/output
operations
Series
15, transmissions
[Reference]
1) 2)
: :
FLIO
98.DAT
FLIO-AT.DAT So, a text editor can be used to change set values in the files.
l-120
5. OPERATION
1)
Contents (effective
2)
Contents (effective
DATA-BLOCK
FA-WRITER PMC-WRITER PMC-L PMC-M PMC-M PMC-M (TT) (AXIS) (AXIS)
DATA-BLOCK
PM&WRITER FA-WRITER PMC-L PMC-M PMC-M PMC-M (-IT) (AXIS)
=COM1:48.N,8.2 =COMl =COMl =COMl (AXIS) =COMI -COMl =COMl =COMl (l/O) (I/O, TT) (I/O, AXIS) (l/O) =COMl =COMl =COtVll =COMl -COMl =COMl =COMl =COMl =COMl =COMl =COMl -COMl =COMl =COMl -COMl = COMl =COMl =COMl (STEP-SEQ) (STEP-SEQ) =COMl =COMl : 48, N, 8.2 : 48, N, 8.2 : 48. N, 8, 2 : 48. N, 8,2 : 96, N. 8.2 : 48, N, 8,2 : 96, N, 8.2 : 48, N, 8.2 : 48. N, 8,2 : 48, N, 8,2 : 96, N, 8.2 : 96, N, 8, 2 : 96, N, 8,2 : 96, N, 8.2 : 96, N, 8,2 : 96, N, 8,2 : 96. N, 8,2 : 96. N, 8.2 : 96. N, 8.2 : 96, N, 8.2 : 96, N, 8, 2 : 96, N. 8, 2 : 96. N, 8,2 : 96, N, 8.2 : 96, N. 8, 2 : 96, N. 8, 2 : 96, N, 8.2
PMC-MMC PMC-MMC PMC-N PMC-P PMC-OA PMC-M PMC-M PMC-M (I/O) (I/O, TT) (l/O, AXIS)
= RO, 4800, 88. PN. S2. NONE = RO. 4800, B8, PN. S2, NONE -RD. 9600,88, PN, S2, NONE
PMC-MMC PMC-MMC PMC-N PMC-P PMC-QA PMC-M PMC-M PMC-M PMC-N PMC-RB PMC-RC PMC-RAl PMC-RA2 PMC-RB2 PMC-RA3 PMC-RB3 PMC-RC3 PMC-PA1 PMC-PA3 PMC-QC PMC-NB PMC-RB4 PMC-RC4 PMC-RB4 PMC-RC4
- RO, 4800, B8, PN, S2. NONE - RO, 9600, B8, PN, S2, NONE = RO. 4800, B8, PN, S2, NONE =RO, 4800,88. = RO. 4800,88, = RO, 9600.88, PN. S2, NONE PN, S2, NONE PN, S2, NONE
PMC-N (l/O) PMC-RB PMC-RC PMC-RAl PMC-RAP PMC-RBP PMC-RA3 PMC-RB3 PMC-RC3 PMC-PA1 PMC-PA3 PMC-OC PMC-NB PMC-RB4 PMC-RC4 PMC-RB4 PMC-RC4 (STEP-SEC)) (STEP-SEO)
= RO, 9600, B8, PN, S2, NONE = RO, 9600, B8, PN, S2, NONE = RO, 9600,68, PN, 52, NONE
= RO, 9600, 88, PN, S2, NONE = RO, 9600, 88. PN. S2, NONE = RO, 9600. 88, PN, S2, NONE = RO, 9600,88, = RO. 9600,88, = RO, 9600.88, PN, S2, NONE PN, S2, NONE PN, S2. NONE
= RO, 9600, B8, PN, S2. NONE =RO. 9600, B8. PN. S2, NONE = RO. 9600, B8, PN, S2, NONE = RO, 9600,88, PN. S2. NONE
= RO, 9600, 88, PN. S2. NONE = Ro, 9600, B8. PN, S2, NONE = RO, 9600,88. PN, S2. NONE
side of each equal sign ( =) : Device side of each equal sign (=) : Represented in the format of each (baud
right-hand command.
SPEED/MODE
(port number)
and second
parameter
1 - 121
5. OPERATION
5.6.1
computer
see Section
ROMs which
on the
in Table 56.1.
Table 5.6.1 ROMs Usable with Each PMC Model PMC model PMC-L/M PMC-N PMC-RAl /RA2/RA3/RB 256K-bit Usable ROM ROM, 2 each (note 1)
(1) Read
[Operation] 0 Select [WRT] (writer) on the I/O menu screen.
Select [READ].
read data.
@I Read operation
is executed.
During operation,
the indication
EXECUTING
blinks.
terminates
normally,
the indication
NORMAL
END
is output.
(2) Write
Select [WRITE].
Writing is executed.
During operation,
the indication
EXECUTING
blinks.
normally,
the indication
NORMAL
END
is output.
l-122
5. OPERATION
(3) Verification
Select [VERIFY].
@ Verification
is executed.
During operation,
the indication
EXECUTING
blinks.
When verification
terminates
normally,
the indication
NORMAL
END
is output.
Select [BLANK]
(blank check).
(3
@I Blank checking
is executed.
During operation,
the indication
EXECUTING
blinks.
terminates
normally,
the indication
NORMAL
END
is output.
(5) Termination
(Note
1)
Input/output
with ROM for PMC-UM a high ROM is paired with a low ROM. When performing I/O to and FAPT LADDER allows a pair of a high At this time, the < F2 > key can of a
With PMC-UM,
from ROM with an FA writer on a PMC-L/M, ROM and low ROM to be processed be used to switch between pair of ROMs.
concurrently.
the processing
1 - 123
5. OPERATION
1st PAIR
2nd PAIR
3rd PAIR
4th PAIR
7 High side Low side OEl OF1 PMC-L , PMC-M 0E2 OF2
0
Socket allocation for concurrent
q 10clOClcl
processing
Writinq During concurrent writing, data can be written to a maximum of four pairs of ROMs.
Readina and verification During concurrent reading or verification, only one pair of ROMs can be handled socket number at a time.
When two or more pairs are set, the ROMs with the smallest verified.
are read or
1Mbit
ROM
for PMC-RB2
with
FA writer,
ID
ERROR
will
be
on FA writer.
NB, QC.)
5.6.2
Transfer
(FANUC
Series 0)
5.6 for the setting of the personal
See Section
FAPT LADDER
1 Switchable Parameter between 4800 bps and 9600 bps No. 0060
)-
FSO
11 Download
IL
(Note)
(Note)
+I
I
1
I
II
(Note)
4
I
PO (P-G) screen
1
1
(Note)
1-124
5. OPERATION
(1) FSO baud rate setting This setting functions only for download operation using the PMC load screen.
the parameter
as follows:
bit 7 0060
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1 PCLDB
bit 0
*a
After a parameter
(2) Download
*@ Press c 1> on the PMC load select screen of the CNC. (Select (1) LOAD FROM I/O. The screen shown in Fig. 5.6.2(a) appears.) Position the cursor on LOAD for the output route on the PMC menu screen, then press the <RETURN> Downloading key. During operation, normally, the indication EXECUTING END blinks. is output.
is executed.
When downloading
terminates
the indication
NORMAL
1-125
5. OPERATION
(b) Download
(operation
using
Select [DNLOADJ
(download)
*@ Press < 5 > on the PMC load select screen of the CNC. (Select (5) EDIT LADDER.)
[l/O]
and [P-G]
in this order.
(The screen
shown
in Fig.
451 Position
the cursor on EDIT for the output route on the PMC menu screen, then press key.
the <RETURN>
Download blinks.
operation
is executed.
During
operation,
the
indication
EXECUTING
@I When downloading
terminates
normally,
the indication
NORMAL
END is output.
(Note)
During downloading
to PMC-L/M,
(3) Upload
Select [UPLOAD]
*a
Press <5>
*@ Press the CNC soft keys [VO] and [P-G] in this order. appears.)
Uploading
is executed.
During operation,
the indication
EXECUTING
blinks.
When uploading
terminates
normally,
the indication
NORMAL
END is output.
l-126
5. OPERATION
(4) Comparison
[Operation ] @ Select [PMC] on the I/O menu screen.
Select [COMPAR]
(comparison)
43 Press <5>
*@I Press the CNC soft keys [I/O] and [P-G] in this order. appears.)
Comparison
is executed.
During operation,
the indication
EXECUTING
blinks.
When comparison
terminates
normally,
the indication
NORMAL
END is output.
(5) Termination
[Operation] 0 Select [END].
(Note)
an operation
l-127
5. OPERATION
5.6.3
To transfer data to and from PMC-P, some parameters according to Item (1) below.
. Power
Mate-MODEL A/B/C/E
1 1 Upload 1
between 4800 bps and 9600 bps Nos. &0226 or &0227 between 4800 bps and 9600 bps Nos. &0226 or &0227
Diagnostic
screen
11 Comparison
It
Diagnostic
screen
Power Mate-MODEL
ABICE
(1) Power
Mate-MODEL
A/B/C/E
setting
The operation
below is required
on the Power
*a
Position the cursor on the I!0 parameter, (Specify 0 or 1 in the I!0 parameter
then press < 0 > < INPUT > or < 1 > <INPUT
>.
setting.)
as follows: settinq = 0
bit 7 &0006
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
I-I-I-I-I-I-lOIll
&0009
I
I
I
&0014
I
BRATEO
I
I
&0226
BRATEO
1 0:
4800 bps
1 1 : 9600 bps
1-128
5. OPERATION
settino
= 1
bit 7 II0006
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
a0010
&0014
8~0227
BRATEl
1 1 : 9600 bps
(Note)
The mark -
represents
a parameter
not associated
*@ After a parameter
(2) Download
Select [DNLOAD]
(download)
*@ Turn on power to the CNC while holding down < 0 > and <X/AXIS
*@ The indication
PMC LOADING
Downloading
is executed.
the indication
EXECUTING
address indication
(ADDRESS
@ When downloading
terminates
normally,
the indication
NORMAL
END
is output.
(Note)
(3) Upload
During downloading
Select [UPLOAD]
l-129
5. OPERATION
@I The indication
PLEASE
SET UP PMC
is output.
*8
< * >.
(?I Uploading
is executed.
During
operation,
the indication
EXECUTING
blinks, WRITE
address indication
(ADDRESS
=) counts up.
When uploading
terminates WRITE
normally,
the indication
NORMAL
END
is output.
On the
disappears.
(4) Comparison
Select [COMPARJ
(comparison)
@I The indication
PLEASE
SET UP PMC
is output.
> twice to display the diagnostic
*@ Turn on power to the CNC, then press < DGNOSPARAM screen. *Q Press <NO. > on the CNC, then press C WRITE>
< >-
Comparison
is executed.
During
operation,
the indication
EXECUTING
blinks, WRITE
address indication
(ADDRESS
=) counts up.
terminates WRITE
normally, disappears.
the indication
NORMAL
END
is output.
On the
(5) Termination
[Operation] 0 Select [END].
(Note)
to a circled number
represents
an operation
l-130
5. OPERATION
5.6.4
- FAPT LADDER Switchable between 4800 bps and 9600 bps [DATA TRANSFER RATE (OFF-LINE)] 1 Download b Switchable between 4800 bps and 9600 bps fDATA TRANSFER RATE (OFF-LINE)1 Upload Ib Switchable between 4800 bps and 9600 bps [DATA TRANSFER RATE (OFF-LINE)] 1 Comparison b
FS15
Title screen
II
I/O screen
j110[
The baud rate setting on the personal Operation on the FS15 is described
on the FS15.
*8
and [MODE]
in this order.
*@ The following
information
PMC MODE PMC DATA INITXALIZE DATA TRANSFER RATE (OFF-LINE) DATA TRANSFER TO RAMBOARD RAM ENABLE (PC DGN,EDIT) DATA TRANSFER RATE (AUX)
OFF
ON
9600BPS MANUAL
OFF
4800BPS AUTO
ON
4800BPS
9600BPS
of both
DATA
TRANSFER
RATE
(OFF-LINE)
and DATA
TRANSFER
1-
131
5. OPERATION
(2) Download
Select [DNLOAD]
(download)
in this order.
@ B
Downloading
is executed.
the indication
EXECUTING END
blinks. is output.
When downloading
terminates
the indication
NORMAL
(3) Upload
Select [UPLOAD]
@I Initialization
INITIALIZE
EXECUTE
is output.
INITIALIZE
EXECUTE is output.
disappears.
the indication
SET UP PMC
*8
[OUTPUT],
@I Uploading
is executed.
During operation,
the indication
EXECUTING
blinks.
@I When uploading
terminates
normally,
the indication
NORMAL
END
is output.
(4) Comparison
Select [COMPAR]
(comparison)
1-132
5. OPERATION
Initialization
INITIALIZE
EXECUTE
is output.
INITIALIZE
EXECUTE is output.
disappears.
the indication
SET UP PMC
[OUTPUT],
Comparison
iS executed.
blinks. is output.
@I When comparison
terminates
the indication
(5) Termination
above,
an asterisk
prefixed
to a circled
number
represents
an
1-133
5. OPERATION
5.6.5
Before
Input/Output
PMC-CA and
for PMC-QA
the ladder
(FANUC
SYSTEM
F-MODEL
the following
D Mate)
(1) or (2) must be
program
are transmitted,
(a) File configuration The configuration of files in the floppy disk is as follows:
DRIVERS --c C
batch file)
UTILS
(b) Installing
the driver only once when power to the main unit is turned on. equipment commands. input/output After the software
starts, insert the floppy disk of external example and enter the following
FD Mate Main unit To change drives 6 : >A-rReturnJ A A:> A : >CD DRIVERS r Return J A : DRIVERS/> To install the driver A : DRIVERS > ACILOAD r Return J
To change directories
Note 1)
portions
indicate
data entered
r
name
are displayed
Key entries
explanations
Note 2)
Incorporate
the RS-232-C
driver
into memory
(The system needs to be changed the operating The following system is started.) define statement
according
to the
driver version after the driver is installed. define -s fanuc_ser In the above example, B: DRIVERS = ON enter the following from the keyboard:
1-134
5. OPERATION
Starting the utility The utility must be started whenever data is input or output between the PMC and the
external equipment. In the following example, the floppy disk containing external equipment input/output
software is assumed to be inserted in drive B. Procedure for Starting the Utility FD Mate Main unit To change drives A : >B A *r ReturnJ B:> B : > CD UTILS I- Return J B : UTILS/> To start the utility The screen display changes to the main screen. (Main unit) B : UTILS > FDUTILS r Return J
To change directories
==
= Utility main = = =
Enter the desired menu number and press the RETURN the following processing. data between the PMC and the HDIFD. data between
1: Transmits
key.
The numbers
correspond
to
2:
Transmits RS-232-C).
equipment
(connected
through
3:
4:
Transmits RS-232-C).
data between
(connected
through
used.
0:
Numbers other than the above are not accepted. If an incorrect number is entered, delete the number with the BS or DEL key and enter the
desired number.
1 - 13s
5. OPERATION
(2) Setting the UNIX version of the F-D Mate PMC communication
utilities
(a) File configuration The configuration of utility files on the distribution floppy disk is as shown below.
UTILS
Operation (1) Create an appropriate hard disk. (2) Make the directory current. (3) Copy the utility software on the floppy disk (drive A) to the current directory. # # # # (4) Make the copied files executable. (5) Specify a path. (6) Start a utility. (Note) # # # doscD doscD doscp dosco chmod created in step (1) # cd directorv-name directory on the # mkdir
directorv-name
r Return J
.
. .
r Return
r Return J J
PATH
r Return J r Return J
(Note)
The method of using the UNIX version following 1. 2. two points. must be in lowercase is unnecessary.
in the
Filenames ACILOAD
letters.
1-136
5. OPERATION
(3) Preparing
transmission
Utility main = = =
Press any key other than the control key. The message on the Vight is displayed. Change to the PMC screen
Press any key, to execute child program Press ESC key, if you stop it Read/Write ver. 1.00 Press the CTRL + ALT + HOME, or MODE key. PMC data utility
is
End of child program Press RETURN key, to go ahead key returns to the main screen in (c).
Note)
If the CTRL + S key is pressed while the utility is running, pressing the CTRL+Q key restarts the program.
Pressing
(hang-up).
l-137
5. OPERATION
Operation
3 Start the utility. (See Subset. 3.4.1.) 3 Select PMC - Device. Select 7 : 2
@I Select [ PMCJ from the input/output menu screen. @ Select [DNLOAD] (download)
from the PMC menu screen. aEnter the name of the ROM
format file. a Initialization begins, and the message INITIALIZE appears. To output sequence data from the PMC The screen display changes, and PMC SIDE SET I/O DISPLAY, At KEY IN FILE NAME. is displayed D Press MODE key or press CTRL + ALT + HOME key to display the PMC screen. D Press the IO key to display the IO screen. 3 Press the FDCAS key to display the FDCAS screen. D Press the OUTPUT OUTPUT. 0, Press the LADDER LADDER. YpPress the P-G key to select P-G. 4t transmission The EXECUTING and the counter turns on and off is displayed at tht The displayed value indicating an key to select key to select EXECUT
address is counted.
terminates OUTPUT
normally,
the personal
computer
displays
NORMAL
END
and the
COMPLETED.
1-138
5. OPERATION
(5) Upload
Operation
Operation
To start the utility in the main unit of F-D Mate To put PMC in the reception status wait
3 Select PMC - Device. Select ? : 2 3 Press the MODE key or CTRL + ALT + HOME key to display the PMC screen. 9 Press the EDIT key to display the EDIT screen. 9 Press the TITLE key to display the TITLE screen.
0 Select [UPLOAD]
value indicating
a size
terminates
normally,
the personal
computer
displays
NORMAL
END
and the
INPUT COMPLETED.
1-139
5. OPERATION
5.6.6
-Power
w-1
II
II Comparison
II-
(1) Download [Operation] 0 8 Select [PMC] on the I/O menu screen. Select [DNLOAD] (download) on the PMC menu screen.
> key of the CNC. [l/O], [HOST], and [EXEC] in this order.
*@ Press the CNC soft keys [PMC], 0 @ 8 Enter a ROM format file name. Downloading is executed.
the indication
EXECUTING END
blinks. is output.
When downloading
terminates
the indication
NORMAL
(2) Upload
-CC,
or -NB is used,
language
other
than
Ladder
can be used.
or comparison
or ALL)
can be specified.
LADDER
LADDER ALL
Sequence Sequence
l-140
5. OPERATION
described
below:
[Operation] 0 8 *a Select [PMC] on the I/O menu screen. Select [UPLOAD] on the PMC menu screen. key of the CNC. (IO], [HOST], and [EXEC] in this order.
*@ Press the CNC soft keys [PMC], @ @ Enter a ROM format file name.
(?I Uploading @
is executed.
the indication
EXECUTING
blinks.
When uploading
terminates
the indication
NORMAL
END is output.
(3) Comparison
(comparison)
[I/O], [HOST],
6)
Comparison
is executed.
During operation,
the indication
EXECUTING
blinks.
When comparison
terminates
normally,
the indication
NORMAL
END is output.
(4) Termination
(Note)
to a circled
number represents
an operation
l-
141
5. OPERATION
(5) CRT/MD1
The NC of the Power Mate-D has the CRT/MD1 screen CRTlMDl screen is used, the procedures
are the same as those with the is used, the procedures for data
from those with the PMC-R Series. is used, perform downloading, uploading, and comparison as
screen
described
(a) Press the < DGNOS > key on the DPUMDI screen and select the diagnostic data screen.
03
or c WRITE>
screen. computer.
w
5.6.7
and output to a memory card via a memory PMC program on the memory card in the memory transferred
card interface
card can be sent to the RAM of the CNC by inserting in the CNC. By reversing the procedure,
card interface
programs
5.6.7.1
[Operation]
Select [M-CARD]
menu.
F4 F5
KEY KEY
: :
Handy Memory
File card
InputiOutput
Menu
1-142
5. OPERATION
Screen
Convert the file from ROM format to memory card format. Specify the following
l
Name of the ROM format file Specify the ROM format file to be converted.
Name of the memory card file Specify the name of a memory card file (accessible via a memory card interface in the
l/O i TO UC ::
&BP
WRITE
(PROCRAWR FILE
ROM FORMAT
Memory Card FILE NAME : D:YSAMPLE. (Specify the MEMORY CARD drive)
InputlOutput
The following
operations
are performed
l-143
5. OPERATION
The following 0
two methods
can be used to insert the memory in the CNC and read programs of the PMC and the desired filename or
card output
in step @ into
the memory card interface Using the I/O function Specify M-CARD,
READ,
file
number
at
DEVICE,
FUNCTION, [EXECJ.
respectively.
Sequence
PMCI/O PROGRAM
CHANNEL = 1 DEVICE = M-CARD ~;~~J..~~~Ij-j~;~ = READ DATA KIND = LADDER FILE NO. ( #NAME )
q
MONIT STOP
at power-on
time
5.6.7.2
card is inserted
in a memory
[Operation] 0 Specify M-CARD, WRITE, DATA KIND, and the desired filename (omissible) at DEVICE,
LADDER, Sequence
and FILE NO. on the PMC I/O screen, programs are output to the memory.
respectively,
l-144
5. OPERATION
'PMC I/O PROGRAM CHANNEL = 1 DEVICE = M-CARD ;;i~iJJ#~;I;$&& = WRITE DATA KIND = LADDER FILE NO. = ( #NAME ) [.EXEC
MONIT STOP-
Select [M-CARD]
menu.
C- memory card)).
Convert
card format
Name of the memory card file Specify the name of the conversion source memory card file written to the memory
card, and the memory card drive in which the memory card is inserted.
l
Name of the ROM format file Specify the filename to be assigned to the ROM format data after conversion.
1.~3C FROM K
) ~~~~~~~~~~~~~~~~~~~~~~~~~~~
READ
(PROCRAMER
- > Memory
Memory Card FILE NAME : D:YSAMFLE. (Specify the MEMORY CARD drive) R&l FORMAT FILE NAME
A:YDATAYSMPlE.
Input/Output
1 - 145
5. OPERATION
Discompile
able to
5.6.7.3
Memory card input/output function (PMC-RAl) CNC (L/R) with loader control
writes a loader control sequence program
to, or reads it from, the FANUC Series 16program can be edited by specifying
sequence
(1) Writing
(programmer
- > memory card) program to a memory card, use the F8 key (L/R). with the memory card (such as editing) are the same
Select [INOUT]
(input!output)
Select [M-CARD]
menu.
Specify
ROM format
card file.
(The memory
card filename
WRITE
fPROCRMfE%! FILE
ROM FORMAT
A:YDATAYSMfPLE. XBF
XEX
Memory Card FILE NAME : D:YSAMPLE. (Specify the MEWRY CARD drive)
Fig. 5.6.7.3
Input/Output
loader control)
(2)
Reading (programmer
< - memory card) sequence program from the memory card, use the same operating
PMC-RAl.
1-146
5. OPERATION
56.8
to the CNC.
This operation
5.6.8.1
[Operation]
Select menu.
[FDCAS]
(FLOPPY
CASSETTE
ADAPTER
& Handy
File) from
Select [WRITE]
(write (programmer
ADAPTER
IKI iFDCASi
&B
\\\m-
Fl F2 FlO
: :
(PAOCRAhSA (PROCRMMR
--> < -
Handy Handy
File) File)
FDCAS Input/Output
Screen
File format
by specifying
the following
items and
Name of the ROM format file Specify the name of the ROM format file to be converted.
Name of the Handy File format file Specify the name to be assigned File) to be generated to the Handy File format file (accessible by the Handy
by conversion,
l-147
5. OPERATION
A:YDATACSAAlNE.PEX
The following
operations
are performed
Connect
the CNC and Handy File, and insert the 3.5 floppy disk generated
in step @ into
5.6.8.2
[Operation]
Connect
the CNC and Handy File, and output the PMC program
DOS format).
The following
operations
are performed
side.
Select menu.
[FDCAS]
(FLOPPY
CASSETTE
ADAPTER
& Handy
Select
[READ]
(read (programmer
<-
FLOPPY
CASSETTE
ADAPTER
& Handy
File)).
Convert the PMC program on a 3.5 floppy disk (Handy File format) generated ROM format by specifying
l
in step 0
to
the following
the utility.
Name of the Handy File format file Specify the program name output in step 0, and the 3.5 floppy disk drive where the
Name of the ROM format file Specify the filename to be assigned to the ROM format data generated by conversion.
1-148
5. OPERATION
I.!0
; FROM FDC.AS
:::wc-Rc3
_\\ 1: ~ .,@ux%wm
.: ~_ \\\\,\...._
READ
(PROCRAWR
<-
Handy
File
!
C:YSAWLE. :SF PEX
Handy File FILE W.AME (Specify the floppy disk ROM FORUAT FILE NAUE
drive,
: A:YDATAYSAWLE.
Input/Output
Discompile
able to
5.6.9
FLOPPY CASSETTE
on a personal
to a 3.6 floppy disk (P-G format), the PMC program FLOPPY CASSETTE ADAPTER connected
can be read into the RAM of the CNC via a This operation can be reversed.
to the CNC.
(Caution] There are two types of adapters for access to 3.5 floppy disk drives.
Specification
number
Accessible
ADAPTER3
This function
format
conversion ADAPTER
supported 3 cannot
by FLPGMS.
FLPGMS
floppy
disks, so CASSETTE
this function
1-149
5. OPERATION
57.1
A source program is converted to a mnemonic file that can be edited with any standard text editor.
1WiWW2SRCtXV3BAT&H
"5"
Fig. 5.7.1(a)
Select [MNECNV]
(conversion to mnemonic).
1) SOURCEPROCRAMNAFe: 2) HMINIC FILE NW 3'( ;ONEJ; DATA KIND SELECTION [ ; ; fW;M PARAWTER :
l-150
5. OPERATION
items:
Source program name Specify the name of the source program to be converted. Never specify an extension for the name. Up to eight characters can
be specified.
l
Mnemonic
can be specified. selection All data files can be specified or specific data
Data conversion
Mode (setting item selection) Specify setting items. Select items from the table below, using the < t > and
FOR-
P-G
P-G output format data is converted. Converts the text of a Japanese-language message to code format (Note 2). is converted.
Comment Converts
message to Japanese-language
format (Note 3). Comment Data data, which may include kanji characters, address symbols and comments, is converted. and function instruction
WLL - OPTION
including
sections Converts
format (Note 3). _ABELI SUB-PROGRAM Data is converted (JMPB, JMPC, and the jump destination (label) of a function instruction is not
instruction)
highlighted.
(The function
program does not agree with the other setting.) Converts the text of a Japanese-language message to Japanese-language
(Note 1) (Note 2, 3)
Japanese
language
comment
conversion
cannot
be selected
input
mode
screen
during
message editing.
of item specification.
to a mnemonic
file.
1 - 151
5. OPERATION
if <RETURN
The mnemonic
The mnemonic
Select (SRCCNV]
(conversion
to a source program).
: FoRP4
Screen
items:
Source program name Specify the name of the source program can be specified. to which a mnemonic file is to be converted. for the name.
Up to eight characters
l
Mode (setting item selection) Specify setting items. keys. Select items from the table below using the < + > and < + >
(Note)
Japanese
language
comment
conversion
cannot
be selected
on an
1-152
5. OPERATION
of item specification.
(?J Mnemonic @
is displayed
(a) Identification
code
The mnemonic
identification
of unit-format data
End of unit-format
The unit-format
data mentioned
PMC model Unit-format data L Parameter Title Symbol & comment Ladder Message l/O module %@O ~ %@l %@2 O/o @3
X X
M
TO@0
%@4
(b)
Linefeed code Control ignored. character LF (OAH) is defined as a linefeed code. Control character CR (ODH) is
r;J
is reserved
for use in ladder data. to separate ladder data from a as a comment. and
A semicolon comment.
are treated
file is converted
1-153
5. OPERATION
r:j
A coton is used in the ladder data section to separate a net number from ladder data. Data that precedes a colon is treated as a net number. data section to separate a colon a channel as a
is treated
SEQ/RB5.!RBG)/RC4RC4(STEP
%@A r %@2-c R0200.0 UNIT 3 POWER KEEP UNIT-3 POWER ON II $1 KEEP POWk?-ON R0200.1 UNIT $1 SPOWER$$ 3 ACT KEEP UNIT-4 $$POWER$ ON Control character (See 10.2) Description of symbol and comment (See 10.3) ID code (See 10.1)
R0300.0 KEEP UNIT-4 POWER ON $1 KEEP POWER ON PO008 OPEN FRONT $1 OPEN FRONT COVER LO100 $1 % % @3 RD R1OO1.O OR R120.3 AND R1000.2 WRT Y2000.4 ( Net comment 3 RD R1OO1.O AND R1000.2 WRT Y23.4 (*SP 3 RD R1O1.O OR R123.4 AND R100.2 WRT Y200.4 %
y
Description
comment
Designation
(See 10.4(2))
I%
@E file converted with version 08.1 or earlier is able to be converted to source program with version 08.4 or later. But a mnemonic file converted with version 08.4 or later is not able to be converted to source program with version 08.1 or earlier.
Note) A mnemonic
1-154
5. OPERATION
1)
ID code The ID code for symbol and comment Another ID codes are not changed. data has been changed to %@2-C.
(STEP)RC4;RC4
(STEP)
Ver. 08.4 or later System parameter Title Symbol/comment Ladder Message l/O module % @O %@l %@2-c % @a % @4 % @5
2)
Control character The dollar character character S is used as control character in the mnemonic file. file. Every dollar
in the sentence
must be described
as $$
in the mnemonic
3)
data
UNIT -- 3
POWER
(2) Description
of relay comment
and coil comment and coil comment after address defined in (1). marks after mark $1 is relay comment. And
Blank character
or horizontal
tabulation
1-155
5. OPERATION
must be described
by double
$1
INITIALIZE
OF SEQUENCE
string
must be
+ *I in the mnemonic
4)
Ladder data
(1) Description
of new page (for ladder diagram printing) of new page for ladder diagram printing file. must be described as $P or $p in
the mnemonic
Characters
I Designation
$P or $p
1-156
5. OPERATION
PMC-L
ce
1
1
1. D address size
2 3 4 5 6 81
2. Whether an operators
4. Size of the area used for counters 5. 4-digit BCD display address 6. 2-digit BCD display address
101
501 tEoB1
PMC-M!M
(l/O LINK)/PMC-M
(MMC)
se
1
0 1
3901 1. D address size 2. Whether an operators panel is used (0 to 400 bytes) (1: YES, 0: NO) (0 to 400 bytes) (0 to 400 bytes) (0 to 400 bytes) (0 to 400 bytes) (100 to 200%) (0: 16 ms, 1: 8 ms) (0: Division, 1: Non-division)
2 3 4 5 6 7 8 9 01
3. Size of the area used for timers 4. Size of the area used for counters 5. 4-digit BCD display address 6. 2-digit BCD display address 7. Ladder execution B. Ladder execution 9. Division/non-division time period method
(Note)
to PMC-M
PMC-P
ae
1 %l
01 20481
1. D address size (0 to 2048 bytes)
IEOBI
1-157
5. OPERATION
PMC-N/N
(VO LINKRB4)
%@ 0
1 2 3 4 5 6
7 8
9 10 sl
NOi 041
[EOBI
m
PMC Series Counter data type (Binary or BCD) (0 to 100%) PASCAL execution time Setting not required (PC-N (fixed)) PASCAL TCB start address PASCAL PMC screen processing time time ratio Ladder execution (000 to 050%) PASCAL data start address Level-3 synchronization (NO: Asynchronous, 10. PMC edition (Note) Set a value subtracting
"7.Ladder execution
time.
(Example)
When an actual value desired for the ladder execution time is 125%, set 025 to that setting.
PMC-RAl
!RA2IPAl
/PA3PB4RB4
(STED)/RB5/RBG
%@ 0
1
2. 3. Counter data type Whether an operators (Binary or BCD) panel is used (YES: Used, NO: Not used)
2
3
BINARY1
No1
PMC-
RAll
81 [EOBI
(Note) When specifying the KEY address, follows: YES in Item 3 above (whether LED address,
PAl/PMCPA3/PMCRB5/PMCRBG)
an operators
1-158
5. OPERATION
PMCRB,RB2RA3RB3
se
2 3 4 7 9
(Binary or BCD) panel is used (PMC-RB, (YES: Used, NO: Not used) PMCRB2 or PMC-RB)
01 [EOBI (Note 1)
When specify specifying YES in Item 3 above LED address, (whether an operators address, panel is used),
KEY image
address as follows:
(Note 2)
The parameter
in Item 9 above
(division/non-division
method)
is not applicable
to
PMCRB2/RA3/RB3.
PMCRCIRC3iRC4IRC4
(STEP)
%e 0
2 3 4 5 7 9
1 Counter data type Whether an operators PMC model Start address of language (Binary or BCD) panel is
(PMCRCRC3
81
[EoBl
time
(Note 1)
When specify
specifying the
YES
(whether
an operators address,
panel
is used),
KEY address,
KEY image
address as follows:
(Note 2)
Parameter
9 Divisioninon-division
method
1-159
5. OPERATION
@I PMC-QC/NB:NB2
%@ 0 1
2 3 4 5 6 7
2. Counter data type 3. Whether an operators 4. 5. PMC model Start address of language
81
fEoB1
6.
Percentage
of language time
time
(1% to 99%)
7. Ladder execution
(Note)
in item 3 (whether
an operators
panel
is used),
specify
the
lb)
Title
(common
to all models)
%@
11
MACHINE MACHINE CNC PMC EDITION PROGRAM DATE PROGRAM ROM REMARKS1 WRITTEN
OF
01 02 03 04 05 06 07 08 09 10
NAME
el
fEOB1
(c)
Symbols
and comments
(common
to all models)
1 x000.0
%@ 2
2PX.M 2PY.M
x000.1
%l (EOBJ
l-160
5. OPERATION
symbol function)
%@2-c
Symbol
R0200.0 UNIT-3-POWER $1 'KEEP POWER ON' 'KEEP UNIT-3 POWER ON' Relay comment Coil Comment
'KEEP INIT-
POWER ON'
(d)
Ladder
(common
to all models)
FOR -- P
X3.01
81 [EOBI
1 - 161
5. OPERATION
FULL- OPTION
%@3 1 NOOOOl: SUB N00002: RD SUB N00003: RD SUB N00004: RD SUB N00005: SUB N00006: SUB YOOO07: SUB VOOOOB: SUB YOOO09: RD DEC WRT 300010: SUB 300011: SUB I1
; SP
;(SUBPRl ;(XADRSl ; JMPBl ;(LABELl ;(XADRS2 ; JMPCl ;(LABELl ;(XADRSZ ; CALL1 ;(SPlOOO ; CALLU5. ;(SPlOOO ; LBL 1 ;(LABEL~
; SPE
) [SUB PROGRAM
DATA NO.011 1
[JUMPB LABEL Looooi] J [LABEL Looooi] 1 [JUMPB LABEL LOOOOl]l DATA NO.lOOO] 1 DATA NO.lOOO]J
) )
1 [LABEL LOOOO~] 1
: -1 ; (SPlOOO
11
;(RADRSOO ) 1 ;(DADRS04 ) 1
SPE 1
; END 1
1-162
5. OPERATION
FULL-OPTION
symbol function)
;(SUBPRl ;
[SUB PROGRAM DATA NO.011 1 L-Coil comment ) "JUMPB LABEL Lool" l-_-1
no Comment
N00002: RD SUB
x0.0 68 LlOO
)l
no Relay comment
; [LABEL ~ooool] 1A N00003: RD SUB x0.1 73 LlOO N00004: SUB 69 LlOO N00005: SUB N00006: SUB N00007: RD
DEC
; [LABEL ~00001 11 1
)1
;(LABELl
; SPE
; (SPlOOO
-1
;(RADRSOO ) 1 ;(DADRSOII ) 1
1
; SPE 1 ; END 1
1-163
5.
OPERATION
@ LABEL/SUB-PROGRAM
H3
1 SP RD JMPB
RD JMPC
;UBPRl
71
;<Pl
>
[SUB
PROGRAM
DATA
NO.011 1
XADRSl :<Xo.o LABEL1 :<LlOo XADRSZ ;<Xo.l LABEL1 ;<Lloo XADRSZ ;<Xo.l SPlOOO :<P2 SPlOOO ;<P2 ;<LlOOO
1
> [JIJMPBLABEL LOOOO1]1 > [LABEL Looool] 1 > [JUMPB LABEL ~ooool] 1 > [LABEL L00001] 1 > [JUMPB LABEL Looool] 1 > [SUB PROGRAM > [SUB PROGRAM DATA NO.looo]1 DATA NO.lOoo] 1
SP RD DEC WRT
SPE 1
1 1
'
21
DO.0 1
END 1 1
1
LABEL/SUB-PROGRAM (at using the expanded symbol function)
6)
%@3 1 SUBPRl
Address
Relay comment
SP
SUBPRl :<Pl r
Symbol
; [SUB PROGRAM RD JMPB RD JMPC LABEL1 LBL SPE 1 SPlOOO SP RD DEC WRT
SPE 1
>l
Looooi] 1
[LABEL
21
DO.0 1
END 1 %
1-164
5. OPERATION
(e) Message
re
A0
4 1
0. 0 2100020 ATC
DOOR
%l
[EOBI
x000
YO08
1
1 1 0 0 1 4 ID64Al
OD64Bl
81 L [EOBI
(Note) The ID code depends on the model as follows: . 0 %@4 : PMC-M/M (I/O LINK)/PMC-M (MMC) %@5 : PMC-N/N (I/O LINK), PMC_RAl/RA2/RB/RB2/RC
1-165
5. OPERATION
1 %@0 1
%@ A
1 2 8 9
3901 11 11
11
el ee 11
01
02 MACH MACH
TOOL TOOL
BUILDER NAME1
NAMES
09
ROM
REMA
BYA
10
sl %@ 2 1 x000.0
x000.1
2PX.M 2PY.M
%l %@ 3 1
SUB RD. SUB 11 NOT x3.01
401
21
81911 03005 SUB SUB 21
481
%l se 4 1
x000
YOO8
1 1
1 4
ID64Al OD64Bl
%l %@ E 1 [EOBI
1-166
5. OPERATION
PMC-N 1
1 %@0 1
%@ A
1 2 9 10 %l
%@ 11 MACHINE 01 02
09
NAME1
10 sl
%@ 21 x000.0 x000.1
2PX.M 2PY.M
sl %@ 3
SUB RD. SUB
1 11 NOT K3.01
401
21
81911 DO001 SUB SUB %l %@ 4 1 AOO.0 AOO.l L rl %@ 51 x000 YOO8 %l %@ El tEoB1 1 1 0 0 1 4 ID64Al OD64Bl SIGNAL 21 481
DOOR
NOT SPEED
CLOSE1 ARRIVA
1-167
5. OPERATION
(cl
PMC-FIB
1 se 0 1
%@ A
2 3 BCDJ. NO1
1001 YES1
%l %@11
01 02
09
TOOL TOOL
BUILDER
NAME1
NAME1
BY' J
10
%l %@2 1 x000.0
x000.1
ZPX.M ZPY.M
sl oe
SUB RD. SUB
1
11 NOT K3.01
21
81911 D3001 SUB SUB
401
21 481
sl %@4 1
AOO.0 AOO.l L SIGNAL 2100020 2101022 NOT ATC SPI ONS. DOOR NDLE SP N
OT
CLOSE1 ARRIVA
EED
x000
YOO8
%l %@ 5 1
1 1 0 0 1 4 ID16 OD32
%l %@ E 1 [EOBI
cl Al
l-168
5. OPERATION
(d)
PMC-RB4
%@A
1 %@l1
% 01 MACHINE TOOL BUILDER NAME1 10 REMARKS1 % 1
ae2-c 1
RO200.0 UNIT-3-POWER1 'KEEP UNIT-3 POWER ON'1 $1 'KEEP POWER ON' R0200.1 UNIT-2-ACT1 'KEEP UNIT-4 $$POWER$' ON'J. $1 '$'P~wER$$'
RO300.0 1
'KEEP UNIT-4 POWER ON'1 $1 'KEEP POWER ON' OPEN-FRONT1 PO008 $1 'OPEN FRONT COVER' 1 INITIALIZE1 LO100 'INITIALIZE OF SEQUENCE'& $1 " $1 $@3 1 RD RlOOl.03. 3R R120.3 1 9ND R1000.2 1 nlRTY2000.4 1 (* Inscribe the net comment here. Any characters 1 which are input with personal computer can be used. R) RD R1OO1.O1 9ND R1000.2 1 dRT Y23.4 1 form feed position (in Ladder diagram) (* SP l1 RD R1O1.O 1 OR R123.4 1 AND R100.21 WRT Y200.41 % 1 %@a
AOO.0
Net comment
2100020 ATC DOOR NOT DLOSEJ AOO.l 2101022 SPINDLE SPEED ARRIVAL SIGNAL NOT ON 1
%
X000
%@5
1 %@E 1
%
1-169
5. OPERATION
5.7.6
The note if the step sequence function is selected when setting a model
method, mnemonic need following instructions notes: cannot be coded.
functions
1)
Programming
by Mnemonic program
A step sequence
by means of mnemonic-to-source
2)
Conversions for a step sequence step sequence source program, being only ladder If a to
to mnemonics,
subprograms
ignored. then
program
is subjected
to source-to-mnemonic
conversion,
mnemonic-to-source
conversion,
3)
PMC-RB3
, *
PMCRC3
t (STEP SEQ)
A program
(STEP
SEC?) cannot
be converted 7.2.
in Section
of this conversion,
l-170
5. OPERATION
A users own batch file generated text editor can also be executed.
of the FLMNE.BAT
Examole 1
The execution
of FAPT LADDER
is suspended
[Operation ] Use a standard text editor to create the batch file FLMNEBAT as follows:
vz
Select MNEEDT (mnemonic editing) from the main menu.
The mnemonic
Select ([BATCH]
The following
message appears:
Specify
*.HEX
as the parameter.
VZ is activated
.HEX is displayed.
VZ.
IReturn
Example 2
The
execution
of
FAPT
LADDER
is
suspended. commands
Then,
the
command Create
processor as
COMMAND.COM follows:
is activated
and MS-DOS
are enabled.
FLMNE.BAT
COMMAND
1 - 171
II. APPLICATIONS
(NOTES ON THE PC ENVIRONMENT)
1. COMMON OPERATIONS
1. COMMON OPERATIONS
Mate and Mark II) and a PC via an RS232 cable. FLOAD98, and the command
The command
to transfer function)
the sequence
program
between
computer
if
cannot
for example,
with a personal
computer
1.1.1
(1)
Uploading Loads the FAPT LADDER mnemonic data into the PC from the P-G via the RS232 port.
FLOAD98 FLOADAT -
[name of file for storing uploaded data] [name of file for storing uploaded data] -
When a file with the same name as the file specified current directory, the following message is displayed.
for receiving
data already
exists
in the
File is exist.
Over write?
<Y/N >
(2)
Downloading Loads the FAPT LADDER mnemonic data into the P-G from the PC via the RS232 port.
FLOAD98 FLOADAT _
[name of file for storing downloaded [name of file for storing downloaded
data] data] _
two parameters:
-u: Uploads data from the P-G to the PC. -d: Downloads data from the PC to the P-G.
(Note)
can be specified
or uppercase
characters.
2-l
1. COMMON
OPERATIONS
1 .1.2
PC side
Communications
settings
10 NC,CNl,Fl,F6,BRlO
However,
the PC
After 2.1
the communications
For the P-G or P-G Mark II, the CN number can be any setting from to CN3. However, Use the
For the P-G Mate, the CN number can be any setting from CNl selected 1.
in Appendix
2-2
1. COMMON
OPERATIONS
Operation examde
During uploading Operation procedure Example of input and screen contents
c PC > < PG > Turn on power. < PG > Enter IO command settings.
; IONC,CNl
; i Settings)
,Fl ,FG(,BRlO)
c PC > PC9801 Series: Enter SPEED command settings. IBM PC/AT Series: Enter MODE command < PG > Store transmission settings.
i : i Press the [F2] key to select menu item no.2. FLOAD98 FLOADAT FILE NAME -u FILENAME -u is displayed. START
FLOAD98.
i i
Execute FLOADAT.
i < PC > < PG > Set [F6] ON. Select no.4 on the menu. i
LOADER
c PG > Select any entry from 1 to 7 on the submenu. 3egins transmission. Completes transmission. e PG > Returns to the menu. ( PC > The message Operation displayed, ANY KEY. followed Complete is i =zPC > Operation i ; i Complete is displayed. HIT ANY KEY is displayed. i c PG > EXECUTING is displayed.
During
< PC > < PG > Turn on power. < PG > Enter IO command settings. settings. ; i i < PG > Turn on [Fl] menu. key. Select no.2 on the IO NC,CNl,(BRlO,)Fl,FG (See Section 2 of Communications Settings) is displayed.
Begins transmission. Completes transmission. <PG> Returns to the menu. Operation Complete is
i <PC>
Output
Start is displayed.
Complete
is displayed.
followed
2-3
1. COMMON
OPERATIONS
1 .1.3
Protocol
Durinq uploadinq When the FLOAD98 or FLOADAT command is executed begins. on the PC side, a communications DC 3 is
request is issued for the P-G and reception sent and transmission is completed.
0 8 Q @
DC 1 code is sent to the P-G (data transmission Data is received. Completion code is received and reception
request).
is completed.
DC 3 code is sent.
Transmission output.
and reception
machine-dependent
Durina downloadinq After the P-G issues FLOADAT is activated a transmission request, the P-G enters begins. the waiting state. FLOAD98 or
0 8 @ @
The P-G issues DC 1. DC 2 code is sent to the P-G. Data is sent. DC 4 code is sent.
Transmission output.
and reception
machine-dependent
1.1.4
BUSY control
speed is faster than reception In the PC9801 processing, series, BUSY control is performed by
command
to provide
which effectively
2-4
1. COMMON
OPERATIONS
none of these
(Note)
are ignored.
it is discarded.
to it in that order.
After the end code (DE) has been sent or received, downloading, then the file is closed.
or DC 4 is sent for
2-s
1. COMMON
OPERATIONS
1 .1.8
Error detection
and messages
four types of errors.
(1) When
line
Error in the file name, -u. or -d. Parameter FLOAD98 Error FILENAME -u/-d set parameter. (FILNAME, upload or download.)
(2) When
the specified
I~- ~~~
(3) When data not in the FAPT LADDER format is sent or received Wrong data received
(4) When there is a definite problem with the start code, Start Code error detected or there is a definite oroblem with the end code
IEnd code
error detected
This software only detects errors in the command This software does not support detection
Messaaes
data already
exists
in the current
directory,
File is exist.
2-6
1. COMMON
OPERATIONS
1.1.9
1. 2. 3.
Error detection
and handling
Incorrect entry found in the command line. Specified file cannot be opened. Data not in the FAPT LADDER format was sent or received.
The following 0 0
l l l
The end code has been omitted (% or %@E was omitted). The start code has been omitted (%@, where Garbage data exists at the beginning of the file.
l
is A or 0 to 5. was omitted).
Garbage data exists between each unit of data. The file format is completely different from the FAPT LADDER format.
is canceled.
During screen.
downloading,
if an error
is detected
will return
to the DOS
At the same time, a %, %@E or other end code is sent to the P-G to return it to the
menu screen.
4. Others
When, for some reason, data transfer is interrupted (When the power to the PC or P-G is interrupted during operation, etc.)
is interrupted
during
uploading,
the system
state until
(To interrupt
is interrupted
during
and data
2-7
1. COMMON
OPERATIONS
of the mnemonic
1~
CNC TYPE
PMC-PA1 /PA3
[Example:
PMC-RB
+ PMC-RC3] the original source program to mnemonic fife to PMCRC3 LADDER system file.
(1) (2)
Set the PMC type to PMC-RB and convert Change the system parameter PMC type
to PMC-RC3
to source program.
file (PMC-RB)
Converted
file (PMCRC3
0 0
1 ID16C 4 OD32A
0 0
1 IDl6C 4 OD32A
2-8
1. COMMON
OPERATIONS
1.2.2
converter
PMCCNC -+ PMC-RAl
TYPE iRA2IRA3IRB
MATERIALS
MANUAL
FSOM
CNV.SYM
PMC-UM/M(MMC) (FSO-M)
PM-C_CNV.SYM
(Note)
[Example:
The converter
APPENDIX
PMC-P + PMC-PA11
(1) (2)
convert the original source program to the mnemonic And input the source program name and select
[END]
mode without editing the ladder program. (3) Convert the source program(2) to the mnemonic file. (+B.)
(4) Quit FAPT LADDER, and activate any standard text editor. (Select the mnemonic file name(3) to edit.) (5) Replace the symbol and comment (PM-C.CNV). (+C.) file (PMC-PAl) to the ladder data of the original data of the mnemonic file (PMC-PAl) to the converter file
(6) Replace the ladder data of mnemonic mnemonic file (PMC-P). (+D.) (7) Complete
the text editor, and activate FAPT LADDER. and convert the mnemonic file@) to source program. data.
(3) Select edit mode, and delete the symbol and comment
2-9
1. COMMON
OPERATIONS
60004.3 G68.3 60005.0 695.0 60005.2 695.2 60005.3 G95.3 60005.6 G83.7 G0006.2 675.2 60006.4 674.4 60007.2 G68.2 G0007.5 684.5
%@A %@O B. Converted file (PMC-PAl)
iRT G121.4 tD.NOT X22.3 fRT.NOT 6122.3 :UB 1 IUB 2 fRT 6121.4 !D.NOT X22.3 rRT.NOT 6122.3 UB 1 UB 2
@E
I$-
2-10
used varies from one model to another. manual of the respective models.
[Example
& comment
%@A %@O
%@A
%@O 2 BCD
3 NO
%@2 x000.0
2PX.M
x000.1 2PY.M
(Note)
APPENDIX.
2-11
1. COMMON
OPERATIONS
1.4 Changing
Each parameter
that the output format shown in each of the following -AMROFTRP. 1 Diagram output % 1. 2. 3. 4.
L
DAT
Change the paper selection name Set the top margin Set the net interval Set the printer model and
paw
-CROSSING. DAT
(Setting the cross-reference list output format) 8. 9. 10. 11. 12. 13. Set the output format guidance information Set the output information Specify the output format Set the read/write coil guidance information Specify the linefeed Specify the page break 5. 6. 7.
-PR201-10 . INF PR201-15 . INF PR201-A4 . INF PRlO-A . INF PRlS-A . INF PRA4-A . INF ESC-P-10 . INF ESC-P-15 . INF ESCPl O-A. INF ESCPl5-A. INF -FANUC-10. INF Set the line spacing Set the left margin Set the title of printout
here.
2-12
1. COMMON
OPERATIONS
: LI : z
Print format
:.......)
.:
b-1
- ,:gq: .,...
. .. .:.:,~:.:,~~:-:
>:: ,. : :
6:~:~7~8~,.g~~10 ,.y F
:;
~j$.#).. ,,..
:.
.((.,., .,...,._._.
I-
LEFTMGL=O LEFTWG=O TOPMGL=O TOPMG=O LCNTL=4 C_FI LE+-ij O_FILE;PRTDAT.DMP #END,:' #lQ'G=lO-inch/graphic LENGTHL=ll LENGTH=11 WIDTHL=lO WIDTH=10 PTCHL=lS/lZO
A.
b-2
:.
: : : : .*.
B. /
.. ..:.. >:
AMROFTRP.DAT
file
:,:...:.. .
:... ,,.. .
C-l.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . .._...... (Example) If lo-inch/graphic is selected in A: 0 In 8, setting b-2 is valid. @ In C-2, a setting of PR201-lO.INF isvalid. i . . . . . . . ...................................................................................
2-13
Point of change
Settings
#l O-A = lo-inch!ASCII
Arbitrary
character
of
#l O-G = 1O-inch!graphic #15-A = 15inch/ASCII #15-G = 15-inch/graphic #A4L-A = A4 portrait/ASCII #A4L-G = A4 portrait/graphic
up to 30 half-size characters
(Note)
Point of change
Settings
Decimal number
II
YO.0 l 00006
II
YO.0
l 00006
YO.7 00001
YO.1
YO.0
.00006
YO.1
YO.7 00001
YO.2 +00008
NO0005 E
YO.0
+00006
YO.1
YO.7 00001
YO.2 +00008
When LCNTL = 4
When LCNTL = 5
2-14
1. COMMON
OPERATIONS
Printer name PR201 PR201 VP1000 VP1 000 FANUC printer PR201 PR201 VP1 000 VP1000 FANUC printer PR201 PR201 VP1000 VP1 000 PR201 PR201 VP1000 VP1000 PR201 PR201
Print paper type/print 1O-inch 1O-inch 1O-inch 1O-inch 1O-inch 1O-inch 1O-inch 1O-inch 1O-inch lo-inch
15inch
mode
continuous continuous continuous continuous continuous continuous continuous continuous continuous continuous
form/ASCII form/graphic form/ASCII form/graphic form/ASCII form/ASCII form/graphic form/ASCII form/graphic form/ASCII form/ASCII form/graphic form/ASCII form/graphic form/ASCII form/graphic form/ASCII form/graphic
#10-G . C.-FILE =
#15-A
C-FILE #15-G
continuous 15-inch continuous 15-inch continuous 15-inch continuous continuous continuous continuous continuous
C;FILE
PRA4_A PR201_A4
.INF .lNF
PR201 PR201
(Note)
2-15
1. COMMON
OPERATIONS
Point of change
Settings
(H) (1 B) (C) (T < decimal number > ) ; (H) (1B) (C) (Tedecimal number >) ;
Settings
number>)
2-16
1. COMMON
OPERATIONS
Environment
- example
1 (settings
in file AMROFTRP.DAT)
#PAPER = 10-G L #10-A= 10 inch/ASCII LENGTHL = 11 LENGTH = 11 WIOTHL = 10 WIDTH = 10 PITCHL = 15/l 20 PITCH = 20/l 20 LINESL = 83 LINES = 55 RATIOL = 2/3 RATIO = 2/3 GRAMODL = 14 GRAMOD = 16 ANKMODL = 0 ANKMOD = 1 LEFTMGL = 0 LEFTWG = 0 l TOPMGL =0 * TOPMG = 0 * LCNTL = 4 L C FILE = PRlO AJNF O-FILE = PRTtiAT.DMP &ND L #10-G = 10 inch/graphic LENGTHL = 11 LENGTH = 11 ;/w&i ; A0 PITCHL: 15/l 20 PITCH = 20/l 20 LINESL = 83 LINES = 55 RATIOL = 2/3 RATIO = 213 GRAMODL = 14 GRAMOD = 16 ANKMODL = 0 ANKMOD = 1 LEFTMGL = 0 LEFTWG = 0 l TOPMGL = 0 . TOPMG = 0 + LCNTL = 4 * C-FILE = PR20l_lO.INF OF&E = PRTDAT.DMP + #I 5-A = 15 inch/ASCII LENGTHL = 11 LENGTH = 11 WIDTHL = 15 WIDTH = 15 PITCHL = 15/l 20 PITCH = 20/l 20 LINESL = 83 LINES = 55 RATIOL = 213 RATIO = 213 GRAMODL = 16 GRAMOD = 16 ANKMODL = 1 ANKMOD = 1 LEFTMGL = 0 LEFTWG = 0 + TOPMGL = 0 + TOPMG = 0 + LCNTL = 4 . C-FILE = PRl S_A.INF OF&E = PRTDAT.DMP *#15-G-15 inch
Changing the types of printout paper The name is changed from 1:lO inch to l:NEC 10. see Fig. 52(e) in Part I.) *
#PAPER = I O-G #lo-A=NEC 10 LENGTHL = 11 LENGTH = 11 WIDTHL = 10 WIDTH- 10. PITCHL = 15/l 20 PITCH = 20/l 20 uw:L ;E RATIO; = 2/3 RATIO = 213 GRAMODL = 14 GRAMOD = 16 ANKMODL = 0 ANKMOD = 1 LEFTMGL = 0 LEFTWG = 0 ;c$w-=,5 LCNTL = 4 C-FILE = PRlO_A.INF 2EFlkE * PRTDAT.DMP #l O-G = EPSON 10 LENGTHL = 11 LENGTH = 11 WIDTHL = 10 WIDTH = 10 PITCHL = 15/l 20 PITCH = 20/l 20 LINESL = 83 LINES = 55 RATIOL = 2/3 RATIO - 2M GRAMODL = 14 GRAMOD = 16 ANKMODL = 0 ANKMOD = 1 LEFTMGL = 0 LEFTWG = 0 TOPMGL = 0 ym& ;40 C-FILE :ESCPlO A.INF fEF&E = PRTDAf.DMP 115-A = 15 inch/ASCII LENGTHL = 11 LENGTH = 11 WIDTHL = 15 WIDTH = 15 PITCHL = 15/l 20 PITCH = 20/l 20 #L ;k RATIO; = 2/3 RATIO = 2M GRAMODL = 16 GRAMOD = 16 ;;EIg;L 71 LEFTMGLZ 0 LEFTWG = 0 TOPMGL = 0 TbPMb = 0 LCNTL = 5 C FILE = PR15 A.INF O-FILE = PRT@AT.DMP #END *#15-G--15 inch
Changing
(The upper margin is set to ) 5 characters.) Changing the types of printout paper * (The name is changed from 2:15 inch to 2:EPSON 10. See Fig. 5.2(e) in Part I.)
Changing
) (The printer is changed to EPSON VP1000 and the paper is changed to IO-inch forms.)
Changing the spacing between :he LADDER nets * :The net spacing for the -ADDER diagram is widened.)
(Note)
2-17
1. COMMON
OPERATIONS
FOR THE
Environment
- example 2 (settings
in fife PR201_1O.INF)
. . . . . .
. . . . . .
PRZOlH3 CNTINF CRLF FORMF CPI CANCEL LDRCP I * LPI * LDRLP I * LMARGIN RMARGIN LDRCHAR JPNSET JPNRESET 1
. . . . . .
(H) W)(C) (T2D); (H) w (C) (Tl5) ; (H)WW)(LDDD); (H) W (C) t/D781 ; (H) (18) (C) (50014); (HwB)ww; (H) W W (H) ;
. . . . . .
PRZOlH3 CNTINF (
CRLF FORMF CANCEL W)(OD,OA); yw{:
OWhH); (H) (1B) (C) (Q) ; (H)W)WT25); (HWWC)(Tl5); (H) (1B) (C) (LOD5) ; (H) (18) (C)(/078); (H) (16) (C) (50014); (H) W) w (K); (H) W (C)(H);
(Note)
2-18
to the descriptions
in Section 1.4.4.
Point of change ~~
-T
(C) (<any characters > ) ;
Settings
character
System parameter
of up to 60 half-size
(Note)
Half-size
katakana characters
cannot be used.
In the CROSSINF.DAT
are valid as
information.
Point of change
Settings
string consisting
of up
2-19
no semicolon
beginning
as cross-reference
Point of change
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 output in the stated sequence: NET-INT = 1 STEP-INF = 2 When the step and net numbers output in the stated sequence: NET-INT = 2 STEP-INF = 1 are are
STEP-INF =
Point of change
Settings
I Character
string + %s
(Note)
Z-20
are valid.
Point of change
Settings
Character
13 bytes.
string consisting
of up to
using
below, and select graphic diagram output format. READ = -I IREAD = -I IREAD = READ = -l/l-l/l-I I-I I-(/): : : : : :
Point of change
IDecimal
as the linefeed count,
number
(Note)
In this case, space lines as many as the specified addresses. addresses.) (If 0 is specified
between between
Point of change
Settings
:ROSSINF.DAT
2-21
with a character
Modifications GUIDE =
are output, the order in which they are printed can be specified. with a character other than a semi-colon (;) is
Settings Only net numbers NET-INF = 1 STEP-INF = 0 Only step numbers NET-INF = 0 STEP-INF = 1 Net numbers and step numbers are are output. are output.
output in that order. NET-INF = 1 STEP-INF = 2 Step numbers and net numbers are
(;) is valid.
1 I FORM
Modifications =
I I Character
Settings string + %s
(Note)
With %s,
letter s is valid.
2-22
(;) is valid.
Modifications Character
WRITE =
READ=READ=-IIREAD= READ=
WRITE = -()WRITE =
-()-
(Note)
letter s is valid.
with a character
(;) is valid.
-1
Settings
(Note)
number
between
address types.
CROSSINF.DAT
with a character
(;) is valid.
Modifications
2-23
1. COMMON
OPERATIONS
Environment
l
settings for diagram output - example 3 (sample setting 1 of the CROSSINF.DAT file
file)
GUIDEsSTEP No./NET No. NET-INF=2 STEP-INF-1 FROM=S%s/N%s READ--I I- -I/I- : WRITE=-()-(/): NL=l FF=O ;
output
1 [A:YFLADDER4(SAMPLE]
*** Address x0.0 -II-Yl+ x0.1 Cross reference Symbol Comment ***
: S00045/N00009 SOOO88/NOOO20
S00082/N00017
-It-+
YO.0
s00050/N00010 S00077/N00029
S00065/N00017
U-Q-:
RO.0 -Ii-++
SOO128/NOOO62
S00256/N00098
: S00009/N00003
S00022/N00010
S00047/N00019 SOOOO2/N00001
2-24
1. COMMON
OPERATIONS
Environment
l
settings for diagram output - example 4 (sample setting 2 of the CROSSINF.DAT file
file)
output
** Step number
PAGE 1
Address Symbol Comment x0.0 : SO0045 SO0049 SO0053 SO0082 SO0088 SO0094 Read
: SO0050 SO0054 SO0059 SO0065 SO0077 Double writing : SO0045 SO0128 SO0256
RO.0
Read Write
: SO0009 SO0012 SO0014 SO0015 SO0022 SO0024 SO0033 SO0045 so0047 so0074 so0079 : soooo2
2-25
FUNCTIONS
1. OVERVIEW
1.1 What is a Step Sequence ?
The step sequence is one method for programming the sequence control governed by a
controller.
flow on a method. to
is described visualized
an easy-to-understand
and is well-suited
the control of entire processes. For details of the step sequence method, refer to the following manual.
FANUC PMC-MODEL
PROGRAMMING
on FANUC PMC-MODEL
configuration
EDIT(LADDER/STEP
SEQUENCE)
0 0 0 0 . .
0 0
PO202
0 JPO304
q]PO405
qJPO407
Sub-program
: PO001
DELETE
NEW
ZOOM
3-l
FUNCTIONS
of a Sequence
Program
A sequence program consists of the following 5 kinds of program unit; - The 1st level of ladder
- The 2nd level of ladder - The 3rd level of ladder - Subprograms of ladder sequence - Subprograms of step sequence
LEVEL 1 (LADDER)
LEVEL 2 (LADDER)
LEVEL 3 (LADDER)
Sub
Sub
Program P2 (LADDER) 1
ISub
Program P3 (LADDER)
3-2
FUNCTIONS
-PC9801*IBWPC/AT Source program Ladder 1st level Ladder 2nd level Ladder 3rd level Subprogram Subprogram Pl P2 7 Mnemonic program Mnemonic conversion A mnemonic program without step sequence
Compilation/Decompilation
Object code
I
L
'71
Input/Output
Input/Output
Input/Output
Transfer data
Floppy cassette
Memory card
4
- RS232C
4
- Handy File. - FLOPPY CASSETTE ADAPTER
4
- Memory card
-CNC
I
v
1) [PMCI 2) II/O1 3)[HOST]
+
1) [PMCI 2) I I/O1 3)[FDCAS]
v
1) IPMCI 2) II/O1 33) [MCARD] (Boot process also can read the memory card)
3-3
FUNCTIONS
2. SETTING A MODEL
2.1 Operation
(1)
(2)
Displaying
the initial screen and other information have been displayed, press any key.
FAPT
LADDER
Copyright
(3) Displaying
the main menu as shown below, press the < F7 > (SETUP) key.
MAIN MENU Fl F2 F3 F4 F5 F6 F7 FE F9 FlO KEY KEY KEY KEY KEY KEY KEY KEY KEY KEY : : : :
:
[A:YFLYDATAYSFCY EDIT PRINT COMPILE DISCOMPILE LINK I/D SETUP MNEMONIC EDIT UTILITY END
: :
:
: :
EDIT
COMPIL
DISCPL
I/D
SETUP
UTILTY
END
3-4
FUNCTIONS
(4) Setting the PMC model To use the step sequence (model which supports function, select PMC-XXX(STEP function) SEQ or PMC-RB6 or PMC-NB2)
SETUP
RCQ(STEP SEQ)
(STEP SEQ)
* PMC-RC4
. .
(STEP SEQ)
COPY
3-5
FUNCTIONS
3. EDITING
This section describes how to create a step sequence program.
MAIN MENU Fl F2 F3 F4 F5 F6 F7 F8 F9 FlO KEY KEY KEY KEY KEY KEY KEY KEY KEY KEY : : : : : : : : : : EDIT PRINT COMPILE DISCOMPILE LINK I/O SETUP MNEMONIC EDIT UTILITY END
[A:YFLYDATAYSFC%
EDIT
COMPIL
DISCPL
I/O
SETUP
UTILTY
END
(2)
Selecting
EXEC
END
depending
1)
If a new program name is specified: The model setting screen is displayed. Then, the edit menu is displayed. Re-confirm the selected model.
2)
name
is that of a program
created
for a model
which
differs
from
the
The selected
model is automatically
changed
according
to the specified
program.
Then,
the edit menu is displayed. 3) If the specified name is that of a program created for the selected model:
3-6
FUNCTIONS
To return to the main menu, press the < FlO> up to eight alphanumeric characters,
or < ESC>
key.
without an extension.
(3) Displaying the editing menu Press the < F2 > (LADDER/STEP
SEQUNCE)
key.
RCI(STEP SEQ) : : : :
:
[A: YFL~DATAYsFcY
: :
TITLE LADDER / STEP SEQUENCE SYMBOL h COMMNET MESSAGE I/O MODULE SYSTEM PARAMETER END
I
I
I
I
I END I
I
(4) Subprogram
configuration
The subprogram
configuration
EDIT(LADDER/STEP
SEQUENCE)
0 . . . 0 0
. . 0
0 0 0 0
. .
0 0 0
. .
0 0
. .
PO101
PO202
q]PO304
q ]PO405
q]PO406
q]PO407
Sub-program
: PO001
DELETE
NEW
ZOOM
3-7
FUNCTIONS
Note
1)
The 3rd ladder level can be omitted. If the [ZOOM] key was used screen to nest a program to a certain depth, and if the key,
Note 2)
subprogram
configuration
is displayed
for which
the [ZOOM]
is suspended.
(5)
diagram to a program marked with 01, then press the [ZOOM] or <RET> key.
the cursor
as shown below:
DIT(LADDER/STEP SEQUENCE)
,..:.)))):. .... .,:,: (..>:t:i J@J$,
s3
cl Sll
s13
q s21
cl s31
4 (Note 1) Note 1)
The current The entire position screen of the cursor on the screen across is indicated. the screen to consists of 32 elements
and 64 elements
3-8
3.2 Creating a Step Sequence 3.2.1 Creating a subprogram of the step sequence
EDIT(LADDER/STEP SEQUENCE) RCI(STEP SEQ) [A:~FL~DATAfSFCOl] PROGRAM:(STEP SEQUENCE DEMO PROGRAM)
0 LEVEL1 0 LEVEL2 ;/$;;-'i:&jflQ~!n ,.. . . . . ]POOO2 .: . . . i........ i,,. 0 PO008 0 PO009 0 ]POO21 0 PO022
. . . .
0 0 0 0
. .
0 0 0
. .
0 0
I
Following keys are useful in this screen. Function key : Deleting a subprogram ] : Creating a new subprogram ] : Modifying a subprogram
DELETE
NEW
ZOOM
next screen
Meaning of display
EDIT(LADDER/STEP
Edit (LADDER/STEP PMC-RC4 [A: Y FL..
SEQUENCE)
:
SEQUENCE)
: : :
(STEP SEQ)
I
PROGRAM
aLEVEL
LEVEL1 LEVEL2 LEVEL3 : : :
q LEVEL2
OLEVEL3 I
The 1st level of ladder The 2nd level of ladder The 3rd level of ladder (In case of PMC-RC4 the 3rd ladder level can be omitted, in case of PMCRB4
PO001
q]POOO2
a subprogram
PO004
PO005
PO006 0
PO007
Cl
-:
01
a subprogram
3-9
New program
name ? m
(2) Modifying -
a subprogram of the subprogram key. to be modified position (P200, for example), the cursor to P200 then press the then press the
Alternatively,
If a subprogram message
number
marked
with
is selected,
the following
is displayed:
Editing
this
subprogram
Continue to select it 7
To continue session,
the editing
session
using
the results
obtained
editing session
the subprogram
RB4/RC4
of Programming
B-61 863EI05-3
screen,
different
depending
on the position
of the
I
cl
I
cl] s2
:ti;:ili;;$;$
...I
I
0 s20
+cl
La s30
101
01
-+ JHP
FUNC
CHK
ZOOM
3-10
FUNCTIONS
1
1
0 UJI
01
I
I:
Step subprogram Initial step subprogram Block step subprogram Line for link Jump to label
[ tLBL
1:
I: I :
] :
I
[
ACHK
I:
] ] ] : : :
[
1
( FUNC
[ +JMP
( ZOOM
into a subprogram
line, following
FUNC
CHK
ZOOM
I:
1: I:
Transition
I l[ l==
I I I t[t==
[
[ FUNC [ CHK
I :
1:
I ] ] ]
of simultaneous
:
: : : Various functions Grammatical Zooming checking
[ ZOOM
into a subprogram
(1)
Entering a step Position the cursor to the desired input position, Then, enter a step number and subprogram then press the [Cl] key.
number.
iii;iij,t~.:.:.~.:.Y::: ~~~
.;:.S
$5
::::!,:i-i_._:~: ..,.:.._
STEP ACTION :. Sl . . . . . :? l-1
JMP
+LBL
-L
FUNC
CHK
ZOOM
The specified
subprogram
is displayed
below Sl.
3-11
FUNCTIONS
.:
::::::...:.:.:.:.:.~..~:
.). :.:.:, :.:.: :.
ACTION : .:$
l-2
FUNC CHR
ZOOM
I
o)i
,:ilFI:t:~:~::s:~~~~~~
:..:::p::; ;I:,. ,.:
.\: ..
.),.
,:,
: +
3-12
FUNCTIONS
(3) Divergence
of selective
sequence
Position the cursor to the desired input position and press the [ 1 --_I key.
FUNC
CHR
ZOOM
Position the cursor to the desired input position and press the [ 1 -_I key.
(4) Convergence
of selective
sequence key.
Position the cursor to the desired input position and press the [ f -]
1 +. I+_Il=zl
It-_lt__l
FUNC
CHK
ZOOM
3-13
x g
u -
z
-
z II II c i -
z II II t -
j_ -
II II + -
II II -_, -
I + -
I + -
+ -
t -
FUNCTIONS
Specifying
a label for jump destination (step line), then press the [LBL] key.
Position the cursor to the desired input position Then, enter a label name.
Press the [+
LBL] key.
LABEL
Ll@;
l-l
FUNC CHR ZOOM
JMP
+LBL
3-15
FUNCTIONS
(8)
Specifying a label jump Position the cursor to the desired input position (step line), then press the [+ JMP] key. Then, enter a label name. Press the [+ JMP) key.
LEBEL :
A...
$$
2-3
JMP
LBL
FUNC
CHK
200?4
+- L10
101 s1 I
, q ]s 2
f-r
PlOO PlOO
PlOO
3-16
FUNCTIONS
(9)
Deleting an element Position the cursor to the element to be deleted, then press the [DEL] key.
Select
the element
the
<return>
key
of a selective
are
Specify the element to be deleted with the narrow cursor, displayed in reverse video, press the [DEL] key.
To restore the
screen is displayed:
3-17
FUNCTIONS
I
I01 Sl
..I
... ,..,....... .
>:..A .. .. .. :
.:..
:::..
... :~l;;;i;~g~. .
.k
.,
Inserting an element Position the cursor to the desired insertion mpty row, press the [INS] key. o create an empty column, press the [SHIFT] and [INS] keys. position, then press the [INS] key. To create an
STEP ACTION
: S2 : p 2 0 0 @$ l-3
3-18
FUNCTIONS
l-3
IO1 Sl
c
Pl Cl Sll cl s21
I
STEP : S2 ACTION : PlO2
I
l-3
3-19
FUNCTIONS
(11) Search
_.. .,. ..,::,,... : .. $5:": ;;. t (, ~, :)>>::..,: : >: : :.::.: . . .. ".."."..."~>;.> .:.,.::.:.> z:. .: . .?.... ,.i.. . . . . . . . . . . . . . . . . ,., Pl Pll
g$j::$i:.;.:l:li: I-J
q;;..;. = = = = = i= ,, =
....::::. ...:j:::ji(ij:j. ..;:.II:;::: :.:.::: jj ::..:.
SlO
Cl s20 t P21
T2
cl SlO I
Cl s20 I
If the [F8] (FUNC) key is pressed in the state shown above, a pop-up menu is displayed shown below:
as
Fl F2 F3 F4
FS
Y3
Press the [Fl]
cl s21
I
(Search) key.
as shown below:
Pl
Fl F2 F3 F4 F5 F6 F7
3-20
FUNCTIONS
(Step) key.
Another
as shown below:
to the cursor.
Copying
or moving an element
Pl
3-21
FUNCTIONS
as shown below:
Fl F2 F3 F4 FS
l-2
Position the cursor to the desired start point (position 2-3 in the example press the < RET > key.
It
Pl
,.:: $;;;y;: .gi.lj?
q]S2
Pl
i
..:.:.:..q:-: IJ :..:.. ./\. ...:.: ...., ,.,.. : ::::.y:::: ::: .,. ,.:. ::,:;. :: :.,::.:,,. .. :::.; .j,. :.;. .,,.. ,...,i :::::.::::::.;::.:.+:
Pll
+ +
P21
2-3
3-22
3.
FUNCTIONS
Position the cursor to the desired end point (position 3-4 in the example shown below), then press the < RET > key. The system prompts the operator to specify a copy destination.
qlS2
p1 i
;;; ~~~ :~~~~~~:~~~~ I:::iliii:ll:i:li#i:~,::,:~:~:~:~~: ::.. j..:.:...: .....:>:...:.:i\:.: :::.zy :i.~.I_:~~I:I:I:i.i:~~~~~~~~~:~~:~:,,~,~~ ,., :i,i:I:I:I:II:i:II:I:i::I:i6:i: . . ,. . . . ...\. . ..\\ .:. . . . . . . ._.. ,, ., ,,,,,.,,, :j;j;y ;:~~:~,~:~:~:~:~:~:~::::::.,.~~.~::i:~.~r~:~~:::~~:..~, ::;:;:y:;:~:..:::::::::.:.:.:..:.: ._.,. :.:.::;::::::: .. .........:.: . ... .. .y,,: :...::::z::i ,:, :::.:;;:: ::~~~~~::5::iili:~Bi:~:~~:::::~: C. :,;:;i:@!:qgg .; ,,,. <,, ,::I:~;~~ws ~~;~~~:;:,::.;..:,, q.:.: . . . . . . . . . . . . ,.( ,.l,L..i_ :.:.:.:.:.:.:.:.:.:i(.:.,.;.. .,.,.,... :.:.:..,:.:.:.:.:. ;: ..:,, :::;:y:i:::; ,::: ,.,. :,:::,:::::::z:i:: L............. .....:..: :.:.:::::::::::::::::::::::: I:::.::: ,,):,: ::,:,...: .,.y:: i:,., :.:..... ::.:f+;~:::.:.:.::::::.:.:::.:.:.: ..:.. ....:,. + .., c
:z: J::
3-4
Position the cursor to the desired copy destination then press the < RET > key. The specified
part is copied.
Pl
ACTION : PlOO
When a part is copied, The S address is not copied. The P address is copied. Assign a free number. change the address.
If required,
3-23
FUNCTIONS
screen (MAIN).
The system assumes that the editing of the step sequence key was pressed, is suspended.
$Q;
..Y y.*
$.:rii:
1 SlO
~~~~
tpll
Cl s20 i P21
After pressing
F3 F4
Move
F5
mAin List
rfter pressing
EDIT(LADDER/STEP
SEQUENCE)
R~~(~TEP PROGRAM:(STEP
LEVEL1 $@,iip;&#$
LEVEL2 0 ~0002
LEVEL3 0 PO004
pooo5
poooe
p(JoO7
q ~0008
A]~0021 . . 0 ~0101
q PO016
0 PO026 . . c]]PO406
0 .
PO017
q lPOO27
&PO407
3-24
FUNCTIONS
If the subprogram
whose previous
is
To continue Otherwise,
the previous
(14)LIST
The list of subprograms edited is displayed. referenced by the stepsequence subprogram that is currently being
7====j =
Cl SlO
cl s20
t
Pl
Pll
P21
SEQUENCE)
PO009 PO022
0 0
PO014 PO024
PO015
q PO025
0 0
PO016 PO026
PO017
q ]POO27
I
3-25
MAIN
CHANGE
ZOOM
FUNCTIONS
Following
Function [ MAIN
next screen
[ CHANGE [ ZOOM
] :Creating ] :Modifying
Screen display
q ]P200
I
The subprogram
key is pressed
displayed
( 0
PO008
PO009
[I3 PO014
PO015
PO016
PO017
referenced
by the subprogram
that is currently
being edited
the syntax
t
j:,...,
Pl
.;:.(.:.:.:.:.~:.~::::::::::,
gqc. :.::.:::,:::I:.:,:,::::....:.
0 ;-,~:il~:~:~~
;,.,; ::~...,.,.:
:.:7 ./.
s1 0
I
0 t s20
:,t-ll~~ Pll
P21
3-26
FUNCTIONS
is satisfactory,
the following
message is displayed:
$."f: "
.:.:.::
~~~~~~~~ I
... . ... . .....
.....
: : : >: :
..................
..
slo
.:.::.:..:. .. .: :.:::j::::::::
:>::z: .::i;i::,i:i::llii;ili:iliiilcy;
2;:s:: ............ ......> ...
. :.:.
....................
...................
Pl
t t
Pll
Check completed
message is displayed:
Pl
~11 [Chart
I
Sequence
error
1
I
I
(16)Modifying
I
a subprogram key.
(ZOOM)
cl s20
t
Pll
P21
cl SlO Y2
I
Cl s20
I
3 - 27
FUNCTIONS
which is to be edited.
L
Figure 0 101 01 t
of the figure
Subprogram
to be edited
Fl F2 F3 F4 F5
h quit
h quit
Menus
Menu
I IEnd
End
Editing
Result of editing
Display
IOptimized
Discarded Continued Updated Optimized and continued Not optimized Optimized Optimized
3-28
Z LJJ CL
APPENDIX
1 DATA TRANSFER
CABLES
APPENDIX
1 DATA TRANSFER
CABLES
Use the cables below to transfer data from a PC to a CNC, ROM writer (FA writer or PMC writer), or P-G (P-G Mark II or P-G Mate).
1.
For PC9801 PC980 1 25pin male connector On-line cable 25pin male connector CNC, ROM writer, or P-G
2.
For IBM PC/AT IBM PC/AT g-pin female connector 25pin male connector 25pin female connector IBM PC/AT cable CNC, ROM writer, or P-G On-line cable
3.
For IBM PS/2 IBM PSI2 25-pin female connector 25-pin male connector 25-pin female connector IBM PS/2 cable On-line cable
Al-l
APPENDIX
1 DATA TRANSFER
CABLES
On-line
cable
(AOSB-0031-K8Ol/K802)
2 SD RD 4
2 SD RD 4 RS 5 I cs ER DR
RS
25dn male connector I cs ER DR 5
CD
ZI 7
E 7
CD SG
SG
1 1
FG
FG
SG
6 DR 7 RS 8
cs
9
Cl
Al-2
A!
P
APPENDIX
RAM board.
It also describes
related notes.
2.
HARDWARE
CONFIGURATION
(1) PMC-L
No extra hardware is needed. with the ROM and without The PMC-L is operated with ROM only when the PMC-L is provided the Ladder Edit Cassette (printed circuit board).
(2) PMC-M
The optional RAM board is necessary. It is also necessary OEl to mount the Ladder Edit Cassette and OE2, on the memory board. or to mount ROMs for the PMC-M on the ROM sockets,
(Note 1) When the PMC-M is provided with the ROM board, it is operated with ROM whether
the Ladder Edit Cassette is mounted or not. using the Ladder Edit Cassette on the PMC-M stored
the original
ladder program
being
are different.
A2-1
3.
RAM OPERATION
shown below to perform the RAM operation.
(1) PMC-L
Yes
No
Is the EPROM
Yes
(Note) Ladder programs stored in the EPROM are copied to the RAM.
=I pk
(see Section 4)
A2-2
APPENDIX
(2) PMC-M
Yes
Is the EPROM ROM operation No (Note) Ladder programs stored in the EPROM on the ROM board are copied to the RAM.
Yes
==k
RAM
(Note) Transferring ladder programs from the FAPT LADDER is needed. RAM contents are deleted when the power is turned off.
AZ-3
APPENDIX
in the PMC-M
below.
@ When a ladder oroaram sent from the FAPT LADDER is executed Mount memory the ROMs board. for the PMC-M into the sockets usually
Write data into the ROM using the PMC-M as that used for transferring
a ladder program.
A ladder program
When a ladder program is sent from a ROM or a floppy disk that contains be executed, follow the description above.
is executed
on
Edit Cassette.
The
PMC-M
management
software
in the
Edit
the ladder program. Also mount the ROMs for the PMC-M board. The into the
for the
PMC-L
on the memory
PMC-M
management
To change above.
a ladder
program
which
is executed
on RAM
operation,
follow
the description
If an attempt
is made to perform
RAM operation
in conditions
other
than those
described
first.
A2-4
APPENDIX
4.
When the Edit Cassette is not mounted Item (5) in Fig. 4 is not displayed.
with ROMs on the sockets; with ROMs on the sockets nor the ROM board is not
is not provided
PMC LOAD SELECT ( 1) LOAD FROM I/O (2) LOAD FROM EROM (3) RUN (4) RUN WITHOUT PMC (5) EDIT LADDER PUSH l-5 KEY :
Fig. 4
Whether
or not is determined
NO.71
I #7
DPCRAM #6 #5 #4 #3 #2
I #l #O
DPCRAM
1: 0:
The PMC load select screen is not displayed. The PMC load select screen is displayed.
A2-5
APPENDIX
3 ERROR MESSAGES
Executable file xxx does not exist in the system directory. System directory is not specified in the declaration made by environment variable PATH. Main memory is insufficient. Arrange setup so that sufficient main memory can be acquired (500 KB or more). Error occurred while loading executable file xxx.
I/O error for the xxx file occurred during system setup for the type of machine being used. The executable file of compiler Install the system again. was not found.
No system setup file was found. There is no machine type setting file that can be used by the compiler. install the system again.
A3-1
APPENDIX
3 ERROR MESSAGES
2.
MAKING WRITING
Data table for target program list is making. When source program list screen exit, writing selected files into P INTERF.DAT. There is no P INTERF.DAT in current directory.
OPEN ERROR P_INTERF.DAT HIT ANY KEY... READ ERROR P_INTERF.DAT HIT ANY KEY... WRITE ERROR P HIT ANY KEY... NOT ENOUGH KEY... FILE ALREADY KEY... MEMORY. HIT ANY INTERF.DAT
SELECT.
HIT ANY
NOT BE SELECTED
FILE, YET.
When any file are not selected as target file, you cant move the cursor to target file list screen. Specified strings is not found. (Search for file name) Specified strings is not found. (Search for PMC model) files
NOT FOUND IN CURRENT DIRECTORY. HIT ANY KEY... NOT FOUND SPECIFIED HIT ANY KEY... STRINGS.
NOT MODIFIED EXTEND, ALREADY SELECTED FILES. HIT ANY KEY... ABSOLUTE PATH MUST BE SPECIFIED. HIT ANY KEY... INPUT ERROR DIRECTORY L-IIT ANY KEY. NAME.
- You cant change the extension, when selected are exist in select file list screen. - Absolute path must be specified, [DRIVE ] command. with using
A3-2
APPENDIX
3 ERROR MESSAGES
3.
Insufficient
memory.
There is not sufficient main memory for loading an executable file. An area of 500 KB or more is required. Disk space was used up during file l/O. System setup file xxx does not exist in the system directory. Software management system directory. file xxx does not exist in the
nsufficient
disk space.
I/O error occurred for file xxx during creation of a source program file. Invalid characters appear in the name, xxx, of the input source program file. Machine type for the input program and the machine type for the system (common table file) do not agree. Perform proper system setup for the type of machine being used. Neither the input program name nor the output program name were specified when a source program name was specified. File already exists with the name specified for the output program. To overwrite this file, enter 3. To cancel, enter N. Specified input/output program name does not exist. A new file is being created. Specify an output program name. Names of the input program and output program do not agree and the input program does not exist. Symbol and comment contain error(s). data in input program xxx
name.
inachine Kind And Input Program Not >onsistency! PMC series is xxx.
lease Appoint Output Program Name Ippointed Input Program Not Exist
data broken.
A3-3
APPENDIX
3 ERROR MESSAGES
Editing
Description
Only the RETURN key was pressed. Address data input is incorrect. Editing is not being performed within the limits when creating function instructions. Function instructions cannot be created while the cursor is on the right-hand side. Editing buffer was exceeded during net creation.
EDIT BUFFER OVER 70LINE/l NET OVER LARGE NET APPEARED 256STEP/l MNEMONIC NET OVER BUFFER OVER
Editing cannot be continued due to the large size of nets being edited. Make nets smaller.
Attempt was made to make a LADDER program of more than 21,840 (24,000 when an EMS board is used) steps. Too many items in data table Non-numeric character(s) were specified for [COPY], [INSLIN], ]C-UP], or [C-DOWN]. Input address was specified in a coil. Data table contains invalid character(s). Relay or coil address is not specified. Relay or coil is required. Horizontal lines in LADDER diagram are unconnected. Vertical lines in LADDER diagram are incorrect. Function instruction parameters have not been set.
ADDRESS
BIT NOTHING
ILLEGAL
LADDER diagram is incorrect. Incorrect net found when [COPY][MOVE] was specified. Error found on the screen during a search beyond the screen. Unnecessary An incorrect relay or coil exists. net was found.
Net which did not match the specified level of the stack was found and deleted from the LADDER program which was read in. Specified search. address was not found during address
-UNCTION
NOT FOUND
instruction search.
during
A3-4
APPENDIX
3 ERROR MESSAGES
Description
There are 9 or more continuous stacks in the LADDER program which was read in. There is not enough data area for the specified Disk space insufficient Error occurred Error occurred during writing file.
NOT EXIST APPOINT FILE NOT READ DISK SPACE NOTHING FILE NOT WRITE INSUFFICIENT KEY!
DATA SIZE
MEMORY.
HIT ANY
3.2 Other Editing (Applicable to Title, Message, and Comment, and I/O Module Editing)
System Parameter,
Symbol
Message File Read Error! File Write Error! File I/O Error! Hit Any Key Hit any Key -
Description
File could not be read. File could not be written. File I/O error occurred. Work area for message editing could not be acquired due to insufficient memory. Symbol data already exists that is identical symbol data that was input. Nonexistent address was specified. data was to
No Definition
Address Appointed
Error occurred when symbol or comment being registered in the work area.
Required data could not be found during symbol data lookup. There is an input error in the l/O module settings. There is an error in the group that was input. There is an error in the base that was input. There is an error in the slot that was input. There is an error in the ID code that was input. Undefined Specified search. key was specified. address could not be found during
Input Data Invalid Appointed Appointed Appointed Appointed group Not Exist Base Not Exist Slot Not Exist ID Code Not Exist
Invalid Value
Error -
Out-of-bound value was input. Data other than a numeric value was input. Addresses panel. have not been set at the operation
A3-5
APPENDIX
3 ERROR MESSAGES
4.
PRINTER
Message Description and action to be taken
There is an error in the data input in the setup screens such as the type selection screen for diagram output. Nonexistent file name was entered in the source program selection screen. Machine type codes in the common the management file do not agree. table file and
DIFFERENT
MACHINE
CODE.
WRITE ERROR COMONDAT.TBL. HIT ANY KEY... NOT EXIST AMROFTRP.DAT. HIT ANY KEY... WRITE ERROR AMROFTRP.DAT. HIT ANY KEY... DATA INVALID AMROFTRP.DAT. HIT ANY KEY... NOT ENOUGH MEMORY. HIT ANY KEY... FILE READ ERROR. HIT ANY KEY...
Error occurred when a program name was written to the common table file. AMROFTRP.DAT exist. (print format data file) does not
Error occurred when the paper size was written to AMROFTRP.DAT. Data in AMROFTRP.DAT system program. is incorrect. Reinstall the
Tried to acquire memory but there was no memory area of a sufficient size. There is no title file or system parameter file. Either symbol or comment file could not be found during LADDER diagram printing or cross-reference printing. Existing file could not be read in. [BREAK] key was pressed during printing.
CHANCEL PRINTER HIT ANY KEY... SEL SWITCH OFF DATA INVALID xxxxxxxX. HIT ANY KEY... OPEN ERROR OUTPUT HIT ANY KEY... FILE. OUTPUT. -
Turn it on.
Error occurred during opening of output file. is not sufficient space on the disk. No output file is specified file.
There
OUTPUT FILE NOT DEFINED. HIT ANY KEY... OUTPUT FILE ALREADY OVER WRITE (YIN) WRITE ERROR OUTPUT HIT ANY KEY... CANCEL FILE OUTPUT. HIT ANY KEY... SYMBOL & COMMENT DATA BROKEN. HIT ANY KEY... EXIST.
File exists with the same name as the output file. Enter Y to overwrite or N to cancel output. Error occurred during writing to the output file. There is not sufficient space on the disk. [BREAK] key was pressed during file output.
FILE.
A3-6
APPENDIX
3 ERROR MESSAGES
5. COMPILATION,
Message Error title 80
DECOMPILATION,
AND LINKING
Description and action to be taken by PMC was found
System parameter that specifies use of the operation panel was specified and there was an invalid address specified in the external DI (KEY data) address, external DO (LED) address, PMC image address (DI), or PMC image address (DO). This system parameter is forcibly turned off and processing is continued (PMC-R series only). Size of a message exceeded the system. Character code not permitted during message compilation. the maximum size for
Error message 60
Error message 61
Error symbol/comment
70
During compilation, the size of a symbol or comment exceeded the maximum size for the system. During compilation, when the message area was extended, symbol and comment data overflowed the permitted ROM size. Character code not permitted during symbol compilation. Character code not permitted during comment compilation. by PMC was found
Error symbol/comment
71
Error symbol/comment
72
Error symbol/comment
73
During LADDER compilation, the size of the LADDER program exceeded the maximum size for the system. During LADDER compilation, when the symbol and comment area was extended, the LADDER program overflowed the permitted ROM size.
Error ladder 41
Invalid intermediate LADDER code was found during LADDER compilation. - Invalid LADDER object was found during LADDER decompilation. There is an invalid intermediate intermediate code file. There are no intermediate There is no #LA file. code in the
Error ladder 48
Error end 25
99.
Execution time for the first level ladder exceeds the PMC default value or the time set in the system parameter.
A3-7
APPENDIX
3 ERROR MESSAGES
Description
END2 was found before END1 or END1 was not found before the LADDER program ended. END3 was found before END2 or END2 was not found before the LADDER program ended. END3 was not found before the LADDER program ended. (Does not include third level ommission mode.) There is more than one ENDl. There is more than one END2. There is LADDER program code following END1 exists in common END2 exists in common END3 exists in common control mode. control mode. control mode. END3
Error end 18
Error end 19
Error end 20 Error end 21 Error end 24 Error end 5 Error end 6 Error end 7 Error end 11 Error end 12 Error end 13 Error end 8 Error end 9
END1 exists in jump control mode. END2 exists in jump control mode. END3 exists in jump control COM exists in common mode.
control mode.
COME exists in common control mode in which the number of coils is specified. COME exists outside of common JMP exists in jump control mode. JMPE exists in jump control mode in which the number of coils is specified. JMPE exists outside of jump control mode. WRT or WRT.NOT function instruction WRT.NOT. does not exist following that requires WRT or a control mode.
Uarning end 29
Number of coils was specified in a machine type for which the number of JMP coils cannot be specified. The parameter is forcibly set to 0 (JMPE specification mode) and processing is continued. Number of coils was specified in a machine type for which the number of COM coils cannot be specified. The parameter is forcibly set to 0 (JMPE specification mode) and processing is continued.
Narning end 30
A3-8
APPENDIX
3 ERROR MESSAGES
Description
During linking, SO record was not found before the end of the load module. Different S record exists before the SO record.
During linking, the value for the record length area in the S2 record was less than 4. - S record other than SO, S2, S8, or S9 was found. - No S8 or S9 record was found before the end of the load module. During linking, an attempt was made to load a load module into an area other than the specified address area. No source program was specified decompilation. for compilation or
irror link 93
ROM format file name was not specified compilation, decompilation or linking. No load module file name was specified
for
for linking.
- Work area required for processing cannot be acquired. This occurs because a device driver which requires a large amount of memory is resident, because data is too large, or for some similar reason. Not enough space is available on disk for file creation during compilation, decompilation or linking. Name specified for ROM format file during compilation already exists.
:ile already exist ?enewal (Y/N)? rogram already exist ?enewal (Y/N)? qead error
- #CN file of the source program specified for decompilation already exists. #CN or #PA file of the source program specified compilation does not exist. Some sort of disk l/O error occurred. for
Iead error
lead error -
ROM format file specified for decompilation or linking does not exist. Machine type of the ROM format file specified for decompilation differs from the machine type specified in the machine type setting. Some sort of disk I/O error occurred. Load module file specified for linking does not exist. Some sort of disk l/O error occurred. Some sort of disk I/O error occurred. Some sort of disk I/O error occurred.
A3-9
APPENDIX
3 ERROR MESSAGES
Description
- Some sort of disk I/O error occurred. (Note) When no #PA file exists for the specified source program, the following message is displayed. Cannot read source program j-l-j-\. - Some sort of disk I/O error occurred. (Note) Error termination does not occur even if no #TA file exists for the specified source program. - Some sort of disk I/O error occurred. (Note) Error termination does not occur even if no #IO file exists for the specified source program. - Some sort of disk I/O error occurred. (Note) Error termination does not occur even if no #ME file exists for the specified source program. - Some sort of disk I/O error occurred. (Note) Error termination does not occur even if no #SY file exists for the specified source program. - Some sort of disk I/O error occurred. (Note) Error termination does not occur even if no #Cl file exists for the specified source program. - Some sort of disk I/O error occurred. (Note) Error termination does not occur even if no #LA file exists for the specified source program.
(I/O module)
Read error
(Message)
Read error
Symbol)
Read error
Comment)
Read error
Write error
Some sort of disk I/O error occurred. Some sort of disk I/O error occurred. Some sort of disk I/O error occurred. Some sort of disk t/O error occurred. Some sort of disk I/O error occurred. Some sort of disk I/O error occurred. Some sort of disk I/O error occurred.
Time-consuming processing is being performed during compilation, decompilation, or linking. (Note) This is not an error message.
A3-10
6.
COMPILE ERRORS
two basic groups:
Error:Processing
The processing
of a subprogram
of other subprograms
002
- Multiple (Cause)
sub-program
003
. The title data which could not be display on the CNC was replaced with space code (Cause) The title data contains for example). a code which cannot be processed (a Japanese code,
004
PARAMETER
). Proceed to discompile
using NO.
The password
006
* This word can not be used as password.Try (Cause) (Action) The entered password Enter another password. is not valid.
another word.
007
and numerical
characters
are allowed.
A non-alphanumeric
character
is specified.
009
* Not appoint ROM format file name. (Cause) No ROM file name is specified.
A3-11
APPENDIX
3 ERROR MESSAGES
010
- Not enough disk space. (Cause) There is insufficient free space on the disk.
011
012
name illegal.
013
- xxx file not found. (Cause) An installation error may have occurred. Retry the installation.
014
* xxx read error. (Cause) The source program may have been damaged or destroyed.
015
* xxx write error. (Cause) A write error occurred, the cause is not known.
016
-xxx file already exist. (Cause) A ROM file having the same name exists. (warning)
017
not found.
018
- xxx(System (Cause)
parameter)
019
* xxx(Title) (Cause)
read error. The title data of xxx may have been damaged or destroyed.
020
* xxx(V0 module) read error. (Cause) The I/O module data of xxx may have been damaged or destroyed.
002
* Sub-program (Cause)
number is different
from Source-program.
The specified
003
at the head of the subprogram. does not begin with the SP instruction. file has been damaged or destroyed.
subprogram
A3-12
APPENDIX
3 ERROR MESSAGES
004
* SP instruction (Cause)
was detected
in the subprogram.
005
006
007
* Specified (Cause)
008
* An illegal program number is specified (Cause) The program number specified predetermined range.
for the xxxx instruction. for the xxxx instruction falls outside the
009
- An illegal label number is specifed for the xxxx instruction. (Cause) The label number specified predetermined range. for the xxxx instruction falls outside the
010
- The label of xxxx is used twice or more. (Cause) A label number is duplicated within a single subprogram.
011
012
instruction
is duplicated.
013
time at the 1st level is too large. time of the first level exceeds the predetermined limit.
014
of JMP instruction
is not allowed.
015
- The coil number specification (Cause) The parameter other than 0. (Action)
of COM instruction
A3-13
APPENDIX
3 ERROR MESSAGES
016
* There is no LADDER program. (Cause) (Action) The level 3/subprogram Add an END3 or SPSPE is empty. instruction.
017
- The symbol data which could not be displayed code. (Cause) The symbol contains
018
The comment
contains
019
* The message data which could not be displayed code. (Cause) The message contains
021
022
023
* FLxxxxx.TBL (Cause)
Set-up file broken. error may have occurred. Retry the installation.
An installation
024
* Insufficient (Cause)
disk space. There is insufficient to the file. free space on the disk, preventing data from being output
(Action)
025
* LADDER program exists beyond END instruction. (Cause) A program is specified after the END instruction.
026
027
- There is no label of Lxxxx. (Cause) (Action) The jump destination label for the JMPB instruction is not defined.
A3-14
APPENDIX
3 ERROR MESSAGES
028
- The label of Lxxxx is used twice or more. (Cause) The definition of the label is duplicated.
029
* There is no END1 instruction. (Cause) A program of level 1 does not end with an END1 instruction.
030
* There is no END2 instruction. (Cause) A program of level 2 does not end with an END2 instruction.
031
- There is no END3 instruction. (Cause) A program of level 3 does not end with an END3 instruction.
032
033
034
035
- LADDER program exists beyond END1 instruction. (Cause) Within level 1, a program is specified after the END1 instruction.
036
- LADDER program exists beyond END2 instruction. (Cause) Within level 2, a program is specified after the END2 instruction.
037
* LADDER program exists beyond SPE instruction. (Cause) In a subprogram, a program is specified after the SPE instruction.
038
039
040
041
042
of the SP instruction.
A3-15
APPENDIX
3 ERROR MESSAGES
043
- The size of LADDER program is too large. (Cause) (Action) The object size of the ladder program exceeds Reduce the size of the ladder program. the predetermined limit.
044
by COM instruction
An END1 instruction
was encountered
045
by COM instruction
An END2 instruction
was encountered
046
by COM instruction
An END3 instruction
was encountered
047
was detected
in the COM mode. before the COME instruction. then restart control with the
was encountered
049
of JMP instruction
An END1 instruction
was encountered
050
of JMP instruction
An END2 instruction
was encountered
051
of JMP instruction
is beyond
An END3 instruction
was encountered
052
was detected
in the JMP mode. before the JMPE instruction. then restart control with the JMP
was encountered
053
054
- LADDER program exists beyond END3 instruction. (Cause) Within level 3, a program is specified after the END3 instruction.
055
A3-16
APPENDIX
3 ERROR MESSAGES
056
instruction is specified
057
* SP instruction (Cause)
can not be used in the main program. was attempted within the main program.
058
can not be used in the main program. was attempted within the main program.
059
060
061
062
* Specified (Cause)
of the functional
instruction
063
064
065
066
An attempt was made to use a basic or functional supported by the selected model.
067
does not end with the SPE instruction. in the subprogram. was encountered before an SPE instruction.
068
* SP instruction (Cause)
was detected
An SP instruction
069
by COM instruction
An SPE instruction
was encountered
A3-17
APPENDIX
3 ERROR MESSAGES
070
of JMP instruction
An SPE instruction
was encountered
071
072
073
by COM instruction
An END instruction
was encountered
074
of JMP instruction
An END instruction
was encountered
075
by COM instruction
An SP instruction
was encountered
076
of JMP instruction
An SP instruction
was encountered
077
by COM instruction
A CALL instruction
was encountered
078
by COM instruction
A CALLU instruction
was encountered
079
of JMPB instruction
is beyond COM instruction. the JMPB instruction of common from the outside to the
line control.
080
cannot be used in the main program. was attempted within the main program.
081
082
083
A3-18
APPENDIX
3 ERROR MESSAGES
6.6Path 2/warning
001 * Unreferenced (Cause) subprogram Pxxxx. is
A subprogram encountered.
003
004
- Data too large. ( message + symbol + comment + ladder + step sequence (Cause) The total size of the message, data exceeds the predetermined symbol, comment, limit.
005
The total number of labels used within LEVELl, the predetermined limit.
006
* The label of Lxxxx is used twice or more. ( xxxx net in LEVELx.#LA (Cause) An identical or LEVELB. L address is specified
) LEVEL2,
007
( Pxxx.#LA
) by another program.
an END instruction
is followed
008
009
* The label of Lxxxx exists in the COM mode. ( xxxx net in Pxxxx.#LA (Cause) The destination label of JMPC is found between
010
- The label of Lxxxx to refer exists in another level. ( xxxx net in Pxxxx.#LA (Cause) The destination label of JMPC is found in LEVELl.#LA
or LEVEL3.#LA.
011
A3-19
APPENDIX
3 ERROR MESSAGES
Data other than IS0 codes was sent. During reception processing, a command was sent from the PC, but there was no response within a certain period of time. Confirm for the receiving side that the power is on, settings are correct, cables are properly connected, parameters (baud rate and stop bits) are correct, and that CONFIG.SYS is correct. No xxx.DAT files exist in the directory containing FAPT LADDER. Install the system again. Specified ROM format file does not exist on the disk [write and verification for the ROM writer, download and comparison for the PMC]. Specified file already exists [read operation for the ROM writer, upload for the PMC]. To overwrite, enter Y. To change the name of the file, enter N. There is an error in the ROM parity of the specified ROM format file [write operation for the ROM writer]. There is an error in the ROM parity of the specified ROM format file [download for the PMC]. To download in this state, enter Y. To cancel, enter N. There is an error in the ROM parity of the specified ROM format file [read operation for the ROM writer, upload for the PMC). No data was received during transmission [read operation for the ROM writer, upload for the PMC]. Press the break key to interrupt processing, then check cable connections and the power supply, etc. of the sending side.
xxxx.DAT file format error. 4it any key VOT EXIST APPOINT =lLE ROM FORM
OF
NITIALIZE
EXECUTE
Work file is being created during upload from PMC (PMC-N). Checking ROM data parity [write operation for the ROM writer, download for the PMCJ. Wait while processing is performed. Inserted cassette or module is incorrect present machine type (PMC-N, 431. Cannot open specified Cannot close specified Cannot write to specified ROM format file. ROM format file. ROM format file. for the
4OM ID UNMATCH
ERROR
A3-20
APPENDIX
3 ERROR MESSAGES
Message
Description I-
IFILE READ
ERROR
I-
During writing, the specified ROM format file could not be fully written to ROM (cassette or module). ROM file format is incorrect. There is not enough space on the disk for the work file area (512K bytes) [PMC-N]. EROM is installed with incorrect EROM is faulty. Cannot write to EROM because it has not yet been erased. EROM has not yet been erased. orientation.
IROM
FILE FORMAT
ERROR ERROR
I-
IWIIT.5
DATA SEND ERROR PARITY ERROR RUNNING WRITER! ERROR ROW TYPE ERROR PORT ERROR (OVER RUN) PORT ERROR (PARITY)
- The number of the sent data items does not match that of the received data items. A parity error occurred during data transfer.
Overrun (determined by the status check information from I/O ports) Parity error (determined by the status check information from I/O ports) Framing error (determined by the status check information from I/O ports) Break interrupt error (determined by the status check information from I/O ports) Time-out error (determined information from I/O ports) by the status check
TIMER SET/CANCEL
ERROR
The system timer malfunctions. Update the text file (FL10 AT.DAT) information. For details, see the comments of the file.
A3-21
8.
MNEMONIC
EDITING
(System Parameters >
Description System parameter character(s). and action to be taken is followed by invalid
Unknown
data number.
Data number was specified the system parameters. System parameter System parameter data. contains contains
data.
numerical
Expected
a multiple of 5.
System parameter required to be a multiple of 5 is not a multiple of 5. System parameter required to be a multiple of 2 is not a multiple of 2. System parameter contains invalid character(s).
Expected
a multiple of 2.
Illegal address Expected parameter(s) Illegal OP. PANEL (PARAMETER) Proceed to discompile using NO.
an invalid address.
is missing or incomplete.
As OP.PANEL (parameter) of the system parameters is invalid, it is assumed to be NO and operation continues.
A3-22
APPENDIX
3 ERROR MESSAGES
<Title Data B
Description Title data is followed Specified and action to be taken by invalid character(s). number does not exist. the maximum length.
data identifier
Too long strings. Include KANA or KANJI character(s). Illegal character(s) Data not found. Too many characters in 1 line.
There is no title data. Title data contains a line of data that exceeds the maximum allowed number of characters. Data identifier number specified is incorrect.
(Symbol
Invalid qualifier.
Illegal character(s).
in symbol and
Illegal address.
Invalid address was specified comment data. Symbol and comment address data. Mnemonic data.
in symbol and
Redefinition
of address data.
Redefinition
of symbol data.
identical
symbol
in
Comment data which contains m-type characters was converted without the m-type character conversion option (J option). There is no symbol or comment data.
Symbol or comment data contains a line of data that exceeds the maximum allowed number of characters. Only symbol data was converted Only symbol or comment the address. Mnemonic bounds. data contains for the address. for
A3-23
(LADDER
Data >
Description Basic command and action to be taken
Not enough parameter(s). Too many parameters. Illegal address. Out of address limits. Undefined instruction. name.
address was specified. address was specified. an undefined function command. was specified.
Invalid functions
instruction
Cannot specify byte address on basic instruction. Cannot specify the input address with coil. Cannot specify the odd address.
in a basic command.
Address coil.
in a
instruction
Dut of parameter
value.
Numeric parameter of a function instruction contains a value that exceeds the maximum. Bit address was specified in the byte address parameter of a function instruction. Address which cannot be output was specified the output address parameter of a function instruction. for
Cannot specify bit address of oarameter. Cannot specify the input address.
Address which cannot be specified as a parameter was specified as a function instruction address parameter. Invalid address was specified in a function instruction address parameter. Invalid value was specified instruction data table. in the function
Out-of-bound value was specified instruction data table. LADDER data contains output.
in the function
Operation was performed with a register which was not input in LADDER data.
A3-24
APPENDIX
3 ERROR MESSAGES
instruction
instruction
Unexpected
parameter(s).
Parameter was specified for a function that does not require parameters.
instruction
Unexpected
control condition(s).
Basic command was specified for a function instruction that does not require control conditions. Coil was specified for a function does not require coils. instruction that
Unexpected
coil(s).
in 1 line.
Mnemonic data contains a line of characters exceeds that maximum allowed number of characters. Function instruction bound address. Function instruction address. Function instruction bound address. parameter contains
that
an out-of-
an invalid
an out-of-
A3-25
APPENDIX
3 ERROR MESSAGES
8.5 Mnemonic
Editing
<Message
Data>
Description
Length of message data exceeds allowed length. Invalid address was specified setting address. Message data contains
Illegal address.
Include KANA or KANJI character(s). Invalid qualifier. Data not found. Too many characters in 1 line.
There is no message data. Message data contains a line of characters exceeds the maximum allowed number of characters. Message address. Message Mnemonic mnemonic setting address contains that
an out-of-bound
data contains
invalid character
data. Only
message data was not specified. address data was specified. type and data machine
in case of specified
type do
A3-26
APPENDIX
3 ERROR MESSAGES
I/O module data is followed Invalid address specified address. Out-of-bound address.
address specified
l/O module data has no group data. Group data of I/O module data contains value. Group data of I/O module data contains bound value. l/O module data has no base data. Base data of I/O module data contains value. Base data of l/O module data contains bound value. I/O module data has no slot data. Slot data of l/O module data contains value. Slot data of I/O module data contains bound value. I/O module data has no module name. I/O module data has an invalid module name. Output module is specified the l/O module data. Input module is specified the I/O module data. at the input address of an invalid an invalid an invalid
an out-of-
an out-of-
an out-of-
\lot found module name. nvalid module name. Cannot specify output module at input Iddress. Cannot specify input module at output address. 2annot specify same group, base and ;lot. rot.9 value of base and slot is over.
Group, base, and slot data of I/O module data have the same data. Sum of base and slot data of I/O module data exceeds the maximum allowed value. There is no I/O module data. I/O module data contains a line of characters exceeds the maximum allowed number of characters. Specified machine type and conversion machine type do not agree. data that
A3-27
APPENDIX
3 ERROR MESSAGES
9. STEP SEQUENCE
Error message Illegal source code Symbol file read error Comment file read error
EDITING ERRORS
Description The input file data is illegal. The symbol data cannot be read. The comment data cannot be read.
The title data cannot be read. Sufficient memory space cannot be allocated. free space on the specified drive.
disk space
There is insufficient
Buffer size over Number of nest branch too big Number of branch too big Size of table buffer too big Unconnected Selected step sequence diagram
The program is too large. The program contains The program contains too many branches. too many branches.
The program is too large. A line is not connected. The program contains The program contains A syntax error is found. A step line contains A transition an illegal code. an illegal code. too many branches. too many branches.
branch error
Parallel branch error Syntax error Step line syntax error Transition line syntax error
line contains
The program is too large. The wrong soft key was pressed to change an element. The point at which a branch must be closed is left as a horizontal line. The jump destination The specified cannot be found.
Horizontal
fine illegal
Jump forward check error File open error File close error Check incomplete Chart sequence error error
The file cannot be closed. The source program contains The sequence The beginning is incorrect. of the sequence is incorrect. an illegal code.
Chart start code error Chart end code error Jump close error -horizontal line duplicate 3ranch unconnected 3ranch sequence error
is encountered is incorrect.
error
error
A3-28
APPENDIX
3 ERROR MESSAGES
Error message Cannot copy diagrams Cannot move diagrams Illegal specified position
Description The program is too large. The program is too large. The corresponding The specified coordinates cannot be found.
character
Error file
name exists
A file having the same name, but a different exists. The specified address data exceeds predetermined range. No subprogram number is specified. the
Input invarid
Expected
Sub-program
An attempt was made to nest a program to a level of eight or more, by using the [ZOOM] key.
A3-29
APPENDIX
function
which
before, can be coded in units of sub-programs. enables FAPT LADDER to manage a program by dividing it into two or
function
(modular programming.) by the ladder diagram to a program editing function to produce to connect a
The modular
programming
is accomplished
and connect
a module
function
In the later part of this book, the terms module 0 Module : Logical unit of a program. program.
program
A single module can be the first or second half of the main program unit of a program stored on a floppy disk or hard disk
or a group of sub-programs.
l
Source program
: Physical
1.
LADDER DIAGRAM
a source program
EDITING FUNCTION
(1) Dividing
l
The function
program
and creates
another
program,
to
Source program
Module
A4-1
(2) Combining
l
source programs combines all or part of a source program to another source program that is
The function
combines
Source program
. . .. .. *..* _.... *
......
...
For the details of (1) and (2), see (8) Copying 5.1.2, Ladder Diagram Editing.
Sections
of a Sequence
Program
in Section
2.
COMPILE FUNCTION
modules compiles a batch of separately edited programs and unites the programs. in a control statement (text file having the
(1) Combining
l
0 The
to be combined #LS).
can be specified
extension
(files) made up of any units (nets or sub-programs). Control statement (MAINFILE.#LS) File selection MAINFILE SUBFILEI SUBFILE . SUBFlLEn
1Main program
I
1
1
I
I
1Sub-program I Sub-program
I
1 1 2 , I
I
A4-2
APPENDIX
(2)
Control statement
(.#LS file) text file in which the source programs See the following example. to be combined are coded in
Parameters,
symbols,
comments,
the title, and other data, except data for the ladder, from the
first program are used for the second and later programs.
(3) Advantages 0 Programs can be edited quickly and easily because small source programs 0 A source changing program its name. in the control statement can be used for another are handled. purpose only by
Program
Program 2
ESub-program ..................
A4-3
APPENDIX
PROCEDURE
PROCEDURE
The operating
procedure refer to
(PMC-NA),
AS-1
APPENDIX
PROCEDURE
Hold down the [NEXT] key and a soft key at its immediate left simultaneously, and switch on the NC. The IPL screen will appear (00).
(NEXT]
The (0
entry to 0).
procedure
is described
below
@ @
SYSTEM MONITOR MAIN MENU 'liB:i';~~f~~~~~~~~~~~~~~~~, 2. SYSTEM'DATA 3. SYSTEM DATA CHECK DELETE @ Place the cursor on 1. SYSTEM DATA LOADING using [UP] or [DOWN], then press [SELECT].
[SELECT] ~0 11 up
KEY.
'SYSTEM
Place the cursor on the desired filename using [UP] or [DOWN], then press [SELECT].
[SELECT] ~0 1[ up
KEY.
=-I
0 Press [YES] or [NO].
[SELECT] [ YES
1[
1 [ DOWN
t
*** MESSAGE *** LOADING OK ? HIT
I
Cy
[YES] OR
1
I
j 1
(SELECT][ YES
I *** MESSAGE *** HIT [SELECT] KEY. ILLEGAL FORMAT FILE [SELECT] I YES I[ NO
][
NO
I
][
]I
UP
I[
DOWN
A file in a format that cannot be handled by the BOOT SYSTEM was selected. End of entry
I
:\ LOADING COMPLETE. I[ HIT NO [SELECT] I[ up KEY. I[ DOWN
[SELECT] [ YES
AS-2
APPENDIX 6 MEMORY CARD COMPATIBILITY (FOR THE PMC-RAl/RA3, NB, AND QC)
APPENDIX 6 MEMORY CARD COMPATIBILITY (FOR THE PMGRAlIRA3, NB, AND QC)
If a CNC or off-line programmer operating on an upgraded edition is used to output a sequence
on an earlier edition (see below). A08B-XXXX-J502, A08B-XXXX-J501, editions editions 06.3 and later 06.2 and later
Series 4080, edition 04 Series 4047, edition 01 Series 4054, edition 01 CNC
AO8B-XXXX-J502,
editions
Off-line programmer
: Operating
: Operating
on an earlier edition
Cases 0, below.
0,
0,
and 0,
where
input/output
is possible
under
some condition,
are explained
A6-1
APPENDIX 6 MEMORY CARD COMPATIBILITY (FOR THE PMGRAVRA3, NB, AND QC)
Case 0 Output : To output a sequence program, specify the output format as 1 (S-format) on the
PMC l/O SETUP screen shown below. value (put in effect by pressing
MONIT STOP
DATA KIND = LADDER FILE NO. = ( #NAME ) [ EXEC l[CANCEL][WRITE ][ READ ](COMPARJ I [SETUP ]
MONIT STOP
[INPUT ] [
Input : To enter a sequence program,
II
select
I[
F6 (input/output),
1 [ INIT 1
then F3 (Handy File &
Case @ output : Output a sequence program to a memory card by selecting F6 (input/output), then
ADAPTER
& Handy File) from the main menu. card) from the main menu; a sequence
then F5 (memory
A6-2
APPENDIX
7 CAUTIONS
APPENDIX 7 CAUTIONS
(1) MS-DOS version 05.0
DOSKEY.COM When DOSKEY.COM is used in insertion mode, pay attention to the following:
DOSKEY.COM/INSERT
Be
careful
especially
when
the
AUTOEXEC.BAT
contains
a command
line
of
DOSKEY.COM.
When
DOSKEY.COM
is used in insert
the symptom
below occurs.
l
is made to move the cursor to 3) Select conversion to mnemonic screen, the cursor disappears,
data type is selected normally. This symptom does not occur on the IBM/PC or compatible.
(2) Windows
3.1
SMARTDRV.EXE When SMARTDRV.EXE is used with write caching enabled, pay attention to the following:
SMARTDRV.EXE
Be
careful
especially
when
the
AUTOEXEC.BAT
contains
a command
line
of
SMARTDRV.EXE.
When SMARTDRV.EXE
l
the following
symptom
occurs.
alarm occurs during a read from the PMC or FA/PMC writer, disabling
Alarm message
Received OVERRUN
data invalid
[Measure] When SMARTDRV.EXE is used, disable write caching for the following disk drives:
a. b.
Drive where the FAPT LADDER system exists Drive where ROM format files are created
A7-1
APPENDIX
MESSAGE
DATA (CHGMES)
program of FANUC PMCs . This tool extracts only message data from Handy file format file. The message data in CNC(PMC) can be replaced with this extracted data, if both message data
size are the same. This tool is usefull when it is necessary example: Supporting multi-lingual to use some message data files in one ladder program.(For
message.)
c Method of Message size Check > (1) Memory map information is output when the source program is compiled. changing ladder and the ladder for
Please check each symbol top address of the original changing to be the same value. the message data execute
file,
1.
PROCEDURE
OF THE MESSAGE
DATA CHANGING
(1) Load the basic message ladder file of handy file format to the NC by using the memory card or floppy disk on the PMC input!output (2) Input the CHGMES file format). data on the NC is changed ([I!01 screen). by loading the output file of this tool on the PMC command operation with ([I/O] screen). data for changing and dummy ladder
the message
file(handy
operation
2.
OPERATING
ENVIRONMENT
operating environment for this tool.
to use following
is required
when activating
this function
without
FAPT
files generates following temporary files for work area on the drive/directory which
This function
variable TMP
(= 00-99) automatically.)
(These temporary
A8-1
APPENDIX
MESSAGE
DATA (CHGMES)
to use following
For installation To generate temporary (In case of environmental files variable TMP
65KBytes
3.
INSTALLATION
copy EXE-FILE (_CHGMES.EXE) to any directory from FAPT LADDER system floppy
Please
disk(Vol.3). Key in I_ CHGMES * CHGMES.EXE * RB3DUMMY.SFM Example command. files(.SFM) on the installed directory, * ASC2lMG.EXE * RB3BASIC.SFM are used to confirm then following files are generated. : : Execute files (.EXE) example files(.SFM) by activating example * IMG2ASC.EXE * RB3MES.SFM the installation
of this function
4.
ACTIVATION
command at the DOS prompt activated in the utility.(No.9 of FAPT LADDER main
CHGMES
[INPUT FILE]
[OUTPUT
FILE]
[PMC TYPE]
( [COMPARE
FILE] )
<return> data
INPUT FILE
to replace the message data in the basic message Create this file by compiling
to a handy file
format file using FAPT LADDER. OUTPUT FILE : : A handy file format message file created by this tool. This file contains only message data. data in the CNC memory can be
By loading this file to the CNC, message substituted. PMC TYPE : : PMC TYPE (RAl or RA2 or RA3...etc.)
<Applied
PMCs>
item.
Error will occur at key in other than applied PMCs. COMPARE (Optional) FILE : : Basic message ladder file (Handy file format) outline. size of the INPUT FILE Then, replaced and you the can
Please refer to the Fig.Operation This tool compares FILE that only message to determine the
if there will
is a match.
message
be correctry
without
FILE to CNC.
A8-2
APPENDIX
MESSAGE
DATA (CHGMES)
<Outline
t I COMPILATION
+,
+,
t Handy File)
(Note)
%l %2
%2 FLOPPY
%3 MEMORY CARD
(Note)
r/
r]ORu
of ROM file
(Note)
It is possible FSl5-B
to load by memory
card
FS-20,
FS21-B, and
card or handy file. It is not possible to load on boot screen. FANUC PMC MODEL PAl/PA3/RAl/RA2/RA3/RB/RB2/RBURC/RC3/RCWNB PROGRAMMING MANUAL (LADDER LANGUAGE) (B-61863EI06)
A8-3
APPENDIX
MESSAGE
DATA (CHGMES)
5.
USING EXAMPLE
of this function by using the following example. this function.
There are some sample files in FAPT LADDER system floppy disk for checking
RB3DUMMY.SFM
: :
Message data and dummy ladder file (Handy file format) (Message data (50KB) + Ladder (END1 + END2)) ladder file (Handy file format) data) for above OUTPUT
RB3BASIC.SFM
: :
data (50KB) + Ladder data + Symbol&Comment the result (Message output data(50KB)) file, when to check
RB3MESSFM
: :
file is a normal
sample data.
It is possible
result
FILE and this file.) Execute body.) as the following (In this case the system is installed in main
(1) Please
A: y
7
RB3DUMMY.SFM
this example,USERTEST.SFM
(2)
Following
file is generated
USERTESTSFM
(Message
COMMAND). (3) Check the result by using FC/A(PC-DOS A: Y 7 FC/A USERTEST.SFM RB3MES.SFM If NO DIFFERENCES ENCOUNTERED is displayed, the result is correct.
6.
ERROR MESSAGES
Message Meaning (pmc type) and countermeasure applied
(input file)
PMC type of input file and key in PMC type do not match.
(compare
file)
chgmes : Message
Message
file do size by
adding some dummy message to the input file. Please confirm compile function chgmes : Cannot start ASC2lMG ASC2lMG.EXE directory the MAP display on the
of CHGMES.EXE.
A8-4
APPENDIX
MESSAGE
DATA (CHGMES)
Meaning and countermeasure IMG2ASC.EXE directory does not exist in the same
chgmes : Cannot make temporary $tmpd.t chgmes : Cannot make temporary $tmwd.t
file
It is impossible
* Disk is insufficient. file - It is impossible to set the file name, because exist.
Please check the disk space. ssc2img : Cannot allocate memory (bytes)
area in input is
Ladder header of the input file is crushed. Please re-make the input file, and re-activate.
file type
Please change
There is an invalid data of input file. Please correct as error message, reactivate. and
Please check the disk space. Isc2img : Cannot write It is impossible to write the temporary file.
Please check the disk space. mg2asc : Cannot allocate memory (bytes) Memory is insufficient. Please free up 235KB
or more memory, and re-activate. mg2asc : Cannot write It is impossible to write the output file.
A8-5
APPENDIX
9 SOFTWARE
VERSION TABLE
As described disk.
in Section products
in its hard
If software
and can be operated. products of specific versions are stored in one directory, the required capacity just by
of hard disk is a little more than 3 Mbytes. moving the cursor on the model selection
in addition,
screen.
versions
Software (-Jxxx) PMC-FIB/FE (-J502) PMC-N (-J501) PMC-L/M/P (-J500) Ol.l01.12 Ol.l02.3 02.002.3
Combinations
of different
versions
that can
be entered into an identical Ol.O02.0 03.003.1 03.0 03.003.6 04.004.8 04.004.8 04.006.0 -
06.1
05.0
06.1
06.2
06.3
05.0
06.1
06.2
06.3
A9-1
APPENDIX
9 SOFTWARE
VERSION TABLE
2)
System floppy disks and module floppy disks for the FS16/18/15B,Powe that can be used together
software (-Jxxx) MC-RB/RC (-J502) ?Al/RA2 MODULE 01.0 02.0 01.0 02.0
Combinations
of versions
03.0-03.6
04.004.2
05.006.0 04.0
06.1
06.207.1
08.008.1 05.0
08.308.4 05.1
02.1
03.003.4
04.1
04.204.4
PMCRAl/RA2/RA3 PA1 /PA3) (-J603) IB/RC MODULE PMCRB/RB2/RB3 164/RC/RC3/RC4) (-J604) 1C MODULE (-J605) JB MODULE (-J606) 01.0 02.0 03.0 03.103.2
04.004.4
04.5 04.6
04.7
04.805.0
06.0
06.1
01.0
Ol.l01.2
02.0
02.1
Note)
PMCRB4iRC4,
floppy disk(-J604)
at last of all
3)
System floppy disks and module floppy disks for the FSO,Power Mate-ABC
I -J*
500 600 601 602
I
01 .l -04.8 01.1-02.0 01.1-03.0 01 .l -02.0
of versions 06.1 04.0 05.0 04.0 06.2 -06.3 05.0-06.0 06.0 -07.0 05.0-06.0
Note)
The column
entitled
-JXXX
indicates
of software
code A08B-
9200/9201 -JXXX
A9-2
APPENDIX
9 SOFTWARE
VERSION TABLE
Software products
products
can be stored in the same directory. have the different first. version
to be stored
numbers,
The following
are examples:
1)
Software J502/03.0
products
However,
2)
Software
A9-3
APPENDIX
IO MANAGING
A SOURCE PROGRAM
1)
FORMAT-A The source program is managed using the following or more source programs. - xxxxxxxx.#CN : - xxxxxxxx.#PA - xxxxxxxx.#TA - xxxxxxxx.#sY - xxxxxxxx.#c1 - xxxxxxxx.#c2 - xxxxxxxx.#ME - xxxxxxxx.#l0 - xxxxxxxx.#LA : : : : : : : : names. A single directory can contain two
File managing
user programs
File storing system parameters File storing the title data File storing symbols File storing comments File storing comments File storing messages File storing the I/O module data File storing ladder (reserve)
(xxxxxxxx
is the specified
2)
FORMAT-B A directory managed programs. is created with the specified under the following names. source program name. A single directory In the directory, contain the program is
cannot
- CONTROL - SYSPARAM - TITLE - SYMBOL - COMMENT1 - COMMENT2 - MESSAGE - IOMODULE - LEVEL1 .#LA - LEVEL2.#LA - LEVEL3.#LA - PYYYYY.#LA - PYYYYY.#SS
: : : : : : : : : : : : :
File managing
File storing system parameters File storing the title data File storing symbols File storing comments File storing comments File storing messages File storing the l/O module data File storing ladder of the first level File storing ladder of the second level File storing ladder of the third level File storing ladder subprograms File storing step sequence subprograms (reserve)
(yyyyy is a subprogram
number.)
A10-1
APPENDIX
10 MANAGING
A SOURCE PROGRAM
3.
SAMPLE MANAGEMENT
functions
OF FORMAT-C
(STEP SEQRCWRC4 (STEP SEQ.
The following
The FORMAT-C
C:Y
data Y PRG t t CY Source program managing file System parameter data file Title data file Symbol & Comment data file Message data file I/O Module data file First level ladder data file Second level ladder data file Third level ladder data file Sub-program ladder data file Sub-program step sequence data file Net comment data file Setting of option Memory card syste file
-CONTROL - SYSPARAM * TITLE - XSYMBOL.xxx - MESSAGE - IOMODULE * LEVEL1 #LA * LEVEL2.#LA * LEVELWLA * Pyyy.#LA - Pzzz.#SS . NETCMT.xxx * OPTION - * MCARD
(Note 1)
2) 3) 3) 1)
xxx is number of multi file managing. Only for use LEVEL3 ladder at PMCRC4IRC4(STEP). yyy, zzz is number of sub-program.
of newly
created
source
program
is specified
by %%%FLSET.CNF
data file.
The
are FORMAT-C.
Data file name : %%%FLSET.CNF 7; kB4 3; RB4 STEP :3; RC4=3; RC4_STEP = 3; Source program type
Parameters
value
A10-3
APPENDIX
10 MANAGING
A SOURCE PROGRAM
4.
The source program type is decided by setting the PMC model. 1) FORMAT-A.
* * -
PMCRC/RC3RBiRB2/RB3.:RAl/RA2/RA3 PMC-NBQC PMCPAl!PA3 PMC-NN (10 LINK)/QA PMC-LMIM (MMC) PMC-RB4/RC4(A08B-9200/9201 -Jr502 ver.8.0 or earlier)
2)
FORMAT-B
-
PMCRB4 (STEP SEQ)/RC4 (STEP SEQ) (A08B-9200/9201-J502 Ver. 8.1, 8.2, 8.3) PMC-RB4/RC4 (A08B-9200!9201-J502 ver.8.0, 8.2, 8.3)
3)
FORMAT-C
*
PMCRB4.RB4 (STEP SEQ)IRCWRC4(STEP SEQ) (A08B-9200/9201-J502 Ver 8.4 or later) PMC-RBMRBG!NB2 In case of PMCRBWRC4, FAPT LADDER creates two types of source program as above mentioned. ver.8.1. For the operation of conversion refer to next chapter 6.4 Conversion from FORMAT-A to FORMAT-B Therefore, the source program of ver.8.0 needs conversion for using on
Note)
A10-4
APPENDIX
10 MANAGING
A SOURCE PROGRAM
5.
CONVERSION
for PMC-RB4iRC4(A08B-9200!9201-J502)
to ver.8.1 or later, it needs source program conversion. The operation is the following.
1)
into an all-format
mnemonic
ver.8.1 or later.
2)
data into a source program with the same FAPR LADDER. by above mentioned.
is completed
statement
file, which
has extension
.#I.$,
for combining
modules,
the
of 1) by each source program in the control statement. data into an all-format mnemonic data.
Note)
It is possible
to use FORMAT-A
without
conversion.
%%%FLSET.CNF
%%%FLSET.CNF.
6.
FAPT LADDER does not support a function Because the source program file manipulation is managed directory
as described with
on a specified
the COPY
to make a backup copy on floppy disk of the source program shown above, enter the at the MS-DOS prompt:
command
1)
2)
on B:.
[RET]
3)
specified
The source program is copied. To edit the copied source program, program name. start FAPT LADDER and specify B:Y BACKUP as the source
A10-5
APPENDIX 11
%%%FLSET.CNF
of FAPT LADDER is decided, are described there. The file exits in the directory in which the system of FAPT LADDER is installed. And the parameters can be changed by a text editor on the market.
1. Sample of %%%FLSET.CNF
;IIIII=tll trrfllllllllllltlll1111111111111110 IPttLtllLlDlttPOltt=It
f =t=tff== System Setup ====t=== lS: : editor =; Text Editor : ladkey = 1; Ladder editing key buffer size ( 1 <= ladkey <- 16 ) ;
:
password=O;
: f
;
i
Fl F2 F3 F4 F5 F6 F7
F8 =; F9 =;
FlO=;
i :
Soft Key Guidance Soft Key Guidance Soft Key Guidance Soft Key Guidance Soft Key Guidance Soft Key Guidance Soft Key Guidance [FE] Soft Key Guidance [F9] Soft Key Guidance [FlO] Soft Key Guidance
6 EXE h EXE 6 EXE L EXE C EXE h EXE 6 EXE 6 EXE & EXE 6 EXE
*T;
.
======== Source program type r======= '1' or '2'. PMC+B4(STEP SEQ) only supports '1' or '2'. PMC-RCI(STEP SEQ) only supports
LB4
'2'. '2'.
IEOFI
All-l
APPENDIX
11 SYSTEM CONFIGURATION
in the %%%FLSET.CNF
following
by each item.
1)
Specification
a) Function
FAPT LADDER source, editing will newly create the source program at conversion of mnemonic -> new source program and decompilation.
key word By each PMC model, a setting parameter will be described succeeding ========= Source program type = = = = = = = = . Key word shows the model and uses the same character information on the status line displayed the line of I* T;
of model
- 2
= FORMAT-B
It is FORMAT-B of ZOOM
in initialization.
the function
and G-SRCH
can be used.
All
-2
APPENDIX
12
INQUIRY FORM
No.
Product name
Ordering code
2 3 4 5
[Usage environment] Machine DOS tvpe used (PC) Version Yes I No (Manufacturer: (Manufacturer: (Manufacturer: (Manufacturer: and AUTOEXECBAT files on a sheet and attach it to this form. 1 1
MS-DOS
(printer, etc.)
AlZ-1
INDEX
(PMC-RA~/RA~/RB~/RB~/RB~!RB~!RC~/RC~/NB!NB~)
. . . . . . . . . . . . . . . . . . . . . .
1 - 99
Screen
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3- 1 l-15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
<B>
BASICOPERATION Basic Operation BOOT SYSTEM BUSY control ............................................... ................................................... OPERATING PROCEDURE (FOR THE FS20) ................ l-17 3- 6 A5 - 1 2- 4
....................................................
<c>
CAUTIONS Changing Changing Changing Command COMMON Common FOR USING THE O/S Printer Output Format ..................................... ...................................... .................................. .................................... A7 - 1 2 - 12 l103 the Order of Subprograms the paper selection input during startup OPERATIONS name
2 - 14 2- 1 .................. 2- 1 1 - 19 2- 2 1 - 94
........................................
1 - 152 l-150 2- 8 2- 9
Convert the PMC Type of Sequence Convert with signal address converter Converting Converting a step sequence
.............................
1 - 113 2- 8 3 - 10 3- 9 3- 9
by system parameter
..................................
program
....................................
........................................... ..............................
(return codes)
........................................
.................................................. .................................................
<E>
Editing EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22 3-6
.......................................... .........................................
2- 7 2- 6 A3 - 1
ERROR MESSAGES
..............................................
<F>
FLOPPY CASSETTE FUNCTION ADAPTER + 3.5 floppy disk (P-G format) THE PMC-UM WITH RAM ............... 1 - 149 A2 - 1 2- 1 FOR OPERATING .................... ......................
Data between
<H>
Handy File + 3.5 floppy disk (MS-DOS format) . . . . . . . . . . . . . . . . . . . . . . . . .. . . l-147
l/O module editing IBM PC/AT operating Input/Output Input/Output INQUIRYFORM Installation
l-70 l-10 l-134 1-119 A12l-11 1-5 Net comment) to ROM format file1 - 103 1
for PMC-QA
(FANUC SYSTEM
Procedure
INSTALLATION
...................................................
<I_>
Ladder diagram editing Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . l-26 1-116 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MANAGING MEMORY
A SOURCE
PROGRAM
CARD COMPATIBILITY
file format
PROGRAMMING
A4-1
co>
Operating Environment .............................................. 1- 6 l-22 1 - 95, l-110,3-4 1-112 1 - 1,3-l OPERATION Operation Outputting OVERVIEW .................................................... .............................................. to split files ............................................
...................................................
<P>
Password set function environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1- 7 l-85 3- 1 2-4 PC9801 operating Printout
Programming Protocol
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
l-122
<s>
Sample mnemonic Sample mnemonic SETTINGAMODEL Setting form feed Setting line feed files (all-format) files (single-format) ................................... ................................. 1-166 l-157 3-4 2-23 2-23 information .............. 2-19 2-20 ............. 2-21 2-16 2-16 2-22 2-22 2-22 2-15 2-23 2- 14 2- 19 2-14 A9-1 2-21 2-20 2-21 2-11 l-60 ..................... All-l l-73 ............................................... ................................................. ................................................. list output format guidance list output information list read/write
Setting the cross-reference Setting the cross-reference Setting the cross-reference Setting the left margin Setting the line spacing
.......................... information
coil guidance
Setting the printer model and print paper Setting the read/write coil guidance
.................................... ............................
Setting the spacing between the LADDER net Setting the title of printout Setting the top margin SOFTWARE Specifying Specifying Specifying VERSION
...........................................
CONFIGURATION editing
System parameter
<T>
The Configration of a Sequence Program ................................. 3- 2 l-105 ........ l-170 l-25 ...................... A8 - 1 l-124 B) ...... l-131 The list of source program The note if the step sequence Title data editing ......................................... function is selected when setting a model
05
Dec., 95
* Addition of PMC-MODEL RA3/RB3/FKX/PAl/PA3/QC/NB . Addition of symbol and comment edit function on Ladder Edit
screen
04
Jun., 93
of of of of
external ROM format file conversion function cross reference print format setting function mnemonic edit label/subprogram Item symbol and comment edit function
03
Dec., 92
Correction of errors
02
Sep., 92
Total revision
01
Jun., 90
Edition
Date
Contents
Edition
Date
Contents
EUROPEAN
HEADQUARTERS
- GRAND-DUCHt
DE LUXEMBOURG
GE Fanuc Automation Europe S.A. Zone Industrielle L6469 Echternach 4 (+352) 727979- 1 I (+352) 727979-214 BELGIUM / NETHERLANDS GE Fanuc Automation Europe S.A. - Netherlands Branch Postbus 7230 - NI.4800 GE Breda Minervum 1603A - NI.4817 ZL Breda %I (+31) 765783 201 (CNC) %I (+31) 765783 212 (PLC) I (+31) 765870 181 FRANCE GE Fanuc Automation France S.A. 45, rue du Bois Chaland Lisses F-91 029 Evry Cedex %I (+33) 1 69 89 70 39 (CNC) %I (+33) 1 69 89 70 20 (PLC) I (+33) 1 69 89 70 49 GERMANY GE Fanuc Automation GmbH Elberfelder Str. 45 D-40724 Hilden %I (+49) 2103 87011 (Laser/CNC) %I (+49) 2103 240 415 (PLC) I (+49) 2103 87 160 (Laser/CNC) I (+49) 2103 242 153 (PLC) GERMANY GE Fanuc Automation Deutschland Bensheimer Str. 61 D-65428 Russelsheim 4 (+49) 6142 357600 I (+49) 6142 357611 GmbH CZECH REPUBLIC GE Fanuc Automation Europe S.A. c/o GETSCO Inc. Husova 5 CZ-110 00 Praha 1 4 (+420) 22440 1284 I (+420) 22440 1284 GERMANY GE Fanuc Automation GmbH Bernhauser StraBe 45 D-73765 Neuhausen %I (+49) 7158 187 I (+49) 7158 187 455 I (+49) 7158 187 466 a.d.F 400 (CNC) (PLC)
GERMANY GE Fanuc Automation GmbH Otto-Schmerbach-Str. 20 D-091 17 Chemnitz 4 (+49) 371 8448 113 (CNC) %I (+49) 371 8448 114 (PLC) I (+49) 371 8448 115 GE Fanuc Automation Nordic AB Hammarbacken 4 S-l 9149 Sollentuna 4 (+46) 8 444 5520 I (+46) 8 444 5521 ITALY GE Power Controls Italia S.p.a Via Tortona 27 I-201 44 Milan0 4 (+39) 2 4242 280 (PLC) I (+39) 2 4242 511 (PLC) SPAIN GE Power Controls Iberica S.A. Calle Miiio, S/N E-08223 Terrassa (Barcelona) %I (+34) 3 736 58 28 (PLC) I (+34) 3 783 45 82 (PLC) UNITED KINGDOM GE Fanuc Automation (UK) Ltd. Unit 1 - Mill Square Featherstone Road Wolverton Mill South Milton Keynes MK12 5BZ %I (+44) 1908 84 4000 I (+44) 1908 84 4001
01/98
ITALY GE Fanuc Automation Italia S.r.1. Piazza Tirana 24/4B I-201 44 Milan0 %I (+39) 2 417 176 (CNC) I (+39) 2 419 669 (CNC) SPAIN GE Fanuc Automation Espaiia S.A. Poligono Industrial Olaso Calle Olaso, 57 - Locales 10 y 11 E-20870 Elgoibar %I (+34) 43 744 450 (CNC) I (+34) 43 744 421 (CNC) SWITZERLAND GE Fanuc Automation Filiale Suisse/Niederlassung Schweiz MullerstraBe 3 CH-2562 Port %I (+41) 32 332 87 00 (CNC) %I (+41) 32 332 87 04 (PLC) I (+41) 32 332 87 01 (CNC) I (+41) 32 332 87 05 (PLC)
NO.TMN 98/
Date1998 General Manager of Software Laboratory FAPT LADDER OPERATORS SUPPLEMENTARY MANUAL (For personal computer)
1. Communicate this report to: Your information only GE Fanuc-N, GE Fanuc-E FANUC Robotics CINCINNATI MILACRON Machine tool builder Sales agency End user 2. Summary for Sales Documents
3. Notice This manual describes the additional functions of FAPT LADDER for personal computer 4. Attached Document Drawing B-66131E/05-5 (1/8 to 8/8) No.
IDE V.G.M
FANUC
Name Spec.No./Ed.
SUMMARY OF CHANGE
Group
Name/Outline The system of 3.5-inch FD version has been added. Working under a Command Prompt of a full screen of Windows NT4.0.
Basic Function Optional Function Unit Maintenance Parts Notice Correction Another
TITLE
98.06.22
DATE
DRAW.NO.
B-66131E/05-5
SHEET
CUST.
1/8
Contents
1. 2. 3. 4. 5. OUTLINE ................................................................ ................................................................................................ ................................................................................................ .................................................................................... ....................................................3 ....................3 APPLIED SOFTWARE ................................................................ ................................................................................................ .............................................................................................. ..............................................................3 ..............................3 ADDITION OF SYSTEM SYSTEM OF 3.5-INCH FD VERSION ................................................................ ........................................................................... ...........................................3 ...........3 WORKING UNDER A COMMAND PROMPT OF A FULL SCREEN OF WINDOWS NT4.0 .............4 .............4 SOFTWARE VERSION TABLE ................................................................ ................................................................................................ ................................................................................ ................................................6 ................6
TITLE
98.06.22
DATE
DRAW.NO.
B-66131E/05-5
SHEET
CUST.
2/8
1. Outline
The following specification and function have been added to the PMC programming software FAPT LADDER for personal computer. The system of 3.5-inch FD version . Working under a Command Prompt of a full screen of Windows NT 4.0. This manual is a supplementary manual for these additional functions. Other points (existing functions and operation, etc.) are described in the following manual. Name of Manual Spec.No. Reference Items FAPT LADDER B-66131E Existing functions and OPERATORS MANUAL operation for FAPT LADDER
2. Applied Software
The additional functions described herein apply to the following software. FAPT LADDER for IBM-PC/AT series (3.5-inch FD) Software Series Version PMC-L/M/P system A08B-9201-J500#EN07 08.0 PMC-N/NA system A08B-9201-J501#EN07 07.0 PMC-SA/SB/SC/NB/PA/QC system A08B-9201-J502#EN07 09.0 PMC-L module A08B-9201-J600#EN07 06.0 PMC-M module A08B-9201-J601#EN07 07.0 PMC-M(MMC) module A08B-9201-J602#EN07 06.0 PMC-SA/PA module A08B-9201-J603#EN07 05.3 PMC-SB/SC module A08B-9201-J604#EN07 07.1 PMC-QC module A08B-9201-J605#EN07 02.3 PMC-NB module A08B-9201-J606#EN07 03.1 FAPT LADDER for PC98 series (3.5-inch FD) (Note) Software Series Version PMC-L/M/P system A08B-9200-J500#JP07 06.3 PMC-N/NA system A08B-9200-J501#JP07 06.3 PMC-SA/SB/SC/NB/PA/QC system A08B-9200-J502#JP07 08.9 PMC-L module A08B-9200-J600#JP07 06.0 PMC-M module A08B-9200-J601#JP07 07.0 PMC-M(MMC) module A08B-9200-J602#JP07 06.0 PMC-SA/PA module A08B-9200-J603#JP07 05.3 PMC-SB/SC module A08B-9200-J604#JP07 07.1 PMC-QC module A08B-9200-J605#JP07 02.3 PMC-NB module A08B-9200-J606#JP07 03.1 (Note) These FD are the 1.44MB format FD. If the machine can not read the 1.44MB format FD, these FD are not available for the machine.
98.06.22
DATE
DRAW.NO.
B-66131E/05-5
SHEET
CUST.
3/8
LADDER for personal computer. Refer to the 2. Applied Software about kinds of software of 3.5-inch FD version.
(Note 1) If the standerd memory size of the machine is insufficient, memory expansion is required. (Note 2) Even if the machine has 640K-byte memory, the memory may not be large enough when an installed driver, for example, uses a large memory space. The size of free space in conventional memory can be checked with the MS-DOS command CHKDSK. (Note 3) In addition, an area for storing sequence program data is required. (Note 4) To use the Epson VP1000 with an NEC PC9801, a setting file modification is required. For details, see Section 1.2 in Part . (Replace 2.1.2 IBM PC/AT operating environment) (Present) (1) CONFIG.SYS, AUTOEXEC.BAT (2)Using EMS
TITLE
98.06.22
DATE
DRAW.NO.
B-66131E/05-5
SHEET
CUST.
4/8
(Correct) (1) CONFIG.SYS, AUTOEXEC.BAT (Note) Windows NT4.0 uses CONFIG.NT instead of CONFIG.SYS. (2)Using EMS (Note) Above setting is not necessay for Windows NT4.0. (Add after 2.2 Installation Procedure) Note 3) When you install the program of the system or module under Windows NT 4.0, you must enter commands under a Command Prompt of a full screen of Windows NT 4.0. The Command Prompt Window appears when you select the [Start] menu and choose the [Command Prompt] from the [Programs]. If the Command Prompt Window is not full screen display, press ALT+ENTER keys to switch to full screen display. (Replace a part of 3 ACTIVATION) (Present) (1) Activation method [Operation] Activate FAPT LADDER with the following commands: B: >A: A: >CD FLADDER A: FLADDER> FLADDER
(Note 1) Before starting up FAPT LADDER, change the current drive and current directory to the drive and directory in which the system file exists . If FAPT LADDER is started up with path designation, or by specifying different directory as the current directory, FAPT LADDER may malfunction. (Correct) (1) Activation method [Operation] Activate FAPT LADDER with the following commands: B: >A: A: >CD FLADDER A: FLADDER> FLADDER
(Note )
(Note 1) (Note 2)
(Note 1) When you install the program of the system or module under Windows NT 4.0, you must enter the commands under a Command Prompt of a full screen of
TITLE
98.06.22
DATE
DRAW.NO.
B-66131E/05-5
SHEET
CUST.
5/8
Windows NT 4.0. The Command Prompt Window appears when you select the [Start] menu and choose the [Command Prompt] from the [Programs]. If the Command Prompt Window is not in full screen display mode, press ALT+ENTER keys to switch to full screen display. (Note 2) Before starting up FAPT LADDER, change the current drive and current directory to the drive and directory in which the system file exists. If FAPT LADDER is started up with path designation, or by specifying different directory as the current directory, FAPT LADDER may malfunction.
04.0 06.0
TITLE
98.06.22
DATE
DRAW.NO.
B-66131E/05-5
SHEET
CUST.
6/8
Combination of diverse system floppy disks (2) Software -JXXX Combinations of versions PMC-SA/SB/SC/NB 502 06.1 06.2 06.3 06.4 /PA/QC PMC-N/NA 501 05.0 06.1 06.2
06.3 07.0 (Note2) PMC-L/M/P 500 05.0 06.1 06.2 06.3 08.0 (Note3) (Note1) 09.0 is for IBM PC/AT. If NEC PC98 series, this field is 07.008.9. (Note2) 07.0 is for IBM PC/AT. If NEC PC98 series, this field is 06.3. (Note3) 08.0 is for IBM PC/AT. If NEC PC98 series, this field is 06.3.
Combinations of system floppy disks and module floppy disks (1) Software -JXXX Combinations of versions PMC-SA/SB/SC/NB 502 01.1 02.0 03.0 04.0 /PA/QC 03.6 04.2 SA/PA MODULE 603 01.0 02.0 02.1 03.0 (PMC-SA1/SA2/SA3 03.4 /PA1/PA3) SB/SC MODULE 04.0 604 01.0 02.0 03.0 03.1 04.4 (PMC-SB/SB2/SB3 03.2 /SB4/SB5/SB6/SC /SC3/SC4) QC MODULE 605 (PMC-QC) NB MODULE 606 (PMC-NB/NB2)
TITLE
98.06.22
DATE
DRAW.NO.
B-66131E/05-5
SHEET
CUST.
7/8
Combinations of system floppy disks and module floppy disks (2) Software -JXXX Combination of versions PMC-SA/SB/SC/NB 502 06.1 06.2 08.0 08.3 08.5 /PA/QC 07.1 08.2 08.4 08.7
05.0 05.1 05.2 SA/PA MODULE 603 04.1 04.2 04.4 (PMC-SA1/SA2/SA3 /PA1/PA3) 604 04.7 04.8 06.0 06.1 07.0 07.1 SB/SC MODULE 05.0 (PMC-SB/SB2/SB3 /SB4/SB5/SB6/SC (Note2) /SC3/SC4) QC MODULE 605 01.1 01.2 02.0 02.1 02.2 02.3 (PMC-QC) 02.0 02.1 03.0 03.1 NB MODULE 606 01.0 01.1 01.2 (PMC-NB/NB2) (Note1) 09.0 is for IBM PC/AT. If NEC PC98 series, this field is 08.808.9. (Note2) When using PMC-SB4/SC4, install the PMC-SB/SC MODULE floppy disk(-J604) at least of all installation.
TITLE
98.06.22
DATE
DRAW.NO.
B-66131E/05-5
SHEET
CUST.
8/8