Sie sind auf Seite 1von 5

UTM - Universidad Tecnolgica de la Mixteca

Gerson Seir Galvan Cruz, Jimnez Rodrguez Miguel


Ingeniera Mecatrnica 708

Control de Velocidad y Sentido de un Motor a Pasos Unipolar(Medio Paso):


Motor Medio Paso ; 00 ; 11/19/2009 ; 01 ; Gerson Seir Galvan Cruz ; Greus ; None ; ; g22v10 ; sequence conteo { present S0 next S1; present S1 if x next S2; if !x next S8; present S2 if x next S3; if !x next S1; present S3 if x next S4; if !x next S2; present S4 if x next S5; if !x next S3; present S5 if x next S6; if !x next S4; present S6 if x next S7; if !x next S5; present S7 if x next S8; if !x next S6; present S8 if x next S1; if !x next S7; }

Name PartNo Date Revision Designer Company Assembly Location Device

PIN 1 = clk; PIN 2 = x; PIN PIN PIN PIN 15=Q0; 16=Q1; 17=Q2; 18=Q3; [Q3..Q0]; 0000 1000 1100 0100 0110 0010 0011 0001 1001

field conteo = $define S0 'b' $define S1 'b' $define S2 'b' $define S3 'b' $define S4 'b' $define S5 'b' $define S6 'b' $define S7 'b' $define S8 'b'

Fig. 1 - Cdigo en WinCUPL

Fig. 2 Diagrama de Conexin Electrnica

UTM - Universidad Tecnolgica de la Mixteca


Gerson Seir Galvan Cruz, Jimnez Rodrguez Miguel
Ingeniera Mecatrnica 708

Fig. 3 Resultados de Simulacin en Proteus (Pulsos Enviados al ULN2803)

Control de Velocidad y Sentido de un Motor a Pasos Unipolar(Paso Completo):


Motor PaP ; 00 ; 11/19/2009 ; 01 ; Gerson Seir Galvan Cruz ; Greus ; None ; ; g22v10 ; $define $define $define $define S1 S2 S3 S4 'b' 'b' 'b' 'b' 1000 0100 0010 0001

Name PartNo Date Revision Designer Company Assembly Location Device

PIN 1 = clk; PIN 2 = x; PIN PIN PIN PIN 15=Q0; 16=Q1; 17=Q2; 18=Q3;

field conteo = [Q3..Q0]; $define S0 'b' 0000

sequence conteo { present S0 next S1; present S1 if x next S2; if !x next S4; present S2 if x next S3; if !x next S1; present S3 if x next S4; if !x next S2; present S4 if x next S1; if !x next S3; }

Fig. 4 Cdigo en WinCUPL

UTM - Universidad Tecnolgica de la Mixteca


Gerson Seir Galvan Cruz, Jimnez Rodrguez Miguel
Ingeniera Mecatrnica 708

Fig. 5 Diagrama de Conexin Electrnica

Fig. 6 Resultados de Simulacin en Proteus (Pulsos Enviados al ULN2803)

UTM - Universidad Tecnolgica de la Mixteca


Gerson Seir Galvan Cruz, Jimnez Rodrguez Miguel
Ingeniera Mecatrnica 708

Control de Velocidad y Sentido de un Motor a Pasos Bipolar(Medio Paso):


Motor PaP ; 00 ; 11/19/2009 ; 01 ; Gerson Seir Galvan Cruz ; Greus ; None ; ; g22v10 ; sequence conteo { present S0 next S1; present S1 if x next S2; if !x next S8; present S2 if x next S3; if !x next S1; present S3 if x next S4; if !x next S2; present S4 if x next S5; if !x next S3; present S5 if x next S6; if !x next S4; present S6 if x next S7; if !x next S5; present S7 if x next S8; if !x next S6; present S8 if x next S1; if !x next S7; }

Name PartNo Date Revision Designer Company Assembly Location Device

PIN 1 = clk; PIN 2 = x; PIN PIN PIN PIN 15=Q0; 16=Q1; 17=Q2; 18=Q3; [Q3..Q0]; 0000 1001 1000 1010 0010 0110 0100 0101 0001

field conteo = $define S0 'b' $define S1 'b' $define S2 'b' $define S3 'b' $define S4 'b' $define S5 'b' $define S6 'b' $define S7 'b' $define S8 'b'

Fig. 7 Cdigo en WinCUPL

Fig. 8 Resultados de Simulacin en Proteus (Pulsos Enviados al L298)

UTM - Universidad Tecnolgica de la Mixteca


Gerson Seir Galvan Cruz, Jimnez Rodrguez Miguel
Ingeniera Mecatrnica 708

Control de Velocidad y Sentido de un Motor a Pasos Bipolar(Paso Completo):


Motor PaP ; 00 ; 11/19/2009 ; 01 ; Gerson Seir Galvan Cruz ; Greus ; None ; ; g22v10 ; $define S2 'b' 1010 $define S3 'b' 0110 $define S4 'b' 0101 sequence conteo { present S0 next S1; present S1 if x next S2; if !x next S4; present S2 if x next S3; if !x next S1; present S3 if x next S4; if !x next S2; present S4 if x next S1; if !x next S3; }

Name PartNo Date Revision Designer Company Assembly Location Device

PIN 1 = clk; PIN 2 = x; PIN PIN PIN PIN 15=Q0; 16=Q1; 17=Q2; 18=Q3;

field conteo = [Q3..Q0]; $define S0 'b' 0000 $define S1 'b' 1001

Fig. 9 Cdigo en WinCUPL

Fig. 10 Resultados de Simulacin en Proteus (Pulsos Enviados al L298)

Das könnte Ihnen auch gefallen