Sie sind auf Seite 1von 6

LAB # 3 IMPLEMENTATION OF SEQUENCERS IN TRILOGY

INTRODUCTION
A sequencer is a highly convenient feature for programming machines or processes which
operate in fixed sequences. These machines operate in fixed, clearly distinguishable step-by-step
order, starting from an initial step and progressing to the final step and then restart from the
initial step again. At any moment, there must be a "step counter" to keep track of the current step
number. Every step of the sequence must be accessible and can be used to trigger some action,
such as turning on a motor or solenoid valve, etc.
The SQO instruction transfers data from a programmed sequencer file, through a mask, to a
destination file. This instruction is used for the sequential control of various devices in process or
control operations.

LAB TASKS:
TASK 1: USING TRILOGI SOFTWARE, CONTROL 4 LEDS IN SEQUENCE OF 1 SEC.
I.E EACH LED GLOW FOR 1 SEC AFTER ONE ANOTHER.

Start Pulse LED_1 LED_2 LED_3 LED_4

Ladder Logic:

Comments:
In this task a sequencer is used to glow the four Led`s .We implemented the sequencer function
by using its sequences and some delay of 1s. so each sequence glow each led with after other.

TASK 2: CREATE THE FOLLOWING OUTPUT PATTERN USING SEQUENCERS.

Out1 Out2 Out3 Out4 Out5

Ladder Logic:

Comments:
In this task sequencer is used to implement the following logic. We put the value of double of
the output bulb and place each first sequence with the last sequence. In this way we get a reverse
condition.

Task 2:
Design Full Step Stepper Motor Controller for forward and reverse Drive.

Step no. in Outputs


forward direction 1 2 3 4
1 1 1 0 0
2 0 1 1 0
3 0 0 1 1
4 1 0 0 1

Ladder Logic:

Comments:
This task is the application of stepper motor. A sequence is implemented with corresponding 4
outputs and having value of sequences. According to table each input value glows more than one
bulb by satisfying the condition.

POST LAB:
TASK 1: IMPLEMENT 3 BIT RING COUNTER WHICH COUNTS FROM 000, 001,
……. 111 USING SEQUENCERS.

Ladder logic:
Comments:
In this task we implemented a ladder logic that display the binary count until the 8 bit reached.
So, it is same as stepper motor and bulb glows according to their turn.

TASK 2: IMPLEMENT TWO WAY TRAFFIC SIGNAL (RED-30S, GREEN-30S,


YELLOW-5S)

(Red2) (Red1)
(Yellow2) (Yellow1)
(Green2) (Green1)

Right
Left lane
lane

Ladder Logic:
Comments:
In this task a traffic signal is implemented using sequencer in ladder logic. We put the value of
sequencer up to the 8 and apply a condition that glows red light after 30s ,yellow after 5 and
green after 30s. we took 6outputs because two traffic signals are used. So after 30s it glows the
red light and after 5s it glows yellow.

CRITICLAL ANALYSIS:
The objectives of this lab were to:

• the implementation of sequencers in Trilogy. Whenever any process demands specific


sequences to be followed in a specific pattern, sequencers are used.
• A sequencer is a highly convenient feature for programming machines or processes
which operate in fixed sequences.
• Each sequencer uses one of the first eight counters (Counter #1 to Counter #8) as its
step counter.
• Sequencers work in a specified order and they keep the track of step number using
counters as well. In this software, we can use 8 sequencers and each sequencer can
comprise of 32 steps.
• Implementation of different processes in forward, as well as, in reverse manner.
• Some new terms like Latch relay circuit, UP counter, DOWN counter, RESET
counter, Master Reset etc. were introduced as well but they are not employed in this
lab in any task.
• The program elements that are assigned as Latching Relays will remain ON once they
are energized. Only Relays and Outputs may be assigned as Latching Relays.
• An ON condition to this function clears all mailbox inputs, outputs, relays, timers and
counter bits to OFF, resets all timers’ counters/sequencers to inactive state, and clears
all latched relay bits.

Das könnte Ihnen auch gefallen