Professional Documents
Culture Documents
Fanuc Fapt For PC Operator PDF
Fanuc Fapt For PC Operator PDF
Operators Manual
this publication
Warning
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.
CIMPLICITY® Genius®
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC’AT .................. 2-l
1.1 Function for Transferring Data between the P-G and PC .................. 2-l
1.l.l Command input during startup ............................... 2-l
1.1.2 Communications settings ................................... 2-2
1.1.3 Protocol ............................................... 2-4
1.1.4 BUSY control ........................................... 2-4
1.1.5 Data start and end codes ................................... 2-5
1.1.6 Data conversion (return codes) ............................... 2-5
1.1.7 Transmission and receive data ............................... 2-5
1.1.8 Error detection and messages ............................... 2-6
1.1.9 Error detection and handling ................................. 2-7
1.2 Convert the PMC Type of Sequence Program .......................... 2-8
1.2.1 Converting by system parameter editing ........................ 2-8
1.2.2 Convert with signal address converter .......................... 2-9
1.2.3 Using data in a sequence program for another program ............ 2-11
1.3 Standard Symbol Data ......................................... 2-11
1.4 Changing Printer Output Format ................................... 2-12
1.4.1 Changing the paper selection name .......................... 2-14
1.4.2 Setting the top margin .................................... 2-14
1.4.3 Setting the spacing between the LADDER net ................... 2-14
1.4.4 Setting the printer model and print paper ....................... 2-15
1.4.5 Setting the line spacing ................................... 2-16
1.4.6 Settingthe left margin .................................... 2-16
1.4.7 Setting the title of printout ................................. 2-19
1.4.8 Setting the cross-reference list output format guidance information .... 2 - 19
1.4.9 Setting the cross-reference list output information ................ 2 - 20
1.4.10 Specifying the cross-reference list output format ................. 2 - 20
1.4.11 Setting the cross-reference list readiwrite coil guidance information .... 2-21
1. OVERVIEW
This manual describes the software products listed below which are included in the FAPT LADDER
offline programming system for FANUC PMC sequence program generation. These software
products are designed to run on standard personal computers.
Personal
Name Specification Remarks
computer
JEC PC9801 FAPT LADDER PMC-L/M/P A08B-9200-J500#JP For the NEC PC9801
FAPT LADDER PMC-N A08B-9200-J501 #JP Series and compatible
FAPT LADDER PMC-RB/‘RC A08B-9200-J502#JP machines (Japanese
language version)
BM PC/AT FAPT LADDER PMC-UM/P A08B-9201 -JSOO#EN For IBM PC/AT and
FAPT LADDER PMC-N A08B-9201-J501#EN compatible machines
FAPT LADDER PMC-RB/RC A08B-9201-J502#EN (English language version)
This manual explains procedures required to install, activate, and operate the software above that
are specific to the system designed for use with personal computers. For PMC operations and
how to create PMC sequence programs, refer to the manuals listed below.
FANUC PMC-MODEL N
Programming Manual (LADDER language) B-61013E
Inquiry form
If you have any questions after reading this operator’s manual and the manuals listed above,
use the inquiry form attached at Appendix 12 to consult us the questions.
l-l
1. OVERVIEW
The following abbreviations are used in this manual for PMC models.
PMC-UM!P
* PMC-L FANUC PMC-MODEL L
* PMC-M FANUC PMC-MODEL M
* PMC-P FANUC PMC-MODEL P
PMC-R Series
* PMC-RAl _ * FANUC PMC-MODEL RAl
* PMC-RA2 .- FANUC PMC-MODEL RA2
* PMC-RA3 FANUC PMC-MODEL RA3
- PMC-RB FANUC PMC-MODEL RB
- PMCRB2 FANUC PMC-MODEL RB2
* PMC-RB3 FANUC PMC-MODEL RB3
- PMC-RB4 FANUC PMC-MODEL RB4
- PMC-RB5 FANUC PMC-MODEL RB5
* PMC-RB6 FANUC PMC-MODEL RB6
. PMC-RC FANUC PMC-MODEL RC
* PMGRC3 FANUC PMC-MODEL RC3
* PMCRC4 FANUC PM&MODEL RC4
1-2
1. OVERVIEW
‘
RS232C 3
FLOPPY
CASSETTE
/Handy File
Input/Edit
Personal computer sequence
Floppy disk program
NEC PC9801
IBM PC/AT
Drawing
1-3
1. OVERVIEW
+
Install MS-DOS
4
Create directory for FAPT LADDER
1 Section 2.2
Install FAPT LADDER
+
Install device drivers
- Section 2.1
@et CONFIG.SYS and AUTOEXECBAT)
J.
Reset personal computer
- Section 5.6
J/
End?
Yes
JI
Terminate FAPT LADDER
l-4
2. INSTALLATION
2. INSTALLATION
FAPT LADDER software is stored on the floppy disks listed below. Before the system can be
used, the contents of these system floppy disks must be written to a hard disk; the software cannot
be run directly from the floppy disks. To install the system on a hard disk, the user needs to be
familiar with the hardware and software of his or her personal computer, particularly with basic MS-
DOS command operation and files such as CONFIG.SYS and AUTOEXEC.BAT.
FAPT LADDER PMC-M (MMC) module floppy disk A08B-9200-J602 #JP (PC9801)
A08B-9201-J602 #EN (IBM PC’AT)
l-5
2. INSTALLATION
PMC-M @, @ PMC-RA2 @, @
PMC-P 0 PMC-RB @, @
PMC-N @ PMC-RB2 @, @
PMC-PA1 @, @ PMC-RB3 @, @
PMC-PA3 0, ZJ PMC-RC 0, @
PMC-QA @ PMC-RC3 0, @
?MC-NA 6J
‘MC-NB 0, @
To use the software, the requirements indicated in the table below must be satisfied. Before
installing the software, check these requirements.
Main memory Free area of 500K bytes or more is required (Note 1) (Note 2).
Hard disk About 3M bytes is required for installing the system (Note 3).
EMS A LIM type EMS (expanded memory specification) memory board may be
required depending on the PMC model and the size of a sequence program
to be created. For details, see 2.1.1.
(Note 1) If the standard 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 main memory can be checked with the MS-DOS command CHKDSK.
l-6
2. INSTALLATION
When starting MS-DOS, the user needs to install the following device drivers:
l RSDRV.SYS
l PRINT.SYS
DEVICE=A:$(DEVyRSDRV.SYS
DEVICE=A:yDEV'1CPRINT,SYS
(Note) When you are using a memory card adapter, set CONFIG.SYS referring to the
operator’s manual for the memory card adapter.
The expanded memory specification (EMSXMS) memory can be used with the system as a
work area for a sequence program. EMSXMS memory allows a larger sequence program to
be used. (An EMS memory size of 256K bytes or more allows 24000 or more steps to be
edited.)
If EMSXMS memory is not used, a sequence 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 if a free area sufficient for 16000 steps cannot
be allocated in main memory due to the space taken up by resident device drivers. In this
case, EMS memory is required.
FANUC has confirmed that the setting described below ensures normal operation.
Specify the statement below as the first DEVICE statement of the CONFIG.SYS file. Each
device driver is assumed to be under the directory named DEV on drive A.
(Note) When an EMS board and EMS device driver are used, change the CONFIGSYS file
according to the manufacture’s manual.
l-7
2. INSTALLATION
Note 1) The quantity of the EMS and XMS memory effects on the performance to handle
Symbol data and Net comment. Please prepare enough EMS or XMS memory
specially for Symbol data or Net comment of large number.
Note 2) At the system with EMS less than 256 kbytes, the maximum number of steps which
FAPT LADDER can handle may be restricted. Please prepare 256 kbytes or more
EMS if possible.
Although FAPT LADDER runs with no EMS nor XMS, enough size of EMS and/or XMS memory
according to the source program to handle will be necessary for better performance.
FAPT LADDER uses EMS memory for Ladder sequence program if available.
When no EMS memory is found, the convenGonal memory is used, and the size of
conventional memory may restrict the number of steps able to be edited.
Ladder sequence program occupies 256 kbyte of EMS, regardless of the type of PMC, or
the size of the ladder sequence program to edit.
FAPT LADDER uses EMS and/or XMS memory for Symbol & Comment data if available.
When neither of them are available, FAPT LADDER will make temporary file on the hard
drive, and processing large number of Symbol & Comment data may be slower.
About 200 kbytes of EMS or XMS memory are used for every 1,000 Symbol data.
For Net comment, FAPT LADDER also uses EMS and/or XMS memory, or temporary file
as same as Symbol & Comment data.
About 200 to 300 kbytes of EMS or XMS memory are used for every 1,000 Net comments.
FAPT LADDER for PC9801 allows comments in Japanese to be entered on the symbol and
comment editing screen. (See Section 51.3.)
For Japanese language input, a front-end processor (FEP) for Japanese language input is
required. For information about the installation and operation of an FEP, see the relevant
manual.
1-8
2. INSTALLATION
1
ATOK7B. SYS When the EMS is used
Main : 50K bytes
EMS : 64K bytes
(a) When a Japanese language input FEP is activated (in the Japanese language input mode),
the Japanese language input FEP displays data on a section of the screen. As a result, the
FAPT LADDER screen may temporarily be in disarray. However, the FAPT LADDER
screen returns to normal when Japanese language input is completed (Japanese language
input mode is terminated).
(c) A comment entered in Japanese can be displayed on the editing screen or printed out, but
cannot be written into a ROM cassette or transferred to the PMC. At compile time, a
message is output indicating this restriction and all Japanese characters are converted to
blanks. Note, however, that sequence program operation is not affected.
60 A Japanese language input FEP is installed as a resident driver in the system. This means
that memory available to FAPT LADDER is reduced accordingly. Check that the size of
memory usable for FAPT LADDER is 500K bytes or more to allow FAPT LADDER
execution.
Editing alone can be performed without installing PRINT.SYS and RSDRV.SYS in order to
allocate a free area of 500K bytes. Note that when FILES or BUFFERS is specified in
CONFIG.SYS. a main memory size of 1K bytes is used per file (buffer) specified. Make
adjustments as required.
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.
l-9
2. INSTALLATION
First. change the contents of FLMNE.BAT under the directory where FAPT LADDER is
insta”ed, as follows:
FLMNE. BAT
r
!COMMAND
Inaddition, create a file with the name FEP.DEF with the definitions below. The example
below assumes use of ATOK7. For detailed information, see the manual of the relevant
FEP.
FEP.DEF
DEVICE=A:YDEV+ATOK7A.SYS/D=A:+ATOK7L.DIC
DEVICE=A:YDEV)CATOK7B.SYS
>
Select MNEEDT (mnemonic editing) from the main menu, and select F3 (user batch file
execution). The following message appears:
Execute 'FLMNE.BAT'.
Add parameter(s)? [A(Add), N(Not add), S(Stop)]
Enter N to return to MS-DOS. Execute the following commands to install and remove the
FEP:
The system uses ANSI-based escape sequences. Therefore, ANSI.SYS needs to be installed
using CONFIG.SYS.
DEVICE=A:\DEV\ANSI.SYS
l-10
2. INSTALLATION
The expanded memory specification (EMS) memory can be used with the system as a work
area for a sequence program. The EMS memory allows a larger sequence program to be
used. (An EMS memory size of 256K bytes or more allows 24000 steps to be edited.)
If EMS memory is not used, a sequence 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 be started if a free area sufficient for 16000 steps cannot be
allocated in main memory due to the space taken up by resident device drivers. In this case,
EMS memory is required.
FANUC has confirmed that the setting described below ensures normal operation.
Specify the statements below as the first DEVICE statements of the CONFIG.SYS file. Each
device driver is assumed to be under directory \DEV on drive A.
DEVICE=A:\DEV\XMAEM.SYS
DEVICE=A:\DEV\XMA2EMS.SYS FRAME=COOO
An installation batch file is used to install the programs on the system and module floppy disks.
(See (3))
Note that there are two different installation procedures. They are selected according to the type
and edition of the system.
Note 1) The installation procedure of the programs on each floppy disk is subject to change.
Before starting installation, refer to a README.DOC file (if there is one). If there is no
README.DOC, use the ordinary file format installation procedure (1).
1-11
2. INSTALLATION
Note 2) The compressed file is a self-extracting file produced using an archive program utility
named LHA. LHA is freeware created by Mr. Haruyasu Yoshizaki.
The following procedure uses an example in which ordinary files are read from each PMC-N
system floppy disk in drive B:, and installed in the directory Y FLADDER created on the hard
disk drive (C:).
[Operation]
Insert the system floppy disk VOLl in a drive.
B:Y> CD INSTALL
B:YINSTALL> INSTALL B:Y C:+FLADDER
0 When the following message appears, confirm it, and press any key.
If it is necessary to discontinue installation, press the CTRL + C keys to stop execution of the
batch file.
When the following message appears, insert the system floppy disk VOL2 in a drive, and
press any key.
When the following message appears, insert the system floppy disk VOL3 in a drive, and
press any key.
1-12
2. INSTALLATION
The following procedure uses an example in which ordinary files are read from each PMC-
RB.‘RC system floppy disk in drive B:, and installed in the directory Y FLADDER created on the
hard disk drive (A:).
[Procedure ]
Insert the system floppy disk VOLl in a drive.
I B:Y> CD INSTALL
B:YINSTALL> INSTALL 9: A:YFLADDERY I
Note 1) When specifying the files to be installed, enter only their drive name; do not specify a
directory (that is, do not enter 4h).
Note 2) When specifying the directory in which the system is to be installed, suffix it with Y .
When the following message appears, confirm it. and press any key.
If it is necessary to discontinue installation, press the CTRL + C keys to stop execution of the
batch file.
When the following message appears, insert the system floppy disk VOL2 in a drive, and
press any key.
1-13
2. INSTALLATION
When the following message appears. insert the system floppy disk VOL3 in a drive, and
press any key.
(End/
The following table lists the installation batch files and their directories.
(Note) Systems for different PMC models can be installed in the same directory. However,
restrictions may be placed depending on the edition of the software. See Appendix
9 for details. For systems that cannot be installed in the same directory, install them
in separate directories.
1 - 14
3. ACTIVATION
3. ACTIVATION
[Operation]
Activate FAPT LADDER with the following commands:
B:\>A:
A:\xD \FLADDER
A: \FLADDER> FLADDER (Note 1)
The initial screen displaying the version of the system and copyright is displayed and the
message below appears.
When a key is pressed while the initial screen is displayed, the main menu below appears.
Select a screen by selecting the function key corresponding to the desired menu item
displayed at the bottom of the main menu screen.
Fi KEY : SETUP
F8 KEY : MNEMONICEDIT
F9 KEY : UT[LlTt
(Note) Before starting up FAPT LADDER, change the drive and directory in which the
system file exists to the current drive and current directory. If FAPT LADDER is
started up with path designation, or by specifying the current directory, FAPT
LADDER may malfunction.
1-15
3. ACTIVATION
Reference: When an FL.BAT has been created in the directory for which path control is set,
FAPT LADDER can be activated by just typing FL and pressing the [RETURN]
key. An example of a batch file is provided below.
FL.BAT
ECHO OFF
A: (Moves to the drive where the system files are installed.)
cD \FLADDER (Moves to the directory where the system files are installed.)
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:
8 Enter Y to return to the MS-DOS command mode. Enter N to return to the main menu.
l-16
4. BASIC OPERATION
4. BASIC OPERATION
The configuration of the menu screens displayed by the system are shown below.
MS-DOS
$- 4
initial screen
f 4 Fl
“’
Main menu- Edit Title data
Ladder diagram
Symbol and comment
Message
I/O module
System parameter
Print Execution
l-Setting
c (PMC-N/NA/RC/RC3!QC4;QC/NB)
LPASCAL (PMC-N, NA)
(Note 1) The format of the source program of this system is different from that of FAPT
LADDER for the P Series. Thts system uses the mnemonic edit function (F8) to edit a
file having the format of FAPT LADDER for the P Series.
(Note 2) An object file has the ROM format of FAPT LADDER for the P Series. This system
reads a sequence program created by the P Series In the ROM file format. The format
of the floppy disk must be converted.
1-17
Diagram of relationships among the functions of the system
FLOAD98 IFLOADAT
CNC -
. .. . . . .
; ROM ;
; format :4 +q+-+
: program I
: . . . . .. . . . . .. i 3.5inch Binary format Memorv
ffOPPY
FAPT
PASCAL -
. .. . ... .. . .. .
: PASCAL ; II I I fg-pii?-~-
Q I+
: load :- FLPGMS
: module i -+I+ k-1
I 1 I
. .. . . .. . . .. . . .
35inch
ffOPPY
Binary format
Q-l_),
ff3.5inch
OPPY
ASC format
4. BASIC OPERATION
The operations described below are basic operations applicable to all screens.
When the menu items shown below are displayed in reverse video, the user can select the
desired menu item by pressing the corresponding function key.
,
.:,:.:.
;z:,i,:lE :.:_.
::..:::::;
‘j’.,
D,T,i,j,I:(
.j’.,
../ .::.?::is z j;
‘y:)):., pR,$&
:... ..:.
.., :,.: ::::..::
‘j.
)j
;::i,:
3 :;C*MP,i..: 4 j i.&&...y s :;.“:;& i :y:;
:.: ::...: .j,“. .,, .:,: : .‘. fj&“:‘:‘:q , ;::.;&“p~:., * .;&JE+
:. :: 9 5 :.>::;:;;g(, +j ,,
6 ::: ;;:
()
(F,]WI
,,
The escape key <ESC> has the same effect as selecting [END] with the function key. The
escape key terminates the current screen then returns the display to the previous screen in the
menu hierarchy.
The cursor keys < t >, < 1 >, < + >, and < + > are used to move the cursor to
select input items.
When two or more cursors can be used on a single screen, the second or subsequent cursor
can be moved by pressing the <SHIFT> key together with the < + > or -z -+ > key.
The scroll keys <ROLL UP> and <ROLL DOWN > scroll the screen up (to display the
previous one page) and scroll the screen down (to display the next one page), respectively (for
the PC9801).
The scroll keys <PAGE DOWN > and <PAGE UP> display the next page and the previous
page, respectively (for the IBM PC/AT).
This key switches between the overwrite mode c 0 > and insert mode -z I >.
When the < HELP > key is pressed, help information may be output for the specified item.
1-19
4. BASIC OPERATION
(Note) The indications on the key tops may slightly vary from the descriptions of this
manual. depending on the personal computer used.
When the following pop-up menu appears, the desired process can be selected using any of
the three methods described below.
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 key is indicated at the left of each item. To select an item, press the
corresponding function key.
3) Command name
An uppercase letter in (usually, the initial of) an item name is the command name. In the
above case, pressing the letter key -z U >, <Cl>, or <A> can select the Update. Quit, or
Append command, respectively.
l-20
4. BASIC OPERATION
In this case, the user needs to select the PMC model by selecting [SETUP] before selectrng
another menu item. This setting, once executed, is preserved (i.e. setup need not be repeated).
[Operation]
Select [SETUP].
PUC-MI
PIIC-RA?
PUC-RA3
PUG-RB
pcuc;;;
PUC-RB4
PIIC-RB4 (STEP Sip:
PMC-RC
*PWC-RC3
PVC-AC4
PVC-RC4 (STEP SW
PUC-PAI
PUC-PA3
PVC-PC
PVC-NB
Press the <RETURN > key. Then the following message appears and the model name
displayed in the status line changes.
Setup completed.
Select [END].
Select [END].
(Note) When PMC-NA is used, select PMC-N (l/O) on the above screen.
l-21
5. OPERATION
5. OPERATION
5.1 Editing
(1) Start
[Operation]
0 Select [EDIT] from the main menu indicated below.
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 : MNEMONICEDIT
F9 KEY : UTILITY
l-22
5. OPERATION
6 output
program
6 I/O
program
file is modified
PROGRAM
file
c
I=7
Specify the name of the existing file to be edited in the
INPUT PROGRAM NAME field. Specify the name of the file
input
nrnnram
, y’vy’““’ , in which to store the program in the OUTPUT PROGRAM
< 2 L-2 NAME field.
To specify a file that exists in the current directory displayed at the status line, enter the file
name. To specify a file in another directory, enter the relative path and the file name.
Example) A : iFLADDER ‘7
-IT
L
t
i-- SAMPLE2
In this case, the following two lines specify the same file.
A:‘FLADDER’DATA’SAMPLEl
DATA’sAMPLE
l-23
5. OPERATION
FI kEY : TITLE
F4 KFI : ,WSAGE
F5 KEY : I,;0
KIDLLE!
$3 The editing screen for the selected data appears. For example, the screen below is
displayed when [TITLE] is selected.
51 EDITIOSSO
6) PROCRM Ill~~\hlV6
X0
7) MT\ OF I'RO(;ffilWiG
8) PRG-XI IHICSEDBY
9) RUM hRITTL5BY
1 ? 3 4 5 6 iR 9 10 mu
(2) Termination
[Operation]
Q Select [END] or press the < ESC > key on the editing screen.
l-24
5. OPERATION
@ When UPDATE or QUIT is selected, the display returns to the editing menu screen.
(i) To continue editing, select the appropriate function key.
(ii) To terminate editing, select [END]. The display returns to the main menu.
Title data represents the titles of sequence programs generated by a machine tool builder.
(1) Start
[Operation]
0 Select [TITLE] on the editing menu screen.
: IXtLCi'41C-HNEL
RC & FltNI
(2) Input
[Operation]
0 Select an input item (displayed in reverse video) with the < 1 > and < 1 > keys.
l-25
5. OPERATION
e Enter data.
The maximum number of characters usable for each title data item is listed below.
MACHINE TOOL BUILDER NAME : 32 characters
MACHINE TOOL NAME : 32 characters
CNC b NC NAME : 32 characters
PMC PROGRAM NO : 4 characters
EDITION NO : 2 characters
PROGRAM DRAWING NO : 32 characters
DATE OF PROGRAMMING : 16 characters
PROGRAM DESIGNED BY : 32 characters
ROM WRITTEN BY : 32 characters
REMARKS : 32 characters
(3) Termination
[Operation]
0 Select [END] on press the c ESC > key to return to the editing menu screen.
Fl Update
F2 Quit
F3 Edit
0 Press the desired function key. The system returns to the editing menu.
In ladder diagram editing, the user can perform sequence program input, addition, deletion, and
search operations.
(1) Start
[Operation]
@ Select [LADDER] (LADDER DIAGRAM) from the editing menu.
1-26
5. OPERATION
u StBil PO001
:sp
0 SY=S.:rFE
l-AD=xooo. 0002/6552 -
Q-TEST DAT,A NO I 011030/6553S -
HI- z+F- 3-a 4+3l %kztn + c--,-.. 6 t 9 _t 1ocuBmI
(a) When the [View] command is used, a different line is shown. (For the [View] command,
see (5) “Connecting Sequence Program” in Section 3.1.1 of the supplement.)
09 The line shows the name of the file which is being edited, number of the net which is
displayed on the screen, and the number of program steps’maximum number of steps that
can be edited.
(c) The line shows a sub-program number (P address) or label number (L address).
W) The lines show a symbol and comment added to the data at the address selected by the
cursor.
@ AD = X000.0 : Address on which the cursor is placed
8 SY = SAMPLE : Symbol
000216552 Number of current symbols!Maximum number of
symbols
@ CO = TEST DATA NO.1 : Comment
0003Of65535 Number of characters specified in the comment/
Maximum number of characters permitted in the
comment
1-27
5. OPERATION
The ladder diagram editing functions correspond to the function keys as indicated below.
“-@ [coman_d]
QUnder condition CD),holding down [SHIFT] lets you select the following items.
r ::.>,:.: ......:.:,:.
:.,:.:c.::~:~;:i:.:jl :.:,:.:
...\:.:.:
:.:,:,:i..............I. .., ... ....:.:.:,:,~.:.:.:,:.:.:,::.:
:;::,::
.,:::::
........::.:...:.
.:g:.:;er
.:.,_
::~:::~i,~.~:1:I:I.~:
1:1:1:::1:~.:81’:~~~.~:~~:~::.
;.:,I:!y.v.w.,l:... :::::.i’:.:...:.:.:.:,~:.:.:.:.:.:.
, ~~~~~~~ 2 ;,$;!&k&; 3 ~~~~~~~~~~~~~~~~~~:~~
>::.:_:...:.:
.....:.::.
___,..,.).:.:_:.:.‘.l
,.,.
.... ,>:
4 ~~~~~~~:;~~~~~~~
... ........._....
5 ~~~~~~~ 6 :~:~~~~~~~
............y.._7..
,\.,
:.:.:.:.:s..
,.I.:, :..:.: , ~~~~~~~~~~~~~~~~~~~~
.,.:..:.:.:.:_..::
): .:,~):.:.:,‘..,
8 “~:~~:~~~~~~~~~,
.,:,:.:Q..:.)
.. .i::.,.,.,.,.
.,.,,,_
9 ~~~~~~~~~~~:~~~~ , Oii,i’~::i:;~~~I~:::::ii
.,., .~)~);:_:_:.):.:‘:.:.::.~
,.,.
..:.:
.,.,.i,.,.,__.
@ [Delnet]
@ [Search]
... ... ,. ... : ,./.. .. ..,.. .,. ,. . ..:::..:.:...::..: ....:.,_,).
$):: ::,.,
::..‘. ,,.,‘,:
5 ;;,;;w&& 6 ;,&&i; ““‘:7 :i$&“.~. 8 ;. .,~&~:~~.Y: g ‘_.,:_‘,:‘:l:;,~.;i’:i
10,::,;&.;;;:;I..
:.:’ .,.: .C,‘.‘:’ ,.,.,:
.,..:: : ..“.
CB [Copy1 1 Wove1
I, i$$&;:;.; 2 ;:l~a;~&;: 3 : ‘.karch ..I4 5 6 ,., ‘3.” ”..”“’ g .Y’ .: --<;.I’,,. :: :,.
,‘i_down .t;“p,., :,A .:. ..I’ ... .
7.;, . .. ... .
., :. .,<. y
,: :
,,, .. .. * :::;t+r 5 c-up 6 tO-fil 7. to&J. 8. g .: : i.‘, 10 .:,
1 Lj:;::.tii:.:.::..? :. 3 :~..~&~ch : 4 ‘:&own
* [to-org) is displayed in the [File] command mode only. (Thus can be selected.)
@I [File]
Opens a window in which the name of an input program can be specified. Select desired
processing from a POP-UP menu.
9 [ sy Edit]
I
I 0xec 2 cancel 3 4 5 6 7 8 9 10
I
1-28
5. OPERATION
(Note) While the function keys of @ are displayed in ladder diagram editing, a command of
Q can be executed. For example, entering <A > and [COMAND] on the @ screen
has the same effect as selecting F4 [Adress] on the .a screen. To select a
command of 8 in this way, enter the upper-case letter (not necessarily initial letter)
in the corresponding command name shown on the 8 screen.
For sequence program input, select [LADDER] from the editing menu. The function key
programmer menu is displayed. When no sequence program has been entered, 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 program input and function instruction program input are shown
below.
3
[Operation ]
Move the cursor to the start position, then press [ -I I- 1.
The [ -I I- ] symbol appears on the screen. The message “HORIZONTAL LINE
ILLEGAL” appears at the lower-right corner of the screen. This message warns the
user that horizontal ladder diagram line creation is not completed. Enter an address
and bit data.
Enter X0.1 on the keyboard and press the < RETURN > key. The address is set at
the contact, and the cursor moves right.
l-29
5. OPERATION
For function instruction input, press the function key [functnj. Next, enter a SUB number,
then press the <RETURN> key.
A function instruction can also be entered by entering the function instruction name or SUB
number and pressing the [functn] key.
If the user does not remember a certain instruction name or SUB number, a function
instruction table that lists function instructions and corresponding SUB numbers can be
displayed on the screen.
The table can be displayed just by pressing the [functn] key without entering any data.
Then the function instruction table is automatically displayed.
Press the [functn] key to return to the ladder diagram screen from the function instruction
table.
H
. I
I
ACT 1 MOVE (1) (2) (3) (4)
0000 0000 0000 0000
LL
- Output address
Control condition
Input data address
Low-order 4-bit logical multiplication data
High-order 4-bit logical multiplication data
-It-- MOVE
0000 -c-(l)
SUB 8 0000 --(,a
0000 -(3)
0000 -(4)
l-30
5. OPERATION
[Operation]
@ Enter a control condition.
Press [ -i t- 1. Next, enter an address and bit data, then press the <RETURN>
key. The cursor moves right.
[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.
(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 net when 70 lines are exceeded,
and the display of the current net is discontinued.
“The NET is larger than the editing buffer.”
In this case, specify the net to be displayed. rrsing the ladder diagram search
function (such as net number search).
l-31
5. OPERATION
total for that screen. In addition, a space line between nets is counted as a valid line.
The number of lines in each net to be displayed is determined as follows:
(b-l) Basic instructions
One line is comprised of one basic instruction.
b-1- 1 line
L-I *lines
r
RST
Number of control conditions = 2
Number of parameters = 4
Number of lines = number of
parameters + 1 = 5 lines
1-32
5. OPERATION
1
0000 0000 0000 Number of lines in the data table
0000 0000 0000 section = 11/6
0000 0000 0000 = 1 with remainder 5
0000 0000 = 2 lines
I
SUB 27 0005
CODB
0007
0300
D320
1
Number of lines in the data table
00000000 00000000
section = 514
00000000 00000000
= 1 with remainder 1
00000000
= 2 lines
l-33
5. OPERATION
rT
ACT
Net A t- SUB 49 0011
DISP
0003
I
I.
Net B
: . . . . . . .. .................................................................... ........
Net C
c) Examples of symptoms
Example of symptom (a-l)
- The ladder diagram can be edited only when the “total number of message data steps”
parameter of the DISP instruction (SUB 49) is less than 396. This is because when
the total number of steps is 396, the net consists of 70 lines.
If a net that consists of a total of 396 steps or more is created during mnemonic
editing, the following message appears, and the display of the net is discontinued.
“The data table is too large.”
1-34
5. OPERATION
1
68-line net
Display screen
. t+r
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . .. . . . . . . . . . . . . . . . . . .. . . . . . . . . . .
! Number of MOVE
i instruction lines =
i number of parameters
; (4) + 1 = 5
_ A basic instruction net cannot be entered together with another basic-instruction net, if
the total number of lines is greater than 70.
I . . . . . . . ]::!j .I...l
- When the CODB instruction (SUB 27) and DISP instruction (SUB 49) are edited on the
same screen, if an attempt is made to enter 396 as the total number of message data
steps for the DISP instruction (SUB 49) the following message appears, and the
l-35
5. OPERATION
attempt is rejected.
“The NET being created is too large.”
This symptom also occurs in a combination of two DISP instructions and a combination of
CODB and COD instructions.
For example, if the number of tables for the CODB instruction is 200, the total number of
steps for the DISP instruction can be only 66 at maximum. The calculation results are
shown below.
FIST
-II- 4 bytes
ACT 200 data tables
-II-
Number of CODB
000 00000000 00000000 _ instruction lines = 55
I[ I_
002 00000000 00000000 Function instruction
Display screen
. . . . . .. . . . . . .. . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. section = 4 parameters
+ 1
196 00000000 00000000 Data table section
198 00000000 00000000 = 20014 = 50
Calculation of DISP
- instruction data items -
that can be entered
Function instruction
sections = 3 parameters
+ 1
Number of remaining
lines = 70 - 55 - 4
= 11 lines
.. . . . . . . . . . . . . . . . . . . .. . . . .. .. . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . .. . .. .
Data tables
= 11%=66
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.
Q Up to eight contacts and one coil can be entered in one line on the screen.
However, this restriction does not apply to a sequence program created in mnemonic
format. When a sequence program created in mnemonic format exceeds this limit, it is
displayed over several lines with a continuation symbol.
This continuation symbol cannot be deleted with [ ----- 1. Use [Delnet] (net
deletion) to delete this symbol. (See Item (6) in this section.)
Lines in an already created sequence program can be replaced in the same way as described
in Item (3) above.
Move the cursor to a program section to be changed, then enter new data.
Press the [comand] soft key of the function key programmer menu and use the function keys
indicated below.
To terminate the programmer menu, press the < ESC > key.
.:.......................................
.......................
................. ,: ................. :,: : :.:.:.: .. .... .... ...
I
: :..:.q.::::. :;. . ‘,,::::
........
.....~:.:::‘.:+~:.~~x~
:zi~~~~~~::
.)
[Insert]
As described below, there are four types of sequence program addition in a ladder diagram.
l Addition on a line
Move the cursor to the position to add item(s), then enter item(s) in the way described in
Item (3) above.
l-37
5. OPERATION
[Operation]
Move the cursor to the position shown above.
Press [ 4_ ] to delete the vertical line to the left extending upward. This
disappears.
Press [ A ] to create a vertical line extending upward to the right of the cursor,
then press [ - ). A horizontal line and vertical line are created.
Move the cursor to the point on the line where a contact is to be added.
-To be added
To add a line vertically. an area is required for the addition. To create such an area, the
lower part of the ladder diagram must be shifted down by one line. To do this, move the
cursor to any point in the ladder diagram enclosed in dashed lines, then press the [insnet]
key.
Each time the [insnet] key is pressed, the lower part of the ladder diagram is shifted one
line down to create an area for addition. Make an addition in this area.
After line addition, any remaining area (as in the case where two lines are added in an area
large enough for three lines) can be left as it is.
[Operation]
@ 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
When the [insnet] key is pressed without entering a numeric value, one line is inserted.
When the [insnet] key is pressed after entering a numeric value, the number of lines
specified is inserted.
Move the cursor to the desired position and press [ -_( l-j. Then set address data
and press the <RETURN > key. The the cursor moves right.
[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 when the cursor is positioned as shown in the left-hand
figure. a blank line is inserted as shown in the right-hand figure.
[Operation]
0 Enter the number of elements to be inserted, then press the [inselm] key. The entered
number of elements is inserted.
If the character <A> is prefixed to the number of elements to be inserted and the
[inselm] key is pressed. elements are inserted after the cursor.
(If the [inselm] key is pressed without entering the number of elements to be inserted,
just one element is inserted.)
_‘~&$+ - ,I <c..mm I I
II n.. :.>:.....:.>:... (.
I
4
Cursor
1-39
5. OPERATION
If the (inselm] key is pressed when the cursor is placed as shown in the left-hand
figure, an element is inserted as shown in the right-hand figure. The element is
inserted before the cursor.
If the character <A> is entered and the [inselm] key is pressed when the cursor is
placed as Shown in the left-hand figure, an element is inserted as shown in the right-
hand figure. The element is inserted after the cursor.
-_ -
(a) A program can be partially deleted by positioning the cursor at the location to be deleted
-_
&td pressing one of the below three soft keys
[ e__--
1 : Deletes a horizontal line, relay contact, relay coil, etc.
[4 I: Deletes a vertical line extending upward to the left of the cursor.
1 2 ] : Deletes a vertical line extending upward to the right of the cursor.
(b) Use the [Delnet] key to delete a program net (section from an RD instruction to a WRT
instruction).
[Delnet] 1
[Operation]
Deletion
Move the cursor to the net to be deleted, then press the [Delnet] key. The net to be
deleted is displayed in red.
l-40
5. OPERATION
@ When the nets to be deleted are known beforehand, move the cursor to the first net to
delete, enter the number of nets to delete. then press the [Delnet] key. With this
operation, steps G and 8 can be omitted.
(Search1 1
When this key is pressed, the start of the sequence program is displayed on the screen
and the cursor is moved to the start of the program.
(b) [bottom]
When this key is pressed, the end of the sequence program is displayed on the screen and
the cursor is moved to the end of the program.
(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. When an address
is found, it is displayed on the screen. An address to search for can be specified in one of
two ways.
l-41
5. OPERATION
Gll.6
D32.0
II
x0.4 -
II . When the same address is found,
II
the cursor moves to this location.
x0.5 021.2
l-42
5. OPERATION
When a relay coil with the specified address is found, the section of the program
containing it is displayed on the screen and the cursor is positioned at the relay coil.
If the search operation fails to find a relay coil with the specified address, an error
indication appears.
(g) Search operation using the cursor keys (< c >, -z + >)
l Enter an address or symbol, then press a cursor key. The address is searched for.
l Enter a NET No., then press a cursor key. The NET No. is searched for.
l Enter a function instruction name, or enter S followed by a function instruction number,
then press a cursor key. The function instruction is searched for.
Example: Enter Sl, then press a cursor key. The function instruction END1 is
searched for,
l-43
5. OPERATION
G-SRCH mode continues unless pushing the < ESC > key or the [cancel] key.
A
__1. 1st net of LEVEL1
8
I@
@
@
t displaying on
m t cursor one of Whole
the screen subprograms program
@ 1
0
@
a Searching result
When the object of search is found, the cursor will move to the position.
In case of finding in another program the program which is currently displayed will be
closed.
Then, the program which contains the object, will be opened to display the object
position with the cursor.
At this time, whether to save or quit modifications is inquired, in case there are
modifications in the program to be closed.
When two or more objects exist, the result of search are displayed in order of 1) one
by one.
l-44
5. OPERATION
3) Operation
The global search is operated with the following function key.
0
(comand]
J
8 [comand]
@ Select the [G-srch] with pushing the [SHIFT] (the following will be displayed) in state of 8
[G-SRCH] 1
b) Execution of search
Refer to “(c) [search]“,“‘(d) [w-srchj”Y(e) [s-srch]” in “(7)Searching in a sequence
program”, for how to specify the target of global search.
A multiple-net sequence program can be copied net by net. Specify the net to be copied. The
net can be copied in the same file that IS being edited or Into another file. The selected net
remains as it was.
l-45
5. OPERATiON
Specified file
[COPY1
Range to be copied
[until]
[COPY]
.,:/..:...\:::..:
..:...;.
. .:,:,y . . . . . :.>;.x ,:.y
I I
‘...,’ :, .‘.Z’_’ ,” . . ...‘).’ .:.:.::,:.:.‘.:.‘:.:.:,:.;,, ..:.:.:...:.:.:.::.‘...:.:.:.:.L:.,. :.:.:i’i .‘.....‘.:.:Q:.:.:~:.:.~.:.: 1:.
$$:::;$$,j:$;~:
$ ++t
:.:.:.:.:.:.:,‘.‘:y(.:.~.:::
[Operation]
Copying a net
Place the cursor on the net to be copied and press the [Copy] key. The selected net is
displayed in yellow.
Specifying the copy destination using the [to] key (Copying the net or nets in the same
file)
Move the cursor to the copy destination in the same file and press the (to] key. The
l-46
5. OPERATION
selected net or nets are copied immediatelv above the CODY destination specified by the
cursor. To copy the selected net or nets two or more times, enter the number of times
they are to be copied before pressing the [to] key.
c3 Specifying the copy destination using the [to-fill key (Copying the net or nets into another
file)
1) Press the [to-fit] key. The following message is displayed.
If no program is specified, LATMP is created.
i:~l::::::~~:l::t’:l:::ill:~:~~:~:~:~:~
.:......$.,, ‘.’‘;:
:‘.‘?:(“.‘.”
.:.:::::::.,.,. ::::::ix::::
~:~~.:.:.:.:.:c.:.:.:.::~~~~:~:~:~:~~~::ii:
:::.:.:..:...:...:.:.:.))::
- c, .‘:::
:::::::
:......:,:,
...,,:.
.:::;.:~ :
j)) : ::.:,: ................,.::
..... .y.:.“:.:~l:~‘.~:..:‘.~.‘:
.,...:.,,,...,:.
(LATMP file: Provisional work file used in editing)
*
2) Enter the-name of the file into which the net(s) is to be copied and press the
<RETURN > key.
3) Select desired processing from the following POP-UP menu:
/I
4) If the selected destination file is present, the following POP-UP menu is displayed.
Select desired processing from the menu.
@ If the nets to be copied are known beforehand, place the cursor on the first net to be
copied, enter the number of nets to be copied, then press the [Copy] key. Steps @, ai,
and @ can be skipped.
A multiple-net sequence program can be moved net by net. Specify the net or nets to be
copied. The selected net or nets can be moved to another place in the same file that is being
edited or output to another file. The selected net or nets are deleted.
The only difference between copying and moving is that the selected net or nets are deleted in
moving.
[Move]
l-47
5. OPERATION
[Operation]
Substituting [Move] for [Copy], follow steps 0 to $3 for copying.
A source program can be combined to another source program that is being edited.
The source program to be combined can be displayed and edited separately, then combined to
the original source program that is being edited.
Section to be edited
1 Edit
t
I F-01
Combine
Edited file to be
combined
The model specified for the FAPT LADDER system must agree with the PMC model of the file
to be entered on the original screen. However, the file to be combined can be specified for
(TO) or entered for (VIEW) even if the two models do not agree with each other. (If a
disagreement is found, a warning message is displayed.)
In this case, no errors will be detected even if the file to be combined contains an address
range or function instruction format that does not agree with the specified model. (The error
will be detected in compilation.) When ignoring the warning message to continue the
operation, extreme care is needed.
l-48
5. OPERATION
1) Function keys
[Comand ]
..‘.,.:,. :!.. .. .. ..
~ BPiiiei:’ ” ::.
I_lnreti. ” : :“Adiers
:.
Se&&. j r &,fjjf ;:;:: ;,.:&qove.. & syEdii
inmet
ORIGINAL = display when the file is opened for the first time
View = display when the file is opened using the [File] command
PMC Model on which editing is carried out on the View 1 screen
+ SliB71 I PO@@I
ISP I
sY=sAwlE 0002/6552 1
Fig. 51.2 (8) Screen Displayed when a File is Opened by the (File] Command
l-49
5. OPERATION
+ (Save) $ (Edit)
1 - 50
5. OPERATION
3) Examples
[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.
The file is inserted immediately above the net specified in step 0. (Original
screen)
[Operation]
Place the cursor on the insertion point on the original screen.
Select [File].
Enter the name of the file to be combining and press the <RETURN > key.
Edit the Ladder program on the view screen. To terminate editing, press the
<ESC> key. (Ladder editing can be performed and terminated in the
conventional way.)
l-51
5. OPERATION
8 Return to the screen of step-@‘and check -the name of the file output in step @.
Then, select Fl (To).
Y
.- @I -The-file is inserted immediately above the net specified in step 0. (Original
screen)
[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.
Select [Copy] or [Move] on the view screen and specify a desired range with
(until].
From the following function menu, select [to-org]. (Specify insertion into the
original screen.)
[until]
jj
The data is inserted immediately above the net specified in step 0. (Original
screen)
1-52
5. OPERATION
(11) Editing a symbol and comment from the ladder diagram editing screen
On the ladder diagram editing screen, a symbol and comment added at the specified address
can be edited.
[Comand]
[syEdit] 1
I I
::,Y;~y~r”::~:~ .: ~~:;~::;:‘:::
i:.,:,:j ::
:ig:::iexee+:: aiijans~l, j3
..I. .?. .A. .. ..
: .. ..
,.,., .,.,. ,:
[Operation]
Specifying an address
To edit a symbol and comment in a ladder diagram, place the cursor on the corresponding
address and press the (syEdit] key.
Terminating editing
(exec] key : Terminates editing after modifying the data.
[cancel] key : Terminates editing without modifying the data.
Each function key can be directly selected with the [comand] key. Enter one of the character
strings below, then press the [comand] function key. Those portions that are enclosed in
brackets can be omitted.
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. The solid vertical
line is for creation and the dashed vertical line IS for deletion. The menu item applying
to a function key depends on the ladder diagram and cursor position.
l-53
5. OPERATION
(13) ZOOM
When the source program type is “FORMAT-B”, it is realized with easy operation to refer and
edit another subprogram, which is called by the CALU CALLU instruction from the program
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 of the CALUCALLU instruction and push the
<RET> key.
b) The program now on opening hides from the editing screen. Then the subprogram
which is specified by the parameter in mentioning above appears on the screen.
II
Close the current program.
Fl Save 8 zoom
F2 Cancel I
3) End of ZOOM
When the end operation with the =zESC > key is attempted in the program editing screen
by ZOOM, it will return to the state when ZOOM is started. Moreover, it is possible to
return to the program configuration screen all at once.
b) F2:Quit
It returns to the program screen where ZOOM was started, after the content of current
program screen is cancelled.
l-54
5. OPERATION
For the function. refer to the., “chapter 12. Creating a step sequence (14) List"of "FAPT
LADDER (personal computer) supplementary operator’s manual B-66131/04-6”.
Only the operation is described here.
1) Operation
The command “List” is operated with the following function key.
0
[comand]
1
8 [comand]
...... ,.,:.:
........ ..........
............................................ : .......... ..:. I :,,,:
Iy::‘.Ii:‘: ;.,,:;<;;;:<.y ......... .........,,.,:
:.... ....ix,? .y,:+:)( ........
..:. ‘j. ......
: : ‘: ..........
::.IQi
1$$$i&$;;$ 2 :‘~,~i5t~ 3 $$$&$:$j;j4 ‘.$&&&r$r_i ‘j ;;&&&;i 6 $$;$$.tt$$7 ~&~~~
...... : ..:.......
8 ~~>:,.$&$;~~$ g $;&gijllia@:ii, o:~~:~~:.:~:~~~,d~~
.....: .................... .. .......... : ......,: ......
@ Select the [List] with pushing the [SHIFT] (the following will be displayed) in state of 8
..,.
.::,.
.:,.
. :..:.....; ./. :.,..
i..::.:.:.:.._‘,‘...‘........‘.,.~.~i.,~~
~, :..., ..,.
:. ....:.:.,.:
I ..I
,.. .. :
i~~~~~~~~~i:aii
.A.. . . . . . .I .. .. : .::,::.:.. .. fZy... ..:.:.;:.:. :..,. I’I’I:I:I:i:i’:
.,y,.:. :.:::,.
It is able to write the comments between ladder nets. These comments are called “Net
comment”, and each of them occupies two steps in sequence program.
l-55
5. OPERATION
b) Lines at the cursor and after are shifted down, and the area for comment enclosed by
‘(” and “)’ is inserted.
Then the cursor changes into character-size cursor, and type comment sentence onto
the area.
The area for Net comment expands and shrinks by two lines (four lines at four lines
display mode) automatically according to the comment sentences. Every Net comment
can expands up to a hundred lines.
a) To determine the editing Net comment, press [ end ] or < ESC>. Then the editing
comment is fixed, and the Net comment editing mode is finished.
b) To cancel the editing Net comment, press [cancel]. The new Net comment will be
cancelled and erased.
Note) The number of characters in a Net comment is limited to 4095 bytes: counting one
ASCII character as one byte, one Japanese kana as one byte, one kanji character
as two bytes.
‘Line feed’ is also available on Net comment. Line feed is helpful to save memory
for Net comment.
a) Place the cursor on the Net comment which you want to modify and press
” <Shift > + [netcmt]” or < RET > . The Net comment editing mode becomes active,
and the Net comment will be ready to modify its contents.
b) At Net comment editing mode, to insert a blank line into Net comment, press [inslin].
1-56
5. OPERATION
[inslin] will shift lines at the cursor and after down by one line, and make a blank line
at the cursor position.
(’ Net comment
..
is written in here. l
)
(’ y:
:. . ‘)
(’ All characters you can enter are available. ‘)
(’ l
;
c) At Net comment editing mode, to delete by line, press [dellin].
[dellin) will delete whole one line at the cursor and shift lines after the cursor up by one
line.
d) To exit from Net comment editing mode, press [ end ] or < ESC >.
e) To cancel the modifications you have just made, press [cancel]. [cancel] will abandon
the modifications and the Net comment will be restored as it was before the
modifications.
- Entering Net comment editing mode by ” c Shift > + [netcmt]” or <RET > with the
cursor on the Net comment which you want to delete, and then press [delete].
A Net comment consists of the information of position in sequence program which is called
“Net comment pointer”, and “Net comment string data” which is comment sentences
themselves. These two elements are usually combined one to one to make a Net
comment, but the partner might be lost by illegal file operations or something, such as
copying the ladder file “‘.#LA” or modifying the Net comment data file “NETCMT.OOO” by
user. When a Net comment pointer loses its Net comment string data, the Net comment is
called “Lost Net comment”.
Lost Net comment is displayed as blank Net comment enclosed by ‘I(“’ and “‘)” which is
displayed in purple or dimly on monochrome display. Lost Net comment can be
1 - 57
5. OPERATION
normalized by editing operation. Lost Net comment can be edited as a normal Net
comment, such as deletion, copying and so on.
It is able to specify the position to feed page at printing ladder diagram. This specification of
the position is called “New page”, and each of them occupies two steps in sequence program.
b) Lines at the cursor and after are shifted down, and the mark of New page is inserted.
New page can be handled as same as other ordinary ladder nets. The operations such as
copying [ Copy 1, moving [ Move 1, and deleting [Delnet] ladder nets are also effective on
New page.
[Operation ]
@ Press the (ESC > key on the following editing screen.
l-58
5. OPERATION
a) 1:Save(update) 81quit
After current content of the editing is preserved, the editing screen will be ended.
W F2:Quit
After current content of the editing is cancelled, the editing screen will be ended.
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 “a)“.“b)” or “c)“, it returns to the program screen where ZOOM
was started. But with this operation, it returns to a program configuration screen at all
once from the nested state.
Either the above-mentioned is selected and it returns to the program configuration screen,
the main menu or the program screen where ZOOM was started.
a) After the error net is corrected or deleted and the state of the error is released, the end
operation will be done.
b) When pressed <ESC> key in the state of 0 after “CAN” is typed (meaning of
CANCEL), the menu of 6, will be displayed.
- When Save is ordered, it will be preserved after removing the error net.
- When Quit is ordered, it will be able to return to the state before editing by
cancelling the content of the editing.
l-59
5. OPERATION
In FAPT LADDER, you can assign names or add notes to l/O signals, internal relays, and can add
notes to a sequence program.
IMaximum
number
Duplicated
6552 entries
Not allowed
Not supported 64 kbytes - 1 byte
I (65535 bytes)
definition
Display on Yes
t-CRT’ MDI
l-60
5. OPERATION
* Ver.8.4 or later
Display on CRT/MD1 No
l-61
5. OPERATION
2) Source programs for above-mentioned PMC, created with ver.8.1 or earlier, need
conversion.
< +- >, < + 7, <t 7, < 5_ 7 Moves the cursor to another field to be edited.
<Shift> + <c>,<+> Moves the cursor to another position within the field to
be edited.
To sstart the front-end processor for Japanese word input, press < CTRL > and < XFER 7
the keys.
For the operation of the front-end processor for Japanese word input, see the corresponding
manual.
To exit from the front-end processor for Japanese word Input. press the < CTRL 7 and
‘<I keys.
1-62
5. OPERATION
(1) Start
[Operation]
@ Select [SYMBOL] (symbol and comment) from the editing menu.
3l
_.~
~UDKESS SFWL COWEST
0001 XUOOO. 0 SIY-:. CUWEST I?Z’PUT SLWLE So. 1
lm2 x0000. 1 W-B CLMEXT INPUT WC’LE ho. 1
IJUO3 )ilJOUlJ. 2 WI-C COWXT lX’CT SLWLE Xo. 1
! UllO‘l 5oouu.3 m-i CUWST ICPUT SUW’LE hc. 1
I
I
!
A new symbol and comment can be added at an address to which no symbol or comment is
assigned.
[Operation]
Select [ADD] on the symbol and comment editing screen.
1 [ 1I
t t t
Address field Symbol field Comment field
Enter a symbol.
Enter a comment.
1-63
5. OPERATION
@
.- The entered address, symbol, and comment are cleared from the window and entered into
the file.
When no symbols and comments are entered, the system is automatically set to receive new
data.
8 Move the cursor by pressing the < c >, <+>, < T >, or c 1 > key and edit the data.
To move the cursor within a field, while pressing the e Shift > key press the < cz- or e -+>
key.
[Operation]
Place the cursor on the comment to be moved.
Select [DELETE].
Select [PASTE).
[Operation]
0 Place the cursor on the comment to be copied.
2 Select [COPY].
l-64
5. OPERATION
8 Select [PASTE].
[Operation]
@ Select [SEARCH] on the symbol and comment editing screen.
SEARCH :
0 Enter the symbol or address to be searched for and the data number.
@ The system searches for the symbol or address and the data number in that order. The
cursor is moved to the searched data.
[Operation]
0 Place the cursor on the NO field.
C3 Select [DELETE]. Both the symbol and the comment are deleted.
[Operation]
0 Place the cursor on the SYMBOL or COMMENT field.
[Operation]
0 Place the cursor at the top of the range to be deleted.
(2 Select [AREA]. The entire line is displayed in reverse video, and the following
message appears on the screen.
1-65
5. OPERATION
[Operation]
0 On the edit screen, select [END] or press the <ESC> key.
(9) Editing screen (the case of model setting is PMC-RBWRB4 (STEP)/RCWRC4 (STEP))
Note 1) ‘T’ is the indicator. Symbol/comment are displayed with turning at this point in ladder
diagram editing screen.
l-66
5. OPERATION
1) Press [SEARCH] and the pop-up menu apears to specify strings for search.
Furthermore, the display of function-key changes as the undermentioned.
;: f$@f.j.
.. ... . . .. ..;....
.,. .
:\\y .:.
5 ;: .:C,o’$
: ..
.,.,.,.
.,: 6 I’ .:,,,::;j::i::jj)j::
.+.. ::...
..
.,.,.
.. :
, $pj.:i”““:::“,
.,\ .,
,. ,,. 8
‘. ‘::.:
..:.
_I...
:“.
..... . ... .. 9 ::y .:y .:.:.:<
:. .,..::.‘:;::..{:...
, o ....;;:, ..: : .,
... ,,
:.. I
2) Input strings and specify the data kind for searching by function-key.
A part of strings is available only in case of [RELAY]/[COIL].
l-67
5. OPERATION
An arbitrary message can be displayed on the CRT!MDI screen of the CNC, using the DISPB
instruction (SUB 41), which is one of the function instructions. Such a message is created as
described below.
The types of characters usable in message data vary from one CNC/PMC model to another, as
listed below.
PMC-RB/RB2/RB3/RB4!RB5/
F16 A 0 0 0
RBG.‘RCIRC3IRC4
F15B PMC-N:NA/NB X X 0 0
ra’,“’ PMC-PAlIPA3 X X 0 0
The half-size kana and alphanumeric characters can be entered using the kana and alphanumeric
keys on the keyboard. Similarly to symbols and comments, Japanese-language text can be edited
using the Japanese-language input FEP (front-end processor). The number of characters is limited
as follows:
The edit method that can be used varies between the CNCIPMC model in which Japanese
language (excluding half-size characters) can be used and other models. This section describes
the procedure common to all models (only alphanumeric characters are entered), using the PMC-
RC as an example.
(1) Startup
[Operation]
$9 Select [MESSAG] (message) from the edit menu
l-68
5. OPERATION
1 002 ,401:.!
! 003 .AOO.2
; 004 ,400. ,’
(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.
a Place the cursor at the location where modification is required. using the cursor keys.
[Operation]
0 On the message screen, select [TOP] or [BOTTOM].
1-69
5. OPERATION
(5) END
(Operation]
@ On the edit screen, press [END] or < ESC > .
8 Select one of the above items, and return to the edit menu.
The address of each module in the I/O unit is set and deleted as described below.
(1) Startup
[Operation]
0 Select [MODULE] (I’0 module) from the edit menu.
!ADDRESSCROI'P
BASE SLOT WAVE ADDRESSCROUPBASE SLOT WE
l!iEAXCH
?Ihpt"l3 HELP 1 5 606LETE7DELAi.L
8 5, 10 END
l-70
5. OPERATION
x0000 0
'WOOi 0 i 00 :: \oooo
YOOQl
\ooc2
\0003 ; ! :: If
1: \ 0002
1 0003
\000: YOOO4
yoo~ 0 0 01 :I F0005
FOO06
YOOCi
%’
sooo~ YOOOS
10009
coo10 YOOlO
~0011 10011
\OO!? YOOl?
xooi3 YOO13
\OOl? YOOi4
.\OOlI YOOl5
Fig. 51.5 (b) Ii0 Module Edit Screen (models in which more than one channel can be set)
(2) Channel switching (only for models in which more than one channel can be set)
[Operation]
0 Select (NXT.CH].
[Operation]
ci! Select [PRV.CH].
(3) Setting
[Operation]
Place the cursor on the start address when a module is to be set.
GROUP.BASE.SLOT.NAME
(Note 1) The module name that can be specified may vary depending on the model of the PMC
or I’0 unit. Selecting [HELP] or pressing the <HELP> key can display the module
names that can be displayed in the NAME field.
l-71
5. OPERATION
‘[Operation J
@ Place the cursor at the address where the module is to be deleted.
0 Select [DELETE].
[Operation] ” +
0 Select [ DELALL].
(iii) To delete the modules of one channel (for models in which more than one channel can be
set):
[Operation 1
@ Select a channel for deletion.
8 Select (DEL.CH].
[Operation]
@ Press [SEARCH] after an address is specified.
[Operation]
On the edit screen, press [END] or < ESC >.
/I
Select one of the above items. and return to the edit menu.
l-72
5. OPERATION
[Operation]
0 Select [END] or press the < ESC > key on the editing screen.
Fl Update
F2 Quit
F-3 Edit
@ Press the desired function key. The system returns to the editing screen.
(1) Start
[Operation]
0 Select [SYSPRM] (SYSTEM PARAMETER) from the editing menu.
(2) Input
[Operation]
(J,) Select an input item (displayed in reverse video) with the < 1 7 and < 1 > keys
Q Enter data
1-73
5. OPERATION
(3) Termination
[Operation]
0 Select [END] or press < ESC > on the editing screen.
II
@ Select a function key from the above. The screen display returns to the editing menu.
(4) System parameter editing screen and input items for each PMC model
(a) PMC-L/M
[Editing screen]
0 PMC-L
S:i,%;O:
s)
81 11
0- !Xo
j) BCD ?-DIGITAREA OBYTE ( 0- 400
)
F'!KTYPE = L
R-AREA 0
l-74
5. OPERATION
@ BCD 2-DIGIT AREA (area for settinq and disolavinq in two-diait BCDl
This parameter specifies the size (in bytes) of an area used to store addresses that can
be set and displayed on the screen (CRTIMDI) in two-digit BCD. This area is allocated
after the BCD 4-DIGIT AREA in nonvolatile memory.
One byte is required for two-digit BCD display. Therefore, this parameter must be set
as follows:
l-76
5. OPERATION
CYCLE TIME
This parameter specifies a sequence program execution period of 16 or 8 ms.
Note, however, that this parameter cannot be set with PMC-L and PMC-M (MMC);
PMC-L is always set to 16 ms, and PMC-M (MMC) is always set to 8 ms.
(b) PMC-P
[Editing screen]
l-77
5. OPERATION
[input item]
@I PMC PARAM. SIZE (0 address size]
This parameter specifies the size (in bytes) of nonvolatile memory in the common
nonvolatile memory (0 address) and internal relay (R address) area.
In the initial state, no internal relay (R address) can be used. Be sure to specify this
input item when using an internal relay.
[Editing screen]
@ PMC-N/N (I/O LINK)
@ PMC’QA
4050 series
( O:BICARF.l:BCD
\
10::; 100 - 150s
1 0.W. 1:YES
0:
PUC TYPE j PA
l-78
5. OPERATION
[Input item]
COUNTER DATA TYPE
This parameter specifies whether the format of a counter value used with the CTR
function instruction is to be binary or BCD.
The table below indicates ladder execution time status during an execution period of 8
ms.
100%
150% 1 ~~~~ 5ms
7.5ms
Note, however, that increased ladder execution time on the first and second levels
reduces the following processing times:
l PMC screen display time
l CPASCAL processing time
l Ladder processing time on the third level
PASCAL EXEC RATIO (ratio of PASCAL processino time to PMC screen processin@
The initial setting gives the same priority to C/PASCAL processing and PMC screen
display. This parameter allocates processing time to the following:
l PMC screen display time
l C/PASCAL processing time
l Ladder processing time on the third level
Under this setting, PASCAL can run periodically even during PMC screen display.
l-79
5. OPERATION
8 PASCAL ORIGIN
This parameter specifies the start address .of the task control block (TCB) of a PASCAL
program.
When OOOOOOH is set in the PASCAL DATA ORIGIN parameter, %FF4000H (or
sb800000H when an optional RAM is used) is assumed as the address.
l-80
5. OPERATION
The table below indicates ladder execution time status during an execution period of 8
ms.
100% 5ms
150% 7.5ms
Note, however, that increased ladder execution time on the first and second levels
reduces the following processing times:
l PMC screen display time
l Language program processing time
l Ladder processing time on the third level
@ LANGUAGE ORIGIN
This parameter specifies the start address of the link control statement data of a
language program.
Initial value 000000 Setting range Address in the language program storage
area
1-83
5. OPERATION
0 KEY DI ADDRESS
.- Specify the start address (PMC address) of the external Dl where the operator’s
panel’ is actually connected.
,,
l-84
5. OPERATION
5.2 Printout
A sequence program can be printed out. When PC9801 is used, PRINT.SYS must be installed
beforehand. Install PRINT.SYS according to Section 2.1 .l.
For printout, FAPT LADDER allows the user to set the top margin, left margin, line spacing and
cross reference. For details on setting, see Section 1.4 of Part II.
l Compatible printers
(Note) To use an Epson VP1 000 with an NEC PC9801, a program modification is required. For
details, see Section 1.4 of Part II.
l-85
5. OPERATION
:iliiiiliiiiiiiiiiii~~~pR~N~~~~~~~~~~~~~~~~~~~~~~ ’ 4
C:FRC4-STEP
TITLE : @#I/YES1
SYSTEMPARAMETER : [!WYESl
SYMBOL& COMENT : WYESI
f mT;l;;
LADDER
DIAGRAM
: [OPTION]
Added -> ~~...-I ,um
: [OPTIONI
I/O UODULE : WYESI
MESSAGE : [Em/YES1
: [OPTION]
CROSSREFERENCE
LIST : [CWYESI
: [OPTION]
BIT ADDRESS
MAP : #tU/YESl
C:YRC4-STEP
.fil::l:i
Fig. 5.2 (e) Optional setting menu for step sequence diagram printing
1) PRINT UNIT
Select either only a specified sub-program or all sub-programs.
When selecting “MODULE”, specify the printing sub-program name to “MODULE NAME”.
2) SUB-PROGRAM NUMBER
Select either not printing / printing sub-program number which belongs to a step sequence
program.
l-87
5. OPERATION
Items to be output to a drawing are specified as described below. More than one item can be
specified at a time. Some set items may not be displayed, depending on the model of the
PMC.
8 Specifying options
For data having optional items, place the cursor on the desired option, then press the
<RETURN > key. The screen for specifying the corresponding option will appear. After
entering the necessary value on that screen, press the < RETURN > key.
l-88
5. OPERATION
(Note 1) When an address specification is made, addresses are output in the sequence: X. Y,
F, G, R, A, C, K, D. T, variable address, P. In this example, therefore, Y and all
subsequent addresses are output.
Fig. 5.2(f) Example of Printout of a Ladder Fig. 52(g) Example of Printout with a
Diagram with Cross Reference Data Multiple coil Write Check Indication
l-89
5. OPERATION
+ P102
P160
l-90
5. OPERATION
[Operation ]
0 Select [SETUP] on the output item selection screen.
:
I P!P\PER
SIZE / LADDERPRIST
10 INCH/ ASCII
* 10 PiCH/ GRAPHIC
15 INCH/ ASCII
15 IKCH/ GRAPHIC
0 Current output form is indicated with *. To change the output format, move the cursor by
< t >orc J >andenter<RETURN>.
@I After selecting forms, select [END) to return to the output item selection screen.
[Operation]
Select [PRINT] on the output item selection screen.
Printing is started: during printing, the indication “PRINTING IN PROGRESS” blinks on the
screen.
When printing ends, the indication “PRINTING IN PROGRESS” disappears. (To stop
printing halfway through, select [BREAK]: the screen display returns to the input program
specification screen.)
(7) Termination
[Operation]
l-92
5. OPERATION
$ Select [END] on the input program specification screen or the output item selection
screen.
Note) If the step sequence function is selected when setting a model, the function for printing
a diagram according to a specified control statement (file with extension .#LS) is not
supported. The [LIST] command for creating a control statement is not included in the
displayed function key menu and cannot be executed.
(9) The note if the step sequence function is selected when setting a model
1) Net Numbers
When a ladder diagram is edited, net numbers starting from 1 are assigned to
subprograms. When a ladder diagram is printed, sequential numbers are assigned to all
subprograms in ascending order of subprogram numbers.
2) Cross Reference
A cross reference can only include information referenced by the ladder, first, second, or
third level, or by ladder subprograms. If ladder subprogram PO001 is referenced only by a
step sequence subprogram, and if address PO001 is specified to print the cross reference,
there is “no reference information.”
l-93
5. OPERATION
5.3 Compilation
During compilation, an edited source program is translated into a ROM format file (object file)
executable by the PMC. Uncompiled programs cannot be transferred to the ROM writers (PMC
writer or FA writer) or RAM for the PMC. With PMC-R series, PMC-QC, PMC-NB. compilation can
be performed in one of two modes: normal mode and condensed mode.
l Condensed mode
With PMC-R series, PMC-CC, PMC-NB, a source program can be compiled in condensed
mode. When a ladder with the same number of steps is compiled in condensed mode, the
size of the created ROM format file is smaller than that created in normal mode. As a result,
condensed mode has the advantages listed below.
Ladder
ROM format file
C
language
0 Time required for transfer from the personal computer to the PMC is reduced.
l-94
5. OPERATION
On the other hand, condensed mode has the restrictions described below.
0 Memory map changes (area expansion) are likely to occur when instructions, symbols,
comments, and so forth are added when a ROM format file generated by compilation in
condensed mode is transferred to the PMC and edited with the built-in editing function. In
this case, the user needs to pay attention to possible overlap between the ladder area and
C language area.
language 1
8 A ROM format file generated by compilation in condensed mode cannot be compared with
a ROM format file generated by compilation in normal mode.
5.3.1 Operation
(1) Start
[Operation]
a Select [COMPILJ (compile) from the main menu.
Compile ~~~J@.-p>y<y?$y@gQ
\.i\.\ \.._,.,\
SourceProgramname : A:YFLYiIATAYTEST
/
ROW formatfile name : A:YFLYDATAYTEST.tEl
~--- -
l-95
5. OPERATION
I Main menu I
!$yg fi’e’
Make#LS
Main menu
(2) Compiling
[Operation]
@ Specify a source program name and ROM format file name. The ROM format file
name must conform to the MS-DOS specifications.
@ Select (EXEC].
Note) For PMC-PAlIPA3. compilation in condensed mode is done by [EXEC].
@ When the compiler terminates normally, memory map information is output. When the
compiler terminates abnormally, an error message is output.
[Operation]
0 Specify a source program name and ROM format file name. The ROM format file
name must conform to the MS-DOS speciftcations.
8 Select [CONDNS]
l-96
5. OPERATION
9 When the compiler terminates normally, memory map information is output. When the
compiler terminates abnormally, an error message is output.
The results of compilation are output to the screen displayed by [ERROR](F3 key) and to the
following text files, irrespective of whether an error or warning has been issued. If many errors
occur, it is convenient to print out pr check the error fife with the text editor.
1) If the step sequence function is selected when setting a model, and if the following sample
source program is edited, the error and warning messages are output to the following file.
Compiler RCBGTEP
SEQ) [A:YFLYDATAWFCY 1
source program name : A:YFLYDATAYTEST
ROM format file name : A:YFLYDATAfTEST.
#EX
Series Edition Machine tool name
NC& PMCname Program no.
2) In other case than 1) above, the error and warning messages are output to the following
file.
(4) Termination
[Operation]
3 Select [END).
l-97
5. OPERATION
It is possible to specify the extension of its input program name as following 3 types.
(Please refer to “1.1.2 compilation function” about #LS.)
* #LS * #CN * No extension
(b) Changing the file name after using “the making # LS file”
In case of after using “the making # LS file” function with #LS-file, the input program name
is changed to the LS-file name with its extension.
The “.#ls”-file name which is made by [LIST] function. is set into the space for source program
name.
Refer to next page about the details of above mentioned.
l-98
5. OPERATION
Note) If the step sequence function is selected when setting a model, the link compile
function specified by the control statement,“file with extension .#LS”, is not used. The
[LIST] command, used to create a control statement, is not included in the function key
menu and cannot be executed.
Type Use
l-99
5. OPERATION
0 Open the initial set file (%%%FLSET.CNF), using a commercially available editor.
:
*tJ;
@ Specify whether to use a password and the type of a password (when used) after
password = .
0 No password is used.
When password = 1. 2, or 3:
After compilation [EXEC] or [CONDNS] is selected, you will be prompted to specify
whether to use a password.
l-100
5. OPERATION
@ Enter a password.
. A password that can be used is a combination of 8 or less letters and.;or numerals.
* Uppercase and lowercase letters are not distinguished from each other. (If a lowercase
letter is entered, it is assumed to be uppercase.)
* It is impossible to use space, kana. kanji, and special characters (such as l
, #, and @).
. Some character strings are unusable.
If one such character string is entered as a password, an error message is displayed.
In such a case, use another character string.
* An entered password is not displayed on the screen.
* If the <RETURN> key is pressed before any valid password is specified, use of a
password is not specified. -, If password = 1, go to @.
If password = 3, go to @.
* When <ESC> is pressed, an attempt to specify a password is discontinued.
-+ GotoO.
Verification (R) I
0 You will be prompted to enter the same password as entered before, to ensure that your
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 “Password mismatch” is displayed.
You are allowed to retry entering twice.
- When <ESC> is pressed, an attempt to specify a password is discontinued.
+ Go tom.
If password = 3 is specified. + Go to@.
1- 101
5. OPERATION
Verification (R/W)
@ You will be prompted to enter the same password as entered before, to ensure that your
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 “Password mismatch” is displayed.
.You are allowed to retry entering twice.
- When -z ESC > is pressed, the attempt to specify a password is rejected.
-+ Go to@.
@ Compilation begins.
After discompilation [EXEC] is selected, the following password entry screen appears
l-102
5. OPERATION
Output to ROM
formatfile
SYMBOL
ii COkHENT [F61 YES
NETCOMENT tF71 PO1NTERSONLY
Sourceprogramname : A:YFLYDATAYRB4
ROM formatfile name : A:fFLYDATAYRB4.
XEX
l-103
5. OPERATION
(i) F6 [SYMBOL]
Select whether output or not output the symbol 8 comment data to ROM format file.
HoweverJhe symbols which can not be displayed on CRTiMDl (7bytes or more symbols)
and the coil comments assigned to them never output to ROM format file.
2) "NO" :
No symbofcomment is converted to ROM format file.
Any symbol and comment is not displayed on CRTIMDI.
(ii) F7 [NETCMT]
If Net comment is used in ladder program, you can choose whether ‘Net comment pointer’
(Note2) is output to ROM format file or not.
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) This item is in effect for Source-format programs. At the compilation of FORMAT-B
source-program,this setting is ignored.
Note 2) Net comment has its own character information only in a source program on the
personal computer.
Compiled ROM format file does not include any net comment characters.
Only ‘Net comment pointer’( = information of net comment position.) can be
output to ROM format file as an functional instruction “NOP”.
This ‘Net comment pointer” helps to restore net comment date at decompiling the
ROM format file that is edited on CNC built-in editor and uploaded to FAPT
LADDER.
l-104
5. OPERATION
Please select the source program, and then the #LS-file is registered.
(Note) It is impossible to resister by source program of different PMC type. Because error
occur on print out/compilation operation.
(1) Start
l The target file indications : Source program file indications. (Indicated directory)
Indications Meaning
.. Parent-directory
DIR Sub-directory
: xxx PMC type
l-105
5. OPERATION
The list of source program functions correspond to the function keys as indicated below.
(a) [LIST1 1
1 (W 1 (c)
(b) [CHANGE] 1
(c) [SEARCH) 5
1 (d)
(d) [PCTYPEJ 1
l-106
5. OPERATION
The sequence for registration source program file to #LS-file is shown below.
The #LS-file name is changed to the “1st registered file name .#LS”.
Each data (System parameter~TitleSymbol&comment:Message/lO module) is effective in the
1st registered file.
Example
Specification of only drive
B:<RETURN> (Changing to B:)
[EXTEND] is used to change extension (A part of “ 5_” mark on Fig. 53.1 (2).
It is possible to indicate file name except source program by changing extension.
In case of there are some selected files, it is impossible to use this function.
l-107
5. OPERATION
l-108
5. OPERATION
This operation is also used to move the cursor between the source file list area and selected
file list area.
A file at the cursor position is deleted. And, the files following the deleted file are shifted
one line upward on the display.
A blank line is inserted at the cursor position and then the cursor moves to the source file
list area.
By selecting a source file in the source file list area, the selected file is inserted at the
blank line and the cursor moves to the inserted file name.
(c] Terminates the changing of selected file list [END]/ < ESC >
The source program listing function terminates. In this case no .#LS file is created.
You can call MS-DOS shell from FAPT LADDER by pushing [DOS] key.
If you want to terminate this, key in the command as bellow at MS-DOS command line.
1 A:bEXIT 1
l-109
5. OPERATION
5.4 Decompilation
During decompilation, a ROM format file is translated into a source program that can be edited or
printed out.
Data that is uploaded from the PMC or is read from ROM is ROM format file data. Data in the
ROM format file cannot be edited or printed out. Such data must be decompiled before it can be
edited or printed out.
5.4.1 Operation
(1) Start
[Operation]
0 Select [DISCPL] (decompile) from the main menu.
(2) Decompiling
[Operation]
0 Specify a ROM format file name and source program name.
l-110
5. OPERATION
(3) Termination
[Operation]
0 Select [END].
(Note 1) During decompilation, PASCAL and C language data is lost. After editing and
recompilation, link PASCAL and C language data again.
(Note 2) A ROM format file generated by compilation in condensed mode can be decompiled
using the same operation. After editing, the source program can be recompiled in
condense moded, if necessary.
l-111
5. OPERATION
When the results of decompilation are output to a source program, they are split into units of
subprograms and output to different files. For details, see Section 9.1.
1
LEVEL1 #LA
Ladder 1st level
1
LEVEL2.#LA
Ladder 2nd level
1
LEVELB.#LA
- SP (SUB 7
1 *
- SP (SUB 71) PO02
- SP (SUB
I- I
H END (SUB 64) 1-1 The END instruction is not included in
1 1
I I the source program.
The instruction is automatically added
when the program is compiled.
1-112
5. OPERATION
Usually, mnemonics are used to convert a ladder program according to the model.
However, a ROM file is used only when a step sequence program for the PMCRB4(STEP SEQ) is
converted for the PMCRC4(STEP SEQ.
[Procedure]
1) Compile the step sequence program for the PMCRB4(STEP SEQ) and create a ROM
program.
2) Set model PMC-RCI(STEP SEQ) for FAPT LADDER.
3) Select F4 (DECOMPILE) from the main menu.
4) Specify the ROM file created in step 1)above and decompile the program.
The program is converted. The step sequence program read into FAPT LADDER can be used for
the PMC-RC4(STEP SEQ.
5.4.4 Merge
In case the existent file is specified for output source program when decompiling, the existent
source program is deleted and new source program is created with the contents of ROM data.
In this case it is possible to merge the Ladder in ROM data with the SymboVCommnet in source
program by specifying the undermentioned function-key.
1-113
5. OPERATION
(1) F4 [MERGE]
This specification decides whether to merge the symbol/comment by “NO” or “YES”.
2) “YES” :
The symbolkommnet in source program is merged with that in ROM data. As for the other
data except symbol/comment, ROM data is effective.
Just after this specification, F5[SYMBOL] will be displayed to specify which symbol
definition is effective, either in source program or in ROM data, when they are in conflict.
(2) F5 [SYMBOL]
F5[SYMBOL] will be displayed when “YES” is specified for F4[SYMBOL].
This specification decides which symbol definition in either source program or ROM data is
effective when they are in conflict.
2) “ROM DATA”
The symbol definition in ROM data is effective.
l-114
5. OPERATION
Source program
- Symbol/Comment data
ADDRESS SYMBOL(16byte) RELAY-COMMENT(16byte) COIL-COMMENT(30byte)
tb) The result of "MERGE = YES" and "Symbol definition = ROM data".
Source program
x0.0 xxxxxx xxxxxxxxxxxxxxx
Y2.3 BBBBBBBB BBBBBBBBBBBBBB BBBBBBBBBBBBBBBB
Y4.7 YYYYYY YYYYYYYYYYYYYYYYYYY
l-115
5. OPERATION
5.5 Link
During linking, load modules created in the C language, PASCAL, or other language are linked with
a ROM format file. The C language can be used only with PMCNIRCIRC3iRC4/QCINB. and
PASCAL can be used only with PMC-N. Linking is not required when the C language, PASCAL, or
similar language is not used.
(Note 1) The format of load modules varies between PMC-N and PMCRC/RC3/RC4:QC/NB.
However, linking with FAPT LADDER is the same.
(Note 2) This function enables linking to be performed on a personal computer. In addition, with
this function, a ROM format file holding only ladder data, and C language or PASCAL
load modules can be separately transferred to and linked on the PMC (dotted line in
the figure below).
LMT (converter)
ttt
1 Link
C language load module +
ROM format file with
C language/PASCAL
load modules linked
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . .. . . . .
r
PMC-N
Debug
1-116
5. OPERATION
-Personal computer
Link control statement FAPT LADDER
creation tool
J
C language source Link control source
ROM format
J-Y file
iC286 (compiler) FANUC distribution
1 -library
BND386 (binder)
+
BLD386 (binder)
$_
0J386 (converter) Link _ ROM format file -
+ with C language
L:
Intel hexadecimal - HEX2SREC (Note) - -: load modules linked
load module
-:
.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. *
II t
’ i I
r
PMC_RC
vv$ I
(Note) FAPT LADDER does not allow Intel hexadecimal load modules to be linked. Before link
operation, convert the file format by referring to the HEX2SREC User’s Manual.
[Operation]
0 Execute HEX2SREC.EXE in response to the MS-DOS prompt. Specify as follows:
8 Conversion is performed.
1-117
5. OPERATION
@ Check that specified file names have been created using the DIR command.
@ Specify an output file name (for example. SAMPLE.%) as the load module file name for
linking.
(Note) When the extension of an input file name is omitted, the extension “.HEX” is
assumed. Output is directed to a file with the same name but the extension is
changed to “SR.” The specification of the following files has the same effect in
input/output:
HEXZSREC SAMPLE.HEX SAMPLE.SR
HEX2SREC SAMPLE SAHPLE.SR
HEXZSREC SAMPLE.HEX
HEXZSREC SAMPLE
(Operation]
@I Select [LINK] from the main menu.
(2) Linking
[Operation]
@ Specify the load module file name and ROM format file name to link. The load module file
name must conform to MS-DOS specifications. Here the load module file name should be
specified with its extension (--------. l**). For PMC-RC, specify an output program
name for HEX2SREC.
8 Select [EXEC].
1-118
5. OPERATION
a Linking is executed.
(3) Termination
[Operation]
0 Select [END].
5.6 Input/Output
On the PC-9801 series PC, types 1) and 2) require RSDRV.SYS, which is an MS-DOS standard
device driver. Install it according to the description in Section 2.1.
[Operation]
0 Switch off the personal computer and input/output unit, and connect them via an RS232C
cable. (See Appendix 1.)
0 Before starting FAPT LADDER, make sure that RSDRVSYS has been installed.
0 Start FAPT LADDER.
@ Select [l/O] (input/output) from the main menu.
@ The input/output menu appears.
1-119
5. OPERATION
(Note 1) In input/output operations with the FANUC Series 0. a transmission at 9600 bps is
possible only for downloading on the PMC LOADING screen. In this case, it is
necessary to make the settings of the CNC match those of the personal computer.
(Note 2) In input/output operations with the FANUC Power Mate MODEL-A/B/C/D, a
transmission at 9600 bps is possible only for uploading and comparison. In this
case, it is necessary to make the settings of the CNC match those of the personal
computer.
(Note 3) In input/output operations with the FANUC Series 15, transmissions at both 4800
and 9600 bps are possible. In this case, it is necessary to make the settings of the
CNC match those of the personal computer.
These files are in text format. So, a text editor can be used to change set values in the files.
l-120
5. OPERATION
FA-WRITER = RO. 4800. B8, PN. S2, NONE PM&WRITER =COMl : 48, N. 8.2
PMC-WRITER = RO. 4800, B8, PN. S2, NONE FA-WRITER =COMl : 48, N. 8. 2
PMC-L = RO. 4800, B8, PN. S2. NONE PMC-L =COMl : 48, N. 8. 2
PMC-M =RO, 4800, B8, PN. S2, NONE PMC-M =COM1:48.N,8.2
PMC-M (TT) = RO, 4800.88, PN. S2, NONE PMC-M (-IT) =COMl : 48, N, 8.2
PMC-M (AXIS) = RO. 4800.88, PN. S2. NONE PMC-M (AXIS) =COMl : 48, N, 8.2
PMC-MMC = RO, 4800, 88. PN. S2. NONE PMC-MMC =COMl : 48. N, 8, 2
PMC-MMC (AXIS) = RO. 4800, B8, PN. S2, NONE PMC-MMC (AXIS) =COMI : 48. N, 8,2
PMC-N -RD. 9600,88, PN, S2, NONE PMC-N -COMl : 96, N. 8.2
PMC-P - RO, 4800, B8, PN, S2. NONE PMC-P =COMl : 48, N, 8,2
PMC-OA - RO, 9600, B8, PN, S2, NONE PMC-QA =COMl : 96, N, 8.2
PMC-M (I/O) = RO. 4800, B8, PN, S2, NONE PMC-M (l/O) =COMl : 48, N, 8.2
PMC-M (I/O, TT) =RO, 4800,88. PN. S2, NONE PMC-M (I/O, TT) =COMl : 48. N, 8,2
PMC-M (l/O, AXIS) = RO. 4800,88, PN, S2, NONE PMC-M (I/O, AXIS) =COtVll : 48, N, 8,2
PMC-N (l/O) = RO, 9600.88, PN, S2, NONE PMC-N (l/O) =COMl : 96, N, 8.2
PMC-RB = RO, 9600, B8, PN, S2, NONE PMC-RB -COMl : 96, N, 8, 2
PMC-RC = RO, 9600, B8, PN, S2, NONE PMC-RC =COMl : 96, N, 8,2
PMC-RAl = RO, 9600,68, PN, 52, NONE PMC-RAl =COMl : 96, N, 8.2
PMC-RAP = RO, 9600, 88, PN, S2, NONE PMC-RA2 =COMl : 96, N, 8,2
PMC-RBP = RO, 9600, 88. PN. S2, NONE PMC-RB2 =COMl : 96, N, 8,2
PMC-RA3 = RO, 9600. 88, PN, S2, NONE PMC-RA3 =COMl : 96. N, 8,2
PMC-RB3 = RO, 9600,88, PN, S2, NONE PMC-RB3 =COMl : 96. N, 8.2
PMC-RC3 = RO. 9600,88, PN, S2, NONE PMC-RC3 -COMl : 96. N, 8.2
PMC-PA1 = RO, 9600.88, PN, S2. NONE PMC-PA1 =COMl : 96, N, 8.2
PMC-PA3 = RO, 9600, B8, PN, S2. NONE PMC-PA3 =COMl : 96, N, 8, 2
PMC-OC =RO. 9600, B8. PN. S2, NONE PMC-QC -COMl : 96, N. 8, 2
PMC-NB = RO. 9600, B8, PN, S2, NONE PMC-NB = COMl : 96. N, 8,2
PMC-RB4 = RO, 9600,88, PN. S2. NONE PMC-RB4 =COMl : 96, N, 8.2
PMC-RC4 = RO, 9600, 88, PN. S2. NONE PMC-RC4 =COMl : 96, N. 8, 2
PMC-RB4 (STEP-SEC)) = Ro, 9600, B8. PN, S2, NONE PMC-RB4 (STEP-SEQ) =COMl : 96, N. 8, 2
PMC-RC4 (STEP-SEO) = RO, 9600,88. PN, S2. NONE PMC-RC4 (STEP-SEQ) =COMl : 96, N, 8.2
1 - 121
5. OPERATION
ROM format data is written to ROM installed in the PMC. For information on the setting of a
personal computer for I/O operation, see Section 5.6. ROMs which can be used depend on the
PMC model, as indicated in Table 56.1. When using the FA writer, place it in remote mode.
(1) Read
[Operation]
0 Select [WRT] (writer) on the I/O menu screen.
8 Select [READ].
@ When read operation terminates normally, the indication “NORMAL END” is output.
(2) Write
[Operation]
0 Select [WRT] (writer) on the I/O menu screen.
8 Select [WRITE].
l-122
5. OPERATION
(3) Verification
[Operation]
0 Select [WRT] (writer) on the I/O menu screen.
8 Select [VERIFY].
[Operation]
0 Select [WRT] (writer) on the I10 menu screen.
@ When blank checking terminates normally, the indication “NORMAL END” is output.
(5) Termination
[Operation]
0 Select [END].
1 - 123
5. OPERATION
0 1 2 3 4 5 6 7
High side Low side
0 q 10clOClcl ,
PMC-L
PMC-M
0E2
OF2
OEl
OF1
Socket allocation for concurrent processing of pairs of ROMs with the FA writer
l Writinq
During concurrent writing, data can be written to a maximum of four pairs of ROMs.
(Note 2) When writing 1Mbit ROM for PMC-RB2 with FA writer, “ID ERROR” will be
displayed on FA writer. But writing terminates normally.
(Note 3) PMC-P, PA1IPA3, NB, QC do not transfer data to and from EPROM. (EPROM
cannot be installed in PMC-P, PAlIPA3, NB, QC.)
Data can be transferrod to and from PMC-L/M. See Section 5.6 for the setting of the personal
computer for I/O operz.:lon.
I I
FSO baud rate settinq
1-124
5. OPERATION
SYSTEM P-MODEL G
Fig. 5.6.2 (a) PMC Load Screen Fig. 5.6.2 (b) l/O (P-G) Screen
This setting functions only for download operation using the PMC load screen.
[Operation]
*O Press < DGNOSPARAM > to display the parameter screen.
0060 PCLDB
(2) Download
[Operation]
0 Select [PMC] on the l/O menu screen.
Position the cursor on LOAD for the output route on the PMC menu screen, then press
the <RETURN> key.
1-125
5. OPERATION
[Operation]
@Select [PMC] on the I/O menu screen.
*@ Press < 5 > on the PMC load select screen of the CNC.
(Select (5) EDIT LADDER.)
*@ Press the CNC soft keys [l/O] and [P-G] in this order. (The screen shown in Fig.
5.6.2(b) appears.)
451 Position the cursor on EDIT for the output route on the PMC menu screen, then press
the <RETURN> key.
(Note) During downloading to PMC-L/M, symbol and comment data is not transferred.
(3) Upload
[Operation]
0 Select [PMC] on the I/O menu screen.
*@ Press the CNC soft keys [VO] and [P-G] in this order. (The screen shown in Fig. 5.6.2(b)
appears.)
l-126
5. OPERATION
(4) Comparison
[Operation ]
@ Select [PMC] on the I/O menu screen.
*@I Press the CNC soft keys [I/O] and [P-G] in this order. (The screen shown in Fig. 5.6.2(b)
appears.)
(5) Termination
[Operation]
0 Select [END].
(Note) In the operations above, an asterisk prefixed to a circled number represents an operation
on the CNC.
l-127
5. OPERATION
Data can be transferred to and from PMC-P. See Section 5.6 for the setting of the personal
computer for 1’0 operation. To transfer data to and from PMC-P, some parameters need to be set
on the Power Mate. Set the parameters according to Item (1) below.
PMC-P needs to be made ready for 110 operation. The operation below is required on the Power
Mate.
[Operation ]
$0 Press < DGNOSPARAM > to display the parameter screen.
*a Position the cursor on the I!0 parameter, then press < 0 > < INPUT > or < 1 > <INPUT >.
(Specify 0 or 1 in the I!0 parameter setting.)
&0006 I-I-I-I-I-I-lOIll
&0009
I 1 _ _ - - 0 - 1
I
&0014 I 0
I _
I -
I _
I -
I -
I -
I -
I
&0226 I BRATEO I
1-128
5. OPERATION
II0006
a0010
&0014
8~0227 BRATEl
I
(Note) The mark ‘-’ represents a parameter not associated with this function.
*@ After a parameter change, turn the power off and then on again.
(2) Download
[Operation]
0 Select [PMC] on the I!0 menu screen.
*@ Turn on power to the CNC while holding down < 0 > and <X/AXIS > at the same time.
*@ The indication “PMC LOADING” is output on the CRT screen of the CNC.
8 Downloading is executed. During operation, the indication “EXECUTING” blinks, and the
address indication (ADDRESS =) counts up.
(Note) During downloading to PMC-P, symbol and comment data is not transferred.
(3) Upload
[Operation]
Select [PMC] on the I!0 menu screen.
l-129
5. OPERATION
*8 Turn on power to the CNC, then press < DGNOSIPARAM > twice to display the diagnostic
screen.
*@3 Press <NO. > on the CNC, then press <WRITE> while holding down < * >.
(?I Uploading is executed. During operation, the indication “EXECUTING” blinks, and the
address indication (ADDRESS =) counts up. On the CNC, the indication “WRITE” blinks.
@ When uploading terminates normally, the indication “NORMAL END” is output. On the
CNC, the indication “WRITE” disappears.
(4) Comparison
[Operation]
0 Select ]PMC) on the I/O menu screen.
*@ Turn on power to the CNC, then press < DGNOSPARAM > twice to display the diagnostic
screen.
*Q Press <NO. > on the CNC, then press C WRITE> while holding down < ’ >-
8 Comparison is executed. During operation, the indication “EXECUTING” blinks, and the
address indication (ADDRESS =) counts up. On the CNC, the indication “WRITE” blinks.
@I When comparison terminates normally, the indication “NORMAL END” is output. On the
CNC, the indication “WRITE” disappears.
(5) Termination
[Operation]
0 Select [END].
(Note) In the operations above, an asterisk prefixed to a circled number represents an operation
on the CNC.
l-130
5. OPERATION
Data can be transferred to and from PMC-N. See Section 5.6 for the setting of the personal
computer for I/O operation. To transfer data to and from PMC-N, FS15 baud rate setting is
required. See Item (1) below.
FS15 baud rate setting is required. On the FSl5, data can be transferred at either 9600 bps or
4800 bps. The baud rate setting on the personal computer needs to match the baud rate setting
on the FS15. Operation on the FS15 is described below.
[Operation]
*@ Press the < CNCIPMC > key.
PMC MODE
PMC DATA INITXALIZE OFF ON
DATA TRANSFER RATE (OFF-LINE) 9600BPS 4800BPS
DATA TRANSFER TO RAMBOARD MANUAL AUTO
RAM ENABLE (PC DGN,EDIT) OFF ON
DATA TRANSFER RATE (AUX) 4800BPS 9600BPS
*@ Press the values of both DATA TRANSFER RATE (OFF-LINE) and DATA TRANSFER
RATE (AUX) by moving the cursor and using soft keys.
1- 131
5. OPERATION
(2) Download
[Operation]
@ Select [PMC] on the l/O menu screen.
*@I Press the CNC soft keys [EDIT] and [TITLE] in this order.
(3) Upload
[Operation]
0 Select [PMC] on the I/O menu screen.
61 The indication “INITIALIZE EXECUTE” disappears. After a few seconds, the indication
“PLEASE SET UP PMC” is output.
*8 Press the CNC soft keys [l/O], [FDCAS), [OUTPUT], [ALL], and [P-G] in this order.
(4) Comparison
IOperation]
0 Select [PMC] on the I/O menu screen.
1-132
5. OPERATION
0 The indication “INITIALIZE EXECUTE” disappears. After a few seconds, the indication
“PLEASE SET UP PMC” is output.
*@ Press the CNC soft keys [l/O], [FDCAS], [OUTPUT], [ALL], and [P-G] in this order.
(5) Termination
[Operation]
0 Select [END].
1-133
5. OPERATION
Before PMC-CA and the ladder program are transmitted, the following (1) or (2) must be
performed.
Whether (1) or (2) is depended on the model of FD Mate.
PGFD. 286
PGSV. 286
1 FDSV. 286
Note 1) The underlined portions indicate data entered from the keyboard. r J
indicates soft key entry. Other portions are displayed by the system. Key entries
are not case sensitive. The following explanations are given in this format.
Note 2) Incorporate the RS-232-C serial driver into memory with a logical name (ser:).
(The system needs to be changed so that the serial drive is loaded with ser: when
the operating system is started.)
The following define statement must be entered from the keyboard according to the
driver version after the driver is installed.
define -s fanuc_ser = ON
In the above example, enter the following from the keyboard:
B: DRIVERS > define -s fanuc ser = ON
1-134
5. OPERATION
Enter the desired menu number and press the RETURN key. The numbers correspond to
the following processing.
1: Transmits data between the PMC and the HDI’FD.
2: Transmits data between the PMC and the external equipment (connected through
RS-232-C).
3: Transmits data between the HDiFD and the external equipment (connected through
RS-232-C).
4: This function is not currently used.
0: Terminates the utility.
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
FDSV
PGFD
F PGSV
(3) Copy the utility software on the floppy # doscD A:IUTILS/FDUTILS . r Return J
disk (drive A) to the current directory. # doscD A:/UTILS/FDSV . r Return J
# doscp AYUTILS’PGFD . r Return J
# dosco AYUTILWPGSV . r Return J
(Note) The method of using the UNIX version differs from that of the Flex version in the
following two points.
1. Filenames must be in lowercase letters.
2. ACILOAD is unnecessary.
1-136
5. OPERATION
Press any key other Press any key, to execute child program
than the control key. Press ESC key, if you stop it
To stop this program, press the ESC key on the screen in the main unit. Then, the utility is
terminated and the following message appears:
End of child program
Press RETURN key, to go ahead
Pressing the RETURN key returns to the main screen in (c).
Note) If the CTRL + S key is pressed while the utility is running, the program stops. However,
pressing the CTRL+Q key restarts the program. Pressing any key other than the
(CTRL + Q) key while the program is stopped causes abnormal termination (hang-up).
l-137
5. OPERATION
To output The screen display changes, and D Press MODE key or press
sequence data “PMC SIDE SET I/O DISPLAY, At CTRL + ALT + HOME key to
from the PMC KEY IN FILE NAME.” is displayed 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 key to select
OUTPUT.
0, Press the LADDER key to select
LADDER.
YpPress the P-G key to select P-G.
4t transmission The EXECUTING turns on and off The displayed value indicating an
and the counter is displayed at tht address is counted.
bottom of the screen.
If transmission terminates normally, the personal computer displays “NORMAL END” and the
PMC displays OUTPUT COMPLETED.
1-138
5. OPERATION
(5) Upload
At transmission The EXECUTING turns on and off, The displayed value indicating a size
and the counter is displayed at the s counted.
bottom of the screen.
If transmission terminates normally, the personal computer displays “NORMAL END” and the
PMC displays INPUT COMPLETED.
1-139
5. OPERATION
Data can be transferred serially via RS-232-C. In this case, personal computer port must be set.
See Section 5.6 for the setting of the personal computer for I/O operation.
FS16/18/15B
- FAPT LADDER 1 -Power Mate-D, -
F-D Mate mini
9600 bps14800 bps
1 Download f w-1
Baud rate settina for FSl6/18/15B, Power Mate-D, and F-D Mate mini
(1) Download
[Operation]
0 Select [PMC] on the I/O menu screen.
*@ Press the CNC soft keys [PMC], [l/O], [HOST], and [EXEC] in this order.
(2) Upload
If the PMCRCRC3, -CC, or -NB is used, language data (C language) other than Ladder
programs can be used. When uploading or comparison is executed from one of these PMCs,
one of two data types (LADDER or ALL) can be specified. LADDER and ALL have the
following meanings:
l-140
5. OPERATION
[Operation]
0 Select [PMC] on the I/O menu screen.
*@ Press the CNC soft keys [PMC], (IO], [HOST], and [EXEC] in this order.
(3) Comparison
[Operation]
0 Select [PMC] on the 11’0menu screen.
*@I Press the CNC soft keys [PMC], [I/O], [HOST], and [EXEC] in this order.
(4) Termination
[Operation]
0 Select [END].
(Note) In the operations above, an asterisk prefixed to a circled number represents an operation
on the CNC.
l- 141
5. OPERATION
The NC of the Power Mate-D has the CRT/MD1 screen and the DPUMDI screen. When the
CRTlMDl screen is used, the procedures for data input/output are the same as those with the
PMC-R Series ((1) to (4) above). When the DPUMDI screen is used, the procedures for data
input/output are different from those with the PMC-R Series.
When the DPL/MDI screen is used, perform downloading, uploading, and comparison as
described below:
(a) Press the < DGNOS > key on the DPUMDI screen and select the diagnostic data screen.
03 Press the c READ> or c WRITE> key on the DPUMDI screen.
w Follow procedures (1) to (4) described above on the personal computer.
5.6.7 Memory card interface in the personal computer and memory card
A ROM format file compiled in a personal computer can be converted to a memory card format file,
and output to a memory card via a memory card interface installed in the personal computer. The
PMC program on the memory card can be sent to the RAM of the CNC by inserting the memory
card in the memory card interface in the CNC. By reversing the procedure, programs can be
transferred from the CNC RAM to the memory card.
5.6.7.1 PMC program transfer from the personal computer to the CNC
[Operation]
Install a memory card interface in the personal computer.
Return to the main menu, and select [l/O] (input/output) from it.
1-142
5. OPERATION
l/O i TO UC :: &BP
l-143
5. OPERATION
0 The following two methods can be used to insert the memory card output in step @ into
the memory card interface in the CNC and read programs on the memory card.
0 Using the I/O function of the PMC
Specify M-CARD, READ, and the desired filename or file number at DEVICE,
FUNCTION, and FILE NO. on the PMC l/O screen, respectively. “7en press soft key
[EXECJ. Sequence programs are read from the memory card file created in step 0.
CHANNEL = 1
DEVICE = M-CARD
~;~~J..~~~Ij-j~;~= READ
DATA KIND = LADDER
FILE NO. q
( #NAME )
I EXEC I [CANCEL]
[WRITE I[ READl[COMPARI
5.6.7.2 PMC program transfer from the CNC to the personal computer
PMC programs are written to a memory card, using a memory card interface in the CNC. When
the memory card is inserted in a memory card interface in the personal computer, the PMC
programs on the memory card can be accessed as ordinary MS-DOS files.
[Operation]
0 Specify M-CARD, WRITE, DATA KIND, and the desired filename (omissible) at DEVICE,
FUNCTION, LADDER, and FILE NO. on the PMC I/O screen, respectively, then press soft
key [EXEC]. Sequence programs are output to the memory.
l-144
5. OPERATION
CHANNEL = 1
DEVICE = M-CARD
;;i~iJJ#~;I;$&&= WRITE
DATA KIND = LADDER
FILE NO. =
( #NAME )
The following
operationsare performed on the personal computer side.
Select [M-CARD] (memory card) from the input/output menu. (See Fig. 5.6.7.1(a).)
Select [READ] (read (programmer C- memory card)). (See Fig. 5.6.7.1 (b).)
Convert the PMC programs output to a memory card in step @ from memory card format
to ROM format by specifying the following items and running the utility.
l 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 - 145
5. OPERATION
0 Discompile the ROM format file after conversion, and the resultant file will become able to
be edited on the personal computer.
5.6.7.3 Memory card input/output function (PMC-RAl) for the PMC of the
CNC (L/R) with loader control
This function writes a loader control sequence program to, or reads it from, the FANUC Series 16-
MODEL B with loader control. The loader control sequence program can be edited by specifying
the model as PMC-RAl.
[Operation]
Install a memory card interface in the personal computer.
Specify the names of the desired ROM format file and memory card file. (The memory
card filename is specified in the form of memory card drive + filename.)
Fig. 5.6.7.3 Input/Output (to MC) Screen (model supporting loader control)
1-146
5. OPERATION
If a ROM format file compiled on a personal computer is converted to Handy File format and output
to a 3.6” floppy disk (MS-DOS format), the PMC program can be read into the RAM of the CNC
via a Handy File interface connected to the CNC. This operation can be reversed.
5.6.8.1 PMC program transfer from the personal computer to the CNC
[Operation]
Compile a source program, and create a ROM format file.
Select [FDCAS] (FLOPPY CASSETTE ADAPTER & Handy File) from the input/output
menu. (See Fig. 5.6.7.1 (a).)
Select [WRITE] (write (programmer -> FLOPPY CASSETTE ADAPTER & Handy File)).
Convert the ROM format file to Handy File format by specifying the following items and
running the utility.
l Name of the ROM format file
Specify the name of the ROM format file to be converted.
l Name of the Handy File format file
Specify the name to be assigned to the Handy File format file (accessible by the Handy
File) to be generated by conversion, and the 3.5” disk drive to which the file is output;
5” floppy disk cannot be used.
l-147
5. OPERATION
'ARITE(PROCRAMER--> HandyFile:
@ Connect the CNC and Handy File, and insert the 3.5” floppy disk generated in step @ into
the Handy File.
5.6.8.2 PMC program transfer from the CNC to the personal computer
[Operation]
Connect the CNC and Handy File, and output the PMC program to a 3.5” floppy disk (MS-
DOS format).
Select [FDCAS] (FLOPPY CASSETTE ADAPTER & Handy File) from the input/output
menu.
Select [READ] (read (programmer <- FLOPPY CASSETTE ADAPTER & Handy File)).
(See Fig. 5.6.7.1 (a).)
Convert the PMC program on a 3.5” floppy disk (Handy File format) generated in step 0 to
ROM format by specifying the following items and running the utility.
l Name of the Handy File format file
Specify the program name output in step 0, and the 3.5” floppy disk drive where the
floppy disk is inserted.
l Name of the ROM format file
Specify the filename to be assigned to the ROM format data generated by conversion.
1-148
5. OPERATION
Discompile the ROM format file after conversion, and the resultant file will become able to
be edited on the personal computer.
If a ROM format file compiled on a personal computer is converted to Handy File format and output
to a 3.6” floppy disk (P-G format), the PMC program can be read into the RAM of the CNC via a
FLOPPY CASSETTE ADAPTER connected to the CNC. This operation can be reversed.
(Caution]
There are two types of adapters for access to 3.5” floppy disk drives.
This function uses “P-G <- > MS-DOS format conversion” supported by FLPGMS. FLPGMS
does not support 200 floppy disks, so CASSETTE ADAPTER 3 cannot be used with FLPGMS.
Similarly, this function cannot be used on the IBM PC/AT, because it does not support “P-G <->
MS-DOS format conversion.”
1-149
5. OPERATION
A source program is converted to a mnemonic file that can be edited with any standard text editor.
[Operation]
Select [MNEEDT] (mnemonic editing) from the main menu.
1) SOURCEPROCRAMNAFe:
2) HMINIC FILE NW
[ ; ; fW;M PARAWTER
( 3 : SYmiOL& CU)IEah"T
l-150
5. OPERATION
WLL - OPTION Comment data, which may include kanji characters, is converted.
Data including address symbols and comments, and function instruction
names treated as comments is converted.
Data including all instruction sections, operand sections, and comment
sections is converted.
Converts the text of a Japanese-language message to Japanese-language
format (Note 3).
_ABELI Data is converted and the jump destination (label) of a function instruction
SUB-PROGRAM (JMPB, JMPC, CALL. SP, or another instruction) used in a sub-program is
highlighted. The step number of the converted mnemonic data does not
agree with other setting. (The function instruction section used in the sub-
program does not agree with the other setting.)
Converts the text of a Japanese-language message to Japanese-language
format (Note 3).
(Note 1) The item specifying Japanese language comment conversion cannot be selected
on an IBM PC/AT.
(Note 2, 3) Format displayed on the code or Japanese-language input mode screen during
message editing.
1 - 151
5. OPERATION
@I An error message is displayed if <RETURN > is pressed after conversion. The mnemonic
conversion screen appears when -z SPACE > is pressed after conversion.
A mnemonic text file edited in a certain format using a atandard text editor is converted to a source
program that can be edited with the personal computer version of FAPT LADDER.
[Operation]
0 Select [MNEEDT] (mnemonic editing) from the main menu.
: FoRP4
(Note) The item specifying Japanese language comment conversion cannot be selected on an
IBM PC/AT.
1-152
5. OPERATION
@ An error message is displayed if c RETURN > is pressed after conversion. The source
program conversion screen appears when < SPACE > is pressed after conversion.
If a mnemonic file created using a commercially available text editor is to be converted to a source
program, the mnemonic file must be in the following format.
The mnemonic file defines data with four different identification codes that each begin with %.
ID code Description
The unit-format data mentioned above varies from one PMC model to another as listed below.
PMC model
Unit-format data
L M N!NAKIA P I series/PAl/PA3/QC/NB/NB:
1-153
5. OPERATION
0 r:j This special character is reserved for use in ladder and I/O module data.
l 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.
l A colon is also used in the I/O module data section to separate a channel
number from 110 module data. Data that precedes a colon is treated as a
channel number.
%@A
r ID code (See 10.1)
%@2-c
R0200.0 UNIT 3 POWER Description of symbol
$1 ‘KEEP POWk?-ON’ ‘KEEP UNIT-3 POWER ON’ II and comment (See 10.3)
R0200.1 UNIT 3 ACT
$1 ‘S’POWER$$’ - ‘KEEP UNIT-4 $$POWER$’ ON’
R0300.0 - Control character
$1 ‘KEEP POWER ON’ ‘KEEP UNIT-4 POWER ON’ (See 10.2)
PO008 OPEN FRONT
$1 ‘OPEN FRONT COVER’
LO100 INITIALIZE
$1 ” ‘INITIALIZE OF SEQUENCE’
%
% @3
RD R1OO1.O
OR R120.3
AND R1000.2
WRT Y2000.4
1
(’ Description of net
Net comment is written in here. Any characters comment (See 10.4(l))
you enter by using personal computer is permitted.
3
RD R1OO1.O
AND R1000.2
WRT Y23.4
(*SP 3 Designation of new page (for ladder diagram printing)
RD R1O1.O (See 10.4(2))
OR R123.4
AND R100.2
WRT Y200.4
%
‘y
I% @E
Note) A mnemonic 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.
1-154
5. OPERATION
1) ID code
The ID code for symbol and comment data has been changed to “%@2-C”.
Another ID codes are not changed.
System parameter % @O % @O
Title %@l %@l
Symbol/comment %@2-c % @2
Ladder % @a %@3
Message % @4 % (94
l/O module % @5 % @5
2) Control character
The dollar character “S” is used as control character in the mnemonic file. Every dollar
character in the sentence must be described as “$$” in the mnemonic file.
1-155
5. OPERATION
When relay comment is not used, a part of relay comment must be described by double
single quotation marks.
I $1 ” ‘INITIALIZE OF SEQUENCE’
Note) Every single quotation mark in the relay comment and coil comment string must be
described as “$” + ‘*“I in the mnemonic file.
4) Ladder data
Characters I Means
1-156
5. OPERATION
(a) Parameter
0 PMC-L
ce 0 1
1 4001 1. D address size (0 to 400 bytes)
2 01 2. Whether an operator’s panel is used (1: YES, 0: NO)
se 0 1
1 3901 1. D address size (0 to 400 bytes)
2 11 2. Whether an operator’s panel is used (1: YES, 0: NO)
3 2001 3. Size of the area used for timers (0 to 400 bytes)
4 401 4. Size of the area used for counters (0 to 400 bytes)
5 201 5. 4-digit BCD display address (0 to 400 bytes)
6 101 6. 2-digit BCD display address (0 to 400 bytes)
7 1501 7. Ladder execution time (100 to 200%)
8 11 B. Ladder execution period (0: 16 ms, 1: 8 ms)
9 11 9. Division/non-division method (0: Division, 1: Non-division)
01
IEOBI
(Note) The parameter in Item 8 above (ladder execution period) is not applicable to PMC-M
(MMC).
0 PMC-P
ae 01
1 20481 1. D address size (0 to 2048 bytes)
%l
IEOBI
1-157
5. OPERATION
m
@ PMC-N/N (VO LINKRB4)
%@ 0 1
1 4040~ PMC Series (4040: N, 4045: N (I!‘0 LINK))
2 BINARY1 Counter data type (Binary or BCD)
3 SOS- PASCAL execution time (0 to 100%)
4 PC-N1 Setting not required (PC-N (fixed))
5 8000001 PASCAL TCB start address (0 to FFFFFF (hexadecimal))
6 581 PASCAL PMC screen processing time ratio (0 to 99%)
7 0001 Ladder execution time (000 to 050%) (Note)
8 8100001 PASCAL data start address (0 to FFFFFF (hexadecimal))
9 NOi Level-3 synchronization (NO: Asynchronous, YES: Synchronous)
10 041 10. PMC edition (PMC edition (2-digit))
sl
[EOBI (Note) Set a value subtracting 100 from an actual value for the
"7.Ladder execution time”.
(Example) When an actual value desired for the ladder execution
time is 125%, set 025 to that setting.
%@ 0 1
2 BINARY1 2. Counter data type (Binary or BCD)
3 No1 3. Whether an operator’s panel is used (YES: Used, NO: Not used)
4 PMC- RAll 14. PMC model (PMC-RAl/PMC-RA2’PMC
[EOBI PAl/PMCPA3/PMCRB5/PMCRBG)
(Note) When specifying YES in Item 3 above (whether an operator’s panel is used), specify
the KEY address, LED address, KEY image address, and LED image address as
follows:
1-158
5. OPERATION
@ PMCRB,‘RB2RA3’RB3
se 0 1
2 BINARY1 2. Counter data type (Binary or BCD)
3 NO1 3. Whether an operator’s panel is used (YES: Used, NO: Not used)
4 PMC-RB1 4. PMC model (PMC-RB, PMCRB2 or PMC-RB)
7 1001 7. Ladder execution time (100% (fixed))
9 YES1 9. Division/non-division method (NO: Division, YES: Non-division)
01
[EOBI
(Note 1) When specifying YES in Item 3 above (whether an operator’s panel is used),
specify the KEY address, LED address, KEY image address, and LED image
address as follows:
@ PMCRCIRC3iRC4IRC4 (STEP)
%e 0 1
2 BCDS. Counter data type (Binary or BCD)
Whether an operator’s panel is used (YES: Used, NO: Not used)
3 ND1
4 PMC-RCl PMC model (PMCRCRC3 (fixed)/PMC-RC4)
(Note 1) When specifying YES in Item 3 above (whether an operator’s panel is used),
specify the KEY address, LED address, KEY image address, and LED image
address as follows:
1-159
5. OPERATION
@I PMC-QC/NB:NB2
%@ 0 1
2 BCDJ 2. Counter data type (Binary or BCD)
3. Whether an operator’s panel is used (YES: Used, NO: Not used)
3 NOS-
4 PHC-QCl 4. PMC model (PMC-QCPMC-NB!PMC-NB2)
fEoB1
7. Ladder execution time (Always 100%)
(Note) If YES is specified in item 3 (whether an operator’s panel is used), specify the
addresses of KEY, LED, KEY image, and LED image as follows:
%@ 11
01 MACHINE TOOL BUILDER NAME 1
02 MACHINE TOOL NAMES
03 CNC 7 PMC NAMES
04 PMC PROGRAM NO.1
05 EDITION NO.1
06 PROGRAM DRAWING NO.1
07 DATE OF PROGRAMING1
08 PROGRAM DESIGNED BYi
09 ROM WRITTEN BY1
10 REMARKS1
el
fEOB1
%@ 2 1
x000.0 2PX.M START BELT CONVEYER 1
x000.1 2PY.M LIMIT SWITCH ON1
%l
(EOBJ
l-160
5. OPERATION
%@2-c 7 Symbol
R0200.0 UNIT-3-POWER
$1 'KEEP POWER ON' 'KEEP UNIT-3 POWER ON'
- Coil Comment
Relay comment
R0200.1 UNIT-2-ACT
$1 *$*P~wER$$' *KEEP UNIT-~ $$PowER$' 0~'
R0300.0 IControl code
$1 'KEEP POWER ON' 'KEEP INIT- POWER ON'
PO008 OPEN-FRONT
$1 'OPEN FRONT COVER'
LO100 INITIALIZE
$1 " 'INITIALIZE OF SEQUENCE'
- no Relay comment
%
[EOBI
0 FOR -- P G
%@ 31
RD X0.41
OR Y80.61
WRT DSOO.ll
SUB 11
RD. NOT X3.01
SUB 401
21
81911
03001
SUB 21
81
[EOBI
1 - 161
5. OPERATION
8 FULL- OPTION
%@3 1
NOOOOl: SUB 71 ; SP
Pl ;(SUBPRl ) [SUB PROGRAM DATA NO.011 1
N00002: RD x0.0 ;(XADRSl ) [JUMPB LABEL LOOOOl] 1
SUB 68 ; JMPBl
LlOO ;(LABELl ) [LABEL Looooi] 1
N00003: RD x0.1 ;(XADRS2 ) [JUMPB LABEL Looooi] J
SUB 73 ; JMPCl
LlOO ;(LABELl ) [LABEL Looooi] 1
N00004: RD x0.1 ;(XADRSZ ) [JUMPB LABEL LOOOOl]l
SUB 65 ; CALL1
P2 ;(SPlOOO ) [SUB PROGRAM DATA NO.lOOO] 1
N00005: SUB 66 ; CALLU5.
P2 ;(SPlOOO ) [SUB PROGRAM DATA NO.lOOO]J
N00006: SUB 69 ; LBL 1
LlOO ;(LABEL~ 1 [LABEL LOOOO~] 1
YOOO07: SUB 72 ; SPE 1
VOOOOB: SUB 71 : -1
P2 ; (SPlOOO ) [SUB PROGRAM DATA NO.1000 11
YOOO09: RD RO.0 ;(RADRSOO ) 1
DEC DO ;(DADRS04 ) 1
21
WRT DO.0 1
300010: SUB 72 ; SPE 1
300011: SUB 64 ; END 1
I1
1-162
5. OPERATION
%@3 1 Symbol
NOOOOl: SUB 71 ; SP [_, Relay comment
1-163
5. OPERATION
@ LABEL/SUB-PROGRAM
H3 1
;UBPRl SP 71 ;<Pl > [SUB PROGRAM DATA NO.011 1
RD XADRSl :<Xo.o > [JIJMPBLABEL LOOOO1]1
JMPB LABEL1 :<LlOo > [LABEL Looool] 1
RD XADRSZ ;<Xo.l > [JUMPB LABEL ~ooool] 1
JMPC LABEL1 ;<Lloo > [LABEL L00001] 1
RD XADRSZ ;<Xo.l > [JUMPB LABEL Looool] 1
CALL SPlOOO :<P2 > [SUB PROGRAM DATA NO.looo]1
CALLU SPlOOO ;<P2 > [SUB PROGRAM DATA NO.lOoo] 1
LABEL1 LBL ;<LlOOO > [LABEL Looooi] 1
SPE 1
iPlOO0 SP ;<P2 > [SUB PROGRAM DATA NO.lOoo] 1
RD RADROO ;<RO.O ' 1
DEC DADR04 ;<DO ’ 1
21
WRT DO.0 1
SPE 1
END 1
1 1
1-164
5. OPERATION
(e) Message (other than PMC-L, PMC-M/M (I/O LINK)/M (MMC), PMC-P)
re 4 1
A0 0. 0 2100020 ATC DOOR NOT CLOSE1
AOO.l 2101022 SPINDLE SPEED ARRIVA
L SIGNAL NOT ON1
AO0.2 2100020 EDTOK KEY SWITCR ONi
%l
[EOBI
%@ 5 1
x000 1 0 1 ID64Al
YO08 1 0 4 OD64Bl
81
L [EOBI
1-165
5. OPERATION
(a) PMC-M
%@ A1
%@0 1
1 3901
2 11
8 11
9 11
el
ee 11
01 MACH INE TOOL BUILDER NAMES
02 MACH INE TOOL NAME1
1-166
5. OPERATION
PMC-N
1
%@ A1
%@0 1
1 sosol
2 BINARY1
9 NO1
10 041
%l
%@ 11
01 MACHINE TOOL BUILDER NAME1
02 MACHINE TOOL NAME1
1-167
5. OPERATION
(cl PMC-FIB
%@ A 1
se 0 1
2 BCDJ.
3 NO1
7 1001
9 YES1
%l
%@11
01 MACHINE TOOL BUILDER NAME1
02 MACHINE TOOL NAME1
l-168
5. OPERATION
(d) PMC-RB4
%@A 1
%@O1
2 BINARY&
3 NO1
4 PMC-RB4 1
%1
%@l1
01 MACHINE TOOL BUILDER NAME1
10 REMARKS1
% 1
ae2-c 1
RO200.0 UNIT-3-POWER1
$1 'KEEP POWER ON' 'KEEP UNIT-3 POWER ON'1
R0200.1 UNIT-2-ACT1
$1 '$'P~wER$$' 'KEEP UNIT-4 $$POWER$' ON'J.
RO300.0 1
$1 'KEEP POWER ON' 'KEEP UNIT-4 POWER ON'1
PO008 OPEN-FRONT1
$1 'OPEN FRONT COVER' 1
LO100 INITIALIZE1
$1 " 'INITIALIZE OF SEQUENCE'&
$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 Net comment
which are input with personal computer can be used.
R)
RD R1OO1.O1
9ND R1000.2 1
dRT Y23.4 1
(* SP l1 form feed position (in Ladder diagram)
RD R1O1.O 1
OR R123.4 1
AND R100.21
WRT Y200.41
% 1
%@a 1
AOO.0 2100020 ATC DOOR NOT DLOSEJ
AOO.l 2101022 SPINDLE SPEED ARRIVAL SIGNAL NOT ON 1
% 1
%@5 1
X000 1 0 1 IDlBC&
YO08 1 0 4 OD32Al
%1
%@E1
1-169
5. OPERATION
5.7.6 The note if the step sequence function is selected when setting a
model
When using the step sequence method, mnemonic instructions cannot be coded.
The mnemonic conversion functions need following notes:
1
I PMC-RB3 , * PMCRC3
t
(STEP SEQ)
A program for the PMC-FIB4 (STEP SEC?) cannot be converted for use with the PMCRC4
(STEP SEC), because of the reason explained in Section 7.2. The program can be converted
if a ROM file is used, however. (For details of this conversion, see the description of the
decompiler.)
l-170
5. OPERATION
The batch file FLMNE.BAT can be executed by suspending the execution of FAPT LADDER.
A user’s own batch file generated by editing the contents of the FLMNE.BAT file with a standard
text editor can also be executed.
l Examole 1
The execution of FAPT LADDER is suspended and text editor VZ is activated. (In this case,
VZ must be defined in the environment variable PATH beforehand.)
[Operation ]
Use a standard text editor to create the batch file FLMNEBAT as follows:
vz
Execute 'FLMNE.BAT'.
Add parameter(s)? [A(Add), N(Not add), S(Stop)]
Specify A (Add), and specify *.HEX as the parameter. VZ is activated and a list of files
with the extension .HEX is displayed.
Press any key. The screen display returns to the mnemonic menu screen.
l Example 2
COMMAND I
1 - 171
II. APPLICATIONS
(NOTES ON THE PC ENVIRONMENT)
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PG’AT
This function is used to transfer data in ASCII (mnemonic) format between a P-G (including the
Mate and Mark II) and a PC via an RS232 cable. The command for NEC PC9801 series PCs is
FLOAD98, and the command for IBM PC/ATs is FLOADAT.
Use this function to transfer the sequence program between the P-G and a personal computer if
(data exchange function) cannot be used with 3.5” floppy, for example, in a system with the P-G
provided with a 5” floppy disk drive or in a system with a personal computer not provided with a
3.5” floppy disk (1.2 Mbytes) drive.
(1) Uploading
Loads the FAPT LADDER mnemonic data into the PC from the P-G via the RS232 port.
FLOADAT - [name of file for storing uploaded data] - -u (for IBM PC/AT)
When a file with the same name as the file specified for receiving data already exists in the
current directory, the following message is displayed.
(2) Downloading
Loads the FAPT LADDER mnemonic data into the P-G from the PC via the RS232 port.
FLOADAT _ [name of file for storing downloaded data] _ -d (for IBM PC/AT)
As shown above, the load commands have the following two parameters:
-u: Uploads data from the P-G to the PC.
-d: Downloads data from the PC to the P-G.
(Note) The above parameters can be specified with either lowercase or uppercase characters.
2-l
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
PC side
NEC PC9801 Series baud rate: 4800 or 9600
(MS-DOS SPEED command) character length: 7 bits
parity: even parity
stop bits: 2 bits
X parameter: none
P-G side
IO NC,CNl,Fl ,F6
10 NC,CNl,Fl,F6,BRlO (for 9600 baud)
(Note 1) The baud rate can be set to either 4800 or 9600. However, note that when the PC
baud rate is set to 9600, the parameter BRlO must be added to the baud rate setting
for the P-G.
(Note 2) It is necessary to set these communications setting only for doing this operation. After
using this function, please restore the communications settings as the section 2.1
(Chapter 1).
The CN number is not fixed. For the P-G or P-G Mark II, the CN number can be any setting from
CNl to CN4. For the P-G Mate, the CN number can be any setting from CNl to CN3. However,
note that the CN number selected here must match the CN number of the IO command. Use the
cables specified in Appendix 1.
2-2
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
Operation examde
During uploading
During downloading
2-3
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PG’AT
1 .1.3 Protocol
Durinq uploadinq
When the FLOAD98 or FLOADAT command is executed on the PC side, a communications
request is issued for the P-G and reception begins. After all data has been received, DC 3 is
sent and transmission is completed.
Transmission and reception both use the l-byte machine-dependent BIOS call for input and
output.
Durina downloadinq
After the P-G issues a transmission request, the P-G enters the waiting state. FLOAD98 or
FLOADAT is activated in the PC, then transmission begins. After all data has been sent. DC 4
is sent and transmission is completed.
Transmission and reception both use the l-byte machine-dependent BIOS call for input and
output.
When the transmission speed is faster than reception processing, BUSY control is performed by
issuing the DC 1 and DC 3 codes. In the PC9801 series, the X parameter in the DOS SPEED
command is set to off, which allows the application to provide support for BUSY control. In the
IBM PC/AT series, there is no X parameter, which effectively has the same result.
2-4
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
The system will automatically determine which of the following seven pairs of start and end codes
is used. When none of these codes are used, an error message is displayed and operation
terminates.
(1) When an LF code (OAH) is received, it is converted into two characters, the first of which is CR
(ODH) followed by LF (OAH).
(3) When an end code (DE) is received, CR (ODH) and LF (OAH) are appended to it in that order.
1 1
1 1
. . ..-Discarded Valid data I...
After the end code (DE) has been sent or received, DC 3 is sent for uploading or DC 4 is sent for
downloading, then the file is closed.
2-s
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
Parameter Error
FLOAD98 FILENAME -u/-d set parameter. (FILNAME, upload or download.)
I~- ~~~
Cannot open output file I
(3) When data not in the FAPT LADDER format is sent or received
Wrong data received
This software only detects errors in the command line and in the FAPT LADDER format.
This software does not support detection of errors in the contents of FAPT LADDER data.
Messaaes
When the file name specified as the file for receiving data already exists in the current directory,
the following message is displayed.
2-6
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
When any of the above errors is detected, the current operation is canceled.
During downloading, if an error is detected on the PC, the system will return to the DOS
screen. 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 data transfer is interrupted during uploading, the system will enter a waiting state until
data transfer is restarted. (To interrupt the waiting state, press cCTRl_> + <C >).
When data transfer is interrupted during downloading, the data becomes corrupt and data
transfer must be started over from the beginning.
2-7
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PCiAT
By changing the mnemonic file, it is possible to convert some PMC type sequence program to
another type of it.
On the following PMC type, it is possible to edit the different PMC type data by changing system
parameter of the mnemonic data.
However, format of the system parameter, usable functional instructions and range of address are
different.
%@A %@A
%@O %@O
2 ECD 2 BCD
Change
3 NO system parameter 3 NO
4 PMC-RB b 4 PMC-RC3
7 100 5 000000
9 YES 6 50
% 7 100
%@l %
01 ABC-KIKAI %@l
02 S-DRILL 01 ABC-KIKAI
02 S-DRILL
%
%@5 %
X000 1 0 1 ID16C $65
YO08 1 0 4 OD32A X000 1 0 1 IDl6C
% YO08 1 0 4 OD32A
%@E 8
%@E
2-8
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
CONVERTER
APPLICABLE PMCCNC TYPE REFERENCE MATERIALS
FILE NAME
(Note) The converter file is stored in the directory APPENDIX of module floppy disk.
(1) Set PMC type to PMC-P, and convert the original source program to the mnemonic file. (+A.)
(2) Set PMC type to PMC-PAl. And input the source program name and select [END] at edit
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 data of the mnemonic file (PMC-PAl) to the converter file
(PM-C.CNV). (+C.)
(6) Replace the ladder data of mnemonic file (PMC-PAl) to the ladder data of the original
mnemonic file (PMC-P). (+D.)
(7) Complete the text editor, and activate FAPT LADDER.
(8) Set PMC type to PMC-PAl, and convert the mnemonic file@) to source program.
(3) Select edit mode, and delete the symbol and comment data.
2-9
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
Convert file
PM-C - CNV.SYM
%@2
A. Original file 60004.3 G68.3
(PMC-P) 60005.0 695.0
%@A 60005.2 695.2
%@O 60005.3 G95.3
B. Converted file
1 2048 60005.6 G83.7
(PMC-PAl)
% G0006.2 675.2
be1 60006.4 674.4 %@A
B 60007.2 G68.2 %@O
b@2 G0007.5 684.5 2 BINARY
b 3 NO
b@3 4 PMC-PA1
?D X21.4 X1027.4 X23.4 %
iRT G121.4 X1027.5 X23.5 eel
tD.NOT X22.3 X1027.6 X23.6 %
fRT.NOT 6122.3 X1027.7 X23.7 se2
c b
:UB 1
IUB 2
I$- D. insertion ,- ae3
fRT 6121.4 b
!D.NOT X22.3 se4
rRT.NOT 6122.3 b
UB 1 se5
UB 2 b
b@E
@E
2-10
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
Data (such as title, symbol & comment, ladder, message, and I/O module data) in a sequence
program can be used for another sequence program, by the following method.
The range of addresses used varies from one model to another. They may have to be modified.
Refer to the programming manual of the respective models.
[Example : Using the symbols & comment data of the PMC-FIB for the PMC-RC3]
%@A %@A
%@O %@O
2 BCD 2 BCD
3 NO 3 NO
4 PMC-RB 4 PMC-RC3
7 100 5 000000
9 YES 6 50
% 7 100
eel 9 YES
%
%@l
%@2
x000.0 2PX.M -
x000.1 2PY.M
X000.0 ZPX.M
X000.1 ZPY.M
When a mnemonic file and the standard symbol data are combined, it is possible to use the
standard symbol name provided by FANUC.
FS16/18-T F16&F18-T.SYM
FS16/18-M FlG&F18-M.SYM
2-11
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
Each parameter file of this software can be rewritten using a commercially available text editor so
that the output format shown in each of the following frames can be changed.
For these parameter files, do not change any item not described here.
2-12
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
#PAPER=lO-G
: flO-A=lO-inch/ASCII
i LENGTHL=ll
i LENGTH=11
: WIDTHL=lO
: WIDTH=10
; PTCHL=lS/lZO
: LI
: z
- Print format :.......) .:
LEFTMGL=O
b-1 ‘i LEFTWG=O
lo-inch/ASCII ................................ ....: TOPMGL=O
*lo-inch/graphic TOPMG=O
15-inch/ASCII LCNTL=4
15-inch/graphic C_FI LE+-ij
A4 portrait/ASCII O_FILE;PRTDAT.DMP
A4 portrait/graphic #END,:'
#lQ'G=lO-inch/graphic
LENGTHL=ll
LENGTH=11
WIDTHL=lO
WIDTH=10
- ,:gq: 5
. .. .:.:,‘~:.:,~~:-:
$ 6”:~:~7~8~,.‘g~~10
:; ‘,.y “F
.((.,.,
.,...,._._.
~j$.#).. PTCHL=lS/lZO
.,...
>‘:“:” ,. : :
,,.. :.’
I-
:’
:
:’
:
:
:
:.
:’
:’
.*. B. AMROFTRP.DAT file
:
: /
:,:...:... :...,,.. . ::.,~,,,.,.... .,>,,:
.....,.,
...... .‘. ..:.. >:
C-l. l.lNF files selectable at #l O-A C-2. l.lNF files selectable at #10-G
jindicated aoainst a white backaround) lindicated aaainst a white backaround)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . .._......
(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
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
This item makes it possible to change the name of each choice during diagram output format
Name of file to be
Point of change Settings
edited
(Note) #A4L-A = and #A4L-G = are unavailable in the IBM PC/AT system.
This item makes it possible to specify the top margin of a diagram when it is output.
Name of file to be
Point of change Settings
edited
By modifying this item, the spacing between the LADDER nets used during diagram printout can be
changed in the manner shown below.
NO0003
C
II II
YO.7 YO.0
00001 +00006 00001 l00006
NO0004
D
YO.0 YO.7 YO.1
l00006 00001
NO0005
YO.0 YO.1 YO.7 YO.2
E
.00006 00001 +00008
YO.0 YO.1 YO.7 YO.2
+00006 00001 +00008
2-14
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PCiAT
This item can change the printer model and print paper that are specified during paper selection.
PR201 is not usable in the IBM system.
C;FILE =
C;FILE =
2-15
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
This item can specify the line spacing of a diagram when it is output. The file to be edited is the
one specified according to the descriptions in Section 1.4.4.
Name of file to be
Point of change Settings
edited
l.INF LPI (H) (1 B) (C) (120) ; (H) (1 B) (C) (T < decimal number > ) ;
LDRLPI (H) (1 B) (C) (T15) ; (H) (1B) (C) (Tedecimal number >) ;
This item can specify the left margin of a diagram when it is output. The file to be edited is the
one specified according to the descriptions in Section 1.4.4.
IName of file to be
edited
Point of change
2-16
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC,‘AT
2-17
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
.. ..
.. ..
.. ..
PRZOlH3 CNTINF {
CRLF
FORMF
CPI
CANCEL
LDRCP I
* LPI (H) W)(C) (T2D);
* LDRLP I (H) w (C) (Tl5) ;
* LMARGIN (H)WW)(LDDD);
RMARGIN (H) W (C) t/D781 ;
LDRCHAR (H) (18) (C) (50014);
JPNSET (HwB)ww;
JPNRESET (H) W W (H) ;
1
.. ..
.. ..
.. ..
PRZOlH3 CNTINF (
CRLF W)(OD,OA);
FORMF yw{:
CANCEL
CPI OWhH);
LDRCP I (H) (1B) (C) (Q) ;
LPI (H)W)WT25);
LORLP I (HWWC)(Tl5);
LMARGIN (H) (1B) (C) (LOD5) ;
RMARGIN (H) (18) (C)(/078);
LORCHAR (H) (16) (C) (50014);
JPNSET (H) W) w (K);
JPNRESET (H) W (C)(H);
2-18
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
This item can change the title of a diagram when it is output. The file to be edited is the one
specified according to the descriptions in Section 1.4.4.
Vame of file to be
:INF
edited
SYS-TITLE
Point of change
~~ -T
(C) (<any
Settings
LAD-TITLE
(C) (* Ladder diagram “) ;
IO-TITLE
(C) (* I!0 module data “) ;
MSG-TITLE
(C) (” Message data 7 ;
TIT-TITLE
(C) (” Title data 7 ;
CRS-TITLE
(C) (” Cross-reference “) ;
BIT-TITLE
(C) (” Bit address map T ;
LS-TITLE
(C) (- List file 7 :
This item can specify characters to be output as guidance information to be output during cross-
reference listing. In the CROSSINF.DAT file, lines with no semicolon at the beginning are valid as
guidance information.
Name of file to be
Point of change Settings
edited
2-19
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
This item can specify step and/or net numbers to be output as cross-reference information. If both
step and net numbers are specified, which is to be printed first can also be specified. In the
CROSSINF.DAT file, lines with no semicolon at the beginning are valid as cross-reference
information.
Name of file to be
Point of change Settings
edited
This item enables a character string to be printed at the beginning of the step and net numbers. In
the CROSSINF.DAT file, lines with no semicolon at the beginning are valid.
Name of file to be
Point of change Settings
edited
Z-20
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
This item can set a comment about coil attributes. In the CROSSINF.DAT file, lines with no
semicolon at the beginning are valid.
Vame of file to be
Point of change Settings
edited
This item can insert a space line between addresses. In the CROSSINF.DAT file, lines with no
semicolon at the beginning are valid.
Name of file to be
Point of change
edited
(Note) In this case, space lines as many as the specified value plus 1 are inserted between
addresses. (If 0 is specified as the linefeed count, no space line is inserted between
addresses.)
This item can specify a page break between address types. In the CROSSINF.DAT file, lines with
no semicolon at the beginning are valid.
IName of file to be
edited
:ROSSINF.DAT FF =
Point of change Settings
2-21
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
A desired character string can be output as guidance when the cross reference list is printed. In
the CROSSINF.DAT file, data of a line beginning with a character other than a semi-colon (;) is
valid.
As the cross reference output information, step numbers, net numbers, or both can be output.
When both step and net numbers are output, the order in which they are printed can be specified.
In the CROSSINF.DAT file, data of a line beginning with a character other than a semi-colon (;) is
valid.
A character string can be printed in front of each step or net number. In the CROSSINF.DAT file,
data of a line beginning with a character other than a semi-colon (;) is valid.
2-22
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
A comment about each coil attribute can be specified. In the CROSSINF.DAT file, data of a line
beginning with a character other than a semi-colon (;) is valid.
READ=- 1 I- -I/j-:
READ=-II- -I/I-:
READ= -1 I- :
READ= -I I- :
WRITE = -()- -(I)- :
WRITE = -()- :
Blank lines can be inserted between the data of different addresses. In the CROSSINF.DAT file,
data of a line beginning with a character other than a semi-colon (;) is valid.
-1
(Note) Blank lines of the specified number plus one are inserted between the data of different
address types. (If zero is specified as the line feed value, no blank lines are inserted.)
The printing of the data of each address type can be started on a new page. In the
CROSSINF.DAT file, data of a line beginning with a character other than a semi-colon (;) is valid.
2-23
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
Environment settings for diagram output - example 3 (sample setting 1 of the CROSSINF.DAT file)
l Sample setting of the CROSSINF.DAT 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
;
RO.0
-Ii-++ : S00009/N00003 SOOOl2/NOOOO8 S00014/N00009 SOOOl5/NOOOlO
S00022/N00010 S00024/N00012 S00033/N00015 S00045/N00017
S00047/N00019 S00074/N00032 S00079/N00035
SOOOO2/N00001
2-24
1. COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT
Environment settings for diagram output - example 4 (sample setting 2 of the CROSSINF.DAT file)
l Sample setting of the CROSSINF.DAT file
GUIDE-Step number
NET-INF=O
STEP-INF=l
FROM=S$s
READ=read
WRITE=Write
NL-0
FF=O
:
[A:YFLADDERYSAMPLE]
l ** Cross reference l ** PAGE 1
Step number
Address Symbol Comment
x0.0
Read : SO0045 SO0049 SO0053 SO0082 SO0088 SO0094
x0.1
Read : SO0050 SO0054 SO0059 SO0065 SO0077
YO.0 Double writing
Write : SO0045 SO0128 SO0256
RO.0
Read : SO0009 SO0012 SO0014 SO0015 SO0022 SO0024 SO0033 SO0045
so0047 so0074 so0079
Write : soooo2
2-25
III. THE STEP SEQUENCE FUNCTIONS
3. THE STEP SEQUENCE FUNCTIONS
1. OVERVIEW
The step sequence is one method for programming the sequence control governed by a
programmable controller. This method features the direct representation of the control flow on a
flow chart. Each block of processing is described as a subprogram, using the ladder method.
Therefore it provides an easy-to-understand visualized flow of the processes and is well-suited to
the control of entire processes.
For details of the step sequence method, refer to the following manual.
The programming with step sequence method is supported by Fapt ladder, not but by the built-in
editing function on FANUC PMC-MODEL RB4!RB6/RC4/NB2.
Setting a model in Fapt ladder decides which method, step sequence or ladder, is used.
If a model that supports the step sequence function is selected, a program can be edited in units of
subprograms. To enable this, a subprogram configuration screen has been added.
This screen lists subprograms, and supports the selection and editing of a target subprogram.
I DELETE
I
NEW ZOOM
3-l
3. THE STEP SEQUENCE FUNCTIONS
LEVEL 1 (LADDER) I
LEVEL 2 (LADDER)
LEVEL 3 (LADDER)
3-2
3. THE STEP SEQUENCE FUNCTIONS
-PC9801*IBWPC/AT
Source program
Mnemonic program
Ladder 1st level Mnemonic
conversion A mnemonic program without
Ladder 2nd level - step sequence
Ladder 3rd level -
Subprogram Pl 7
Subprogram P2
Compilation/Decompilation
Object code
I
L
ROM format program I
t '71
Input/Output Input/Output Input/Output
-CNC I
v + v
1) [PMCI 1) [PMCI 1) IPMCI
2) II/O1 2) I I/O1 2) II/O1
3)[HOST] 3)[FDCAS] 33) [MCARD]
(Boot process also can
read the memory card)
The operation of soft key when input/output
3-3
3. THE STEP SEQUENCE FUNCTIONS
2. SETTING A MODEL
2.1 Operation
FAPT LADDER
AOEB-92014502#EN
Fl KEY : EDIT
F2 KEY : PRINT
F3 KEY : COMPILE
F4 KEY : DISCOMPILE
F5 KEY : LINK
F6 KEY : I/D
F7 KEY : SETUP
FE KEY : MNEMONIC EDIT
F9 KEY : UTILITY
FlO KEY : END
3-4
3. THE STEP SEQUENCE FUNCTIONS
PMC-RAl
PMC-RA2
.
.
PMC-RB4 (STEP SEQ)
.
.
* PMC-RC4 (STEP SEQ)
.
.
COPY END
I I
3-5
3. THE STEP SEQUENCE FUNCTIONS
3. EDITING
Fl KEY : EDIT
F2 KEY : PRINT
F3 KEY : COMPILE
F4 KEY : DISCOMPILE
F5 KEY : LINK
F6 KEY : I/O
F7 KEY : SETUP
F8 KEY : MNEMONIC EDIT
F9 KEY : UTILITY
FlO KEY : END
EXEC END
I
Press the c Fl > key. The screen changes, depending on the program to be entered.
3-6
3. THE STEP SEQUENCE FUNCTIONS
To return to the main menu, press the < FlO> or < ESC> key. As the program name, enter
up to eight alphanumeric characters, without an extension.
Fl KEY : TITLE
F2 KEY : LADDER / STEP SEQUENCE
F3 KEY : SYMBOL h COMMNET
F4 KEY : MESSAGE
F5 KEY : I/O MODULE
F6 KEY : SYSTEM PARAMETER
FlO KEY : END
..0
. LEVEL1
........... . 0 LEVEL2 0 LEVEL3
‘m;i’J)@ti$., 0 PO002 0 PO004 0 PO005 0 PO006 0 PO007
0 PO008 0 PO009 0 PO014 0 PO015 0 PO016 0 PO017
0 PO021 0 PO022 0 PO024 0 PO025 0 PO026 qJPOO27
. . . . . .
. . . . . .
0 PO101 0 PO202 q]PO304 q ]PO405 q]PO406 q]PO407
Sub-program : PO001
I I I I DELETE
I
NEW ZOOM
3-7
3. THE STEP SEQUENCE FUNCTIONS
4 (Note 1)
Note 1) The current position of the cursor on the screen is indicated.
The entire screen consists of 32 elements across the screen
and 64 elements from top to bottom. The cursor is positioned to
any element on the screen.
3-8
3. THE STEP SEQUENCE FUNCTIONS
Meaning of display
3-9
3. THE STEP SEQUENCE FUNCTIONS
- If a subprogram number marked with A ] (P21, for example) is selected, the following
message is displayed:
To continue the editing session using the results obtained from suspended previous editing
session, press the < RET > key. To cancel the results of the previous editing session and edit
the subprogram from its original state, enter < N >.
The basics and configuration of the step sequence are described in the following document:
“FANUC PMC-MODEL RB4/RC4 Supplementary Description of Programming (Ladder Language)
B-61 863EI05-3”
On the step sequence screen, different soft keys are displayed, depending on the position of the
cursor.
When the cursor is on the step line, following softkey menu is displayed.
I ...I I
I
+- La
‘:ti;:ili;;$;$
cl] s2 0 s20 cl s30
3-10
3. THE STEP SEQUENCE FUNCTIONS
When the cursor is on the transition line, following softkey menu is displayed.
[ t I: Transition
I l- I : Divergence of selective sequence
[ l== 1: Divergence of simultaneous sequence
I I I: Line for link
I t- I : Convergence of selective sequence
[t== 1: Convergence of simultaneous sequence
[ I :
[ FUNC ] : Various functions
[ CHK ] : Grammatical checking
[ ZOOM ] : Zooming into a subprogram
iii;‘iij,t~.:.:.~.:.Y::“:
~~~
.;:.S $5
::::!,:i-i_._:~:”
..,.:.._
STEP :......Sl
ACTION :?
l-1
The specified subprogram number (PlO in this example) is displayed below Sl.
3-11
3. THE STEP SEQUENCE FUNCTIONS
STEP : 81
ACTION : PlO
l-l
To change the step number, press the <RET> key to position the character cursor ” .?’ on
STEP and use the [BS] key to change the number.
.:$:f:B~~:.:~
~~~~:
T;f;y .. ..... :.:.::.:
,,i;;,;i;y:::::::::
:>:..
,...,.:.:::::::::
)::::::, ::::“::...:.:.:.:.:.~..~:
.: .). :.:.:, :.:.: :.’
STEP : Slg
ACTION : PlO
l-l
ACTION : ‘.:$
l-2
o)i ,:ilFI:t:~:~::s:‘~~~~~~
.\: .. :..:‘::p::; ;I:,. ,.:
.),.
3 :.:~~~~~
:
.::.::. ....::
j::+ ::~.~:~,~.~::~~~:~,:::~.:,~,.~:i.~
.‘::.‘; :........, ..:.:“::>,. .>
,:, ... ... ;,.;..
:
+ : ...i.;:; 1:::....::.:.I,., :..
ACTION : $100
l-2
3-12
3. THE STEP SEQUENCE FUNCTIONS
Position the cursor to the desired input position and press the [ 1 -_I key.
I I
ACTION : PlO&
2-4
3-13
- -
-x -
u
g z
u
- -
u
-z
Y
z
-
-
II
-
II
II II
c t
- -
i j_
- -
-
- -
II II
II II
+ -_,
- -
I I
+ +
- -
+ t
- -
3. THE STEP SEQUENCE FUNCTIONS
LABEL : Ll@;
l-l
STEP : Sl
ACTION : PlO
l-l
3-15
3. THE STEP SEQUENCE FUNCTIONS
A...
LEBEL : $$
2-3
+- L10
101 s1
f-r
I
PlOO PlOO
I::,::'
:.i,jjj.~:~:i'i.li~:~;i:
:;.;
._
.,;::;.
';
y<.:.y
, q ]s 2 ;I:;:-"'
:i'i.:.:?.i':...
&A:itxiO
.,.I.:::::i.:
...... .y,:,,;
,:>,
:::......
‘.:.:...:.:.:;.:.:.:.:.:.:
:~~:~.~:~::..‘.::‘:::::~::::~:~:~:::::
PlOO
t
LEBEL : Llfi:
2-3
3-16
3. THE STEP SEQUENCE FUNCTIONS
Select the element by the <DEL> key and press the <return> key
I
In the example shown above, two figures (elements) of a selective branch and transition are
selected. Specify the element to be deleted with the narrow cursor, displayed in reverse
video. To position the cursor displayed in reverse video, press the [DEL] key. To restore the
state shown above, press the (ESC] key.
If the [RETURN] key is pressed in the state shown above, the selective branch is deleted and
the following screen is displayed:
3-17
3. THE STEP SEQUENCE FUNCTIONS
I
I01 Sl
..I
:::..
.k
... ,..,.......
:
.
.
.. .. ..
... ‘:~l;;;i;~g~.
.:..
>:..A .,
Inserting an element
Position the cursor to the desired insertion position, then press the [INS] key. To create an
mpty row, press the [INS] key.
o create an empty column, press the [SHIFT] and [INS] keys.
STEP : S2
ACTION : p 2 0 0 @$
l-3
3-18
3. THE STEP SEQUENCE FUNCTIONS
l-3
IO1 Sl
c Pl
Cl Sll cl s21
I I
STEP : S2
ACTION : PlO2
l-3
3-19
3. THE STEP SEQUENCE FUNCTIONS
(11) Search
q;;..“;.
,, ======i = ....::::. ...:j:::ji(ij:j.
..;:.I‘I:;:‘:‘: :.:.::: jj ::..:.
1
g$j::$i:.;.‘:“‘l:li:
I-J SlO Cl s20
;;.
(, .,...,::,,... _..t
: .. $5:": t
.~,
...
z:.
:)>>::..,:
.:
....
:>:
::.::.:
".."."..."~>;.>
.:.,.::.:.>
.?....
,.i..
,.,...
..........
Pl Pll P21
cl SlO Cl s20
T2 I I
If the [F8] (FUNC) key is pressed in the state shown above, a pop-up menu is displayed as
shown below:
Fl Search
F2 Copy
F3 Move
F4 Main
FS List
cl Sll cl s21
Y3 I I
Press the [Fl] (Search) key. A pop-up menu is displayed, as shown below:
t
Pl
Fl Step
F2 Action
F3 Label
F4 symbol
F5 Position
F6 Top
F7 Bottom
3-20
3. THE STEP SEQUENCE FUNCTIONS
Then, press the (Fl] (Step) key. Another pop-up menu is displayed, as shown below:
Enter the step number to be searched for (S20, for example), then press the < RET > key.
The system starts searching through the part subsequent to the cursor.
Pl
t
3-21
3. THE STEP SEQUENCE FUNCTIONS
When the [F8) (FUNC) key is pressed, a pop-up menu is displayed as shown below:
Fl Search
F2 Copy
F3 Move
F4 mAin
FS List
Press the [F2) (Copy) key. The system prompts the operator to enter a start point.
ACTION :
Specify Start position l-2
Position the cursor to the desired start point (position 2-3 in the example shown below), then
press the < RET > key. The system prompts the operator to enter the end point.
It
Pl
,.::
.gi.lj?“$;;;y;: :,:.: .>.::.::::::
,(,..:*:...
;;::,&T ,.:.:
,.,.: ,.
:: ‘:: :::::.::::::
1
... ...... .._
q]S2 :..:....:.:.:..q:‘-:
./\....:.::::
....,.,.,.,..
: IJ s20
::::.y::::
::,:;.
:: :.,::.:,,.
‘.‘. ,.:.
:::.;
.j,.
:.;.
.,,..,.‘.‘.,i
:::::.::::::.;::.:.+:
Pl Pll P21
i + +
I
ACTION :
Specify End position 2-3
3-22
3. THE STEP SEQUENCE 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.
:z’:’ J::”
;;; ~~~
:~~~~~~:~~~~
qlS2 I:::iliii:ll:i:li#i:~,::,:~:~:~:~~:
:::‘.zy ::.. j..:.:...:
.....:>:...:.:i\:.:
.:j;j;y .:i.~.I_:~~I:I:I:i.i:~~~~~~~~~:~~:~:,,~,~~
.....\.
...\\
.:....... ._.. ,.,
‘,,., ,,,,,.,,, :i,i:I:I:I:I’I:i:I’I:I:i::I:i6:i:
. ,. ;:~~:~,~:~:~:~:~:~:~::::::.,.~~.~::i:~.~r~:~~:::~~:..~,
::;:;:y:;:~:..:::::::::.:.:.:..:.:
:::.:;;::
::~~~~~::5::iili:~Bi:~:~~:::::~: .........:.:._.,.
........“‘.y,,: :.:.::;:::::::
:...::::z::i
‘,:,
p1 .;C.“
,,,.
<,,,::I:~;~~ws :,;:;i:@!:qgg
~~;~~~:;:,‘::.;..:,,
.,.,.,...
:.:.:..,:.:.:.:.:.
;:
..:,,
L.............
I:::.::‘: q.:.:
:.:.:.:.:.:.:.:.:.:i(.:.,.;....
.
:::;:y:i:::;
.....:..: :.:.::::::::::::::::::::::::........
,:::.
,.,.,.(
,.l,L..i_
‘:,:::,:::::::z:i::
i
:.:.....
c + ..,‘,‘,):‘,:
‘::.“:f+;~::‘:.:.:.::::::.:.:::.:.:.:
..:..
....:,. ::,:,...:
.,.y::
i:,.,
ACTION :
ISpecify End position 3-4
Position the cursor to the desired copy destination (position 4-3 in the example shown below),
then press the < RET > key. The specified part is copied.
t Pl
ACTION : PlOO
3-23
3. THE STEP SEQUENCE FUNCTIONS
(13) Returning from the ZOOM destination to the program configuration screen (MAIN).
To return to the program configuration screen, displayed when editing was started, follow the
procedure below. The system assumes that the editing of the step sequence subprogram,
from which the [ZOOM] key was pressed, is suspended.
The edited subprogram is not saved in the source program file.
_....\\..
$1::”::;;g:: ........................
“.’
$Q;”
_, ,.,.,.
.‘.Yy.*
:.‘:;:::y:y:;:~::
.. ,.,_
$.:‘rii:” 0
1 SlO Cl s20
~~~~ tpll i
P21
F3 Move
F4 mAin
F5 List
3-24
3. THE STEP SEQUENCE FUNCTIONS
If the subprogram whose previous editing session was suspended (marked with A]) is
selected again for editing, the following message is displayed:
(14)LIST
The list of subprograms referenced by the stepsequence subprogram that is currently being
edited is displayed.
i_i:.::~~.::;:.;
:.:::::.:::::ii:‘:I:‘i8iiiiiiii 7====j =
:~~~~~~~ Cl SlO cl s20
....... ‘.‘.:‘::.‘.‘.::.:.;.:
.I’.‘..
.I ........:.:,:.:::.:::.::::::~:;::~::,:
... .......‘+
.. t
:::,t .::~i;::‘i:::i::i::_:~::.~
Pl Pll P21
Pl
t
=II=I=t=III
Fl Search
F2 Copy
F3 Move
F4 mAin
F5 List
I I
3-25
3. THE STEP SEQUENCE FUNCTIONS
Screen display
q ]P200
I I
The subprogram which is being edited is displayed. If the [ZOOM] key is pressed to nest the
program to a certain depth, the subprogram numbers are arranged from the left in the order in
which they are nested. The subprogram for which the [ZOOM] key was pressed first is
displayed at the left end.
Subprograms referenced by the subprogram that is currently being edited are listed with the
following mark: :
cl : Ladder subprogram
cl] : Step sequence subprogram
Pl
t
gqc. :.::.:::,:::I:.‘:,:,::::....:.
.;:.(.‘:.:.:.:.~:.~::::::::::,
Pll P21
3-26
3. THE STEP SEQUENCE FUNCTIONS
~~~~~~~~ I
.;.“..::..:.::;: .: ... . ... . .....
.....
.:.:.::
: : : >: : ..................
..?..): ..: ..:.:.:::: ..
0 slo
.:.::.:..:. .. .: “:.:‘:‘:j::::::::
:>::z: .::i;i::,i:i::llii;ili:iliiilcy;
2;:s:: ............
...
......> ....................
. :.:. ...................
t t
I I
(16)Modifying a subprogram (ZOOM)
Press the [ZOOM] key.
~~~~~~~l,;~~.~
:::::::: i ====7 =
:;:;:::::::;
;:::
:.:,:g:>::;:;:i:
“~~:~~~~di 0 SlO cl s20
. ::.:i”.:.:.:::::+
:..2;. t
::;:;$,.,,,,,;,:.,
:....::,:::.::.::
.jjj,::jjj:,:~~g::j:~:: t
Pl Pll P21
cl SlO Cl s20
Y2 I I
3 - 27
3. THE STEP SEQUENCE FUNCTIONS
When the [ZOOM] key is pressed, the figure pointed by cursor decides the type of subprogram
which is to be edited.
(17)End of modifying
Press the [ESC] key.
Fl Save(update) h quit
F2 Quit
F3 Edit
F4 Rename, save h quit
F5 Optimize
Menus
Menu
I Editing I Result of editing I Display
3-28
Z
LJJ
CL
n
a
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
On-line cable
25pin male 25pin male
connector connector
IBM PC/AT
IBM PSI2
Al-l
APPENDIX 1 DATA TRANSFER CABLES
2 2
SD SD
RD RD
4 4
RS RS
I 5 5 25-pin male
25dn male
cs I cs
connector connector
ER ER
DR DR
CD ZI E CD
7 7
SG SG
1 1
FG FG
1 8
CD CD
2 3
RD RD
3 2
SD SD
4 20
g-Din female 25-pin female
ER ER connector
connector
5 7
SG SG
6 6
DR DR
7 4
RS RS
8 5
cs cs
9 22
Cl Cl
Al-2
A!
P
b I
APPENDIX 2 FUNCTION FOR OPERATING
THE PMC-UM WITH RAM
1. GENERAL
This appendix describes the procedure for operating the PMC-L using built-in RAM or the PMC-M
using the optional RAM board. It also describes related notes.
2. HARDWARE CONFIGURATION
(1) PMC-L
No extra hardware is needed.
The PMC-L is operated with ROM only when the PMC-L is provided with the ROM and without
the Ladder Edit Cassette (printed circuit board).
(2) PMC-M
The optional RAM board is necessary. It is also necessary to mount the Ladder Edit Cassette
or to mount ROMs for the PMC-M on the ROM sockets, OEl and OE2, on the memory board.
Mount the PMC-M ROMs on the sockets as shown below.
Memory card
(A16B-1212-0210)
(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.
(Note 2) When a ladder program is modified using the Ladder Edit Cassette on the PMC-M
provided with the ROM board, the PMC-M executes the original ladder program stored
in the ROM board, and the modified ladder program is displayed on the screen with the
DGNOS ladder diagram display function. The program being executed and the
program being displayed are different.
A2-1
APPENDIX 2 FUNCTION FOR OPERATING
THE PMC-L/M WITH RAM
3. RAM OPERATION
(1) PMC-L
Yes
=I pk (see Section 4)
A2-2
APPENDIX 2 FUNCTION FOR OPERATING
THE PMC-L/M WITH RAM
(2) PMC-M
Contents of the
backup RAM
I
No
(Note) Ladder
programs stored in
the EPROM on the
Parameter for Yes ROM board are
displaying the copied to the RAM.
PMC load select
screen
PMC LOADING
ADDRESS:OOOOH
DATA: OOH
AZ-3
APPENDIX 2 FUNCTION FOR OPERATING
THE PMC-L/M WITH RAM
@ When a ladder oroaram sent from the FAPT LADDER is executed on RAM ooeration
Mount the ROMs for the PMC-M into the sockets usually used for the PMC-L on the
memory board. Write data into the ROM using the PMC-M management software that is
the same version as that used for transferring a ladder program. A ladder program that
only contains the END code (SUBl, SUB2, and SUB48) can be used.
When a ladder program is sent from a ROM or a floppy disk that contains a program which can
be executed, follow the description above.
8 When a ladder oroctram chanaed or created usina the Ladder Edit Cassette is executed on
RAM ooeration
Merhod 7: Mount the Edit Cassette. The PMC-M management software in the Edit
Cassette executes the ladder program.
Mefhod 2: Mount the Edit Cassette. Also mount the ROMs for the PMC-M into the
sockets usually used for the PMC-L on the memory board. The PMC-M
management software in the ROM executes the ladder program.
To change a ladder program which is executed on RAM operation, follow the description
above.
If an attempt is made to perform RAM operation in conditions other than those described
above, ROM parity alarm 604 is issued. Satisfy the above conditions first. Then perform RAM
operation.
A2-4
APPENDIX 2 FUNCTION FOR OPERATING
THE PMC-UM WITH RAM
The PMC load select screen shown below varies depending on hardware configuration.
Fig. 4
Whether the PMC load select screen is displayed or not is determined by the setting of DPCRAM,
a bit of the following CNC parameter.
NO.71 DPCRAM
I I I
#7 #6 #5 #4 #3 #2 #l #O
A2-5
APPENDIX 3 ERROR MESSAGES
1. MAIN MENU/SETTINGS
xxx executable file not found. - Executable file xxx does not exist in the system
Hit any key! directory.
- System directory is not specified in the declaration
made by environment variable PATH.
xxx process error. Hit any key! - Error occurred while loading executable file xxx.
xxx file l/O error. - I/O error for the xxx file occurred during system
setup for the type of machine being used.
Not found “I_COxxx.EXE”. - The executable file of compiler was not found.
Install the system again.
A3-1
APPENDIX 3 ERROR MESSAGES
MAKING DATA TABLE - Data table for target program list is making.
WRITING SELECTED FILE DATA - When source program list screen exit, writing
selected files into P INTERF.DAT.
NOT ENOUGH MEMORY. HIT ANY - Memory is not sufficient for source program list
KEY... screen.
FILE ALREADY SELECT. HIT ANY - The number of selected file is out of range.
KEY...
NOT BE SELECTED FILE, YET. - When any file are not selected as target file, you
can’t move the cursor to target file list screen.
NOT MODIFIED EXTEND, ALREADY - You can’t change the extension, when selected files
SELECTED FILES. HIT ANY KEY... are exist in select file list screen.
INPUT ERROR DIRECTORY NAME. - Specified directory name is not found, with using
L-IIT ANY KEY. [DRIVE] command.
A3-2
APPENDIX 3 ERROR MESSAGES
nsufficient disk space. - Disk space was used up during file l/O.
\lot found xxx Set-up file. - System setup file xxx does not exist in the system
directory.
\lot found xxx PMC-OS file. - Software management file xxx does not exist in the
system directory.
(xx file I/O error. - I/O error occurred for file xxx during creation of a
source program file.
llegal xxx Source-program name. - Invalid characters appear in the name, xxx, of the
input source program file.
inachine Kind And Input Program Not - Machine type for the input program and the
>onsistency! PMC series is xxx. machine type for the system (common table file) do
not agree. Perform proper system setup for the
type of machine being used.
‘lease Appoint Program Name - Neither the input program name nor the output
program name were specified when a source
program name was specified.
Output Program Already Exist! - File already exists with the name specified for the
All Right? (Y/N) output program. To overwrite this file, enter ‘3”‘.
To cancel, enter “N”.
nake New Source Program - Specified input/output program name does not
exist. A new file is being created.
Ippointed Input Program Not Exist - Names of the input program and output program do
not agree and the input program does not exist.
xx Symbol & Comment data broken. - Symbol and comment data in input program xxx
contain error(s).
A3-3
APPENDIX 3 ERROR MESSAGES
EDIT BUFFER OVER - Editing buffer was exceeded during net creation.
70LINE/l NET OVER - Editing cannot be continued due to the large size of
nets being edited. Make nets smaller.
LARGE NET APPEARED
LLEGAL NETS CLEARED - Net which did not match the specified level of the
stack was found and deleted from the LADDER
program which was read in.
ADDRESS BIT NOTHING - Specified address was not found during address
search.
-UNCTION NOT FOUND - Specified function instruction was not found during
function instruction search.
A3-4
APPENDIX 3 ERROR MESSAGES
STACK REGISTER OVER (8bit) ERR - There are 9 or more continuous stacks in the
LADDER program which was read in.
NOT EXIST APPOINT DATA SIZE - There is not enough data area for the specified file.
DISK SPACE NOTHING - Error occurred when reading data from a file.
INSUFFICIENT MEMORY. HIT ANY - Area to be used in editing could not be acquired.
KEY!
File Read Error! Hit Any Key - File could not be read.
File Write Error! Hit any Key - File could not be written.
File I/O Error! Hit Any Key - File I/O error occurred.
Not Enough Space - Work area for message editing could not be
acquired due to insufficient memory.
Same Symbol Data Exist - Symbol data already exists that is identical to
symbol data that was input.
Data Save Error - Error occurred when symbol or comment data was
being registered in the work area.
Not Found Data Error - Required data could not be found during symbol
data lookup.
Input Data Invalid - There is an input error in the l/O module settings.
Appointed group Not Exist - There is an error in the group that was input.
Appointed Base Not Exist - There is an error in the base that was input.
Appointed Slot Not Exist - There is an error in the slot that was input.
Appointed ID Code Not Exist - There is an error in the ID code that was input.
Operate Panel Address Error - Addresses have not been set at the operation
panel.
A3-5
APPENDIX 3 ERROR MESSAGES
4. PRINTER
DATA INPUT ERROR - There is an error in the data input in the setup
screens such as the type selection screen for
diagram output.
NOT FIND FILE - Nonexistent file name was entered in the source
program selection screen.
DIFFERENT MACHINE CODE. - Machine type codes in the common table file and
the management file do not agree.
WRITE ERROR COMONDAT.TBL. - Error occurred when a program name was written
HIT ANY KEY... to the common table file.
NOT EXIST AMROFTRP.DAT. - AMROFTRP.DAT (print format data file) does not
HIT ANY KEY... exist.
WRITE ERROR AMROFTRP.DAT. - Error occurred when the paper size was written to
HIT ANY KEY... AMROFTRP.DAT.
NOT ENOUGH MEMORY. - Tried to acquire memory but there was no memory
HIT ANY KEY... area of a sufficient size.
SEL SWITCH OFF - SEL button of the printer is off. Turn it on.
DATA INVALID ‘xxxxxxxX’. - Error occurred during reading of the print format
HIT ANY KEY... data file.
OPEN ERROR OUTPUT FILE. - Error occurred during opening of output file. There
HIT ANY KEY... is not sufficient space on the disk.
OUTPUT FILE NOT DEFINED. - No output file is specified in the print format data
HIT ANY KEY... file.
OUTPUT FILE ALREADY EXIST. - File exists with the same name as the output file.
OVER WRITE (YIN) Enter “Y” to overwrite or “N” to cancel output.
WRITE ERROR OUTPUT FILE. - Error occurred during writing to the output file.
HIT ANY KEY... There is not sufficient space on the disk.
CANCEL FILE OUTPUT. - [BREAK] key was pressed during file output.
HIT ANY KEY...
SYMBOL & COMMENT DATA - Symbol and comment data files are invalid.
BROKEN. HIT ANY KEY...
A3-6
APPENDIX 3 ERROR MESSAGES
Illegal OP. PANEL (PARAMETER). - System parameter that specifies use of the
Proceed to discompile using ‘NO’ 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).
Error end 4 - 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
Error end 17 - END2 was found before END1 or END1 was not
found before the LADDER program ended.
Error end 18 - END3 was found before END2 or END2 was not
found before the LADDER program ended.
Error end 19 - END3 was not found before the LADDER program
ended.
(Does not include third level ommission mode.)
A3-8
APPENDIX 3 ERROR MESSAGES
Error link 90 - During linking, SO record was not found before the
end of the load module.
- Different S record exists before the SO record.
Error link 92 - 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.
\lot appoint source program name - No source program was specified for compilation or
decompilation.
riot appoint ROM format file name - ROM format file name was not specified for
compilation, decompilation or linking.
Jot appoint load module file name - No load module file name was specified for linking.
Jot enough space - Not enough space is available on disk for file
creation during compilation, decompilation or
linking.
:ile already exist - Name specified for ROM format file during
?enewal (Y/N)? compilation already exists.
‘rogram already exist - #CN file of the source program specified for
?enewal (Y/N)? decompilation already exists.
qead error - #CN or #PA file of the source program specified for
compilation does not exist.
- Some sort of disk l/O error occurred.
lead error - Load module file specified for linking does not exist.
- Some sort of disk l/O error occurred.
A3-9
APPENDIX 3 ERROR MESSAGES
(System parameter) Read error - 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-\.”
(I/O module) Read error - 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.
‘System parameter) Write error - Some sort of disk I/O error occurred.
‘I/O module) Write error - Some sort of disk I/O error occurred.
A3-10
APPENDIX 3 ERROR MESSAGES
6. COMPILE ERRORS
Compile errors can be divided into the following two basic groups:
- Error:Processing is stopped because of a fatal error. The processing can not be continued
unless the cause of the error has been removed.
003 . The title data which could not be display on the CNC was replaced with space code
(Cause) The title data contains a code which cannot be processed (a Japanese code,
for example).
A3-11
APPENDIX 3 ERROR MESSAGES
A3-12
APPENDIX 3 ERROR MESSAGES
007 * Specified value for a parameter of the xxxx instruction is outside the range.
(Cause) The parameter of the xxxx instruction falls outside the predetermined range.
A3-13
APPENDIX 3 ERROR MESSAGES
017 - The symbol data which could not be displayed on the CNC was replaced with space
code.
(Cause) The symbol contains a code other than 20H to 7EH or OAH.
018 - The comment data which could not be displayed on the CNC was replaced with space
code.
(Cause) The comment contains a code other than 20H to 7EH or OAH.
019 * The message data which could not be displayed on the CNC was replaced with space
code.
(Cause) The message contains a code other than 20H to 7EH or OAH.
A3-14
APPENDIX 3 ERROR MESSAGES
A3-15
APPENDIX 3 ERROR MESSAGES
A3-16
APPENDIX 3 ERROR MESSAGES
056 * There is no coil in the functional instruction which needs the coil.
(Cause) No output instruction is specified after a functional instruction which requires
output.
062 * Specified value for a parameter of the functional instruction is outside the range.
(Cause) An illegal value has been specified for the parameter of a functional
instruction.
A3-17
APPENDIX 3 ERROR MESSAGES
A3-18
APPENDIX 3 ERROR MESSAGES
6.6Path 2/warning
004 - Data too large. ( message + symbol + comment + ladder + step sequence )
(Cause) The total size of the message, symbol, comment, ladder, and step sequence
data exceeds the predetermined limit.
005 * The number of label exceeds the limit. ( xxxx net in LEVELx.#LA )
(Cause) The total number of labels used within LEVELl, LEVEL2, or LEVEL3 exceeds
the predetermined limit.
006 * The label of Lxxxx is used twice or more. ( xxxx net in LEVELx.#LA )
(Cause) An identical L address is specified for two or more labels in LEVELl, LEVEL2,
or LEVELB.
009 * The label of Lxxxx exists in the COM mode. ( xxxx net in Pxxxx.#LA )
(Cause) The destination label of JMPC is found between COM and COME.
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.
A3-19
APPENDIX 3 ERROR MESSAGES
INVALID RECEIVE DATA - Data other than IS0 codes was sent.
‘xxxx.DAT’ file format error. - No xxx.DAT files exist in the directory containing
4it any key FAPT LADDER. Install the system again.
VOT EXIST APPOINT ROM FORM - Specified ROM format file does not exist on the
=lLE disk [write and verification for the ROM writer,
download and comparison for the PMC].
ALREADY EXIST FILE! - Specified file already exists [read operation for the
3JPERSCRlPTlON REAL FILE? (Y/N) ROM writer, upload for the PMC]. To overwrite,
enter “Y”. To change the name of the file, enter
“N”.
3OW PARITY ERROR OF APPOINT - There is an error in the ROM parity of the specified
-ILE ROM format file [write operation for the ROM
writer].
3OM PARITY WARNING OF - There is an error in the ROM parity of the specified
4PPOINT FILE. CONTINUE TO ROM format file [download for the PMC]. To
TRANSFER? (Y/N) download in this state, enter “Y”. To cancel, enter
“N”.
3OM PARITY WARNING OF - There is an error in the ROM parity of the specified
APPOINT FILE ROM format file [read operation for the ROM writer,
upload for the PMC).
NAITING FOR RECEIVE. WHEN TO - No data was received during transmission [read
STOP. PUSH BREAK KEY 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.
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.
A3-20
APPENDIX 3 ERROR MESSAGES
IFILE READ ERROR I- Cannot read from specified ROM format file.
I-
ROM FILE > ROM ERROR - During writing, the specified ROM format file could
not be fully written to ROM (cassette or module).
IROM I-
r
FILE FORMAT ERROR ROM file format is incorrect.
WORK FILE INITIALIZE ERROR - There is not enough space on the disk for the work
file area (512K bytes) [PMC-N].
IWIIT.5
- Cannot write to EROM because it has not yet been
erased.
DATA SEND ERROR - The number of the sent data items does not match
that of the received data items.
I
PORT ERROR (FRAMING) - Framing error (determined by the status check
information from I/O ports)
I
PORT ERROR (BREAK INTERRUPT) - Break interrupt error (determined by the status
check information from I/O ports)
~
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
APPENDIX 3 ERROR MESSAGES
8. MNEMONIC EDITING
Unknown data number. - Data number was specified that does not exist in
the system parameters.
Too many characters in 1 line. - System parameter contains a line of data that
exceeds the maximum allowed number of
characters.
A3-22
APPENDIX 3 ERROR MESSAGES
Unknown data number. - Specified data identifier number does not exist.
Too long strings. - Length of title data exceeded the maximum length.
Too many characters in 1 line. - Title data contains a line of data that exceeds the
maximum allowed number of characters.
SYMBOL data not found. - Comment data exists, but there is no symbol data.
Include KANA or KANJI character(s) in - Comment data which contains m-type characters
comment data. was converted without the m-type character
conversion option (J option).
Too long characters in 1 line. - Symbol or comment data contains a line of data
that exceeds the maximum allowed number of
characters.
Comment data not found. - Only symbol data was converted for the address.
Symbol or comment data not found. - Only symbol or comment data was converted for
the address.
A3-23
APPENDIX 3 ERROR MESSAGES
Cannot specify byte address on basic - Byte address was specified in a basic command.
instruction.
Cannot specify the input address with - Address which cannot be output was specified in a
coil. coil.
Cannot specify the odd address. - Odd address was specified for an address that
cannot be odd.
Cannot specify bit address of - Bit address was specified in the byte address
oarameter. parameter of a function instruction.
Cannot specify the input address. - Address which cannot be output was specified for
the output address parameter of a function
instruction.
Cannot specify the address prohibited - Address which cannot be specified as a parameter
Jsing as parameter. was specified as a function instruction address
parameter.
3ut of value in data table. - Out-of-bound value was specified in the function
instruction data table.
_ogical product remains in register(s). - LADDER data contains a register which is not
output.
_ogical operated with unused - Operation was performed with a register which was
,egister(s). not input in LADDER data.
A3-24
APPENDIX 3 ERROR MESSAGES
Too many control conditions. - Too many function instruction control conditions.
Too many characters in 1 line. - Mnemonic data contains a line of characters that
exceeds that maximum allowed number of
characters.
llegal address in data table. - Function instruction data table contains an invalid
address.
3ut of address limits in data table. - Function instruction data table contains an out-of-
bound address.
A3-25
APPENDIX 3 ERROR MESSAGES
Too many characters in 1 line. - Message data contains a line of characters that
exceeds the maximum allowed number of
characters.
Not found data at $ address. - Mnemonic message data was not specified. Only
mnemonic address data was specified.
Cannot convert in case of specified - Specified machine type and data machine type do
PMC series. not agree.
A3-26
APPENDIX 3 ERROR MESSAGES
Out of address limits. - Out-of-bound address specified for I/O module data
address.
Not found group data. - l/O module data has no group data.
Illegal value in group data. - Group data of I/O module data contains an invalid
value.
Out of value in group data. - Group data of I/O module data contains an out-of-
bound value.
Not found base data. - l/O module data has no base data.
811egalvalue in base data. - Base data of I/O module data contains an invalid
value.
Dut of value in base data. - Base data of l/O module data contains an out-of-
bound value.
Vat found slot data. - I/O module data has no slot data.
llegal value in slot data. - Slot data of l/O module data contains an invalid
value.
3ut of value in slot data. - Slot data of I/O module data contains an out-of-
bound value.
\lot found module name. - I/O module data has no module name.
nvalid module name. - I/O module data has an invalid module name.
Cannot specify output module at input - Output module is specified at the input address of
Iddress. the l/O module data.
Cannot specify input module at output - Input module is specified at the output address of
address. the I/O module data.
2annot specify same group, base and - Group, base, and slot data of I/O module data have
;lot. the same data.
rot.9 value of base and slot is over. - Sum of base and slot data of I/O module data
exceeds the maximum allowed value.
Too many characters in 1 line. - I/O module data contains a line of characters that
exceeds the maximum allowed number of
characters.
2annot convert in case of specified - Specified machine type and conversion data
‘MC series. machine type do not agree.
A3-27
APPENDIX 3 ERROR MESSAGES
Insufficient disk space There is insufficient free space on the specified drive.
Number of nest branch too big The program contains too many branches.
Number of branch too big The program contains too many branches.
Cannot make diagram The wrong soft key was pressed to change an
element.
Horizontal fine illegal The point at which a branch must be closed is left as
a horizontal line.
A3-28
APPENDIX 3 ERROR MESSAGES
Step Number Duplicate Error The specified step number is being used by another
subprogram.
Label Number Duplicate Error The specified label is used in two or more positions.
Same sub-program name exists A file having the same name, but a different extension,
exists.
I
Input invarid The specified address data exceeds
predetermined range.
the
Sub-program of nest branch too big An attempt was made to nest a program to a level of
eight or more, by using the [ZOOM] key.
A3-29
APPENDIX 4 MODULAR PROGRAMMING
(PMC-RA3/RB3/RC3 ONLY)
The PMCRA3/RB3’RC3 has special sub-program functions that allow modular programming.
When the sub-program function is used, a Ladder program, which must have been coded as an
unbroken sequence before, can be coded in units of sub-programs.
The sub-program function enables FAPT LADDER to manage a program by dividing it into two or
more modules (modular programming.)
The modular programming is accomplished by the ladder diagram editing function to produce a
module from a program and connect a module to a program and the compile function to connect
modules.
In the later part of this book, the terms “module” and “source program” mean the following:
0 Module : Logical unit of a program. A module does not always correspond to a sub-
program. A single module can be the first or second half of the main program
or a group of sub-programs.
l Source program : Physical unit of a program stored on a floppy disk or hard disk
Source program
Module
A4-1
APPENDIX 4 MODULAR PROGRAMMING
(PMC-RA3/RB3/RC3 ONLY)
......
. . .. .. *..*
_....
*
Edit .
. ...*.
<..... ....’
...
For the details of (1) and (2), see (8) “Copying Sections of a Sequence Program” in Section
5.1.2, “Ladder Diagram Editing.”
2. COMPILE FUNCTION
Control statement
(MAINFILE.#LS)
File selection
MAINFILE
MAINFILE.#LA 1Main program 1 SUBFILEI
I I SUBFILE ROM data
1 I
Main program I
SUBFILEl.#LA 1Sub-program 1 1 .
, SUBFlLEn Sub-program 1 1
SUBFILE2.#LA I Sub-program 2 I
I I Sub-program 2 1
.
. .
.
SUBFILEn.#LA
Sub-program n 1
A4-2
APPENDIX 4 MODULAR PROGRAMMING
(PMC-RA3/RB3/RC3 ONLY)
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 are handled.
0 A source program in the control statement can be used for another purpose only by
changing its name.
Program 1 Program 2
ESub-program
..................
A4-3
APPENDIX 5 BOOT SYSTEM OPERATING PROCEDURE (FOR THE FSZO)
This appendix describes how to use the BOOT SYSTEM for the FS20. The operating procedure
varies from one CNC model to another. For other models such as the FSlSB (PMC-NA), refer to
the respective manuals.
AS-1
APPENDIX 5 BOOT SYSTEM OPERATING PROCEDURE (FOR THE FSZO)
*** MESSAGE l **
SELECT MODE AND HIT [SELECT] KEY.
FILE DIRECTORY
~~~~~~~~
B Place the cursor on the
desired filename using TEST. DAT “’
[UP] or [DOWN], then END
press [SELECT]. *** MESSAGE l **
1
SELECT FILE AND HIT [SELECT] KEY.
I t I
- Cy
AS-2
APPENDIX 6 MEMORY CARD COMPATIBILITY
(FOR THE PMC-RAl/RA3, NB, AND QC)
Cases 0, 0, 0, and 0, where input/output is possible under some condition, are explained
below.
A6-1
APPENDIX 6 MEMORY CARD COMPATIBILITY
(FOR THE PMGRAVRA3, NB, AND QC)
l Cases 0 and @
output : No special operation is required.
Input : Use the BOOT SYSTEM to enter a sequence program.
l 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. Note that for the output format, the default
value (put in effect by pressing soft key [INIT]) is 0 (binary).
CHANNEL = 1
DEVICE = M-CARD
~~~~4~~~1 _ "RITE
DATA KIND = LADDER
FILE NO. =
( #NAME )
[INPUT ] [ II I[ 1 [ INIT 1
Input : To enter a sequence program, select F6 (input/output), then F3 (Handy File &
memory card) from the main menu screen.
l Case @
output : Output a sequence program to a memory card by selecting F6 (input/output), then
F4 (FLOPPY CASSETTE ADAPTER & Handy File) from the main menu.
Input : Select F6 (input/output), then F5 (memory card) from the main menu; a sequence
program can be read as usual.
A6-2
APPENDIX 7 CAUTIONS FOR USING THE 0:s
@ DOSKEY.COM
When DOSKEY.COM is used in insertion mode, pay attention to the following:
Insert mode specification DOSKEY.COM/INSERT
When DOSKEY.COM is used in insert mode on the PC-9801, the symptom described
below occurs.
l When an attempt is made to move the cursor to “3) Select conversion data type”
on the “conversion to mnemonic” screen, the cursor disappears, but the desired
data type is selected normally.
This symptom does not occur on the IBM/PC or compatible.
[Measure]
Use DOSKEY.COM in replace mode.
0 SMARTDRV.EXE
When SMARTDRV.EXE is used with write caching enabled, pay attention to the following:
Enable write caching SMARTDRV.EXE
When SMARTDRV.EXE is used with write caching enabled, the following symptom occurs.
l The following alarm occurs during a read from the PMC or FA/PMC writer, disabling
entry.
Alarm message : “Received data invalid” (for the PC-9801)
“OVERRUN” (for the IBM/PC and compatible)
[Measure]
When SMARTDRV.EXE is used, disable write caching for the following disk drives:
A7-1
APPENDIX 8 TOOL FOR CHANGING MESSAGE DATA (CHGMES)
This function is a tool(CHGMES) for easy changing the message data incorporating sequence
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 to use some message data files in one ladder program.(For
example: Supporting multi-lingual message.)
(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 operation ([I/O] screen).
(2) Input the “CHGMES” command with the message data for changing and dummy ladder
file(handy file format).
(3) The message data on the NC is changed by loading the output file of this tool on the PMC
input/output operation ([I!01 screen).
2. OPERATING ENVIRONMENT
A8-1
APPENDIX 8 TOOL FOR CHANGING MESSAGE DATA (CHGMES)
TOTAL 133KBytes
3. INSTALLATION
Please copy EXE-FILE (_CHGMES.EXE) to any directory from FAPT LADDER system floppy
disk(Vol.3).
Key in ‘I_ CHGMES” on the installed directory, then following files are generated.
* CHGMES.EXE * ASC2lMG.EXE * IMG2ASC.EXE : Execute files (.EXE)
* RB3DUMMY.SFM * RB3BASIC.SFM * RB3MES.SFM : example files(.SFM)
Example files(.SFM) are used to confirm the installation of this function by activating example
command.
4. ACTIVATION
Key in following command at the DOS prompt activated in the utility.(No.9 of FAPT LADDER main
menu).
Or,Please change the directory in which this tool is installed.
(It is not necessary to change the directory when the “PATH”‘is set.)
Then key in following command.
CHGMES [INPUT FILE] [OUTPUT FILE] [PMC TYPE] ( [COMPARE FILE] ) <return>
INPUT FILE : : A handy file format file that consists of a dummy ladder and message data
to replace the message data in the basic message ladder file.
Create this file by compiling the source file and converting 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.
By loading this file to the CNC, message data in the CNC memory can be
substituted.
PMC TYPE : : PMC TYPE (RAl or RA2 or RA3...etc.)
Please key in PMC TYPE that is defined <Applied PMCs> item.
Error will occur at key in other than applied PMCs.
COMPARE FILE : : Basic message ladder file (Handy file format)
(Optional) Please refer to the Fig.“Operation outline”.
This tool compares message size of the “INPUT FILE” and the
“COMPARE FILE” to determine if there is a match. Then, you can
guarantee that only the message will be correctry replaced without
crashing other data when you load the ‘OUTPUT FILE’ to CNC.
A8-2
APPENDIX 8 TOOL FOR CHANGING MESSAGE DATA (CHGMES)
<Outline of Operation 7
+ Generation, Editing +
+, +,
J t
INPUT/OUTPUT (F4:FLOPPY CASSETTE Handy File)
%l %2 %3
(Note)
%2 FLOPPY MEMORY CARD
r/ r]ORu
(Note)
(Note) It is possible to load by memory card only for FS16 -B, FS18-B, FS-20, FS21-B, and
FSl5-B (PMC-NB).
Please refer to the following manual about detailed operation of loading by the memory
card or handy file. It is not possible to load on boot screen.
FANUC PMC MODEL PAl/PA3/RAl/RA2/RA3/RB/RB2/RBURC/RC3/RCWNB
PROGRAMMING MANUAL (LADDER LANGUAGE) (B-61863EI06)
A8-3
APPENDIX 8 TOOL FOR CHANGING MESSAGE DATA (CHGMES)
5. USING EXAMPLE
RB3DUMMY.SFM : : Message data and dummy ladder file (Handy file format)
(Message data (50KB) + Ladder (END1 + END2))
RB3BASIC.SFM : : Basic message ladder file (Handy file format)
(Message data (50KB) + Ladder data + Symbol&Comment data)
RB3MESSFM : : Data for checking the result (Message data(50KB))
(This file is a normal output file, when this tool execute for above
sample data. It is possible to check result by comparing “OUTPUT
FILE” and this file.)
Execute as the following (In this case the system is installed in main
body.)
6. ERROR MESSAGES
chgmes : PMC type unmatch (pmc type) PMC type does not match between applied
PMCs.
chgmes : PMC type unmatch (input file) PMC type of input file and key in PMC type do
not match.
chgmes : PMC type unmatch (compare file) PMC type of compare file and key in PMC
type do not match.
chgmes : Message sizes of (input file) and Message size of input file and compare file do
(compare file) are mismatched not agree. Please adjust the message size by
adding some dummy message to the input
file. Please confirm the MAP display on the
compile function of FAPT LADDER.
chgmes : Cannot start ASC2lMG ASC2lMG.EXE does not exist in the same
directory of CHGMES.EXE.
A8-4
APPENDIX 8 TOOL FOR CHANGING MESSAGE DATA (CHGMES)
chgmes : Cannot start IMG2ASC IMG2ASC.EXE does not exist in the same
directory of CHGMESEXE.
chgmes : Cannot close file $tmpd (w).t* Temporary file can not be closed.
Please check the disk space.
ssc2img : Cannot allocate memory (“bytes) Memory is insufficient. Please free up 235KB
or more memory, and re-activate.
ssc2img : Conversion area in input is Ladder header of the input file is crushed.
zonflicted Please re-make the input file, and re-activate.
asc2img : Unknown file type Illegal format of the input file. Please change
the format, and re-activate.
asc2img : (input file) : Record No.” has There is an invalid data of input file.
Please correct as error message, and
reactivate.
mg2asc : Cannot allocate memory (“bytes) Memory is insufficient. Please free up 235KB
or more memory, and re-activate.
A8-5
APPENDIX 9 SOFTWARE VERSION TABLE
To use the software described in this manual, each CNC unit requires a different system disk.
As described in Section 2.1 in Part I, each system must prepare an area of 3 Mbytes in its hard
disk. If software products of specific versions listed below are used, however, they can be stored
in the same directory and can be operated.
When the software products of specific versions are stored in one directory, the required capacity
of hard disk is a little more than 3 Mbytes. in addition, any PMC model can be selected just by
moving the cursor on the model selection screen.
A9-1
APPENDIX 9 SOFTWARE VERSION TABLE
2) System floppy disks and module floppy disks for the FS16/18/15B,Powe Mate-D, F-D Mate Mini
that can be used together
software
Combinations of versions
(-Jxxx)
‘MC-RB/RC 01.0 02.0 03.0-03.6 04.0- 05.0- 06.1 06.2- 08.0- 08.3-
(-J502) 04.2 06.0 07.1 08.1 08.4
?Al/RA2 MODULE - 01.0 02.0 02.1 03.0- 04.0 04.1 04.2- 05.0 05.1
PMCRAl/RA2/RA3 03.4 04.4
PA1 /PA3)
(-J603)
IB/RC MODULE 01.0 02.0 03.0 03.1- 04.0- 04.5 04.7 04.8- 06.0 06.1
PMCRB/RB2/RB3 03.2 04.4 04.6 05.0
164/RC/RC3/RC4)
(-J604) (Note)
Note) When using PMCRB4iRC4, install the RBI’RC MODULE floppy disk(-J604) at last of all
installation.
3) System floppy disks and module floppy disks for the FSO,Power Mate-ABC
Note) The column entitled -JXXX indicates the last three characters of software code A08B-
9200/9201 -JXXX
A9-2
APPENDIX 9 SOFTWARE VERSION TABLE
Software products listed in the same column can be stored in the same directory. When software
products to be stored in the same directory have the different version numbers, however, a
software product with a smaller number must be installed first. The following are examples:
1) Software products J502iO3.0 and JSOliO4.3 can be stored in the same directory. However,
J502/03.0 must be installed first.
2) Software products J502!03.0 and J501/03.0 cannot be stored in the same directory.
A9-3
APPENDIX IO MANAGING A SOURCE PROGRAM
1) FORMAT-A
The source program is managed using the following names. A single directory can contain two
or more source programs.
2) FORMAT-B
A directory is created with the specified source program name. In the directory, the program is
managed under the following names. A single directory cannot contain two or more source
programs.
A10-1
APPENDIX 10 MANAGING A SOURCE PROGRAM
The following functions have been added to PMCRB4RB4 (STEP SEQRCWRC4 (STEP SEQ.
The FORMAT-C source program is organized by below files.
C:Y
data Y
PRG CY
The format of newly created source program is specified by ‘%%%FLSET.CNF data file. The
initial settings for RB4!RB4(STEP)/RC4/RC4(STEP) are FORMAT-C.
kB4 3;
RB4 STEP :3;
RC4- =3;
RC4_STEP = 3;
l Parameters’ value
‘1’ = FORMAT-A
‘3’ = FORMAT-C (initial setting)
A10-3
APPENDIX 10 MANAGING A SOURCE PROGRAM
1) FORMAT-A.
- PMCRC/RC3’RBiRB2/RB3.:RAl/RA2/RA3
- PMC-NBQC
* PMCPAl!PA3
* PMC-N’N (10 LINK)/QA
- PMC-L’MIM (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
Note) In case of PMCRBWRC4, FAPT LADDER creates two types of source program as above
mentioned. Therefore, the source program of ver.8.0 needs conversion for using on
ver.8.1.
For the operation of conversion refer to next chapter “6.4 Conversion from FORMAT-A to
FORMAT-B”
A10-4
APPENDIX 10 MANAGING A SOURCE PROGRAM
1) Convert the source program “FORMAT-A” into an all-format mnemonic data with FAPT
LADDER(A08B-9200!9201-J502) ver.8.1 or later.
2) Convert the mnemonic data into a source program with the same FAPR LADDER.
The conversion is completed by above mentioned.
In case of using a control statement file, which has extension “.#I.$‘, for combining modules, the
operation is the following.
- Do the operation of 1) by each source program in the control statement.
- Combine each mnemonic data into an all-format mnemonic data.
- Do the operation of 2).
Note) It is possible to use FORMAT-A without conversion. In that case, you need to modify a
“%%%FLSET.CNF”. But it is not recommended.
For the “%%%FLSET.CNF” refer to the “APPENDIX 7 System configuration file
“%%%FLSET.CNF”.
FAPT LADDER does not support a function to enable the copying or moving of a source program.
Because the source program is managed as described above, it can be copied or moved by using
file manipulation on a specified directory with the COPY or another MS-DOS command. Only
programs for an identical model can be handled in this way.
For example, to make a backup copy on floppy disk of the source program shown above, enter the
following command at the MS-DOS prompt:
3) Copy all files under the directories specified with the source program name.
A10-5
APPENDIX 11 SYSTEM CONFIGURATION FILE “%%%FLSET.CNF”.
“%%%FLSET.CNF” is a file of the text form and some setting parameters, by which the behavior
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”
All-l
APPENDIX 11 SYSTEM CONFIGURATION FILE “%%% FLSET.CNF”.
All parameters in the “%%%FLSET.CNF” are described following the form of “key word = “.
Hereafter, content of setting parameters is explained by each item.
a) Function
FAPT LADDER will newly create the source program at “conversion of mnemonic ->
source”, “editing new source program” and “decompilation”.
The type of created source program is decided at this time.
W key word
By each PMC model, a setting parameter will be described succeeding the line of ‘I* T;
========= Source program type = = = = = = = = “.
Key word shows the model and uses the same character string as the display of model
information on the status line displayed in each screen of FAPT LADDER.
This setting is effective only in case of Key word “RB4 = “,” RC4 = “.
As for the value, either "1" or “2” is effective.
_ .I w
1 = FORMAT-A
- “2” = FORMAT-B
It is FORMAT-B in initialization. When the source program type is FORMAT-B, the function
of “ZOOM” and “G-SRCH” can be used.
All -2
APPENDIX 12 INQUIRY FORM
FANUC
sales person
[Usage environment]
[Details of inquiry]
Please use this form when you have any questions about this product.
AlZ-1
INDEX
(PMC-RA~/RA~/RB~/RB~/RB~!RB~!RC~/RC~/NB!NB~) . . . . . . . . . . . . . . . . . . . . . . 1 - 99
<B>
BASICOPERATION ............................................... l-17
Basic Operation ................................................... 3- 6
BOOT SYSTEM OPERATING PROCEDURE (FOR THE FS20) ................ A5 - 1
BUSY control .................................................... 2- 4
<c>
CAUTIONS FOR USING THE O/S ..................................... A7 - 1
Changing Printer Output Format ...................................... 2 - 12
Changing the Order of Subprograms .................................. l- 103
Changing the paper selection name .................................... 2 - 14
Command input during startup ........................................ 2- 1
COMMON OPERATIONS FOR THE PC9801 AND IBM PC/AT .................. 2- 1
Common System Operations ........................................ 1 - 19
Communications settings ............................................ 2- 2
Compilation ..................................................... 1 - 94
Conversion of a mnemonic file to a source program ....................... 1 - 152
Conversion of a source program to a mnemonic file ....................... l-150
Convert the PMC Type of Sequence Program ............................. 2- 8
Convert with signal address converter ................................... 2- 9
Converting a step sequence program according to the model ................. 1 - 113
Converting by system parameter editing .................................. 2- 8
Creating a step sequence program .................................... 3 - 10
Creating a Step Sequence ........................................... 3- 9
Creating a subprogram of the step sequence .............................. 3- 9
<E>
Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22
EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Error detection and handling .......................................... 2- 7
Error detection and messages ......................................... 2- 6
ERROR MESSAGES .............................................. A3 - 1
<F>
FLOPPY CASSETTE ADAPTER + 3.5” floppy disk (P-G format) ............... 1 - 149
FUNCTION FOR OPERATING THE PMC-UM WITH RAM .................... A2 - 1
Function for Transferring Data between the P-G and PC ...................... 2- 1
<H>
Handy File + 3.5” floppy disk (MS-DOS format) . . . . . . . . . . . . . . . . . . . . . . . . .. . . l-147
<I_>
Ladder diagram editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . l-26
Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-116
co>
Operating Environment .............................................. 1- 6
OPERATION .................................................... l-22
Operation .............................................. 1 - 95, l-110,3-4
Outputting to split files ............................................ 1-112
OVERVIEW ................................................... 1 - 1,3-l
<P>
Password set function
PC9801 operating environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1- 7
Printout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . l-85
Programming with the Step Sequence Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3- 1
Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
<s>
Sample mnemonic files (all-format) ................................... 1-166
Sample mnemonic files (single-format) ................................. l-157
SETTINGAMODEL ............................................... 3-4
Setting form feed ................................................. 2-23
Setting line feed ................................................. 2-23
Setting the cross-reference list output format guidance information .............. 2-19
Setting the cross-reference list output information .......................... 2-20
Setting the cross-reference list read/write coil guidance information ............. 2-21
Setting the left margin ............................................. 2-16
Setting the line spacing ............................................ 2-16
Setting the output format guidance .................................... 2-22
Setting the output format ........................................... 2-22
Setting the output information ........................................ 2-22
Setting the printer model and print paper ................................ 2-15
Setting the read/write coil guidance .................................... 2-23
Setting the spacing between the LADDER net ............................ 2- 14
Setting the title of printout ........................................... 2- 19
Setting the top margin ............................................. 2-14
SOFTWARE VERSION TABLE ....................................... A9-1
Specifying the cross-reference list linefeed ............................... 2-21
Specifying the cross-reference list output format ........................... 2-20
Specifying the cross-reference list page break ............................ 2-21
Standard Symbol Data ............................................. 2-11
Symbol and comment editing ........................................ l-60
SYSTEM CONFIGURATION FILE “%%% FLSET.CNF.” ..................... All-l
System parameter editing .......................................... l-73
<T>
The Configration of a Sequence Program ................................. 3- 2
The list of source program ......................................... l-105
The note if the step sequence function is selected when setting a model ........ l-170
Title data editing ................................................. l-25
TOOL FOR CHANGING MESSAGE DATA (CHGMES) ...................... A8 - 1
Transfer to and from PMC-UM (FANUC Series 0) ......................... l-124
Transfer to and from PMC-N/NA (FANUC Series 15-MODEL A, -MODEL B) ...... l-131
Revision Record
FAPT LADDER (For Personal Computer) OPERATOR’S MANUAL (B-66131 E)
01 Jun., ‘90
Date 1998
General Manager of
Software Laboratory
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.
FANUC
FAPT LADDER
OPERATOR’S SUPPLEMENTARY MANUAL
(For personal computer)
SUMMARY OF CHANGE
New, Add,
Applicable
Group Name/Outline Correct,
Date
Delete
・The system of 3.5-inch FD version has
Basic been added. July 1998
Add.
Function ・Working under a Command Prompt of a
full screen of Windows NT4.0.
Optional
Function
Unit
Maintenance
Parts
Notice
Correction
Another
TITLE
FAPT LADDER OPERATOR’S
SUPPLEMENTARY MANUAL
(FOR PERSONAL COMPUTER)
DRAW.NO. CUST.
01 98.06.22 Hanaoka Additioanl 3.5-inch FD version B-66131E/05-5
SHEET
EDIT DATE DESIG. DESCRIPTION 1/8
FAPT LADDER
OPERATOR’S SUPPLEMENTARY MANUAL
(For personal computer)
Contents
1. OUTLINE ................................................................
................................................................................................
................................................................................................
....................................................................................
....................................................3
....................3
3. ADDITION OF SYSTEM
SYSTEM OF 3.5-INCH FD VERSION ................................................................
...........................................................................
...........................................3
...........3
TITLE
FAPT LADDER OPERATOR’S
SUPPLEMENTARY MANUAL
(FOR PERSONAL COMPUTER)
DRAW.NO. CUST.
01 98.06.22 Hanaoka Additioanl 3.5-inch FD version B-66131E/05-5
SHEET
EDIT DATE DESIG. DESCRIPTION 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.
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
TITLE
FAPT LADDER OPERATOR’S
SUPPLEMENTARY MANUAL
(FOR PERSONAL COMPUTER)
DRAW.NO. CUST.
01 98.06.22 Hanaoka Additioanl 3.5-inch FD version B-66131E/05-5
SHEET
EDIT DATE DESIG. DESCRIPTION 3/8
LADDER” for personal computer. Refer to the “2. Applied Software” about kinds of
software of 3.5-inch FD version.
To use the software, the requirements indicated in the table below must be satisfied. Before
installing the software, check these requirements.
(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 Ⅱ.
(2)Using EMS
・・・・・・・・・・
TITLE
FAPT LADDER OPERATOR’S
SUPPLEMENTARY MANUAL
(FOR PERSONAL COMPUTER)
DRAW.NO. CUST.
01 98.06.22 Hanaoka Additioanl 3.5-inch FD version B-66131E/05-5
SHEET
EDIT DATE DESIG. DESCRIPTION 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.
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.
(Present)
(1) Activation method
[Operation]
① Activate FAPT LADDER with the following commands:
B: \>A:
A: \>CD \FLADDER
A: \FLADDER> FLADDER
(Note
)
・・・・・・・・・・
(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 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
FAPT LADDER OPERATOR’S
SUPPLEMENTARY MANUAL
(FOR PERSONAL COMPUTER)
DRAW.NO. CUST.
01 98.06.22 Hanaoka Additioanl 3.5-inch FD version B-66131E/05-5
SHEET
EDIT DATE DESIG. DESCRIPTION 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.
TITLE
FAPT LADDER OPERATOR’S
SUPPLEMENTARY MANUAL
(FOR PERSONAL COMPUTER)
DRAW.NO. CUST.
01 98.06.22 Hanaoka Additioanl 3.5-inch FD version B-66131E/05-5
SHEET
EDIT DATE DESIG. DESCRIPTION 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 07.0
/PA/QC -09.0
(Note1)
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.0-08.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.
TITLE
FAPT LADDER OPERATOR’S
SUPPLEMENTARY MANUAL
(FOR PERSONAL COMPUTER)
DRAW.NO. CUST.
01 98.06.22 Hanaoka Additioanl 3.5-inch FD version B-66131E/05-5
SHEET
EDIT DATE DESIG. DESCRIPTION 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 08.8
/PA/QC -07.1 -08.2 -08.4 -08.7 -09.0
(Note1)
SA/PA MODULE 603 04.1 04.2 05.0 05.1 05.2 05.3
(PMC-SA1/SA2/SA3 -04.4
/PA1/PA3)
SB/SC MODULE 604 04.7 04.8 06.0 06.1 07.0 07.1
(PMC-SB/SB2/SB3 -05.0
/SB4/SB5/SB6/SC (Note2)
/SC3/SC4)
QC MODULE 605 01.1 01.2 02.0 02.1 02.2 02.3
(PMC-QC)
NB MODULE 606 01.0 01.1 02.0 02.1 03.0 03.1
(PMC-NB/NB2) -01.2
(Note1) 09.0 is for IBM PC/AT. If NEC PC98 series, this field is 08.8-08.9.
(Note2) When using PMC-SB4/SC4, install the PMC-SB/SC MODULE floppy disk(-J604) at
least of all installation.
TITLE
FAPT LADDER OPERATOR’S
SUPPLEMENTARY MANUAL
(FOR PERSONAL COMPUTER)
DRAW.NO. CUST.
01 98.06.22 Hanaoka Additioanl 3.5-inch FD version B-66131E/05-5
SHEET
EDIT DATE DESIG. DESCRIPTION 8/8