PMC Model PA1/PA3/SA1/SA2/SA3/SA5/SB/SB2/
SB3/SB4/SB5/SB6/SC/SC3/SC4/NB/NB2/NB6
Ladder Language
Programming Manual (Volume 2 of 2)
GFZ-61863E/14July 2001
Warnings, Cautions, and Notes
as Used in this Publication
Warning notices are used in this publication to emphasize that hazardous voltages, currents,
temperatures, or other conditions that could cause personal injury exist in this equipment or may
be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a
Warning notice is used.
Caution notices are used where equipment might be damaged if care is not taken.
GFL-001
Warning
Caution
Note
Notes merely call attention to information that is especially significant to understanding and
operating the equipment.
This document is based on information available at the time of its publication. While efforts
have been made to be accurate, the information contained herein does not purport to cover all
details or variations in hardware or software, nor to provide for every possible contingency in
connection with installation, operation, or maintenance. Features may be described herein which
are not present in all hardware and software systems. GE Fanuc Automation assumes no
obligation of notice to holders of this document with respect to changes subsequently made.
GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutory
with respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, or
usefulness of the information contained herein. No warranties of merchantability or fitness for
purpose shall apply.
This manual includes safety precautions for protecting the user and preventing damage to the
machine. Precautions are classified into W arning and Caution according to their bearing on safety.
Also, supplementary information is described as a Note. Read the Warning, Caution, and Note
thoroughly before attempting to use the machine.
WARNING
Applied when there is a danger of the user being injured or when there is a danger of both the user
being injured and the equipment being damaged if the approved procedure is not observed.
CAUTION
Applied when there is a danger of the equipment being damaged, if the approved procedure is not
observed.
NOTE
The Note is used to indicate supplementary information other than Warning and Caution.
` Read this manual carefully, and store it in a safe place.
s–1
B–61863E/14
PREFACE
PREFACE
This programming manual describes the method of generating
ladder sequence programs for PMC.
It also describes the operation methods of CRT/MDI and
SYSTEM P series for sequence programming.
Renaming of PMC
Models
Applicable models
FANUC PMC–MODEL P A1PMC–PA1FANUC Power Mate–MODEL D
FANUC PMC–MODEL P A3PMC–PA3F ANUC Power Mate–MODEL D/F/H
FANUC PMC–MODEL SA1(Note 1)
(Old Name : FANUC PMC–MODEL RA1)
FANUC PMC–MODEL SA2(Note 1)
(Old Name : FANUC PMC–MODEL RA2)
This manual presents programming descriptions for the PMC
models listed in the following table. Note that some models have
been renamed; in the product name column, the old names are
enclosed in parentheses, while the new names appear above the
old names. However , the previous specifications are still applied
to the renamed models. Thus, when using the renamed models,
users should:
• Read the old names shown in this manual as the new names.
• Read the old names appearing on the units as the new names.
The models covered by this manual, and their abbreviations are :
Product NameAbbreviationsApplicable CNC
FANUC Series 21–MODEL A
FANUC Series 21–MODEL A
PMC–SA1
(PMC–RA1)
PMC–SA2
(PMC–RA2)
FANUC Series 18–MODEL A/B
FANUC Series 20–MODEL A
FANUC Series 21–MODEL B
FANUC Series 20i–MODEL A
FANUC Series 0i–MODEL A
FANUC Series 21i–MODEL A/B
Loader control function (Note 2)
FANUC Series 18–MODEL A
FANUC PMC–MODEL SA3(Note 1)
(Old Name : FANUC PMC–MODEL RA3)
FANUC PMC–MODEL SA5(Note 1)
(Old Name : FANUC PMC–MODEL RA5)
FANUC PMC–MODEL SB(Note 1)
(Old Name : FANUC PMC–MODEL RB)
FANUC PMC–MODEL SB2(Note 1)
(Old Name : FANUC PMC–MODEL RB2)
FANUC PMC–MODEL SB3(Note 1)
(Old Name : FANUC PMC–MODEL RB3)
PMC–SA3
(PMC–RA3)
PMC–SA5
(PMC–RA5)
PMC–SB
(PMC–RB)
PMC–SB2
(PMC–RB2)
PMC–SB3
(PMC–RB3)
p–1
FANUC Series 18–MODEL A
FANUC Series 20–MODEL A
FANUC Series 21–MODEL B
FANUC Series 0i–MODEL A
FANUC Series 21i–MODEL A
FANUC Series 16–MODEL A
FANUC Series 16–MODEL A/B
FANUC Series 18–MODEL B
PREFACE
Product NameApplicable CNCAbbreviations
FANUC PMC–MODEL SB4(Note 1)
(Old Name : FANUC PMC–MODEL RB4)
FANUC PMC–MODEL SB5(Note 1)
(Old Name : FANUC PMC–MODEL RB5)
FANUC PMC–MODEL SB6(Note 1)
(Old Name : FANUC PMC–MODEL RB6)
FANUC PMC–MODEL SB7PMC–SB7FANUC Series 16i–MODEL B
FANUC PMC–MODEL SC(Note 1)
(Old Name : FANUC PMC–MODEL RC)
PMC–SB4
(PMC–RB4)
PMC–SB5
(PMC–RB5)
PMC–SB6
(PMC–RB6)
PMC–SC
(PMC–RC)
FANUC Series 16–MODEL B
FANUC Series 18–MODEL B
FANUC Series 16–MODEL C
FANUC Series 18–MODEL C
FANUC Series 16i–MODEL A
FANUC Series 18i–MODEL A
FANUC Power Mate i–MODEL D/H
FANUC Series 16–MODEL C
FANUC Series 18–MODEL C
FANUC Series 16i–MODEL A
FANUC Series 18i–MODEL A
FANUC Series 21i–MODEL A
FANUC Power Mate i–MODEL D/H
FANUC Series 18i–MODEL B
FANUC Series 21i–MODEL B
FANUC Series 16–MODEL A
B–61863E/14
FANUC PMC–MODEL SC3(Note 1)
(Old Name : FANUC PMC–MODEL RC3)
FANUC PMC–MODEL SC4(Note 1)
(Old Name : FANUC PMC–MODEL RC4)
FANUC PMC–MODEL NBPMC–NBFANUC Series 15–MODEL B
FANUC PMC–MODEL NB2PMC–NB2
FANUC PMC–MODEL NB6PMC–NB6FANUC Series 15i–MODEL A
PMC–SC3
(PMC–RC3)
PMC–SC4
(PMC–RC4)
FANUC Series 16–MODEL A/B/C
FANUC Series 18–MODEL B/C
FANUC Series 16–MODEL B/C
FANUC Series 18–MODEL B/C
NOTE
1 These models have been renamed; in the product name
column, the old names are enclosed in parentheses, while
the new names appear above the old names. However, the
previous specifications are still applied to the renamed
models.
Thus, when using the renamed models, users should :
• Read the old names shown in this manual as the new
names.
• Read the old names appearing on the units as the new
names.
2 PMC–SA1 is applied to the loader control side of a CNC
having the loader control function.
The CNC models having the loader control function are as
follows :
FANUC Series 16–MODEL A/B/C
FANUC Series 18–MODEL A/B/C
FANUC Series 21–MODEL B
FANUC Series 16i/18i/21i–MODEL A/B
p–2
B–61863E/14
PREFACE
Other manuals
FANUC Power Mate-MODEL D/F
CONNECTION MANUAL (B-62833EN)
FANUC Power Mate-MODEL H
CONNECTION MANUAL (B–62683EN)
FANUC Power Mate i-MODEL D/H
CONNECTION MANUAL (FUNCTION) (B–63733EN–1)
FANUC Series 16/18
CONNECTION MANUAL (B-61803E)
FANUC Series 16/18/160/180-MODEL B
CONNECTION MANUAL (FUNCTION) (B-62443E-1)
FANUC Series 16/18/160/180-MODEL C
CONNECTION MANUAL (FUNCTION) (B-62753EN-1)
FANUC Series 16i/18i/21i/160i/180i/210i–MODEL A
CONNECTION MANUAL (FUNCTION) (B-63003EN-1)
FANUC Series 16i/18i/21i/160i/180i/210i–MODEL B
CONNECTION MANUAL (FUNCTION) (B-63523EN-1)
FANUC Series 20–FA/TA
CONNECTION MANUAL (B–62173E)
FANUC Series 21/210–MODEL B
CONNECTION MANUAL (FUNCTION) (B–62703EN–1)
FANUC Series 15-MODEL B
BMI INTERFACE
CONNECTION MANUAL (B-62073E-1)
FANUC Series 15i/150i-MODEL A
CONNECTION MANUAL (FUNCTION) (B–63323EN–1)
FANUC PMC
C LANGUAGE PROGRAMMING MANUAL
(B-61863E-1)
However, it does not include all items required for sequence
programming. For those required for sequence programming
refer to the following manuals.
B.4.4Reading a Workpiece Origin Offset Value (not Supported by the Power Mate–D or –F)1066. . .
B.4.5Writing a Workpiece Origin Offset Value (:Low–speed Response)
B.4.48Reading Value of the P–code Macro Variable (:Low–speed Response)1161. . . . . . . . . . . . . . .
B.4.49Writing Value of the P–code Macro Variable (:Low–speed Response)1163. . . . . . . . . . . . . . . .
B.4.50Reading the Tool Life Management Data (Tool Life Counter Type)1165. . . . . . . . . . . . . . . . . . .
B.4.51Registering the Tool Life Management Data (Tool Group) (:Low–speed Response)1167. . . . .
B.4.52Writing the Tool Life Management Data (Tool Life) (:Low–speed Response)1169. . . . . . . . .
B.4.53Writing the Tool Life Management Data (Tool Life Counter) (:Low–speed Response)1171. .
B.4.54Writing the Tool Life Management Data (Tool Life Counter Type)
C.3.17Reading the Tool Life Management Data (Tool Group Number) (Low–speed Response)1278. .
C.3.18Reading the Tool Life Management Data (Number of Tool Groups)
C.3.21Reading Tool Life Management Data (Tool Life Counter) (Low–speed Response)1280. . . . . . .
C.3.22Reading Tool Life Management Data (Tool Life Counter Type) (Low–speed Response)1281. .
C.3.23Reading Tool Life Management Data (Tool Length Compensation No.1)
The ladder method is most often used for programming the sequence
control governed by a programmable controller . This method, shown in
Fig.1.1(a) , was derived from relay-panel control circuits. Since it has
been in use for years, many sequence control engineers are already
familiar with it. This method is also used in PMC sequence
programming.
Fig. 1.1 (a) Ladder method
The greater the number of functions implemented by the PMC for a CNC
system, the larger and the more complicated the sequence program
becomes. A large-scale system requires a larger program and a greater
number of processes, making it hard for the ladder method to control the
overall process. This is because the ladder method does not describe the
order of control. While the ladder method is suitable for describing partial
control, it is hard to apply it to the description of the flow of control
overall.
CALL
T o overcome this problem, structured programming has been introduced
into sequence control. A PMC that supports the subprogram function
enables the use of modular programs. As shown in Fig.1.1(b), a
large-scale program is divided into subprograms for each function,
simplifying the unit of processing. Since the programmer determines
how to divide the main program into subprograms and the control flow
used to call the subprograms, however, the programs are not necessarily
easy-to-understand by other programmers.
CALL
Subprogram
Subprogram
Fig. 1.1 (b) Module method
902
B–61863E/14
1. GENERALSTEP SEQUENCE FUNCTION
Given these conditions, a step sequence method has been created to
describe programs structurally. It is well-suited to the control of entire
processes and provides an easy-to-understand visualized flow of the
process. The step sequence programming features the direct
representation of the control flow on a flow chart, as shown in Fig.1.1(c).
Each block of processing is described as a subprogram, using the ladder
method. The entire program is then created by combining these
subprograms.
Step 1
Transition
Step 2
Subprogram of ladder diagram
Drawing flow
Fig. 1.1(c) Step sequence method
The step sequence method has the following features:
(1) Increased programming efficiency
(2) Easy debugging and maintenance
(3) High-speed program
(4) Transition from ladder programs
In step sequence programming, a sequence control program is divided
into two types of subprograms, steps and transitions. Steps describe
processes. Transitions connect steps and determine whether the transition
conditions from one step to another evaluate true. As shown in Fig.1.1(d),
a step sequence program is described using graphical symbols.
D Since the flow of processes can be programmed directly, simple,
correct programming is enabled, reducing the time required for
programming.
D Even for complicated control, programming proceeds from the main
flow to detailed flow in each process, creating a structured, top-down
program, which is easy-to-understand by persons other than the
original creator.
D Structured modules can be used again easily.
D Graphical display enables the operator to easily understand the
execution state of a program visually.
D Erroneous steps in a program can be found easily.
D A part of a program can be easily modified.
D Since only the subprograms required for a certain process are
executed, the cycle time is reduced.
D Since steps and transitions consist of conventional ladder programs,
conventional ladder programs can be converted to new step sequence
programs, without discarding ladder-program resources.
903
1. GENERAL
STEP SEQUENCE FUNCTION
B–61863E/14
[]
Step A
Transition B
Step C
Transition D
Step E
Transition FMachining completed?
Step G
Transition HUnloading completed?
Step I
Fig. 1.1 (d) Example of machining the workpiece
Starts execution. Waits for machining request.
(Process 1)
Machining request?
±When machining is requested
Holds a workpiece on the pallet.
(Process 2)
Loading completed?
±Once loading has been completed
Machines the workpiece. (Process 3)
±Once machining has been completed
Unloads the workpiece to the pallet.
(Process 4)
±Once unloading has been completed
Moves the pallet. (Process 5)
As shown in this example, the program flow from process 1 through
process 5 is expressed visually. Detailed programs related to the
movements performed aspart of each process, and the signals used for
determining whether transition conditions for proceeding to the next step
are satisfied, are not described here. To program complicated control
flows, many other functions are supported, such as divergence, jump, and
nesting functions. The details of these functions are described later.
Step sequence programming is suitable for creating programs which
control processes sequentially. Programs used for controlling a unit
which operates according to a certain sequence, such as a loader , ATC, and
other peripheral units, are best suited to step sequence programming. For
programs which control units with no particular sequence, such as that of
the operator’s panel which is always monitoring the emergency stop
signal or mode signals, however, are not well-suited to step sequence
programming. The PMC supports the advantages of both methods, ladder
and step sequence programming, by calling subprograms written
according to a step sequence and those written as a ladder, from the main
program.
904
B–61863E/14
1. GENERALSTEP SEQUENCE FUNCTION
1.2
GRAPHICAL
SYMBOLS
This manual uses the graphical symbols listed in Table 1.2 to describe step
sequence flowcharts. Depending on the character font being used, the
actually displayed symbols may differ slightly from those listed here.
These graphical symbols are described in the subsequent chapters.
T able 1.2 List of graphical symbols
Display
FAPT LADDER of
Personal
Computer
Sn
[]
Sn
Pn
Contents
Step
Initial
Step
Transition
Divergence of
Selective
Sequence
Convergence
of
Selective
Sequence
Display of
programming
manual
Sn
[]
Sn
Pn
CNC Device
Sn
[]
Sn
Pn
Divergence of
Simultaneous
Sequence
Convergence
of
Simultaneous
Sequence
Jump
Label
Block Step
Initial
Block Step
End of
Block Step
]
[]
→ Ln
Ln< Ln< Ln
→
Sn
Sn
> Ln> Ln
]
[]
Sn
Sn
]
[]
Sn
Sn
905
1. GENERAL
STEP SEQUENCE FUNCTION
B–61863E/14
1.3
PROGRAMMING
Personal
Computer
FAPT LADDER
software
Follow the procedure below to create a step sequence program. Use a
personal computer on which the FAPT LADDER software package is
installed to code (edit) a program. Use a CNC to execute, debug and
correct the ladder subprogram.
(1) Create step sequence program (editing)
(2) Create a subprogram of ladder diagram (editing)
(3) Compile
(4) Transfer to the CNC device (with the memory card or RS232C)
(5) Write to the FlashROM
(6) Execute
(7) Diagnosis and debugging
(8) Correct a subprogram of ladder diagram (editing)
RS232C
Memory
card
(4) Transfer to the
CNC device
CNC device
PMC-SB4/SB6/
SC4/NB2
±
FlashROM
(5) Write to the FlashROM
(1) Create Step Sequence program
(editing)
(2) Create a subprogram of ladder
diagram (editing)
(3) Compile
Fig. 1.3 Programming to create a program
(6) Execute
(7) Diagnosis and debugging
(8) Correct a subprogram of ladder diagram (editing)
Table1.3 lists the step sequence functions supported by a personal
computer (on which the FAPT LADDER software package is
installed) and CNC.
906
B–61863E/14
1. GENERALSTEP SEQUENCE FUNCTION
T able 1.3 Step sequence functions
Ę : usable
Functions
Display and edit of a program
Display of subprogram listĘĘĘĘĘĘ
Create a new subprogramĘĘĘ
Delete a subprogramĘĘĘ
Edit a subprogram of Step Sequence formĘĘĘ
Edit a subprogram of ladder diagramĘĘĘĘĘĘ
CompileĘĘĘ
DecompileĘĘĘ
Input and output
Input and output with a memory cardĘĘĘĘĘĘ
Input and output with RS232CĘĘĘĘĘĘ
Write to a FlashROMĘĘĘĘĘ
Execution of program
execution of a ladder diagramĘĘĘĘĘ
execution of Step Sequence programĘĘĘĘĘ
Diagnosis and debugging (note1)
Diagnosis of Step Sequence programĘĘĘ
Diagnosis of a ladder diagramĘĘĘĘĘ
Set and display a monitoring timerĘĘĘ
PMC-SB4/
SB6
PMC-SC4PMC-NB2
Personal computer
FAPT
LADDER
FAPT
LADDER II
FAPT
LADDER III
NOTE
While step sequence functions are being used, some of the
diagnosis and debug functions supported by the ladder
method cannot be used. For details, see 6.4 (Support
Functions).
907
2. STEP SEQUENCE BASICS
STEP SEQUENCE BASICS
2
STEP SEQUENCE FUNCTION
B–61863E/14
908
B–61863E/14
2. STEP SEQUENCE BASICSSTEP SEQUENCE FUNCTION
2.1
TERMINOLOGY
[ ] S1 (Initial Step)
P100 (Transition)
S2 (Step)
P101 (Transition)
S3
A step sequence program is created using a variety of graphical symbols,
as shown in Fig. 2.1 (a). The main terms used in the step sequence are
described below.
(Block)
L1 (Label)
(Divergence of Selective Sequence)
(Divergence of
Simultaneous
Sequence)
] S10 (Block Step)
L1 (Jump)
(Convergence of
Simultaneous
Sequence)
(Convergence of Selective Sequence)
Fig. 2.1 (a) Step sequence elements
909
2. STEP SEQUENCE BASICS
STEP SEQUENCE FUNCTION
B–61863E/14
(1) Step
Sn
(Pm)
A step indicates a process, which is the basic processing unit in a step
sequence program. In a step, specify the S address (Sn), which is a
step number, and P address (Pm), which indicates a subprogram
(action program) specifying the details of processing in each step.
(2) Step state transition
When a step sequence program is executed, the process proceeds as
program processing advances, the state of each step changs
accordingly . Each step can assume any of the logical states listed in
T able 2.1, its state changes as shown in Fig. 2.1 (b). Activation refers
to the changing of a step from the inactive state to the active state.
Inactivation refers to the changing of a step from the active state to
the inactive state.
T able 2.1 Step state
State
ActiveExecutionActivated step.
InactiveTransition
to halt
HaltNot activated state.
Inactivate (transition to halt)
The action program (subprogram) is being
executed.
Transition from execution to halt.
The action program (subprogram) is executed
once only, then the step automatically transits to
halt.
The action program (subprogram) has not yet
been executed.
Inactivate (halt status)
Activate (active status)
ProcessingDisplay
Sn
Sn
Fig. 2.1 (b) Step state transition
910
B–61863E/14
Executing step1Executing step2Executing step3
2. STEP SEQUENCE BASICSSTEP SEQUENCE FUNCTION
(3) Transition
Pn
A transition denotes the transition conditions. When these evaluate
true, the step of the corresponding state changes from the inactive to
active state or vice the reverse. Specify the P address (Pn), which
indicates a subprogram describing the transition conditions in detail.
As shown in Fig. 2.1 (c), step S2 changes its state from inactive to
active when the conditions described in transition P10 evaluate true,
while step S2 changes its state from active to inactive when the
conditions described in transition P20 evaluate true.
S1 (step 1)S1 (step1)S1 (step1)
P10 (Condition
is true)
S2 (step2)
P20
S3 (step3)
Fig. 2.1 (c) T ransition of step state by the transition
Executing step1Executing step1
P10
S2 (step2)
P20 (Condition
is true)
S3 (step3)
P10
S2 (step2)
P20
S3 (step3)
Note that the step immediately before a transition must be active in
order to switch the next step from inactive to active when the
conditions specified in the transition evaluate true. As shown in
Fig. 2.1 (d), step S3 does not change to the active state, even when
transition P20 evaluates true, if step S1 is active and step S2 is
inactive. An active state passes from a certain step to the next step
when the corresponding transition conditions evaluate true, the
execution of the step sequence program advancing one step.
S1 (step1)S1 (step1)
P10
P10
S2 (step2)
P20 (Condition
is true)
S3 (step3)
Fig. 2.1 (d) T ransition of step state by transition
S2 (step2)
P20
S3 (step3)
911
2. STEP SEQUENCE BASICS
STEP SEQUENCE FUNCTION
B–61863E/14
(4) Initial Step
[ ]
Sn
(Pm)
While a normal step can be activated by a transition, the initial step
is activated automatically when execution of the program starts, as
shown in Fig. 2.1 (e).
Stopping program (STOP)Executing program (RUN)
S1 (step1)S1 (step1)
[ ][ ]
P10
S2 (step2)
P20P20
S3 (step3)
Fig. 2.1 (e) Activate of initial step
P10
S2 (step2)
S3 (step3)
Although the initial step, which is usually executed first, is often
placed at the top of a program, it can also be specified at some point
within a program. It is always activated first. After being deactivated
once, it can be subsequently be activated again. In this case, it acts
in the same way as a normal step.
912
B–61863E/14
2. STEP SEQUENCE BASICSSTEP SEQUENCE FUNCTION
(5) Divergence and Convergence of Selective Sequence
T o describe a complicated sequence, selective sequences can be used.
A selective sequence of fers multiple choices, from among which the
condition becomes true first activates the corresponding step, as
shown in Fig. 2.1 (f). The divergent paths join to generate the mai
sequence.
S1
(Divergence of selective sequence)
P21P22
S21S22S23
P23
(Convergence of selective sequence)
When transition P21
evaluates true
±
S1
(true)
S21S22S23
When transition P22
evaluates true
±
S2
(true)
S21S22S23
Fig. 2.1 (f) Selective sequence
913
2. STEP SEQUENCE BASICS
STEP SEQUENCE FUNCTION
B–61863E/14
(6) Divergence and Convergence of Simultaneous Sequence
A Simultaneous sequence can be used to execute multiple processes
simultaneously. In a Simultaneous sequence, as shown in Fig. 2.1 (g),
one transition activates multiple steps. The activated multiple steps
are executed independently. Once all steps along the multiple paths
have been completed, the divergent paths join to generate the main
sequence.
S1
P10
S21S22S23
S31S32S33
S4
(Divergence of
simultaneous
sequence)
(Convergence of
simultaneous
sequence)
When transition P10
evaluates true
±
S1
P10 (true)
S21S22S23
S31S32S33
S4
Fig. 2.1(g) Simultaneous sequence
914
B–61863E/14
2. STEP SEQUENCE BASICSSTEP SEQUENCE FUNCTION
(7) Jump and Label
The jump function is used to describe a non–serial sequence, such as
a repeated loop. As shown in Fig. 2.1 (h), when a jump designation
is activated, the sequence jumps to the step having the corresponding
jump destination label, after which that step is activated. To specify
a label number, the L address is used in the same way as a jump
instruction in ladder programming. A jump can be made to a previous
or subsequent step.
Executing step3
L1
S1 (step1)
P10P10
S2 (step2)S2 (step2)
P20P20
S3 (step3)S3 (step3)
P30 (Condition ³³³
is true)
L1 (Jump)
Executing step1
L1 (Label)
S1 (step1)
P30
L1
Fig. 2.1 (h) Jump and Label
(8) Block
A block refers to a group of consecutive steps and transitions. A block
can be a step sequence program. The more complicated the sequence
becomes, the larger and more complex the block is. A program can
be divided into multiple blocks in the same way as for subprograms
in ladder programming, based on the concept of modular
programming. Each block is identified by a P address, which
corresponds to the subprogram number in ladder programming.
A block is executed as the main program in a step sequence, or called
from another step sequence program as a subprogram.
Block (P1)
[ ][ ]
Fig. 2.1 (i) Block
Block (P2)
915
2. STEP SEQUENCE BASICS
Ladder (Second level)Block2 (P2)
CALLU P2
CALLU P3
STEP SEQUENCE FUNCTION
B–61863E/14
(9) Calling block
To execute a block as the main program in a step sequence, call the
block with the CALLU (SUB 66) or CALL (SUB65) instruction in
the same way as for ladder subprogram calling from the second level
ladder program.
[ ]
Block3 (P3)
[ ]
Fig. 2.1 (j) Calling block
(10) Block step (calling step sequence program)
]
Sn
(Pm)
To call a block from the step sequence program as a subprogram,
specify a block step in the step sequence program which calls the
block, as shown in Fig. 2.1 (k). This is called bloc nesting.
Block (P1)Block (P2)
[ ]
S1
S21S22
S3
] S23
(P2)
[ ]
S231
S232
S233
Fig. 2.1 (k) Block nesting
The program shown in Fig. 2.1 (k) is equivalent to in Fig. 2.1 (l).
which does not use a block step.
916
B–61863E/14
Block (P1)
[ ]
S1
2. STEP SEQUENCE BASICSSTEP SEQUENCE FUNCTION
S21
S3
S22S231
S232
S233
Fig. 2.1 (l) Program without block step
(11)End of block step
Use an end block step to terminate nested–block–step calling and to
return to the calling sequence.
917
2. STEP SEQUENCE BASICS
2.2
EXECUTION OF STEP
SEQUENCE
STEP SEQUENCE FUNCTION
B–61863E/14
Editing
(source program)
Compile Executing
(ROM format program)
First level
(Ladder diagram)
END1 (SUB 1) function
Second level
(Ladder diagram)
END2 (SUB 2) function
Third level
(Ladder diagram)
END3 (SUB 48) function
Subprogram P1
(Ladder diagram)
CALL
CALL
[ ]
[ ]
Subprogram P2
(Step sequence)
Subprogram P3
(Ladder diagram)
Subprogram P4
(Step Sequence)
S
S
Subprogram Pn
END (SUB 64) function
Fig. 2.2 (a) Structure of program
918
B–61863E/14
2. STEP SEQUENCE BASICSSTEP SEQUENCE FUNCTION
In the step sequence method, a program is created (edited) in units of
subprograms. The edited source program is compiled andconverted to an
executable ROM–format program, thenlinked, as shown in Fig. 2.2 (a).
A ROM–format program is a kind of a modular program, created using
conventional subprograms. A step sequence block is also a type of a
subprogram. Step sequence blocks are linked to the end of the first level
to third level ladder programs, together with other ladder subprograms.
In the same way as in the ladder method, a program is activated at certain
intervals, namely every 8 ms, as shown in Fig. 2.2 (b). The first level and
second level ladders are executed for a certain period (T ms), then the third
level ladder is executed for the remaining time. The period in which the
first level and second level ladders are executed varies with the PMC
model and the setting of the system parameter (LADDER EXEC).
Whether the third level ladder can be used depends on the PMC model.
tn–8tn+0tn+8tn+16
8msec8msec8msec
T msecT msecT msec
First level
Second level
Third level
(depends on
the PMC model)
°division°division°finished
Fig. 2.2 (b) Execution of program cyclically
After the first level ladder has been executed, the second level ladder i
executed for the remaining time. If the second level ladder cannot be fully
executed within one execution period, it is suspended part–way, with the
remainder being executed in the nextperiod. This type of execution is
called divided execution. Where the second level ladder is divided varies
with the execution time of the first level ladder and that of the executed
instructions of the second level ladder. Divided execution is divided into
two types, divided system and undivided system. In the divided system,
the position where the second level ladder is divided is determined in
advance, a divided instruction code being inserted at that position. In the
undivided system, in contrast, where the second level ladder is divided is
not determined in advance, the ladder being automatically divided upon
the determined period elapsing. A PMC which allows step sequence
programming executes the second level ladder in undivided system.
919
2. STEP SEQUENCE BASICS
STEP SEQUENCE FUNCTION
B–61863E/14
In divided execution, the second level ladder is executed at an interval that
is a multiple of 8 ms (e. g., 8, 16, 24 ms). Input signals referenced in the
second level ladder, such as addresses X and F, are refreshed in
synchronization with the execution period for the second level ladder, so
that they do not change during the execution.
All subprograms, created using either the ladder or step sequence method,
are called from the second level ladder. Hence, the execution time of the
second level ladder includes those of ladder subprograms, step sequence
programs (blocks), steps, and transitions. Since only the activated step
and the transition which checks the transition condition from the step to
the next step are executed in a step sequence program, the second level
ladder is executed much more frequently than may be expected from the
total number of steps.
LEVEL1 (Ladder diagram)
LEVEL2 (Ladder diagram)
CALLUP2
R0. 0
CALLP1
LEVEL3 (Ladder diagram)
P1 (Ladder diagram)
P2 (Step sequence)
L1
S1 (P3)
[ ]
P4
S2 (P5)
P6
L1
P3 (Ladder diagram)
P4 (Ladder diagram)
Fig. 2.2 (c) Execution of step sequence
920
B–61863E/14
2. STEP SEQUENCE BASICSSTEP SEQUENCE FUNCTION
In the step sequence program shown in Fig. 2.2 (c), when step S1 is
activated, subprograms are executed according to the timing illustrated in
Fig. 2.2 (d).
8msec
T msec
First level
Second level
Third level
LEVEL1
LEVEL2
Subprogram
P2P1
Step
P3P4
Transition
LEVEL3
Fig. 2.2 (d) Timing of execution of step sequenceprogram
In this case, step sequence program P2, step P3, transition P4, and ladder
subprogram P1 are executed. Step P5 and transition P6 are not executed.
921
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
CONFIGURATION AND OPERA TION OF
STEP–SEQUENCE PROGRAMS
3
STEP SEQUENCE FUNCTION
B–61863E/14
922
B–61863E/14
STEP SEQUENCE FUNCTION
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
3.1
STEP
A step is a unit of processing in a program.
[Display]
Sn
(Pm)
[Contents]
D Define a step number (Sn), necessary for controlling execution, and
subprogram number (Pm) specifying actua processing, for a step.
D Assign a step number to a step.
D The same step number cannot be used twice in a program.
D A step has three logical states: the execution, transition to halt, and
halt states. The execution state is also called the active state. The
transition to halt and halt states are collectively called the inactive
state.
StateContents of operationDisplay
ActivateExecutionActivated step.
The action program (subprogram) is
being executed.
Sn.0
NOTE)
Sn
1
Transition A
Step B
Transition C
InactivateTransition to
halt
StopNot activated state.
Transition from execution to halt.
The action program (subprogram) is
executed once only , then the step
automatically transits to halt.
The action program (subprogram)
has not yet been executed.
NOTE
Refer to VI–4.2 PMC ADDRESS (S ADDRESS)
Example)State transition of Step B
Inactivate (halt state)
Transition A
Activate (execution state)
Transition C
Sn
Sn
0
0
Inactivate (transition to halt)
(Execute one time)
923
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
[Example]
After the M7 code is decoded, control is transferred to the next step using
a DEC functional instruction.
S1
(P1)
STEP SEQUENCE FUNCTION
Subprogram P1
MFR0.0
DECF0
F7.0
B–61863E/14
f
711
P101
Subprogram P101
R0.0
TRSET
924
B–61863E/14
STEP SEQUENCE FUNCTION
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
3.2
INITIAL STEP
An initial step is automatically activated when execution of the program
starts. Once it has been activated, it operates in the same way as a normal
step. The program can be returned to this step through other steps.
[Display]
[ ]
Sn
(Pm)
[Contents]
D Define a step number (Sn), necessary for controlling execution, and
subprogram number (Pm) specifying the actual processing, for an
initial step.
D All initial steps are activated when the other steps are not activated.
D Each block must contain at least one initial step. No limit is applied
to the number of initial steps contained in a block.
D A block having no initial step cannot be executed if called.
D Assign a step number to an initial step.
D The same step number cannot be used more than once in a program.
D In parallel branch, one initial step is required for each path. (See
example 2.)
[Example1]
[ ]
L1
S1
P101
S2
P102
L1
When a program is executed, step P1, specified by
an initial step, is activated first.
Initial step S1 is executed in the same way as normal
step once S1 has been executed.
925
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
Example2
STEP SEQUENCE FUNCTION
B–61863E/14
3.3
TRANSITION
[ ]
L1
S1
P101
S2
P102
S4
P110
L1
[ ]
When a program is executed, steps S3 and
S4, specified by an initial step, are activated
first.
Once steps S3 and S4 have been
executed, initial steps S3 and S4 are
S3
executed in thesame way as normal
step when the program starts from step S1.
P103
S5
A transition specifies the conditions governing the transition from the
step to the next step.
[Display]
Pn
[Contents]
D Only one transition is required between steps.
D Transition between steps is performed as described below.
S1
P101
S2
P102
While S1 is activate, only S1 and P101 are
executed.
Other steps and transition are not executed.
When the transition P102 evaluates true unles S2
is not being executed, the state is ignored.
When the transition P101 evaluates true, control
passes fro S1 to S2. In this case, when the condition
i true, S1 is terminated regardless of the state of S1,
and S2 is activated.
D When a signal is set to 1 in a transition, it remains the state even if
the control is transferred to the subsequentstep. To set the signal to
0, use another subprogram to do so.
[Example]
Refer an example described on the Step function (3.1).
926
B–61863E/14
STEP SEQUENCE FUNCTION
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
3.4
DIVERGENCE OF
SELECTIVE
SEQUENCE
A selective sequence branches to two or more sequences. When the
transition evaluates true, the corresponding step is activated.
[Display]
[Contents]
D Transitions are placed after a divergence of selective sequence.
D The step connected to the transition for which the conditions are true
is first activated.
D When the conditions for any transition are true simultaneously, the
leftmost step is activated.
D A selective sequence can create up to 16 paths.
[Example]
[ ]
S1
When the conditions for P101 are
P100
P101
satisfied earlier than those of P102,
step S3 is activated.
3.5
CONVERGENCE OF
SELECTIVE
SEQUENCE
S2
S3
It combines two or more divergent paths to the main sequence.
[Display]
[Contents]
The number of divergent paths must match that of the convergent
paths.
[Example]
S2
P102
S4
927
S3
P103
While step S3 is executed, the transition
P103 evaluates true, thus step S4 is
activated.
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
STEP SEQUENCE FUNCTION
B–61863E/14
3.6
DIVERGENCE OF
SIMULTANEOUS
SEQUENCE
A simultaneous sequence branches to two or more sequences, and all
steps are activated simultaneously.
[Display]
[Contents]
D A transition must be placed before a divergence of simultaneous
sequence.
D All branched steps are activated simultaneously, then executed.
D A simultaneous sequence can create up to 16 paths.
[Example]
[ ]
S1
When the transition P101 evaluates true,
P101
step S2 and S3 are activated simultaneously.
S2S3
928
B–61863E/14
STEP SEQUENCE FUNCTION
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
3.7
CONVERGENCE OF
SIMULTANEOUS
SEQUENCE
It combines two or more divergent paths to the main sequence.
[Display]
[Contents]
D A convergence of simultaneous sequence is processed as follows.
S10
P120
S21
S20
When the transition P120 evaluates
true, step S10 and S20 are terminated
and step S21 is activated.
D Wait processing is processed as follows.
case1 )
S10
P110
S11
P109
S20
S15
P115
S16
When the transition P109 evaluates true
unless both of step S11 and S16 are active,
control does not pass to step S20.
When the transition P109 evaluates true
while both of S1 1 and S16 are active, S1 1
and S16 are terminated and S20 is
activated. In the case, P109 provides the
termination conditions for both S11 and S16.
case2 )
S11
P111
S12
(dummy)
S16
P116
S17
(dummy)
T o specify the termination conditions for
S11 and S16 separately , place the conditions in P111 and P116 and specify two
dummy steps, S12 and S17, as shown
A dummy step also requires a step number
and subprogram number. Alsospecify a
dummy transition condition, which becomes
always true, in P110.
P110
S20
929
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
STEP SEQUENCE FUNCTION
B–61863E/14
3.8
JUMP
A jump controls the execution of steps non–sequentially , together with a
transition.
[Display]
Ln
[Contents]
D Specify a jump destination label (Ln).
D The step to which control is transferred (jumped) is activated.
D The jump destination must be within the same program.
D A jump cannot be performed from outside a simultaneous sequence
to within the simultaneous sequence, or from within a simultaneous
sequence to outside.
D A jump cannot be performed between parallel–branched paths.
[Example]
L1
[ ] S1
When steps S4 and S5 ar
P101
executed and the transition P110
evaluates true, the program is
repeated from initial step S1.
3.9
LABEL
S2
P102
S4
P110
L1
S3
P103
S5
A label specifies the jump destination.
[Display]
Ln
[Contents]
Specify the jump destination label (Ln).
[Example]
Refer to an example described on the jump function (3.8).
930
B–61863E/14
STEP SEQUENCE FUNCTION
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
3.10
BLOCK STEP
A block step specifies the step sequence subprogram to be executed.
[Display]
]
Sn
(Pm)
[Contents]
Define a step number (Sn), which controls the execution of a bloc
step, and a sub–program (Pm) specifying the actual process, for a
block step.
CAUTION
Assign a step number to a block step.
The same step number cannot be used twice in a program.
A transition must be placed after a block step.
Example)
S1
P101
S1
P101
]
S2
(P2)
P102
S3
P2
S20
P120
S21
P121
equal
S20
P120
S21
P121
S3
Transition P102 cannot be omitted due to the syntax of the step sequence method. Specify
a dummy transition, which becomes always true, for transition P102.
Transition P121 must specify the transition condition for the termination of the step S21.
When the conditions of transitions P102 and P121 are switched, step S21 will not be correctly
executed.
931
3. CONFIGURATION AND OPERATION
OF STEP–SEQUENCE
PROGRAMS
STEP SEQUENCE FUNCTION
B–61863E/14
3.11
INITIAL BLOCK STEP
3.12
END OF BLOCK
STEP
This is an initial step on the block step.
[Display]
[ ]
Sn
(Pm)
[Contents]
D Define a step number (Sn), necessary for controlling execution, and
subprogram number (Pm)specifying the actual processing, for an
initial step.
D This step has the same function and graphical symbol asan initial
step.
This terminates a block step.
[Display]
[Contents]
D Use this step to terminate a block step.
D Each block requires at least one end block step. No limit is applied
to the number of end block steps.
[Example]
[ ] S1
P103P100
S2
P102
932
B–61863E/14
4
STEP SEQUENCE FUNCTION
EXTENDED LADDER INSTRUCTIONS
T o enable the specification of steps and transitions, the components of a
step sequence program, by means of the ladder method, the following
signals and functional instructions are provided. These signals and
instructions can only be used in subprograms in which step sequence step
and transitions are specified.
4. EXTENDED LADDER
INSTRUCTIONS
933
4. EXTENDED LADDER
INSTRUCTIONS
STEP SEQUENCE FUNCTION
B–61863E/14
4.1
FUNCTIONAL
INSTRUCTION TRSET
4.2
PMC ADDRESS
(S ADDRESS)
[Function]
D This instruction describes that the conditions for a transition have
been true.
D This instruction is used in a subprogram which is called from a
transition.
[Format]
ACT
TRSET
(SUB122)
[Contens]
D This address is used to read the logical state of a specified step.
0 : Transition to halt state, or halt state
1 : Execution state
D This address is used for creating a program in which detailed
transitions of the execution states between steps are considered.
Specify the number of the step to be read.
Example)To reference the state of the step S100
S100. 0
D This address allows any subprogram to reference the state of any step.
D Data cannot be written into state signal Sn. 0.
D A ladder can be configured for the TRSET transition instruction
using state signal Sn. 0. Referencing state signal Sn. 0, however,
adversely affects the portability and comprehensibility. Use this
feature sparingly.
[Example]
This address is used to reference the activation states of steps in a step
in which this address has been specified, and performs complicated
wait processing in a program including a simultaneous sequence.
In case of starting the executing of
S2 and S6 synchronously:
S1S4
P1P4
S2
P2P1
S3S6
934
Sub program
S5.0
S5
TRSET
B–61863E/14
5
STEP SEQUENCE FUNCTION
SPECIFICATION OF STEP SEQUENCE
5. SPECIFICATION OF STEP
SEQUENCE
935
5. SPECIFICATION OF STEP
SEQUENCE
5.1
SPECIFICATION
STEP SEQUENCE FUNCTION
Contents/Kind of PMCPMC–RB4/RB6/RC4/NB2
Number of subprogramUp to 2000 (P1 to P2000)
Number of stepUp to 1000 (S1 to S1000)
Number of labelUp to 9999 (L1 to L9999)
Number of jump in blockUp to 256
Nesting depth of block stepUp to 8 levels
Size of block64 lines 32 columns
Number of pathsUp to 16 paths
@@@@
@@@@
@@@@
B–61863E/14
Up to 16 paths
Up to 16 paths
@@@@
@@@@
936
B–61863E/14
STEP SEQUENCE FUNCTION
5. SPECIFICATION OF STEP
SEQUENCE
5.2
GENERAL RULES
D One transition must exist between step and step.
S1
(P10)
S2
(P11)
Correct
S1
(P10)
P1orS1
S2
(P11)
The step S1 calls
to subprogram P10, P11.
sub prog
CALL P10
CALL P11
D The transition shall never be repeated even at the point of the divergence
and the convergence.
S1
P1
P2P1
S3
P10
S10
Correct
S1
S3
P10
S10
S2
P2
P12
S12
S10
P11
Correct
S2
P2
S12
P10
P11
937
5. SPECIFICATION OF STEP
SEQUENCE
STEP SEQUENCE FUNCTION
B–61863E/14
D When a simultaneous sequence is specified in another simultaneous
sequence, one convergence must not be used for each sequence.
S1S1S2
P2P2
S3
P1P3
S5S5 (dumy)
S4
Correct
P1
S6
S2
S3
D When a selective sequence is specified in a simultaneous sequence,
dummy steps must be required both after the divergence and before
convergence.
S4
S1
P1
S4
P2
S2
P3
P4
S3
P5
Correct
938
S1
P1
S6
S2 (dummy)
P2
S3
P3
S5 (dummy)
P4
S4
P5
B–61863E/14
5. SPECIFICATION OF STEP
STEP SEQUENCE FUNCTION
SEQUENCE
D In case of branching again immediately after the convergence, a
step/transition is required between the divergence and convergence.
S1S2
P2
S3S10
S2
P2
S12
P10P100 (dummy)
S10
P11
S13
Correct
Correct
S1
S100 (dummy)
P1
S3
P2
S100 (dummy)
P100 (dummy )
S2
P10
S10
S10S2
P11
S13S12
D Immediately after the block step, a dummy transition which is always
true is needed.
]
S10
P10
S11
P11
S12
[ ]
S100
When block step S11 is used,
transition P1 1 and P101 cannot
P100
be omitted
S101
note) P11 is a dummy transition.
P101
The transition condition of
P11 must always be true.
939
5. SPECIFICATION OF STEP
SEQUENCE
STEP SEQUENCE FUNCTION
B–61863E/14
D The divergence must be terminated with the same type of convergence.
P2
S2
P3
P2
S2S3
P3
P1
P4
S3
P5
Correct
Correct
P2
S2
P3
P2
S2S3
P3
P4
S3
P5
D The number of convergences must match that of divergences.
P2
P1
P2
P3
S4
P1P2
S2
P3
S3
L1
CorrectS2
S2
P3
S4
S3
L1
D The number of convergences must match that of divergences, even at
the end of a block step.
P1P2
S2
Correct
P3
940
B–61863E/14
Sub–program P1
S10
P10
S11
P11
S12
5. SPECIFICATION OF STEP
STEP SEQUENCE FUNCTION
D It is not possible to jump to the other subprogram.
Sub–program P2
S100
P100
L1
S101
S20
P101
P20
S102
L1
SEQUENCE
D It is not possible to jump from a simultaneous sequence to another
simultaneous sequence.
S1
P1
S2
P2
S3
P3
L1
S4
S10
P10
L1
941
5. SPECIFICATION OF STEP
SEQUENCE
STEP SEQUENCE FUNCTION
B–61863E/14
D It is not allowed to jump from inside of the simultaneous sequence to
outside.
L1
S1
P1
S2
P2
S3
S10
P10
S11
S20
P20
L1
942
B–61863E/14
STEP SEQUENCE FUNCTION
5. SPECIFICATION OF STEP
SEQUENCE
5.3
EXCLUSIVE
CONTROL FOR
FUNCTIONAL
INSTRUCTIONS
The use of the following functional instructions is restricted in steps and
transitions.
GroupDescription
AThe instructions operate when a signal changesCTR (SUB5)
Since these functional instructions operate when the corresponding
signals change, they may not operate correctly when called from
multiplesteps.
Example)
While multiple CTR functional instructions are used, when
control passes from S1 to S2 with ACT of CTR not set to of f, CTR
is not counted when called from step S2.
S1
(P100)
P1
S2
(P100)
Subprogram P100
CTR1
X1.0
Subprogram P1
X1.0
R0.0
( )
TRSET
943
5. SPECIFICATION OF STEP
SEQUENCE
STEP SEQUENCE FUNCTION
B–61863E/14
Correct program
Divide the subprogram so that ACT of CTR is called after it is set to
off.
S1
(P100)
P101
S2
(P102)
P103
S3
(P100)
P101
S4
(P102)
P103
Subprogram P100
X1.0
Subprogram P101
X1.0
Subprogram P102
R9091.0
CTR1
TRSET
CTR1
R0.0
( )
R0.0
( )
Subprogram P103
R9091.1
TRSET
(2) Functional instructions of group B
While an instruction is being executed through the interface with the
NC, other same instructions cannot be executed. PMC control
software does not receive the process when the instruction is not at
a same position (net).
If ACT is set to on and off in different instructions (or subprograms),
these processes are not terminated.
NOTE
In the window instructions (WINDR and WINDW),
low–speed–type is included the functional instructions of
group B.
944
B–61863E/14
STEP SEQUENCE FUNCTION
Example)
5. SPECIFICATION OF STEP
SEQUENCE
S1
(P100)
P1
S2
(P101)
Subprogram P100
R9091.1
Subprogram P1
R0.0
Subprogram P101
R9091.0
WINDRR10
TRSET
WINDRR10
R0.0
( )
R0.0
( )
Correct program
Correct the program so that ACT is set to on and off within one
subprogram.
S1
(P100)
P1
Subprogram P100
R9091.1
R0.0
( )
S2
(P101)
CALLUP2
Subprogram P1
R0.0
Subprogram P101
R9091.0
CALLUP2
Subprogram P2
R0.1
TRSET
WINDRR10
R0.0
( )
R0.0
( )
945
6. CRT/MDI OPERATION
CRT/MDI OPERATION
6
STEP SEQUENCE FUNCTION
The following operations are supported to enable the diagnosis and
debugging of a step sequence program.
(1) Displaying the sequence diagram
(2) Displaying the run time of the step sequence program
(3) Monitoring the run time of the step sequence program
B–61863E/14
946
B–61863E/14
6. CRT/MDI OPERATIONSTEP SEQUENCE FUNCTION
6.1
DISPLAYING OF
SEQUENCE
PROGRAM
6.1.1
Program Configuration
List (Main Screen)
The diagnosis and debugging of a step sequence program have four
screens.
(1) Program configuration list (main screen)
(2) Step sequence screen
(3) List screen
(4) Ladder screen
Press the [STPSEQ] key and display the program configuration list.
STPSEQ <<MAIN>> PROGRAM:(STEP SEQUENCE DEMO PROGRAM) MONIT RUN
P0001 ( ) SUB PROGRAM NO.1
LEVEL1LEVEL2LEVEL3
V P0001V P0002 V P0004 V P0005 V P0006 V P0007V P0008V P0009 V P0014 V P0015 V P0016 V P0017V P0021V P0022 V P0024 V P0025 V P0026 V]P0027⋅⋅⋅⋅ ⋅⋅⋅⋅⋅⋅ ⋅⋅V P0101V P0202 V]P0304 V]P0405 V]P0406 V]P0407
[ UP ] [ DOWN ] [ TIME ] [ P–ADRS ] [ ZOOM ]
Items displayed on the screen
DisplayContentsDisplay by [ZOOM] key
LEVEL1Ladder first levelLadder diagram
LEVEL2Ladder second levelLadder diagram
LEVEL3Ladder third level note1)Ladder diagram
V PxxxSubprogramLadder diagram
V] PxxxSubprogramStep sequence diagram
Pxxx indicates a subprogram number.
NOTE
The third level ladder can be omitted.
[ZOOM] key
To display the contents of a program, position the cursor to the
program number and press the [ZOOM] key. The step sequence
diagram (Fig. 6.1.2 (b)) or ladder diagram (Fig. 6.1.3 (c) is
automatically displayed according to the type of the program.
[TIME] key
Press the [TIME] key to display the time display screen (Fig. 6.2.1)
and time monitor screen (Fig. 6.3).
[P–ADRS/P–SYMB] key
Displays the addresses specified to subprograms, using addresses or
symbols, if symbols have been assigned. When the [P–ADRS] key
ispressed, the addresses are displayed. When the [P–SYMB] key is
pressed, the symbols are displayed.
947
6. CRT/MDI OPERATION
STEP SEQUENCE FUNCTION
B–61863E/14
6.1.2
Step Sequence Screen
(1) Position the cursor to a program indicated byV], then press the
LEVEL1LEVEL2LEVEL3
V P0001V P0002 V P0004 V P0005 V P0006 V P0007V P0008V P0009 V P0014 V P0015 V P0016 V P0017V P0021V P0022 V P0024 V P0025 V P0026 V]P0027⋅⋅⋅⋅ ⋅⋅⋅⋅⋅⋅ ⋅⋅V P0101V P0202 V]P0304 V]P0405 V]P0406 V]P0407
[ UP ] [ DOWN ] [ TIME ] [ P–ADRS ] [ ZOOM ]
Fig. 6.1.2 (a) Program configuration list (main screen)
Example)
When the cursor is positioned to V] P0407 and press the [ZOOM]
key, the subprogram P407 isdisplayed.
(2) Displayed Step Sequence
Activated steps are indicated by red V (highlighted V on a
monochrome display). (In this manual, activated steps are indicated
by H.)
PCLAD <<STPSEQ>> PROGRAM:(STEP SEQUENCE DEMO PROGRAM) MONIT RUN
S0001 P0001(ROTATE) ROTATE THE WORK TIP P0407 1– 1
<– L1
[ ] S1
P1
To display the contents of a program, position the cursor to the
program number and press the [ZOOM] key. The step sequence
diagram (Fig.6.1.2 (b)) or ladder diagram (Fig.6.1.3 (c)) is
automatically displayed according to the type of the program.
[MAIN] key
Press the [MAIN] key to return to the program configuration list.
[CHANGE] key
Press the [CHANGE] key to list the subprograms referenced in the
step sequence program.
[TIME] key
Press the [TIME] key to display the time display screen (Fig. 6.2.1).
[P–ADRS/P–SYMB/S–ADRS/S–SYMB] key
Displays the addresses specified with steps and transitions, using
addresses or symbols, if symbols have been assigned. And the display
of steps is changed to display the S addresses or P addresses.
Press the [P–ADRS] key to display the addresses of P addresses.
Press the [P–SYMB] key to display the symbols of P addresses.
Press the [S–ADRS] key to display the addresses of S addresses.
Press the [S–SYMB] key to display the symbols of S addresses.
(3) Displaying the list screen
While the step sequence screen is displayed and press the [CHANGE]
key , a list screen of the subprograms referenced in this step sequence
program is displayed.
PCLAD <<LIST>> PROGRAM:(STEP SEQUENCE DEMO PROGRAM) MONIT RUN
S0001 P0001 (ROTATE) ROTATE THE WORK TIP
V] P0001 V] P0002 V] P0004 V] P0005 V] P0006 V] P0007
V P0008V P0009 V P0014 V P0015 V P0016 V P0017V P0021V P0022 V P0024 V P0025 V P0026 V]P0027⋅⋅⋅⋅ ⋅⋅⋅⋅⋅⋅ ⋅⋅V P0101V]P0202 V]P0304 V]P0405 V]P0406 V]P0407
[ UP ] [ DOWN ] [ ] [ ] [ ZOOM ]
[ MAIN ] [ CHANGE ] [ ] [ ] [ ]
949
6. CRT/MDI OPERATION
STEP SEQUENCE FUNCTION
B–61863E/14
[ZOOM] soft ke
T o display a program, position the cursor to the program number and
press the [ZOOM] key. The step sequence screen (Fig. 6.1.2 (b)) or
ladder screen (Fig. 6.1.3 (c)) is automatically displayed according to
the type of the program.
[MAIN] key
Press the [MAIN] key to return to the program configuration list.
[TIME] key
Press the [TIME] key to display the time display screen (Fig. 6.2.1).
[P–ADRS/P–SYMB] key
Displays the addresses specified to subprograms, using addresses or
symbols, if symbols have been assigned. When the [P–ADRS] key
is pressed, the addresses are displayed. When the [P–SYMB] key is
pressed, the symbols are displayed.
[CHANGE] key
Press the [CHANGE] key to return to the step sequence diagram.
6.1.3
Ladder Screen
(1) Position the cursor to a program indicated byV, then press the
[ZOOM] key.
STPSEQ <<MAIN>> PROGRAM:(STEP SEQUENCE DEMO PROGRAM) MONIT RUN
LEVEL1LEVEL2LEVEL3
V P0001V P0002 V P0004 V P0005 V P0006 V P0007V P0008V P0009 V P0014 V P0015 V P0016 V P0017V P0021V P0022 V P0024 V P0025 V P0026 V]P0027⋅⋅⋅⋅ ⋅⋅⋅⋅⋅⋅ ⋅⋅V P0101V]P0202 V]P0304 V]P0405 V]P0406 V]P0407
[ UP ] [ DOWN ] [ TIME ] [ P–ADRS ] [ ZOOM ]
Fig. 6.1.3 (a) Program configuration list (main screen)
Example)
When the cursor is positioned to LEVEL1, press the[ZOOM]
key, the first level ladder is displayed.
PCLAD <<STPSEQ>> PROGRAM:(STEP SEQUENCE DEMO PROGRAM) MONIT RUN
S0001 P0001 (ROTATE) ROTATE THE WORK TIP P0100 4– 2
<– L1
[ ] S1
P1
<–
L4
]
S2
P2
S3
S10
P10
S11
P13
S13
<–
S20
P20
L2
S21
S30
P30
S31
[ MAIN ] [ CHANGE ] [ TIME ] [ P–ADRS ] [ ZOOM ]
Fig. 6.1.3 (b) Step Sequence screen
950
B–61863E/14
6. CRT/MDI OPERATIONSTEP SEQUENCE FUNCTION
Example)
When the cursor is positioned to “P2”, press the [ZOOM] key,
subprogram P2 is displayed.
(2) Ladder Screen
The signals currently set to on are displayed in white (highlighted on
a monochrome display).
LADDER * STEP SEQUENCE DEMO PROGRAM * NET 0031–0033 MONIT RUN
R9091.1
FIN
FIN
MOVN
/
WINDR
MOVN
SUB 45
END1
SUB 1
20
D10
R10
R10
20
R10
D10
FIN
( )
[ SEARCH ] [ ADRESS ] [ TRIGER ] [ WINDOW ] [ ]
[ DUMP ] [ DPARA ] [ ] [ ONLEDT ] [ ]
Fig. 6.1.3 (c) Ladder screen
[SEARCH] key
Used for search within a subprogram.
SEARCH ADRESSTRIGER WINDOW
RET
TOPBOTTOMSRCHW–SRCH N– SRCH
NEXT
F–SRCH
[TOP] key
Displays the top of a subprogram.
[BOTTOM] key
Displays the bottom of a subprogram.
[SRCH] key
Searches for the specified address.
951
6. CRT/MDI OPERATION
STEP SEQUENCE FUNCTION
[W–SRCH] key
Displays the ladder in which the specified address is used as a coil
address.
[N–SRCH] key
Displays the ladder having the specified net number, at the top of
the screen.
[F–SRCH] key
Displays the specified functional instruction, at the to of the
screen.
[ADRESS/SYMBOL] key
Displays the addresses specified with relays and coils, using
addresses or symbols, if symbols have been assigned. When the
[ADRESS] key is pressed, the addresses are displayed. When the
[SYMBOL] key is pressed, the symbols are displayed.
[TRIGER] key
With a manual operation or a signal trigger function, a renewal
screen of a ladder monitoring function is stopped. By this
function, the signal status when one signal is changed is certainly
checked.
[WINDOW] key
Splits the screen into two sections, allowing the display of two
ladder positions in a subprogram.
[DUMP] key
Displays the contents of addresses at the bottom of the screen.
[DPARA] key
Displays the data specified with functional instructions.
[ONLEDT] key
While a sequence program is executing, a part of the ladder
diagram can be changed.
B–61863E/14
952
B–61863E/14
6. CRT/MDI OPERATIONSTEP SEQUENCE FUNCTION
6.2
TIMER SCREEN
6.2.1
Time Screen
The elapsed time of a step sequence program is displayed.
STPSEQ <<STATUS>> PROGRAM:(STEP SEQUENCE DEMO PROGRAM) MONIT RUN
T (1) : monitoring time number
OVER : An elapsed time is over monitoring time
[UP] [DOWN] key
Scrolls the screen up or down, in units of pages, to display the
operation time of other steps. Acts in the same way as the page up
or down key.
[MONIT] key
Displays the screen used for setting the timer to monitor the operation
time. (See 6.3)
[SEARCH] key
Search and display the specified step number.
example) Display the S100 address.
Key in “100” and press the [SEARCH] key.
[RESET] key
For all of monitoring steps, the error status which occurred by the
monitoring function is canceled.
T o cancel the status per steps, press the [DELETE] key on the monitor
time screen. (Please refer to 6.3 Monitor Time Screen below)
953
6. CRT/MDI OPERATION
STEP SEQUENCE FUNCTION
B–61863E/14
6.2.2
Monitoring Elapsed
Time
When an activated state remains set for longer than the specified time,
the state may be determined as being erroneous. The elapsed time can be
specified for up to eight steps.
When an activated state remains set for longer than the specified time,
(1) OVER is displayed at the corresponding step number on the
STPSEQ/TIME screen.
(2) Execution of the ladder continues.
(3) The bit of address R9118 which corresponds with the step number is
set to
1. The processes for the error status can be program by the ladder
diagram. And the following message is displayed on the
PMC/ALARM screen.
”ER48 STEP SEQUENCE TIME OVER (xxH)”
”xx” displays the content of address R91 18 in hexadecimal code.
The display and editing of a step sequence program per subprogram
aresupported.
A step sequence program is allowed to be displayed and a ladder diagram
is allowed to be displayed and edited.
Press the [EDIT] and [LADDER] key and display the program
configuration list.
LEVEL1LEVEL2LEVEL3
V P0001V P0002 V P0004 V P0005 V P0006 V P0007V P0008V P0009 V P0014 V P0015 V P0016 V P0017V P0021V P0022 V P0024 V P0025 V P0026 V]P0027⋅⋅⋅⋅ ⋅⋅⋅⋅⋅⋅ ⋅⋅V P0101V P0202 V]P0304 V]P0405 V]P0406 V]P0407
[ UP ] [ DOWN ] [ ] [ P–ADRS ] [ ZOOM ]
P0001 ( ) SUB PROGRAM NO.1
Items displayed on the screen
DisplayContentsDisplay by [ZOOM] key
LEVEL1Ladder first levelLadder diagram
LEVEL2Ladder second levelLadder diagram
LEVEL3Ladder third level (Note)Ladder diagram
V PxxxSubprogramLadder diagram
V] PxxxSubprogramStep sequence diagram
Pxxx indicates a subprogram number.
NOTE
The third level ladder can be omitted.
[ZOOM] key
To display the contents of a program, position the cursor to the
program number and press the [ZOOM] key. The step sequence
diagram (Fig. 6.4.2 (b)) or ladder diagram (Fig. 6.4.3 (c)) is
automatically displayed according to the type of the program.
[P–ADRS/P–SYMB] key
Displays the addresses specified to subprograms, using addresses or
symbols, if symbols have been assigned. When the [P–ADRS] key
is pressed, the addresses are displayed. When the [P–SYMB] key is
pressed, the symbols are displayed.
957
6. CRT/MDI OPERATION
STEP SEQUENCE FUNCTION
B–61863E/14
6.4.2
Step Sequence Screen
(1) Position the cursor to a program indicated by j], then press the
LEVEL1LEVEL2LEVEL3
V P0001V P0002 V P0004 V P0005 V P0006 V P0007V P0008V P0009 V P0014 V P0015 V P0016 V P0017V P0021V P0022 V P0024 V P0025 V P0026 V]P0027⋅⋅⋅⋅ ⋅⋅⋅⋅⋅⋅ ⋅⋅V P0101V P0202 V]P0304 V]P0405 V]P0406 V]P0407
[ UP ] [ DOWN ] [ TIME ] [ P–ADRS ] [ ZOOM ]
Fig. 6.4.2 (a) Program configuration list (main screen)
P0407 ( ) STEP SEQUENCE NO.1
Example)
When the cursor is positioned to j] P0407 and press the
[ZOOM] key , the subprogram P407 is displayed.
(2) Displayed Step Sequence
Activated steps are indicated by red j (highlighted j on a
monochrome display). (In this manual, activated steps are indicated
by J.)
To display the contents of a program, position the cursor to the
program number and press the [ZOOM] key. The step sequence
diagram (Fig. 6.4.2 (b)) or ladder diagram (Fig. 6.4.3 (c)) is
automatically displayed according to the type of the program.
[MAIN] key
Press the [MAIN] key to return to the program configuration list.
[CHANGE] key
Press the [CHANGE] key to list the subprograms referenced in
the step sequence program.
[P–ADRS/P–SYMB/S–ADRS/S–SYMB] key
Displays the addresses specified with steps and transitions, using
addresses or symbols, if symbols have been assigned.
And the display of steps is changed to display the S addresses or
P addresses.
Press the [P–ADRS] key to display the addresses of P addresses.
Press the [P–SYMB] key to display the symbols of P addresses.
Press the [S–ADRS] key to display the addresses of S addresses.
Press the [S–SYMB] key to display the symbols of S addresses.
(3) Displaying the list screen
While the step sequence screen is displayed and press the [CHANGE]
key , a list screen of the subprograms referenced in this step sequence
program is displayed.
LADDER <<LIST>> PROGRAM:(STEP SEQUENCE DEMO PROGRAM) MONIT STOP
S0001 P0001 (ROTATE) ROTATE THE WORK TIP
V] P0001 V] P0002 V] P0004 V] P0005 V] P0006 V] P0007
V P0008V P0009 V P0014 V P0015 V P0016 V P0017V P0021V P0022 V P0024 V P0025 V P0026 V]P0027⋅⋅⋅⋅ ⋅⋅⋅⋅⋅⋅ ⋅⋅V P0101V P0202 V]P0304 V]P0405 V]P0406 V]P0407
[ UP ] [ CHANGE ] [ ] [ P–ADRS ] [ ZOOM ]
[ZOOM] soft key
T o display a program, position the cursor to the program number
and press the [ZOOM] key . The step sequence screen (Fig. 6.4.2
(b)) or ladder screen (Fig. 6.4.3 (c)) is automatically displayed
according to the type of the program.
959
6. CRT/MDI OPERATION
STEP SEQUENCE FUNCTION
[MAIN] key
Press the [MAIN] key to return to the program configuration list.
[CHANGE] key
Press the [CHANGE] key to return to the step sequence diagram.
[P–ADRS/P–SYMB] key
Displays the addresses specified to subprograms, using addresses
or symbols, if symbols have been assigned. When the [P–ADRS]
key is pressed, the addresses are displayed. When the [P–SYMB]
key is pressed, the symbols are displayed.
B–61863E/14
6.4.3
Ladder Screen
(1) Position the cursor to a program indicated by j, then press the
LEVEL1LEVEL2LEVEL3
V P0001V P0002 V P0004 V P0005 V P0006 V P0007V P0008V P0009 V P0014 V P0015 V P0016 V P0017V P0021V P0022 V P0024 V P0025 V P0026 V]P0027⋅⋅⋅⋅ ⋅⋅⋅⋅⋅⋅ ⋅⋅V P0101V P0202 V]P0304 V]P0405 V]P0406 V]P0407
[ UP ] [ DOWN ] [ ] [ P–ADRS ] [ ZOOM ]
Fig. 6.4.3 (a) Program configuration list (main screen)
Example)
When the cursor is positioned to LEVEL1, press the [ZOOM] key, the
first level ladder is displayed.
LADDER <<STPSEQ>> PROGRAM:(STEP SEQUENCE DEMO PROGRAM) MONIT STOP
S0001 P0001 (ROTATE) ROTATE THE WORK TIP P0100 4– 2
<– L1
[ ] S1
P1
<–
L4
]
S2
P2
S3
[ MAIN ] [ CHANGE ] [ ] [ P–ADRS ] [ ZOOM ]
S10
P10
S11
P13
S13
<–
S20
P20
L2
S21
S30
P30
S31
Fig. 6.4.3 (b) Step Sequence screen
Example)
When the cursor is positioned to ”
P2”, press the [ZOOM] key, the
subprogram P2 is displayed.
960
B–61863E/14
6. CRT/MDI OPERATIONSTEP SEQUENCE FUNCTION
(2) Ladder Screen
LADDER NET 0031–0033 MONIT STOP
R9091.1
FIN
FIN
/
MOVN
WINDR
MOVN
SUB 45
END1
SUB 1
20
D10
R10
R10
20
R10
D10
FIN
( )
Fig. 6.4.3 (c) Ladder screen
Please refer to the following section about the operations of editing a
ladder diagram.
III PMC PROGRAMMER(CRT/MDI) 5.2 Sequence
Program Generation(LADDER)
961
6. CRT/MDI OPERATION
STEP SEQUENCE FUNCTION
B–61863E/14
6.5
CORRESPONDING
FUNCTION
The following ladder diagnosis and debugging functions can be used
together with the step sequence functions.
Ę : can be used
∆ : can be used on condition
: cannot be used
FunctionsPMC–SB4/
PMC Ladder diagram display (PMCLAD)
PMC I/O signal display (PMCDGN)
Title screen (TITLE)
Signal status screen (STA TUS)
Alarm screen (ALARM)
Trace screen (TRACE)
Contents of Memory (MEMORY)
Signal Waveforms screen (ANAL YS)
Running State of a User Task (USRDGN)
PMC Parameters screen (PMCPRM)
Timer screen (TIMER)
Counter screen (COUNTR)
Keep relay screen (KEEPRL)
Data table screen (DAT A)
Simple setting screen (SETING)
Monitor time screen (MONIT)
Execute or stop the sequence program (RUN)ĘĘĘ
Edit function (EDIT)
Title screen (TITLE)
Ladder diagram (LADDER)
Symbol screen (SYMBOL)
Message screen (MESAGE)
Definition of I/O (MODULE)
Cross reference (CROSS)
Memory clear (CLEAR)
Input and output
FAPT LADDER (HOST)
Floppy cassette (FDCAS)
FlashROM (F–ROM)
Memory card (M–CARD)
Other I/O device (OTHERS)
System Parameter (SYSPRM)∆ NOTE1ĘĘ
Debug function (MONIT)
Ladder debug function (DBGLAD)
Descriptor table screen (GDT)
User memory screen (USRMEM)
User program debug function (DEBUG)
SB6
Ę
Ę
Ę
Ę
Ę
∆ NOTE1
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
∆
Ę
Ę
NOTE1
∆
∆
∆
∆
∆
∆
∆
Ę
Ę
Ę
∆ NOTE2
Ę
NOTE1
PMC–SC4 PMC–NB2
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
Ę
NOTE
1 An Editor card is needed.
2 It is possible to use while an Editor card is not mounted.
(Can be used with the 16i/18i/21i.)
962
B–61863E/14
6. CRT/MDI OPERATIONSTEP SEQUENCE FUNCTION
6.6
COMPA TIBILITY OF
LADDER DIAGRAM
The PMC–SB4, SB6, SC4 and NB2 can be used with either the ladder
method or step sequence method. When a step sequence program is
transferred to the old version of the PMC, ER08 OBJECT UNMATCH
is displayed on the PMC/ALARM screen.
The model setting of FAPT LADDER determines whether the ladder or
step sequence method is used. The STEP SEQUENCE item has been
added to the system parameter screen for future expansion. Specify the
parameter according to the model setting of FAPT LADDER.
T o create a program with the built–in edit function, after the parameter has
been set execute CLEAR ALL. Alternatively, while holding down “X”
and “O” key, turn the power off and on.
When the step sequence method is used: STEP SEQUENCE = YES.
When the ladder method is used: STEP SEQUENCE = NO.
PMC SYSTEM PARAMETER (1/2)MONIT STOP
COUNTER DATA TYPE = BINARY / BCD
STEP SEQUENCE = YES / NO
>
[BINARY] [ BCD ] [ ] [ ] [ ]
Fig. 6.6 (a) PMC–SB4/SB6 system parameter screen (first page)
PMC SYSTEM PARAMETER (2/2)MONIT STOP
FS0 OPERATOR PANEL = YES / NO
KEY DI ADDRESS =
LED DO ADDRESS =
KEY BIT IMAGE ADDRESS =
LED BIT IMAGE ADDRESS =
>
[ YES ] [ NO ] [ ] [ ] [ ]
Fig. 6.6 (b) PMC–SB4/SB6 system parameter screen (second page)
963
6. CRT/MDI OPERATION
STEP SEQUENCE FUNCTION
PMC SYSTEM PARAMETER (1/2)MONIT STOP
COUNTER DATA TYPE = BINARY / BCD
LADDER EXEC = % (1–150)
LANGUAGE EXEC RATIO = % (0–99)
LANGUAGE ORIGIN = H
(LANGUAGE AREA = H, SIZE = KB)
STEP SEQUENCE = YES / NO
>
[BINARY] [ BCD ] [ ] [ ] [ ]
Fig. 6.6 (c) PMC–SC4/NB2 system parameter screen (first page)
PMC SYSTEM PARAMETER (2/2)MONIT STOP
B–61863E/14
FS0 OPERATOR PANEL = YES / NO
KEY DI ADDRESS =
LED DO ADDRESS =
KEY BIT IMAGE ADDRESS =
LED BIT IMAGE ADDRESS =
>
[ YES ] [ NO ] [ ] [ ] [ ]
Fig. 6.6 (d) PMC–SC4/NB2 system parameter screen (second page)
964
VII.PMC PROGRAMMER
(SYSTEM P series)
B–61863E/14
1
1. GENERALPMC PROGRAMMER (SYSTEM P series)
GENERAL
The FAPT LADDER system can easily prepare sequence programs,
symbol data, titles, and message of PMC–SB and PMC–SC, and also
easily define addresses of the modules to be installed in an I/O unit by
using SYSTEM P series.
Major functions of this FAPT LADDER are as described below.
(1) Input, display and editing of sequence programs
(2) Transfer of sequence programs (including write into EPROM for
PMC or ROM module.)
(3) Collation of sequence programs
(4) Program error display
series 16/18/20/21
/Power Mate–D
PMC card
System floppy loading
FAPT LADDER
PMC–SA1/SA2
FAPT LADDER
PMC–SB/SC
The SYSTEM P series is used in the stage of preparing a sequence
program only and separated from PMC after the sequence program has
been completed. The SYSTEM P series can be connected to PMC only
when the PMC is operated with the RAM card and cannot be connected
when PMC is operated with a EPROM for PMC or ROM module.
Machine tool
DI/DO card
Paper tape input/output
PPR
SYSTEM P series
(FAPT LADDER)
PMC
WRITER
or
List output
EPROM for PMC
input/output
Floppy
input/output
Fig. 1
967
FA
WRITER
PRINTER
EPROM for PMC
input/output
ROM for PMC
module input/output
Sequence program figure output
2. FUNCTIONS OF
PROCESSING
FUNCTIONS OF PROCESSING
2
PMC PROGRAMMER (SYSTEM P series)
(1) Input of sequence programs
Input sequence programs using the following units when sequence
programs are loaded into the memory of the SYSTEM P series.
a) SYSTEM P series keyboard
b) PPR tape reader (paper tape)
c) Floppy
d) PMC memory
e) EPROM for PMC or ROM module
(2) Sequence program display
B–61863E/14
Sequence programs can be displayed on the 12” graphic display of
SYSTEM P series as follows.
a) Sequence programs can be displayed using mnemonic symbols.
b) Sequence programs can also be displayed in the ladder diagram
format.
(3) Editing of sequence programs
A sequence program can be edited by using the SYSTEM P series
keyboard in the following three ways.
a) Alteration
b) Insertion
c) Deletion
(4) Transfer of sequence programs
Sequence programs can be transferred as follows.
a) From SYSTEM P series memory to PMC memory
b) From PMC memory to SYSTEM P series memory
c) From SYSTEM P series memory to floppy
d) From floppy to SYSTEM P series memory
e) From SYSTEM P series memory to EPROM or ROM module for
PMC (Write into EPROM for PMC or ROM module)
f) From EPROM for PMC or ROM module to SYSTEM P series
memory
(5) Collation of sequence programs
Sequence programs can be checked by collating them between the
following memories.
a) SYSTEM P series memory – PMC memory
b) SYSTEM P series memory – floppy
c) SYSTEM P series memory – EPROM for PMC or ROM module
d) SYSTEM P series memory – paper tape
968
B–61863E/14
PMC PROGRAMMER (SYSTEM P series)
(6) Hard copy
a) Since FANUC PPR is connectable to SYSTEM P series, the
paper tape output and list output (mnemonic symbol) are
obtainable.
b) A ladder diagram can be printed out.
(7) Program error display
Sequence program errors are displayed on the screen of the SYSTEM
P series.
Error codes are displayed at the lower right of the screen as
ALARM=XXX.
Refer to list of error codes in Appendix.
2. FUNCTIONS OF
PROCESSING
969
3. COMPONENT UNITS AND
CONNECTIONS
COMPONENT UNITS AND CONNECTIONS
3
PMC PROGRAMMER (SYSTEM P series)
B–61863E/14
970
B–61863E/14
PMC PROGRAMMER (SYSTEM P series)
3. COMPONENT UNITS AND
CONNECTIONS
3.1
COMPONENT UNITS
(1) SYSTEM P series
This system serves as a programmer to generate and edit sequence
programs.
(2) Series 16
This system transfers a generated sequence program to CNC.
(3) FANUC PPR
This PPR inputs/outputs a sequence program by using a paper tape,
and also output a source list to the printer.
(4) FANUC printer
This printer prints out the sequence program.
(5) FANUC PMC writer
This unit is used for writing a sequence program to the EPROM for
PMC or ROM module when the sequence program has been
completed.
(6) FANUC FA Writer
This unit is used for writing data to the EPROM or ROM module for
the PMC after a sequence program has been created.
971
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.