You are on page 1of 3

FACTORY AUTOMATION PROJECT

__________________________________________________________________________________

A client, whose plant employs factory automation, contracted you to upgrade the program of their
existing control scheme. The control strategies are in the form of sequence tables: Sequence Table 1
(ST1); Sequence Table 2 (ST2); and, Sequence Table 3 (ST3). The delay between sequence tables is
two seconds. In-sequence delay is one second, for example, delay between sequence 1 and
sequence 2 of ST1 is one second.

Input Assignments

Label Description Tag Name Address


S1 pushbutton, no START_SEQ I0.1
S0 pushbutton, no STOP_SEQ I0.0
S2 pushbutton, no PAUSE_SEQ I0.2

Output Assignments

Label Description Tag Name Address


Process P1 – P6 Outputs to Sequence Q0.0 – Q0.5
H2 Indicator lamp, yellow PAUSE_INDICATOR Q0.6
H1 Indicator lamp, green IN-OPERATION Q0.7

When S1 is pressed, H1 flashes three times with a frequency of one Hz after which ST1 is
implemented and H1 is lit steady. After the last sequence of ST1, ST2 begins after a delay of two
seconds. ST2 has two repeat cycles, that is, ST2 is executed twice, after which ST3 starts after two
seconds has elapsed. ST3 has also two repeat cycles, and if this done, all Qs are off, that is, Q0.0 to
Q0.5 and Q0.7 are FALSE.

A user can push S0 anytime which stops any ongoing sequence and all Qs are FALSE.

Like S0, S2 can also be press anytime. This action pauses the current sequence. H2 flashes with a
period of one second as long as a sequence is paused. A second push of S2 resumes the sequence
and H2 is off. A paused sequence can also be stopped.
FACTORY AUTOMATION PROJECT

__________________________________________________________________________________

ST1 (Executed once)

Sequence Outputs to Sequence H2 H1


Number Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 Q0.6 Q0.7
1 1 1 0 0 0 0
2 0 1 1 0 0 0
3 0 0 1 1 0 0
4 0 0 0 1 1 0
5 0 0 0 0 1 1
6 1 1 1 1 1 1

ST2 (Executed twice)

Sequence Outputs to Sequence H2 H1


Number Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 Q0.6 Q0.7
1 1 0 0 0 0 1
2 1 1 0 0 1 1
3 1 1 1 1 1 1
4 1 1 0 0 1 1
5 1 0 0 0 0 1
6 0 1 1 1 1 0

ST3 (Executed twice)

Sequence Outputs to Sequence H2 H1


Number Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 Q0.6 Q0.7
1 0 0 1 1 0 0
2 0 1 1 1 1 0
3 1 1 1 1 1 1
4 0 1 1 1 1 0
5 0 0 1 1 0 0
6 1 1 0 0 1 1
FACTORY AUTOMATION PROJECT

__________________________________________________________________________________

Note:

1. Use TONR if you want your paused sequence not to start from 0 s. This shortens the delay time
between sequences. Remember that TON resets to 0 s while TOF loads to its PV value when its IN is
FALSE.

2. If a sequence is stopped TONR must be reset and TON and TOF IN must be FALSE. All counters
must also have its CV data reset to zero. Counters count the number of cycle repetitions. Program
without counters is considered lacked in specifications thus unacceptable.

3. S1 function is to start ST1. It must not have no effect when the sequence is ongoing or paused.
When a sequence is stopped or upon completion of all sequences pressing S1 restarts the whole
process. Your program must cycle to its normal pace, as required, whenever its restarted.

4. The program must employ data blocks and function block diagramming. Note that program
blocks, PLC tags, content of data blocks, and others can be printed.

5. PLC: 1214C DC/DC/DC version 3

6. Encode first your program in 1214C DC/DC/DC version 4 so that you can simulate it. If the program
runs correctly then encode it under 1214C DC/DC/DC version 3; do not cut and paste nor copy and
paste from version 4 – these two versions have incompatibilities. Program and its printout in 1214C
DC/DC/DC version 3!

6. File Format:

FAP_801A_SURNAME_SURNAME_
FAP_802A_SURNAME_SURNAME_

You might also like