
6. EXECUTION OF A SEQUENCE
PROGRAM
B–61863E/15
PMC PROGRAMMER (CRT/MDI)
564
Start and Stop of a sequence program are described as follows.
PMCLAD PMCDCN PMCPPM
RUN
or STOP
EDIT I/O SYSPRM
RETURN
MONIT
Fig. 6.1 The sequence program execution software key
An operable sequence program is usually automatically started when
power is turned on if the program is stored in ROM. However, the
program is not started if it is stored in RAM.
(1) Start of a sequence program (RUN)
When a sequence program is at the stopped state, pressing the [RUN]
key causes the sequence program to run displaying the software key
as [STOP].
The ladder program starts from the beginning. However, whether
C–language programs start from the beginning depends on the
function selected in advance.
a) When a C–language program starts from the beginning
Functions selected in advance: Ladder editing, reading the
system parameter, reading a sequence program using
input/output processing
b) When a C–language program does not start from the beginning
but restarts from the next step after stopping
Function selected in advance: Functions other than the function
in item (a)
NOTE
Both ladder and C–language programs start from the
beginning immediately after the power is turned on.
(2) Stop of a sequence program (STOP)
When a sequence program is at the run state, pressing the [STOP] key
causes the sequence program to stop displaying the software key as
[RUN].
6.1
START AND STOP OF
A SEQUENCE
PROGRAM