SlideShare une entreprise Scribd logo
1  sur  1
VAR
IL AT %IX0.0:BOOL;
IR AT %IX0.1:BOOL;
START AT %IX0.2:BOOL;
STOP AT %IX0.3:BOOL;
QR AT %QX2.0:BOOL;
QL AT %QX2.1:BOOL;
QS AT %QX2.2: BOOL;
H1 AT %QX2.3:BOOL;
RS_QR:RS;
RS_QL:RS;
RS_AUTO:RS;
CTU_CONTEO:CTU;
CONTEO:INT:=4;
SALIDA_QR:BOOL;
SALIDA_CONT AT %QX2.4:BOOL;
TP_LAMP:TP;
CLK_LAMP:CLOCK;
SALIDA_TP:BOOL;
TON_1:TON;
TIME_TON:TIME:=T#5S;
TON_Q AT %QX2.2:BOOL;
TIME_TP:TIME:=T#5S;
TIME_CLK:TIME:=T#500mS;
END_VAR
RS_AUTO(S := START, R1 := STOP OR SALIDA_CONT );
SALIDA_QR:= RS_AUTO.Q1;
TP_LAMP(IN := SALIDA_QR, PT := TIME_TP);
SALIDA_TP:= TP_LAMP.Q;
CLK_LAMP(IN := SALIDA_TP, PT := TIME_CLK);
H1:= CLK_LAMP.Q;
RS_QR(S:=SALIDA_QR AND IL,R1:=IR OR QL OR NOT SALIDA_QR);
QR:=RS_QR.Q1;
TON_1(IN:= IR, PT:=TIME_TON);
TON_Q := TON_1.Q;
RS_QL(S:=TON_Q AND IR, R1:=IL OR QR OR NOT SALIDA_QR);
QL:=RS_QL.Q1;
CTU_CONTEO(CU := IL, R := NOT SALIDA_QR, PV := CONTEO);
SALIDA_CONT := CTU_CONTEO.Q;

Contenu connexe

En vedette

En vedette (6)

Artikel Ivo van der Gaag Petrochem vakblad
Artikel Ivo van der Gaag Petrochem vakbladArtikel Ivo van der Gaag Petrochem vakblad
Artikel Ivo van der Gaag Petrochem vakblad
 
Kasutajalood
KasutajaloodKasutajalood
Kasutajalood
 
Gemeinsame Ziele im Forschungsdatenmanagement - IANUS und andere Akteure im Z...
Gemeinsame Ziele im Forschungsdatenmanagement - IANUS und andere Akteure im Z...Gemeinsame Ziele im Forschungsdatenmanagement - IANUS und andere Akteure im Z...
Gemeinsame Ziele im Forschungsdatenmanagement - IANUS und andere Akteure im Z...
 
CIS110 Computer Programming Design Chapter (12)
CIS110 Computer Programming Design Chapter  (12)CIS110 Computer Programming Design Chapter  (12)
CIS110 Computer Programming Design Chapter (12)
 
State of GovTech Market Report - 2016
State of GovTech Market Report - 2016State of GovTech Market Report - 2016
State of GovTech Market Report - 2016
 
The Jcoffee Creative Strategy
The Jcoffee Creative Strategy The Jcoffee Creative Strategy
The Jcoffee Creative Strategy
 

Dernier

Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 

Dernier (20)

Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 

Banda ii p

  • 1. VAR IL AT %IX0.0:BOOL; IR AT %IX0.1:BOOL; START AT %IX0.2:BOOL; STOP AT %IX0.3:BOOL; QR AT %QX2.0:BOOL; QL AT %QX2.1:BOOL; QS AT %QX2.2: BOOL; H1 AT %QX2.3:BOOL; RS_QR:RS; RS_QL:RS; RS_AUTO:RS; CTU_CONTEO:CTU; CONTEO:INT:=4; SALIDA_QR:BOOL; SALIDA_CONT AT %QX2.4:BOOL; TP_LAMP:TP; CLK_LAMP:CLOCK; SALIDA_TP:BOOL; TON_1:TON; TIME_TON:TIME:=T#5S; TON_Q AT %QX2.2:BOOL; TIME_TP:TIME:=T#5S; TIME_CLK:TIME:=T#500mS; END_VAR RS_AUTO(S := START, R1 := STOP OR SALIDA_CONT ); SALIDA_QR:= RS_AUTO.Q1; TP_LAMP(IN := SALIDA_QR, PT := TIME_TP); SALIDA_TP:= TP_LAMP.Q; CLK_LAMP(IN := SALIDA_TP, PT := TIME_CLK); H1:= CLK_LAMP.Q; RS_QR(S:=SALIDA_QR AND IL,R1:=IR OR QL OR NOT SALIDA_QR); QR:=RS_QR.Q1; TON_1(IN:= IR, PT:=TIME_TON); TON_Q := TON_1.Q; RS_QL(S:=TON_Q AND IR, R1:=IL OR QR OR NOT SALIDA_QR); QL:=RS_QL.Q1; CTU_CONTEO(CU := IL, R := NOT SALIDA_QR, PV := CONTEO); SALIDA_CONT := CTU_CONTEO.Q;