SlideShare a Scribd company logo
PLC M10
S.S.Paheerathan 1
PLC COUNTER
 A PLC counter is a function block that counts up or down until it
reaches a limit. When the limit is reached the output is set.
 An example of this could be to keep track of how many times a
process has been completed. Or how many products has been
produced.
COUNTERS IN PLC PROGRAMMING:
TYPES of Counter Function Blocks
1. UP COUNTER (CTU)
2. DOWN COUNTER (CTD)
3. UPDOWN COUNTER (CTUD)
UP COUNTER (CTU)
 Up counters are usually used to keep track of how many
times an event has happened
Each pulse on the count input (CU) will increase the current
counter value (CV) by 1. When CV is greater than or equal to
the counter limit (PV) the output (Q) is set. A pulse on the reset
input (R) will reset the value of CV to 0.
PLC M10
S.S.Paheerathan 2
DOWN COUNTER (CTD)
 Down counter will count down from a certain number until it
reaches 0.
 Each pulse on the count input (CD) will decrement current
counter value (CV) by 1. When CV is less than or equal to 0 the
output (Q) is set. A pulse on the load input (LD) will assign the
value of counter limit (PV) to CV.
UP-DOWN COUNTER (CTUD)
 Up-down counter which can count both ways.
PLC M10
S.S.Paheerathan 3
 Each pulse on the count input (CU) will increase the current
counter value (CV) by 1. And each pulse on the count input
(CD) will decrement current counter value (CV) by 1.
 When CV is greater than or equal to the counter limit (PV) the
output (QU) is set. When CV is less than or equal to 0 the output
(QD) is set.
A pulse on the reset input (R) will reset the value of CV to 0. A
pulse on the load input (LD) will assign the value of counter
limit (PV) to CV.
EXERCISES (Submit your Answers within one week)
1)Write a PLC LAD Program using a UP Counter to
explain it.
2)Write a PLC LAD Program using a DOWN
Counter to explain it.
3)Write a PLC LAD Program using a UP-DOWN
Counter to explain it.

More Related Content

What's hot

Chapter 16 timers and counters
Chapter 16 timers and countersChapter 16 timers and counters
Chapter 16 timers and counters
forgotteniman
 

What's hot (20)

Armature reaction
Armature reactionArmature reaction
Armature reaction
 
Classic control in industry
Classic control in industry Classic control in industry
Classic control in industry
 
Plc ppt
Plc pptPlc ppt
Plc ppt
 
Chapter 16 timers and counters
Chapter 16 timers and countersChapter 16 timers and counters
Chapter 16 timers and counters
 
Digital voltmeter (DVM) and its Classification
Digital voltmeter (DVM) and its ClassificationDigital voltmeter (DVM) and its Classification
Digital voltmeter (DVM) and its Classification
 
Thyristor commutation techniques
Thyristor commutation techniquesThyristor commutation techniques
Thyristor commutation techniques
 
Dc motor
Dc motorDc motor
Dc motor
 
Inverter
InverterInverter
Inverter
 
instrument transformer
instrument transformerinstrument transformer
instrument transformer
 
PLC - Programmable Logic Controller
PLC - Programmable Logic ControllerPLC - Programmable Logic Controller
PLC - Programmable Logic Controller
 
Dual Slope ADC.pptx
Dual Slope ADC.pptxDual Slope ADC.pptx
Dual Slope ADC.pptx
 
Lecture 2 Servomotors - Basics & Working
Lecture 2   Servomotors - Basics & WorkingLecture 2   Servomotors - Basics & Working
Lecture 2 Servomotors - Basics & Working
 
Basics of plc_programming1
Basics of plc_programming1Basics of plc_programming1
Basics of plc_programming1
 
Buck-Boost Converter
Buck-Boost ConverterBuck-Boost Converter
Buck-Boost Converter
 
Basics Counters
Basics Counters Basics Counters
Basics Counters
 
Plc timers
Plc timersPlc timers
Plc timers
 
Ac fundamentals
Ac fundamentalsAc fundamentals
Ac fundamentals
 
Plc
PlcPlc
Plc
 
Open Loop and Closed Loop Control System.pptx
Open Loop and Closed Loop Control System.pptxOpen Loop and Closed Loop Control System.pptx
Open Loop and Closed Loop Control System.pptx
 
PID Controller based DC Motor Speed Control
PID Controller based DC Motor Speed ControlPID Controller based DC Motor Speed Control
PID Controller based DC Motor Speed Control
 

Similar to PLC PROGRAMMING- COUNTER INSTRUCTION

10 chapter05 counters_fa14
10 chapter05 counters_fa1410 chapter05 counters_fa14
10 chapter05 counters_fa14
John Todora
 
Meeting w9 chapter 3 part 2
Meeting w9   chapter 3 part 2Meeting w9   chapter 3 part 2
Meeting w9 chapter 3 part 2
Hattori Sidek
 

Similar to PLC PROGRAMMING- COUNTER INSTRUCTION (20)

ControlLogix Counters FA16
ControlLogix Counters FA16ControlLogix Counters FA16
ControlLogix Counters FA16
 
10 chapter05 counters_fa14
10 chapter05 counters_fa1410 chapter05 counters_fa14
10 chapter05 counters_fa14
 
Digital Logic Counter.ppt
Digital Logic Counter.pptDigital Logic Counter.ppt
Digital Logic Counter.ppt
 
ANALOG TO DIGITALCONVERTOR FOR BLOOD-GLUCOSE MONITORING
ANALOG TO DIGITALCONVERTOR FOR  BLOOD-GLUCOSE MONITORING  ANALOG TO DIGITALCONVERTOR FOR  BLOOD-GLUCOSE MONITORING
ANALOG TO DIGITALCONVERTOR FOR BLOOD-GLUCOSE MONITORING
 
Analog to Digitalconvertor for Blood-Glucose Monitoring
Analog to Digitalconvertor for Blood-Glucose MonitoringAnalog to Digitalconvertor for Blood-Glucose Monitoring
Analog to Digitalconvertor for Blood-Glucose Monitoring
 
Logic and Distributed Control Systems (PLC timer and counter).pptx
Logic and Distributed Control Systems (PLC timer and counter).pptxLogic and Distributed Control Systems (PLC timer and counter).pptx
Logic and Distributed Control Systems (PLC timer and counter).pptx
 
Analog to Digital converter in ARM
Analog to Digital converter in ARMAnalog to Digital converter in ARM
Analog to Digital converter in ARM
 
Digital Electronics Registers and Counters.pptx
Digital Electronics Registers and Counters.pptxDigital Electronics Registers and Counters.pptx
Digital Electronics Registers and Counters.pptx
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Chapter5 dek3133
Chapter5 dek3133Chapter5 dek3133
Chapter5 dek3133
 
Error Identification in RAM using Input Vector Monitoring Concurrent BIST Arc...
Error Identification in RAM using Input Vector Monitoring Concurrent BIST Arc...Error Identification in RAM using Input Vector Monitoring Concurrent BIST Arc...
Error Identification in RAM using Input Vector Monitoring Concurrent BIST Arc...
 
digital control Chapter1 slide
digital control Chapter1 slidedigital control Chapter1 slide
digital control Chapter1 slide
 
Synchronous Loadable Up and Down Counter
Synchronous Loadable Up and Down Counter Synchronous Loadable Up and Down Counter
Synchronous Loadable Up and Down Counter
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Analog to Digital Conversion
Analog to Digital ConversionAnalog to Digital Conversion
Analog to Digital Conversion
 
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav RaikarDigital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
Digital clock (mod counters)using DSCH (DIGITAL SCHEMATIC) by Gaurav Raikar
 
Meeting w9 chapter 3 part 2
Meeting w9   chapter 3 part 2Meeting w9   chapter 3 part 2
Meeting w9 chapter 3 part 2
 
Converting Capacitance Into Controller Counts
Converting Capacitance Into Controller CountsConverting Capacitance Into Controller Counts
Converting Capacitance Into Controller Counts
 
Performance Analysis of Input Vector Monitoring Concurrent Built In Self Repa...
Performance Analysis of Input Vector Monitoring Concurrent Built In Self Repa...Performance Analysis of Input Vector Monitoring Concurrent Built In Self Repa...
Performance Analysis of Input Vector Monitoring Concurrent Built In Self Repa...
 
FREQUENCY COUNTERS AND TIME-INTERVAL MEASUREMENTS.pdf
FREQUENCY COUNTERS AND TIME-INTERVAL MEASUREMENTS.pdfFREQUENCY COUNTERS AND TIME-INTERVAL MEASUREMENTS.pdf
FREQUENCY COUNTERS AND TIME-INTERVAL MEASUREMENTS.pdf
 

More from Paheerathan Sabaratnam

More from Paheerathan Sabaratnam (20)

PLc Memory & Addressing
 PLc Memory & Addressing  PLc Memory & Addressing
PLc Memory & Addressing
 
Pneumatic valves
Pneumatic valvesPneumatic valves
Pneumatic valves
 
Access control system
Access control systemAccess control system
Access control system
 
Plc lad simulator
Plc lad simulatorPlc lad simulator
Plc lad simulator
 
Plc programming languages
Plc programming languagesPlc programming languages
Plc programming languages
 
Pneumatic actuator
Pneumatic actuatorPneumatic actuator
Pneumatic actuator
 
PLC PROGRAMMING- TIMER INSTRUCTION
PLC PROGRAMMING- TIMER INSTRUCTIONPLC PROGRAMMING- TIMER INSTRUCTION
PLC PROGRAMMING- TIMER INSTRUCTION
 
Pa system 2
Pa system 2Pa system 2
Pa system 2
 
Service unit
Service unitService unit
Service unit
 
PUBLIC ADDRESSING SYSTEM (PA SYSTEM)
PUBLIC ADDRESSING SYSTEM (PA SYSTEM)PUBLIC ADDRESSING SYSTEM (PA SYSTEM)
PUBLIC ADDRESSING SYSTEM (PA SYSTEM)
 
University college act
University college actUniversity college act
University college act
 
CCTV CAMERA & SELECTION CRITERIA , CAMERA IMAGE QUALITY
CCTV CAMERA & SELECTION CRITERIA , CAMERA IMAGE QUALITYCCTV CAMERA & SELECTION CRITERIA , CAMERA IMAGE QUALITY
CCTV CAMERA & SELECTION CRITERIA , CAMERA IMAGE QUALITY
 
Types of cctv camera
Types of cctv cameraTypes of cctv camera
Types of cctv camera
 
CCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJCCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJ
 
CCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJCCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJ
 
CCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJCCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJ
 
CCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJCCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJ
 
CCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJCCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJ
 
CCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJCCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJ
 
CCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJCCTV System - Close circuit television System - UCJ
CCTV System - Close circuit television System - UCJ
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 

PLC PROGRAMMING- COUNTER INSTRUCTION

  • 1. PLC M10 S.S.Paheerathan 1 PLC COUNTER  A PLC counter is a function block that counts up or down until it reaches a limit. When the limit is reached the output is set.  An example of this could be to keep track of how many times a process has been completed. Or how many products has been produced. COUNTERS IN PLC PROGRAMMING: TYPES of Counter Function Blocks 1. UP COUNTER (CTU) 2. DOWN COUNTER (CTD) 3. UPDOWN COUNTER (CTUD) UP COUNTER (CTU)  Up counters are usually used to keep track of how many times an event has happened Each pulse on the count input (CU) will increase the current counter value (CV) by 1. When CV is greater than or equal to the counter limit (PV) the output (Q) is set. A pulse on the reset input (R) will reset the value of CV to 0.
  • 2. PLC M10 S.S.Paheerathan 2 DOWN COUNTER (CTD)  Down counter will count down from a certain number until it reaches 0.  Each pulse on the count input (CD) will decrement current counter value (CV) by 1. When CV is less than or equal to 0 the output (Q) is set. A pulse on the load input (LD) will assign the value of counter limit (PV) to CV. UP-DOWN COUNTER (CTUD)  Up-down counter which can count both ways.
  • 3. PLC M10 S.S.Paheerathan 3  Each pulse on the count input (CU) will increase the current counter value (CV) by 1. And each pulse on the count input (CD) will decrement current counter value (CV) by 1.  When CV is greater than or equal to the counter limit (PV) the output (QU) is set. When CV is less than or equal to 0 the output (QD) is set. A pulse on the reset input (R) will reset the value of CV to 0. A pulse on the load input (LD) will assign the value of counter limit (PV) to CV. EXERCISES (Submit your Answers within one week) 1)Write a PLC LAD Program using a UP Counter to explain it. 2)Write a PLC LAD Program using a DOWN Counter to explain it. 3)Write a PLC LAD Program using a UP-DOWN Counter to explain it.