Professional Documents
Culture Documents
Práctica II
Práctica II
BOGOTÁ
FACULTY OF BASIC SCIENCES AND ENGINEERING
PROGRAMMABLE LOGIC CONTROLLERS
Presented by:
María Camila Giraldo Caicedo
Yeison Andrés Berrio Ortega
Presented to:
Edwin Villareal
April 2, 2018
Bogotá DC
This process was performed by statement list under the step mode,
which works by making lines of code, which are related to the limit
switches, the 5 to 2 valve, the system inputs, and the push buttons.
this time, a connection was made that allowed the automatic
operation of a windshield wiper, which by means of a push button
started the operation, followed by it, a second button in charge of
decreasing the frequency of the oscillation of the wipers, a third
button responsible for increasing the frequency of the oscillations
of the cleaners. A fourth button in charge of activating the water
pump which, when activated, would light an LED and when it was
off it would remain off and finally a button to stop the operation of
the windshield wipers. This circuit has the protection against
multiple pulses since the method used, in this case (STEP) does not
allow it to perform a function different from what is indicated.
LINK: https://www.dropbox.com/s/cpjpl7ymk23az4t/PR
%C3%81CTICA_2_EJERCICIO_1.mp4?dl=0
For the realization of the practice, a statement list was made in FST
which will be presented below:
STEP 0
IF I0.0
THEN
LOAD V100
TO FW0
RESET O0.1
RESET O0.3
JMP TO 1
STEP 1
IF I1.0
THEN JMP TO 8
IF ( I0.2
)
THEN
SET TON0
WITH FW0
SET O0.0
SET O0.2
JMP TO 2
STEP 2
IF ( I0.1
AND TON0 )
THEN
RESET O0.0
RESET O0.2
SET O0.1
SET O0.3
RESET TON0
STEP 3
IF ( I0.2
AND I0.4 )
THEN RESET O0.1
RESET O0.3
STEP 4
IF ( N I0.7 )
THEN
JMP TO 5
OTHRW
LOAD FW0
+ V25
TO FW0
RESET O0.1
RESET O0.3
JMP TO 1
STEP 5
IF ( N I1.2 )
THEN JMP TO 6
OTHRW
LOAD FW0
- V25
TO FW0
RESET O0.1
RESET O0.3
JMP TO 1
STEP 6
IF ( N I1.3 )
THEN
JMP TO 7
OTHRW
SET O0.6
JMP TO 1
STEP 7
IF O0.6
THEN
RESET O0.6
JMP TO 1
OTHRW JMP TO 1
STEP 8
IF I1.0
THEN
SET O0.1
SET O0.3
JMP TO 0
2.
Actuator: Double effect cylinders.
Fixation: Foot support.
Detection: Endpoints and optical sensors
Activation: automatic
Process: Conveyor belt with countersinking and drilling
Method: Indirect control of three cylinders of double effect.
Sequence of movements: / C- / C + / SENSOR_1_ON /
SENSOR_2_ON / A + B + / 2S / A-B- / C-
ACTION INPUT OUTPUT
SENSOR_ I1.2
1
SENSOR_ I1.3
2
A+ I0.1 O0.0
A- I0.2 O0.1
B+ I0.3 O0.2
B- I0.4 O0.3
C+ I0.5 O0.4
C- I0.6 O0.5
This process was performed by statement list under the step mode,
which works by making lines of code, which are related to the limit
switches, the 5 to 2 valve, the system inputs, and the optical
sensors. This time, a connection was made to allow the automatic
operation of a conveyor belt with countersinking and drilling, which
initiated the cylinder 3 in a cyclic way and the optical sensors when
detecting the presence of any object in both sections of both
countersinking and drilling proceeded to perform the proper
operation that in this case was the advance of cylinder A and B. In
the event that only detected presence in only one optical sensor,
this did not perform the process of advancement of cylinders A and
B, since it was stipulated, as a condition to achieve this. This circuit
has the protection against multiple pulses since the method used,
in this case (STEP) does not allow it to perform a function different
from what is indicated.
LINK: https://www.dropbox.com/s/uak7maxljj6w6lq/PR
%C3%81CTICA_2_EJERCICIO_2.mp4?dl=0
To carry out the practice, a statement list was made which will be
presented below:
STEP 0
IF I0.6
THEN
JMP TO 1
STEP 1
IF I0.6
THEN
RESET O0.5
SET O0.4
STEP 2
IF ( I0.5
AND I1.2
AND I1.3 )
THEN
JMP TO 3
IF I0.5
THEN
RESET O0.4
SET O0.5
JMP TO 5
STEP 3
IF ( I0.5
AND I1.2
AND I1.3 )
THEN
RESET O0.1
RESET O0.3
SET O0.0
SET O0.2
SET TON1
WITH V200
STEP 4
IF ( TON1
AND O0.0 )
THEN
RESET O0.0
RESET O0.2
SET O0.1
SET O0.3
STEP 5
IF ( I0.2
AND I0.4 )
3.
Actuator: Double effect cylinders.
Fixation: Foot support.
Detection: End of career
Activation: by pushbutton.
Process: drilling and ejection of processed material
Method: Direct control of three cylinders of double effect.
Sequence of movements: / A + / B + / B- / A- / C + / C-
ACTION INPUT OUTPUT
Pulsador_1 I0.0
A+ I0.1 Q0.0
A- I0.2 Q0.1
B+ I0.3 Q0.2
B- I0.4 Q0.3
C+ I0.5 Q0.4
C- I0.6 Q0.5
SELECTOR I0.7
PASO A PASO I1.0
EMERGENCIA I1.1
RETROCESO1 I1.2
RETROCESO2 I1.3
CUENTA MW0
AUTOMATIC I1.4
O
AUTOSALIDA M0.0
CUENTA2 MW1
This process was performed by statement list under the step mode,
which works by making lines of code, which are related to the limit
switches, the 5 to 2 valve, the system inputs, and the push buttons.
This time, a connection was made that allowed the operation of a
sequence which consisted of pressing the first pushbutton for n
seconds and this saved the time and multiplied by 3 and the result,
was the number of repetitions made by the cylinder. Following this,
pressing the second button will start the sequence of B + B -
indefinitely until the button was pressed for more than 2 seconds, if
this condition was not fulfilled, in no way, this sequence would
stop. But if it was fulfilled, it would stop. Finally, the program
consisted of an emergency stop which, after being oppressed, left
the cylinders without air for 5 seconds and returned to its initial
state. This circuit has the protection against multiple pulses since
the method used, in this case (STEP) does not allow it to perform a
function different from what is indicated.
LINK: https://www.dropbox.com/s/mwreflk2jxa59va/PR
%C3%81CTICA_2_EJERCICIO_4.mp4?dl=0
To carry out the practice, a statement list was made which will be
presented below:
STEP 0
IF I0.0
THEN
SET TON0
WITH V100
RESET TON1
RESET O0.0
RESET O0.2
JMP TO 1
"""pulsador 2 b+ b-"""
IF ( I0.7
AND N I0.0
AND N TON1 )
THEN
RESET O0.0
RESET O0.2
INC R1
JMP TO 6
""""""""""""""""""""""""""""""
STEP 1
IF ( TON0
AND I0.0 )
THEN
RESET TON0
INC R0
JMP TO 0
IF N I0.0
THEN JMP TO 2
STEP 2
IF ( R0
> V0 )
THEN
LOAD ( V3
* R0 )
TO R1
STEP 3
IF I0.2
THEN
RESET O0.1
SET O0.0
JMP TO 4
STEP 4
IF I0.1
THEN RESET O0.0
SET O0.1
STEP 5
IF I0.2
THEN RESET O0.1
IF I1.0
THEN JMP TO 10
IF ( R1
> V0 )
THEN
DEC R1
JMP TO 3
IF ( R1
= V0 )
THEN
LOAD V0
TO R0
JMP TO 0
""""""""""""""""""""""""""""""""""""""""""""""
""b+ b- pulso 2 seg "
STEP 6
IF I0.4
THEN SET O0.2
RESET O0.3
IF ( I0.7 )
THEN
SET TON1
WITH V200
OTHRW RESET TON1
JMP TO 7
IF ( I0.7
AND TON1 )
THEN JMP TO 9
OTHRW
JMP TO 7
STEP 7
IF I0.3
THEN RESET O0.2
SET O0.3
JMP TO 8
IF I1.0
THEN JMP TO 10
IF ( I0.7
AND TON1 )
THEN JMP TO 9
STEP 8
IF I0.4
THEN JMP TO 6
STEP 9
IF ( I0.7
AND TON1 )
THEN
JMP TO 0
""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"paro de emergencia"
STEP 10
IF ( I1.0 )
THEN RESET O0.0
RESET O0.1
RESET O0.2
RESET O0.3
SET TON2
WITH V500
STEP 11
IF ( I1.0
AND TON2 )
THEN
SET O0.1
SET O0.3
RESET TON2
JMP TO 0