SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Downloaden Sie, um offline zu lesen
___________________________________
COUNTERS
___________________________________
Area in Memory :
Counters have an area reserved for them in the memory of your CPU. This memory area
reserves one 16-bit word for each counter address. The ladder logic instruction set
supports 256 counters. The counter instructions are the only functions that have access
to the counter memory area.
Count Value:
Bits 0 through 9 of the counter word contain the count value in binary code. The count
value is moved to the counter word when a counter is set. The range of the count value
is 0 to 999. You can vary the count value within this range by using the following
counter instructions:
If I0.1 changes from "0" to "1", the counter is preset with the value at PV (10 in
the above figure). If the signal state of I0.0 changes from "0" to "1", the value of
counter C10 will be incremented by one - unless the value of C10 is equal to
"999". Q4.0 is "1" if C10 is not equal to zero.
If I0.1 changes from "0" to "1", the counter is preset with the value at PV (20 in
the above figure). If the signal state of I0.0 changes from "0" to "1", the value of
counter C10 will be decremented by one - unless the value of C10 is equal to "0".
Q4.0 is "1" if C10 is not equal to zero.
If I0.2 changes from "0" to "1", the counter is preset with the value at PV (20 in
the above figure). If the signal state of I0.0 changes from "0" to "1", the value of
counter C10 will be incremented by one - except when the value of C10 is equal
than "999". If I0.1 changes from "0" to "1", C10 is decremented by one - except
when the value of C10 is equal to "0". Q4.0 is "1" if C10 is not equal to zero.
If the signal state of input I0.0 changes from "0" to "1" (positive edge in RLO), the
preset value of 100 is loaded to counter C10. If the signal state of input I0.1
changes from "0" to "1" (positive edge in RLO), counter C10 count value will be
incremented by one unless the value of C10 is equal to "999". If there is no
positive edge in RLO, the value of C10 will be unchanged.
If the signal state of I0.2 is "1", the counter C10 is reset to "0".
If the signal state of input I0.0 changes from "0" to "1" (positive edge in RLO), the
present value of 100 is loaded to counter C10. If the signal state of input I0.1
changes from "0" to "1" (positive edge in RLO), counter C10 count value will be
decremented by one unless the value of C10 is equal to "0". If there is no positive
edge in RLO, the value of C10 will be unchanged. If the count value = 0, then
Q4.0 is turned on.
If the signal state of input I0.2 is "1", the counter C10 is reset to "0".

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Plc basics
Plc   basicsPlc   basics
Plc basics
 
Voltage Regulators ppt
Voltage Regulators pptVoltage Regulators ppt
Voltage Regulators ppt
 
ppt on PLC automation
ppt on PLC automationppt on PLC automation
ppt on PLC automation
 
Industrial Automation (PLC, SCADA & HMI) by Nilesh Jha
Industrial Automation (PLC, SCADA & HMI) by Nilesh JhaIndustrial Automation (PLC, SCADA & HMI) by Nilesh Jha
Industrial Automation (PLC, SCADA & HMI) by Nilesh Jha
 
Ladder
LadderLadder
Ladder
 
PLC arithmatic functions
PLC arithmatic functionsPLC arithmatic functions
PLC arithmatic functions
 
programmable logic controller presentation
programmable logic controller presentationprogrammable logic controller presentation
programmable logic controller presentation
 
PLC - Programmable Logic Controller
PLC - Programmable Logic ControllerPLC - Programmable Logic Controller
PLC - Programmable Logic Controller
 
Plc
PlcPlc
Plc
 
Allen bradley
Allen bradleyAllen bradley
Allen bradley
 
PLC Internal Relays
PLC Internal RelaysPLC Internal Relays
PLC Internal Relays
 
PLC Basic
PLC BasicPLC Basic
PLC Basic
 
PLC
PLCPLC
PLC
 
Interrupts in 8051
Interrupts in 8051Interrupts in 8051
Interrupts in 8051
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
Schmitt trigger circuit
Schmitt trigger circuitSchmitt trigger circuit
Schmitt trigger circuit
 
PLC Architecture
PLC ArchitecturePLC Architecture
PLC Architecture
 
Plc seminar abu
Plc seminar    abuPlc seminar    abu
Plc seminar abu
 
Ppt of servomotor
Ppt of servomotorPpt of servomotor
Ppt of servomotor
 
Introduction to control systems
Introduction to control systemsIntroduction to control systems
Introduction to control systems
 

Andere mochten auch

Stepper motor
Stepper motor Stepper motor
Stepper motor Ameen San
 
PLC application
PLC applicationPLC application
PLC applicationAmeen San
 
PLC data types and addressing
PLC data types and addressingPLC data types and addressing
PLC data types and addressingAmeen San
 
ELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGYELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGYAmeen San
 
Load Characteristics
Load CharacteristicsLoad Characteristics
Load CharacteristicsAmeen San
 
Application of Capacitors to Distribution System and Voltage Regulation
Application of Capacitors to Distribution System and Voltage RegulationApplication of Capacitors to Distribution System and Voltage Regulation
Application of Capacitors to Distribution System and Voltage RegulationAmeen San
 
PLC Traffic Light Control
PLC Traffic Light ControlPLC Traffic Light Control
PLC Traffic Light ControlAmeen San
 
Distribution System Voltage Drop and Power Loss Calculation
Distribution System Voltage Drop and Power Loss CalculationDistribution System Voltage Drop and Power Loss Calculation
Distribution System Voltage Drop and Power Loss CalculationAmeen San
 
Accounting & financial decisions
Accounting & financial decisionsAccounting & financial decisions
Accounting & financial decisionsAmeen San
 
مهارات الحوار والاقناع
مهارات الحوار والاقناعمهارات الحوار والاقناع
مهارات الحوار والاقناعAmeen San
 
Time value of money
Time value of moneyTime value of money
Time value of moneyAmeen San
 
Depreciation methods
Depreciation methodsDepreciation methods
Depreciation methodsAmeen San
 
02 copy file_fill_sp16
02 copy file_fill_sp1602 copy file_fill_sp16
02 copy file_fill_sp16John Todora
 
02 chapter02 fa16
02 chapter02 fa1602 chapter02 fa16
02 chapter02 fa16John Todora
 
Module Consolidation: Combining Safety-Critical Automotive Applications with ...
Module Consolidation: Combining Safety-Critical Automotive Applications with ...Module Consolidation: Combining Safety-Critical Automotive Applications with ...
Module Consolidation: Combining Safety-Critical Automotive Applications with ...Design World
 
الطاقة الشمسية
الطاقة الشمسيةالطاقة الشمسية
الطاقة الشمسيةAmeen San
 
01 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa1601 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa16John Todora
 
Plc analog input output programming
Plc analog input output programmingPlc analog input output programming
Plc analog input output programmingEngr Alam
 
Engineering Economy
Engineering EconomyEngineering Economy
Engineering EconomyAmeen San
 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices Ameen San
 

Andere mochten auch (20)

Stepper motor
Stepper motor Stepper motor
Stepper motor
 
PLC application
PLC applicationPLC application
PLC application
 
PLC data types and addressing
PLC data types and addressingPLC data types and addressing
PLC data types and addressing
 
ELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGYELECTRICAL DISTRIBUTION TECHNOLOGY
ELECTRICAL DISTRIBUTION TECHNOLOGY
 
Load Characteristics
Load CharacteristicsLoad Characteristics
Load Characteristics
 
Application of Capacitors to Distribution System and Voltage Regulation
Application of Capacitors to Distribution System and Voltage RegulationApplication of Capacitors to Distribution System and Voltage Regulation
Application of Capacitors to Distribution System and Voltage Regulation
 
PLC Traffic Light Control
PLC Traffic Light ControlPLC Traffic Light Control
PLC Traffic Light Control
 
Distribution System Voltage Drop and Power Loss Calculation
Distribution System Voltage Drop and Power Loss CalculationDistribution System Voltage Drop and Power Loss Calculation
Distribution System Voltage Drop and Power Loss Calculation
 
Accounting & financial decisions
Accounting & financial decisionsAccounting & financial decisions
Accounting & financial decisions
 
مهارات الحوار والاقناع
مهارات الحوار والاقناعمهارات الحوار والاقناع
مهارات الحوار والاقناع
 
Time value of money
Time value of moneyTime value of money
Time value of money
 
Depreciation methods
Depreciation methodsDepreciation methods
Depreciation methods
 
02 copy file_fill_sp16
02 copy file_fill_sp1602 copy file_fill_sp16
02 copy file_fill_sp16
 
02 chapter02 fa16
02 chapter02 fa1602 chapter02 fa16
02 chapter02 fa16
 
Module Consolidation: Combining Safety-Critical Automotive Applications with ...
Module Consolidation: Combining Safety-Critical Automotive Applications with ...Module Consolidation: Combining Safety-Critical Automotive Applications with ...
Module Consolidation: Combining Safety-Critical Automotive Applications with ...
 
الطاقة الشمسية
الطاقة الشمسيةالطاقة الشمسية
الطاقة الشمسية
 
01 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa1601 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa16
 
Plc analog input output programming
Plc analog input output programmingPlc analog input output programming
Plc analog input output programming
 
Engineering Economy
Engineering EconomyEngineering Economy
Engineering Economy
 
PLC input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices
 

Ähnlich wie PLC Counters

dsd-II-unit-III-registers-counters (1).pptx
dsd-II-unit-III-registers-counters (1).pptxdsd-II-unit-III-registers-counters (1).pptx
dsd-II-unit-III-registers-counters (1).pptxssuser1b2fab
 
Digital fundamendals r001a
Digital fundamendals r001aDigital fundamendals r001a
Digital fundamendals r001aarunachalamr16
 
10 chapter05 counters_fa14
10 chapter05 counters_fa1410 chapter05 counters_fa14
10 chapter05 counters_fa14John Todora
 
Chapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdfChapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdfTamiratDejene1
 
ControlLogix Counters FA16
ControlLogix Counters FA16ControlLogix Counters FA16
ControlLogix Counters FA16John Todora
 
COMPUTER ORGANIZATION NOTES Unit 6
COMPUTER ORGANIZATION NOTES Unit 6COMPUTER ORGANIZATION NOTES Unit 6
COMPUTER ORGANIZATION NOTES Unit 6Dr.MAYA NAYAK
 
Project Report On 0-9 decade counter
Project Report On 0-9 decade counterProject Report On 0-9 decade counter
Project Report On 0-9 decade counterOmkar Rane
 
B sc3 unit 2 number system
B sc3  unit 2 number systemB sc3  unit 2 number system
B sc3 unit 2 number systemMahiboobAliMulla
 
Unit 1 data representation and computer arithmetic
Unit 1  data representation and computer arithmeticUnit 1  data representation and computer arithmetic
Unit 1 data representation and computer arithmeticAmrutaMehata
 
FYBSC IT Digital Electronics Unit V Chapter I Counters
FYBSC IT Digital Electronics Unit V Chapter I CountersFYBSC IT Digital Electronics Unit V Chapter I Counters
FYBSC IT Digital Electronics Unit V Chapter I CountersArti Parab Academics
 
Lesson 11. Pattern 3. Shift operations
Lesson 11. Pattern 3. Shift operationsLesson 11. Pattern 3. Shift operations
Lesson 11. Pattern 3. Shift operationsPVS-Studio
 
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIEr. Nawaraj Bhandari
 
FYBSC IT Digital Electronics Unit I Chapter II Number System and Binary Arith...
FYBSC IT Digital Electronics Unit I Chapter II Number System and Binary Arith...FYBSC IT Digital Electronics Unit I Chapter II Number System and Binary Arith...
FYBSC IT Digital Electronics Unit I Chapter II Number System and Binary Arith...Arti Parab Academics
 

Ähnlich wie PLC Counters (20)

dsd-II-unit-III-registers-counters (1).pptx
dsd-II-unit-III-registers-counters (1).pptxdsd-II-unit-III-registers-counters (1).pptx
dsd-II-unit-III-registers-counters (1).pptx
 
Digital fundamendals r001a
Digital fundamendals r001aDigital fundamendals r001a
Digital fundamendals r001a
 
COUNTERS.pptx
COUNTERS.pptxCOUNTERS.pptx
COUNTERS.pptx
 
9123497.ppt
9123497.ppt9123497.ppt
9123497.ppt
 
Microoperations
MicrooperationsMicrooperations
Microoperations
 
10 chapter05 counters_fa14
10 chapter05 counters_fa1410 chapter05 counters_fa14
10 chapter05 counters_fa14
 
Counting circuits
Counting circuitsCounting circuits
Counting circuits
 
Chapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdfChapter 2_Number system (EEEg4302).pdf
Chapter 2_Number system (EEEg4302).pdf
 
ControlLogix Counters FA16
ControlLogix Counters FA16ControlLogix Counters FA16
ControlLogix Counters FA16
 
COMPUTER ORGANIZATION NOTES Unit 6
COMPUTER ORGANIZATION NOTES Unit 6COMPUTER ORGANIZATION NOTES Unit 6
COMPUTER ORGANIZATION NOTES Unit 6
 
Project Report On 0-9 decade counter
Project Report On 0-9 decade counterProject Report On 0-9 decade counter
Project Report On 0-9 decade counter
 
B sc3 unit 2 number system
B sc3  unit 2 number systemB sc3  unit 2 number system
B sc3 unit 2 number system
 
Unit 1 data representation and computer arithmetic
Unit 1  data representation and computer arithmeticUnit 1  data representation and computer arithmetic
Unit 1 data representation and computer arithmetic
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
Module 2_Data representations.pdf
Module 2_Data representations.pdfModule 2_Data representations.pdf
Module 2_Data representations.pdf
 
FYBSC IT Digital Electronics Unit V Chapter I Counters
FYBSC IT Digital Electronics Unit V Chapter I CountersFYBSC IT Digital Electronics Unit V Chapter I Counters
FYBSC IT Digital Electronics Unit V Chapter I Counters
 
Lesson 11. Pattern 3. Shift operations
Lesson 11. Pattern 3. Shift operationsLesson 11. Pattern 3. Shift operations
Lesson 11. Pattern 3. Shift operations
 
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSI
 
Alu1
Alu1Alu1
Alu1
 
FYBSC IT Digital Electronics Unit I Chapter II Number System and Binary Arith...
FYBSC IT Digital Electronics Unit I Chapter II Number System and Binary Arith...FYBSC IT Digital Electronics Unit I Chapter II Number System and Binary Arith...
FYBSC IT Digital Electronics Unit I Chapter II Number System and Binary Arith...
 

Mehr von Ameen San

PLC Intro to programming
PLC Intro to programmingPLC Intro to programming
PLC Intro to programmingAmeen San
 
PLC Logic Circuits
PLC Logic CircuitsPLC Logic Circuits
PLC Logic CircuitsAmeen San
 
PLC Applications
PLC ApplicationsPLC Applications
PLC ApplicationsAmeen San
 
Protection Devices and the Lightning
Protection Devices and the LightningProtection Devices and the Lightning
Protection Devices and the LightningAmeen San
 
Circuit Breakers
Circuit BreakersCircuit Breakers
Circuit BreakersAmeen San
 
Ratio analysis
Ratio  analysisRatio  analysis
Ratio analysisAmeen San
 
Income statement
Income statementIncome statement
Income statementAmeen San
 
Capital budgeting
Capital budgetingCapital budgeting
Capital budgetingAmeen San
 
Cash flow statement
Cash flow statementCash flow statement
Cash flow statementAmeen San
 
Forms of business organizations
Forms of business organizationsForms of business organizations
Forms of business organizationsAmeen San
 
Matlab solving rlc circuit
Matlab solving rlc circuitMatlab solving rlc circuit
Matlab solving rlc circuitAmeen San
 

Mehr von Ameen San (14)

PLC Timers
PLC TimersPLC Timers
PLC Timers
 
PLC Intro to programming
PLC Intro to programmingPLC Intro to programming
PLC Intro to programming
 
PLC Logic Circuits
PLC Logic CircuitsPLC Logic Circuits
PLC Logic Circuits
 
PLC Applications
PLC ApplicationsPLC Applications
PLC Applications
 
Protection Devices and the Lightning
Protection Devices and the LightningProtection Devices and the Lightning
Protection Devices and the Lightning
 
Protection
ProtectionProtection
Protection
 
Relays
RelaysRelays
Relays
 
Circuit Breakers
Circuit BreakersCircuit Breakers
Circuit Breakers
 
Ratio analysis
Ratio  analysisRatio  analysis
Ratio analysis
 
Income statement
Income statementIncome statement
Income statement
 
Capital budgeting
Capital budgetingCapital budgeting
Capital budgeting
 
Cash flow statement
Cash flow statementCash flow statement
Cash flow statement
 
Forms of business organizations
Forms of business organizationsForms of business organizations
Forms of business organizations
 
Matlab solving rlc circuit
Matlab solving rlc circuitMatlab solving rlc circuit
Matlab solving rlc circuit
 

Kürzlich hochgeladen

Substation Automation SCADA and Gateway Solutions by BRH
Substation Automation SCADA and Gateway Solutions by BRHSubstation Automation SCADA and Gateway Solutions by BRH
Substation Automation SCADA and Gateway Solutions by BRHbirinder2
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
The Satellite applications in telecommunication
The Satellite applications in telecommunicationThe Satellite applications in telecommunication
The Satellite applications in telecommunicationnovrain7111
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
70 POWER PLANT IAE V2500 technical training
70 POWER PLANT IAE V2500 technical training70 POWER PLANT IAE V2500 technical training
70 POWER PLANT IAE V2500 technical trainingGladiatorsKasper
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
STATE TRANSITION DIAGRAM in psoc subject
STATE TRANSITION DIAGRAM in psoc subjectSTATE TRANSITION DIAGRAM in psoc subject
STATE TRANSITION DIAGRAM in psoc subjectGayathriM270621
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptxTriangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptxRomil Mishra
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfDrew Moseley
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier Fernández Muñoz
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork
 
Forming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptForming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptNoman khan
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTSneha Padhiar
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 

Kürzlich hochgeladen (20)

Substation Automation SCADA and Gateway Solutions by BRH
Substation Automation SCADA and Gateway Solutions by BRHSubstation Automation SCADA and Gateway Solutions by BRH
Substation Automation SCADA and Gateway Solutions by BRH
 
Versatile Engineering Construction Firms
Versatile Engineering Construction FirmsVersatile Engineering Construction Firms
Versatile Engineering Construction Firms
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
ASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductosASME-B31.4-2019-estandar para diseño de ductos
ASME-B31.4-2019-estandar para diseño de ductos
 
The Satellite applications in telecommunication
The Satellite applications in telecommunicationThe Satellite applications in telecommunication
The Satellite applications in telecommunication
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
70 POWER PLANT IAE V2500 technical training
70 POWER PLANT IAE V2500 technical training70 POWER PLANT IAE V2500 technical training
70 POWER PLANT IAE V2500 technical training
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
STATE TRANSITION DIAGRAM in psoc subject
STATE TRANSITION DIAGRAM in psoc subjectSTATE TRANSITION DIAGRAM in psoc subject
STATE TRANSITION DIAGRAM in psoc subject
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptxTriangulation survey (Basic Mine Surveying)_MI10412MI.pptx
Triangulation survey (Basic Mine Surveying)_MI10412MI.pptx
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdf
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptx
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
 
Forming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptForming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).ppt
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 

PLC Counters

  • 1. ___________________________________ COUNTERS ___________________________________ Area in Memory : Counters have an area reserved for them in the memory of your CPU. This memory area reserves one 16-bit word for each counter address. The ladder logic instruction set supports 256 counters. The counter instructions are the only functions that have access to the counter memory area. Count Value: Bits 0 through 9 of the counter word contain the count value in binary code. The count value is moved to the counter word when a counter is set. The range of the count value is 0 to 999. You can vary the count value within this range by using the following counter instructions:
  • 2. If I0.1 changes from "0" to "1", the counter is preset with the value at PV (10 in the above figure). If the signal state of I0.0 changes from "0" to "1", the value of counter C10 will be incremented by one - unless the value of C10 is equal to "999". Q4.0 is "1" if C10 is not equal to zero. If I0.1 changes from "0" to "1", the counter is preset with the value at PV (20 in the above figure). If the signal state of I0.0 changes from "0" to "1", the value of counter C10 will be decremented by one - unless the value of C10 is equal to "0". Q4.0 is "1" if C10 is not equal to zero.
  • 3. If I0.2 changes from "0" to "1", the counter is preset with the value at PV (20 in the above figure). If the signal state of I0.0 changes from "0" to "1", the value of counter C10 will be incremented by one - except when the value of C10 is equal than "999". If I0.1 changes from "0" to "1", C10 is decremented by one - except when the value of C10 is equal to "0". Q4.0 is "1" if C10 is not equal to zero.
  • 4. If the signal state of input I0.0 changes from "0" to "1" (positive edge in RLO), the preset value of 100 is loaded to counter C10. If the signal state of input I0.1 changes from "0" to "1" (positive edge in RLO), counter C10 count value will be incremented by one unless the value of C10 is equal to "999". If there is no positive edge in RLO, the value of C10 will be unchanged. If the signal state of I0.2 is "1", the counter C10 is reset to "0".
  • 5. If the signal state of input I0.0 changes from "0" to "1" (positive edge in RLO), the present value of 100 is loaded to counter C10. If the signal state of input I0.1 changes from "0" to "1" (positive edge in RLO), counter C10 count value will be decremented by one unless the value of C10 is equal to "0". If there is no positive edge in RLO, the value of C10 will be unchanged. If the count value = 0, then Q4.0 is turned on. If the signal state of input I0.2 is "1", the counter C10 is reset to "0".