SlideShare une entreprise Scribd logo
1  sur  12
Télécharger pour lire hors ligne
^/DE^
)ROORZLQJ LV WKH 83RXQWHU ORJLF VWHS E VWHS H[SODLQHG ZLWK
VLJQLILFDQFH RI HDFK FRXQWHU LQSXW
Ϳ ,Žǁ ƚŽ /ŶƐĞƌƚ ŽƵŶƚĞƌ͕ ĞdžƉůĂŝŶĞĚ ŝŶ ƉŽŝŶƚ ϭ͕Ϯ͘
ϭͿ ,Žǁ ƚŽ ĚƌĂŐ ĐŽƵŶƚĞƌ ŝŶ ƉƌŽŐƌĂŵ͍
)LUVW RSHQ 6LPDWLF 0DQDJHU VRIWZDUH DV VKRZQ EHORZ
7KHQ GRXEOH FOLFN RQ ) )XQFWLRQ %ORFN )
DQG WKHQ IROORZLQJ ILOH DSSHDUV
WKHQ GRXEOH FOLFN RQ WKH OLQH RI QHWZRUN DV VKRZQ EHORZ
More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
^/DE^
$IWHU WKLV JRWR OHIW VLGH RI ) ZKHUH LW VKRZV YDULRXV IHDWXUHV RU LQVWUXFWLRQ IROGHU VXFK DV %LW
/RJLF RPSDUDWRU HWF ([DFWO FOLFN RQ IROGHU FRXQWHU DQG LW ZLOO VKRZ QXPEHU RI FRXQWHU WSHV
DV VKRZQ EHORZ DQG WKHQ GRXEOH FOLFN RQ 6B8 83 RXQWHU
WKLV FRXQWHU ZLOO DSSHDU ZLWK 
RYHU LW RQ QHWZRUN  DV VKRZQ EHORZ
More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
^/DE^
ϮͿ ,Žǁ ƚŽ ĂƐƐŝŐŶ ŶƵŵďĞƌ ƚŽ ŽƵŶƚĞƌ͍
7KHQ FOLFN RQ  WSH  DQG WKHQ WKLV FRXQWHU LV DVVLJQHG ZLWK QDPH RU WDJ  DV VKRZQ EHORZ
Ϳ ŽĂĚ Ws ĨƌŽŵ ,D/͘
0: 0: 0: DUH LQWHUQDO PHPRU ZRUGV XVHG WR VWRUH 39
V RI RXQWHU WKDW LV HQWHUHG
DV VKRZQ EHORZ LW DSSHDUV LQ ORJLF
7KHVH PHPRU ZRUGV DUH FRXQWHU YDOXHV HQWHUHG IURP +0, WKH DERYH PHPRU ZRUGV DUH
FRQILJXUHG LQ +0, WR VDWLVI UHTXLUHG RSHUDWLRQ LQ 3/ +0, PHDQV +XPDQ 0DFKLQH ,QWHUIDFH
ZKHUH XVHU FDQ VHH DQG HGLW YDOXHV +HUH 39 LV LQ ZRUG IRUPDW 3/ KDV %RROHDQ LH  DQG
EWH  WR
,QWHJHU:RUG  WR
5HDO  WR
'RXEOH ,QWHJHU'RXEOH :RUG  WR
HWF
1RWH RX FDQQRW XVH VDPH PHPRU ZRUGV RU XVHG RQHV IRU RWKHU LQSXWV RU WR HQWHU YDOXHV RU
VWRUH YDOXHV EHFDXVH LW ZLOO RYHUODS
9DOXH RI +0, LQWHUQDO PHPRU ZRUG 0: LV FRSLHG WR B39 /RFDO 0HPRU /:
IURP
+0, FXUUHQWO

Contenu connexe

En vedette

3Com 3C17304A SUPERSTACK
3Com 3C17304A SUPERSTACK3Com 3C17304A SUPERSTACK
3Com 3C17304A SUPERSTACKsavomir
 
7. diseño de la estructura organizacional especializacion y coordinacion
7. diseño de la estructura organizacional   especializacion y coordinacion7. diseño de la estructura organizacional   especializacion y coordinacion
7. diseño de la estructura organizacional especializacion y coordinacionMarco Lalama
 
6. diseño de la estructura organizacional resumido
6. diseño de la estructura organizacional   resumido6. diseño de la estructura organizacional   resumido
6. diseño de la estructura organizacional resumidoMarco Lalama
 
Condition monitoring of rotating machines ppt
Condition monitoring of rotating machines pptCondition monitoring of rotating machines ppt
Condition monitoring of rotating machines pptRohit Kaushik
 
Carlos castaneda libro pases magicos primera version
Carlos castaneda libro pases magicos primera versionCarlos castaneda libro pases magicos primera version
Carlos castaneda libro pases magicos primera versionPepa Priego
 

En vedette (11)

El cubismo
El cubismoEl cubismo
El cubismo
 
3Com 3C17304A SUPERSTACK
3Com 3C17304A SUPERSTACK3Com 3C17304A SUPERSTACK
3Com 3C17304A SUPERSTACK
 
αρχές φιλοσοφίας
αρχές φιλοσοφίαςαρχές φιλοσοφίας
αρχές φιλοσοφίας
 
7. diseño de la estructura organizacional especializacion y coordinacion
7. diseño de la estructura organizacional   especializacion y coordinacion7. diseño de la estructura organizacional   especializacion y coordinacion
7. diseño de la estructura organizacional especializacion y coordinacion
 
6. diseño de la estructura organizacional resumido
6. diseño de la estructura organizacional   resumido6. diseño de la estructura organizacional   resumido
6. diseño de la estructura organizacional resumido
 
Freedom of speech
Freedom of speechFreedom of speech
Freedom of speech
 
Condition monitoring of rotating machines ppt
Condition monitoring of rotating machines pptCondition monitoring of rotating machines ppt
Condition monitoring of rotating machines ppt
 
Siemens PLC Programming Example #2
Siemens PLC Programming Example #2Siemens PLC Programming Example #2
Siemens PLC Programming Example #2
 
Carlos castaneda libro pases magicos primera version
Carlos castaneda libro pases magicos primera versionCarlos castaneda libro pases magicos primera version
Carlos castaneda libro pases magicos primera version
 
Micropython el sílice y la serpiente
Micropython el sílice y la serpienteMicropython el sílice y la serpiente
Micropython el sílice y la serpiente
 
Arquitectura islamica
Arquitectura islamicaArquitectura islamica
Arquitectura islamica
 

Plus de Business Industrial Network

Plus de Business Industrial Network (20)

Rotary Gear Type Pump Whitepaper
Rotary Gear Type Pump WhitepaperRotary Gear Type Pump Whitepaper
Rotary Gear Type Pump Whitepaper
 
Process Hazards Analysis
Process Hazards AnalysisProcess Hazards Analysis
Process Hazards Analysis
 
Machinery Failure Analysis and Troubleshooting
Machinery Failure Analysis and TroubleshootingMachinery Failure Analysis and Troubleshooting
Machinery Failure Analysis and Troubleshooting
 
Total Quality Management TQM
Total Quality Management TQMTotal Quality Management TQM
Total Quality Management TQM
 
Process Risk Management
Process Risk ManagementProcess Risk Management
Process Risk Management
 
Equipment Reliability Example
Equipment Reliability ExampleEquipment Reliability Example
Equipment Reliability Example
 
How to learn SCADA
How to learn SCADAHow to learn SCADA
How to learn SCADA
 
PLC Programming Example - PLC Clock - Answ
PLC Programming Example - PLC Clock - AnswPLC Programming Example - PLC Clock - Answ
PLC Programming Example - PLC Clock - Answ
 
What is a PLC ?
What is a PLC ?What is a PLC ?
What is a PLC ?
 
Online Infrared Training Center Presentation
Online Infrared Training Center PresentationOnline Infrared Training Center Presentation
Online Infrared Training Center Presentation
 
PLC Networking Basics - Instructor's notes
PLC Networking Basics - Instructor's notesPLC Networking Basics - Instructor's notes
PLC Networking Basics - Instructor's notes
 
Plc networking basics - controllogix
Plc networking basics - controllogixPlc networking basics - controllogix
Plc networking basics - controllogix
 
Best plc-programming
Best plc-programmingBest plc-programming
Best plc-programming
 
PC vs PLC
PC vs PLCPC vs PLC
PC vs PLC
 
Thank You Veterans for your service
Thank You Veterans for your serviceThank You Veterans for your service
Thank You Veterans for your service
 
USA Manufacturing Jobs Analysis
USA Manufacturing Jobs AnalysisUSA Manufacturing Jobs Analysis
USA Manufacturing Jobs Analysis
 
Best Practices in PLC Programming
Best Practices in PLC ProgrammingBest Practices in PLC Programming
Best Practices in PLC Programming
 
Support Workforce Wednesdays
Support Workforce WednesdaysSupport Workforce Wednesdays
Support Workforce Wednesdays
 
Lean TPM Autonomous Maintenance 2
Lean TPM Autonomous Maintenance 2Lean TPM Autonomous Maintenance 2
Lean TPM Autonomous Maintenance 2
 
7 warnings: Before Hiring a Web Developer
7 warnings: Before Hiring a Web Developer7 warnings: Before Hiring a Web Developer
7 warnings: Before Hiring a Web Developer
 

Dernier

HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 

Dernier (20)

HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

Siemens #PLC programming example #1

  • 1. ^/DE^ )ROORZLQJ LV WKH 83RXQWHU ORJLF VWHS E VWHS H[SODLQHG ZLWK VLJQLILFDQFH RI HDFK FRXQWHU LQSXW Ϳ ,Žǁ ƚŽ /ŶƐĞƌƚ ŽƵŶƚĞƌ͕ ĞdžƉůĂŝŶĞĚ ŝŶ ƉŽŝŶƚ ϭ͕Ϯ͘ ϭͿ ,Žǁ ƚŽ ĚƌĂŐ ĐŽƵŶƚĞƌ ŝŶ ƉƌŽŐƌĂŵ͍ )LUVW RSHQ 6LPDWLF 0DQDJHU VRIWZDUH DV VKRZQ EHORZ 7KHQ GRXEOH FOLFN RQ ) )XQFWLRQ %ORFN )
  • 2. DQG WKHQ IROORZLQJ ILOH DSSHDUV WKHQ GRXEOH FOLFN RQ WKH OLQH RI QHWZRUN DV VKRZQ EHORZ More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
  • 3. ^/DE^ $IWHU WKLV JRWR OHIW VLGH RI ) ZKHUH LW VKRZV YDULRXV IHDWXUHV RU LQVWUXFWLRQ IROGHU VXFK DV %LW /RJLF RPSDUDWRU HWF ([DFWO FOLFN RQ IROGHU FRXQWHU DQG LW ZLOO VKRZ QXPEHU RI FRXQWHU WSHV DV VKRZQ EHORZ DQG WKHQ GRXEOH FOLFN RQ 6B8 83 RXQWHU
  • 4. WKLV FRXQWHU ZLOO DSSHDU ZLWK RYHU LW RQ QHWZRUN DV VKRZQ EHORZ More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
  • 5. ^/DE^ ϮͿ ,Žǁ ƚŽ ĂƐƐŝŐŶ ŶƵŵďĞƌ ƚŽ ŽƵŶƚĞƌ͍ 7KHQ FOLFN RQ WSH DQG WKHQ WKLV FRXQWHU LV DVVLJQHG ZLWK QDPH RU WDJ DV VKRZQ EHORZ Ϳ ŽĂĚ Ws ĨƌŽŵ ,D/͘ 0: 0: 0: DUH LQWHUQDO PHPRU ZRUGV XVHG WR VWRUH 39 V RI RXQWHU WKDW LV HQWHUHG DV VKRZQ EHORZ LW DSSHDUV LQ ORJLF 7KHVH PHPRU ZRUGV DUH FRXQWHU YDOXHV HQWHUHG IURP +0, WKH DERYH PHPRU ZRUGV DUH FRQILJXUHG LQ +0, WR VDWLVI UHTXLUHG RSHUDWLRQ LQ 3/ +0, PHDQV +XPDQ 0DFKLQH ,QWHUIDFH ZKHUH XVHU FDQ VHH DQG HGLW YDOXHV +HUH 39 LV LQ ZRUG IRUPDW 3/ KDV %RROHDQ LH DQG
  • 10. HWF 1RWH RX FDQQRW XVH VDPH PHPRU ZRUGV RU XVHG RQHV IRU RWKHU LQSXWV RU WR HQWHU YDOXHV RU VWRUH YDOXHV EHFDXVH LW ZLOO RYHUODS
  • 11. 9DOXH RI +0, LQWHUQDO PHPRU ZRUG 0: LV FRSLHG WR B39 /RFDO 0HPRU /:
  • 13. 9DOXH RI +0, LQWHUQDO PHPRU ZRUG 0: LV FRSLHG WR B39 /RFDO 0HPRU /:
  • 14. IURP +0, FXUUHQWO More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
  • 15. ^/DE^
  • 16. 9DOXH RI +0, LQWHUQDO PHPRU ZRUG 0: LV FRSLHG WR B39 /RFDO 0HPRU /:
  • 17. IURP +0, FXUUHQWO Ϳ ŽƵŶƚĞƌ /KΖƐ ĂŶĚ ŝƚƐ ĨƵŶĐƚŝŽŶƐ͗
  • 18. ,QSXW 8 :KHQ , DV VKRZQ JHWV D ULVLQJ HGJH LH WXUQV IURP ! WKH FRXQWHU LV LQFUHPHQWHG E RQH DV LW LV 83 FRXQWHU LI WKH VLJQDO VWDWH ,
  • 19. DW LQSXW 8 FKDQJHV IURP WR DQG WKH YDOXH RI WKH FRXQWHU LV OHVV WKDQ ,I WKH FRXQWHU LV VHW PHDQV LQFUHPHQWHG RQ ULVLQJ HGJH
  • 20. DQG LI 5/2 LI , LV KLJK DIWHU WR WUDQVLWLRQ
  • 21. DW WKH LQSXWV 8 WKH FRXQWHU ZLOO FRXQW RQFH LQ WKH QH[W VFDQ FFOH LH LI WKHUH LV WR WUDQVLWLRQ DJDLQ RWKHUZLVH QRW
  • 22. HYHQ LI WKHUH ZDV QR FKDQJH IURP D SRVLWLYH WR D QHJDWLYH HGJH RU YLFH YHUVD 5/2 LV 5HVXOW RI /RJLF 2SHUDWLRQ 5/2 LV ZKHQ FRQGLWLRQV LQ DERYH HJ UHDO ZRUOG LQSXW , LV 2Q
  • 23. DUH VDWLVILHG DQG 5/2 LV LQ DERYH HJ UHDO ZRUOG LQSXW , LV /RZ
  • 24. ZKHQ QRW VDWLVILHG H[SODLQHG LQ SRLQW @ +HUH WKH FRXQWHU KDV LQEXLOW IXQFWLRQ WR GHWHFW ULVLQJ HGJH 3
  • 25. LW V IXQFWLRQ LV H[SODLQHG LQ SRLQW @ DQG XVHG IRU 6 3UHVHW
  • 28. ^/DE^ ,QVWHDG RI UHDO ZRUOG LQSXW , RX FDQ DOVR DVVLJQ LQWHUQDO PHPRU ELW 0
  • 29. DV VKRZQ EHORZ ZKLFK ZLOO EH 212)) ZKHQ PXOWLSOH FRQGLWLRQV DUH VDWLVILHG IRU FRXQW RSHUDWLRQ ,Q EHORZ H[DPSOH LQWHUQDO PHPRU ELW LV 21 ZKHQ UHDO ZRUOG LQSXWV , DQG , ERWK DUH 21 DQG WKHQ FRXQWHU ZLOO LQFUHPHQW DFFRUGLQJO RWKHUZLVH QRW WKLV LV H[SODLQHG IRU RXU FOHDU XQGHUVWDQGLQJ 7KHVH ,
  • 30. UHDO ZRUOG LQSXWV DUH KDUGZLUHG GLJLWDO LQSXWV RI VVWHP RU 3/ XVHG WR H[SODLQ EHKDYLRU KHUH IRU FRXQWHU IXQFWLRQ XQGHUVWDQGLQJ ,Q IROORZLQJ GLDJUDP LQLWLDOO FRXQWHU LV ]HUR More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
  • 31. ^/DE^ 1RZ ZKHQ , LV 21 FRXQW WXUQV WRDV VKRZQ LQ EHORZ GLDJUDP DW 9 B9
  • 33. DQG LQFUHPHQWV ZKHQ , WXUQV 21 HYHU WLPH +HUH LQSXW 8 VHUYHV WKH IXQFWLRQ RI ULVLQJ HGJH DQG KHQFH QR ULVLQJ HGJH 3
  • 34. LV UHTXLUHG WR EH XVHG DIWHU ,
  • 35. ,QSXW 6 RXQWHU LV SUHVHW ZLWK WKH YDOXH DW LQSXW 39 LI WKHUH LV D SRVLWLYH HGJH DW LQSXW 6 LH ZKHQ WKHUH LV ULVLQJ LH , DV VKRZQ DERYH
  • 36. WXUQV IURP ! ,W LV QRW QHFHVVDU HYHU WLPH WR XVH +HUH WKH LQWHUQDO PHPRU ELW 0 LV XVHG WR GHWHFW ULVLQJ HGJH LW V IXQFWLRQ LV H[SODLQHG LQ SRLQW
  • 37. ,QVWHDG RI UHDO ZRUOG ,QSXW , RX FDQ DVVLJQ LQWHUQDO PHPRU ELW 0
  • 38. DV VKRZQ EHORZ WR SUHVHW FRXQWHU IURP +0, WKLV LQWHUQDO PHPRU ELW KDV WR EH FRQILJXUHG IURP +0, WKHQ RQO LW ZLOO VHUYH WKH UHTXLUHG DFWLRQ 7KLV IDFLOLW IURP +0, LV JLYHQ WR XVHURSHUDWRU ZKHQHYHU KH HQWHUV QHZ FRXQWHU YDOXH IURP +0, More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
  • 39. ^/DE^ )ROORZLQJ GLDJUDP VKRZV EHIRUH , LV 21 FRXQWHU ORRNV LQ EOXH GRWWHG OLQHV EHIRUH SUHVHW LH EHIRUH , LV WXUQHG 21 DV VKRZQ EHORZ UXQJ FRQGLWLRQV QRW PHW UXQJ IDOVH 5/2
  • 40. 1RZ ZKHQ , WXUQV 21 UXQJ FRQGLWLRQV DUH PHW UXQJ WUXH 5/2
  • 41. RXQWHU LV SUHVHW VKRZLQJ YDOXH RU RQ 39 RU B39 JHWV DVVLJQHG ZLWK
  • 42. DQG DSSHDUV JUHHQ DV VKRZQ EHORZ More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
  • 43. ^/DE^
  • 44. ,QSXW 5 :KHQHYHU WKHUH LV D SRVLWLYH HGJH DW LQSXW 5 LH ZKHQ , WXUQV IURP !
  • 45. FRXQWHU LV UHVHW DW DQ FRQGLWLRQ LH ZKHWKHU WKH FRXQW LV GRQH HTXDOV 39
  • 46. RU QRW RX FDQ DVVLJQ GLJLWDO LQSXW RU LQWHUQDO PHPRU ELW IURP +0, WR UHVHW FRXQWHU OLNH LQWHUQDO PHPRU 0 LV XVHG IRU 6B8 DQG LW VKRXOG EH XVHG HLWKHU LQ ORJLF RU FRQILJXUHG IURP +0, GHSHQGLQJ XSRQ WKH FRQGLWLRQ RI RSHUDWLRQ +HUH LQSXW , LV XVHG WR XQGHUVWDQG WKH IXQFWLRQ $OVR KHUH WKH LQWHUQDO PHPRU ELW 0 LV XVHG WR GHWHFW ULVLQJ HGJH LW V IXQFWLRQ LV H[SODLQHG LQ SRLQW
  • 47. )ROORZLQJ GLDJUDPV ZLOO FOHDU RXU XQGHUVWDQGLQJ
  • 48. ,Q WKLV GLDJUDP FRXQWHU YDOXH LV RU I LQ KH[DGHFLPDO DQG LQ %'
  • 50. ^/DE^
  • 51. 6HH DIWHU WXUQLQJ RQ UHDO ZRUOG LQSXW , FRXQWHU LV UHVHW DQG DSSHDUV LQ EOXH GRWWHG OLQH LH LW V YDOXH LV ]HUR DW DQG 9B%' DV VKRZQ LQ GLDJUDP
  • 52. 2XWSXW 4 4 UHSUHVHQWV 6WDWXV RI WKH FRXQWHU 7KH VLJQDO VWDWH DW RXWSXW 4
  • 53. 4 LV LI WKH FRXQW LV JUHDWHU WKDQ ]HUR DQG LI WKH FRXQW LV HTXDO WR ]HUR 4 LV LH LW V FRLO DSSHDUV LQ GRWWHG EOXH OLQHV DV FRXQWHU KDV ]HUR FRXQW RU UHVHW DV VKRZQ EHORZ More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
  • 54. ^/DE^ :KHQ FRXQWHU LV KDYLQJ YDOXH RWKHU WKDQ ]HUR LWV FRLO DSSHDUV LQ JUHHQ EROG OLQH DV VKRZQ EHORZ KHUH FRXQWHU KDV YDOXH LH LV 4 LV
  • 55. )XQFWLRQ ,I WKHUH LV ULVLQJ HGJH LH , FKDQJHV IURP WR WKH FRXQWHU LV SUHVHW ZLWK WKH YDOXH RI B39 ORFDO PHPRU ,I WKHUH LV ULVLQJ HGJH LH , FKDQJHV IURP WR WKH YDOXH RI FRXQWHU ZLOO EH LQFUHPHQWHG E RQH XQOHVV WKH YDOXH RI LV HTXDO WR 4 LV LI LV QRW HTXDO WR ]HUR
  • 56. RXQWHU +H[DGHFLPDO 9DOXH XUUHQW FRXQWHU YDOXH UHDG E ORFDO PHPRU B9 KH[DGHFLPDO QXPEHU 7KH KH[DGHFLPDO QXPEHU VVWHP LV DV IROORZV $
  • 57. %
  • 58. '
  • 59. (
  • 60. )
  • 61. ,W FDQ EH XQGHUVWRRG IURP EHORZ GLDJUDP More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
  • 62. ^/DE^ ,I RX VHH DW 9 UHDG E ORFDO PHPRU B9 LW LV VKRZLQJ I LH FRXQW LV DQG DW SRLQW GLDJUDP FRXQW LV VKRZLQJ VDPH LQ GHFLPDO %' 7R 'HFLPDO FRQYHUWHG YDOXH
  • 63. +H[DGHFLPDO QXPEHU VVWHP OLHV IURP WR I H[SODLQHG DERYH
  • 64. OLNH GHFLPDO QXPEHU VVWHP OLHV IURP WR
  • 65. RXQWHU %' 9DOXH XUUHQW FRXQWHU YDOXH UHDG E ORFDO PHPRU B9B%' LV %' FRGHG 7KH %' QXPEHU VVWHP LV DV IROORZV OLNHZLVH ,W LV FRQYHUWHG LQWR GHFLPDO XVLQJ %' 7R ,QWHJHU ,
  • 66. LQVWUXFWLRQ DV VKRZQ EHORZ 7KLV YDOXH LV VKRZQ RQ +0, +XPDQ 0DFKLQH ,QWHUIDFH
  • 67. IRU D XVHU WR XQGHUVWDQG FRXQW YDOXH UHDG LQ +0, PHPRU ZRUG 0: % WKLV RX FDQ FRXQW SDUWV OLNH ERWWOHV FDSVXOHV HWF
  • 68. VFUDS IDXOWV HWF :KLFK FDQ EH VKRZQ RQ +0, 7KH LQWHUQDO PHPRU ZRUG 0: PXVW EH FRQILJXUHG LQ +0, VR WKDW XVHU FDQ YLHZ YDOXH LQ +0, More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm
  • 69. ^/DE^
  • 70. 5/2 5HVXOW RI /RJLF 2SHUDWLRQ 6WDWXV :RUG %LW
  • 71. 7KH 5/2 ELW VWRUHV WKH UHVXOW RI D ORJLF RSHUDWLRQ VWULQJ RU FRPSDULVRQ LQVWUXFWLRQ 7KH 5/2 ELW LV VWDWXV ZRUG ELW 6WDWXV ZRUG %5 29 26 25 67$ 5/2 ) :ULWHV ; ; 5/2 FDQ EH XQGHUVWRRG IURP IROORZLQJ H[DPSOH ,Q DERYH ORJLF ZKHQ UHDO LQSXWV , DQG , ERWK DUH 21 WKHQ LW PHDQV 5/2 LV DQG ERWK RU LI HLWKHU , RU , LV RII WKHQ 5/2 LV
  • 73. 3RVLWLYH 5/2 (GJH 'HWHFWLRQ
  • 74. GHWHFWV D VLJQDO FKDQJH LQ WKH DGGUHVV IURP WR )DOOLQJ (GJH 1
  • 75. 1HJDWLYH 5/2 (GJH 'HWHFWLRQ
  • 76. GHWHFWV D VLJQDO FKDQJH LQ WKH DGGUHVV IURP WR More... See http://bin95.com/Siemens-Training/siemens-plc-programming-examples.htm