SlideShare a Scribd company logo
1 of 9
Download to read offline
YANBU INDUSTRIAL COLLEGE
ARITHMETIC FUNCTIONS
Move Instructions
It copies the value of the source register in the destination register. The destination
register's previous value is replaced by the value from the source register.
The instruction is executed if I0.0 is "1". The content of MW10 is copied to data word
DBW 12 of the currently open DB (Data Block). Q4.0 is "1" if the instruction is executed.
EX 1: Lathe Machine
The MOVE instruction can be used to preset a counter. For example, if a machine
produces 5 mH inductor, a lathe makes 400 revolutions to wind the coil. If the machine
makes 10 mH coil, it must make 800 revolution before stopping. The ladder below
shows how to change the preset value for each different inductor. When the 5 (10 ) mH
inductor reaches the lathe a sensor closes IN1 (IN2)
YANBU INDUSTRIAL COLLEGE
EX 2: Selecting motor duration
The parts in a production line have two sizes, as in the above task. When a large piece
comes under the drill machine, a large hole has to be drilled (corresponding to 10 s),
For a small piece, 5 seconds is enough to drill a hole. Design and test a ladder diagram
to achieve this.
YANBU INDUSTRIAL COLLEGE
EX 3: Temperature monitor
In an industrial process it is required to keep the temperature between 120 and 570 o
C.
If the temperature is within the range, a green lamp is on. Otherwise a red is on. For this
try the following ladder
Network 1:
A Temperature sensor provides the actual temperature as 150 o
C. Move it to the
memory word address MW1
150 MW1
Figure 6.
Network 2
Compare the value in MW1 with the allowed temperature range.
M0.0
( )
MW1 MW1
120 570
Figure 7.
Network 3
Q125.0 = green lamp.
Network 4
Q125.1 = red lamp.
MOVE
IN OUT
CMP>1
IN1
IN2 OUT
CMP<1
IN1
IN2 OUT
YANBU INDUSTRIAL COLLEGE
Mathematical Instructions
ADD_I Add Integer
ADD_I (Add Integer) is activated by a logic "1" at the Enable (EN) Input. IN1 and IN2 are
added and the result can be scanned at OUT. If the result is outside the permissible
range for an integer (16-bit), the OV bit and OS bit will be "1" and ENO is logic "0", so
that other functions after this math box which are connected by the ENO (cascade
arrangement) are not executed.
The ADD_I box is activated if I0.0 = "1". The result of the addition MW0 + MW2 is output
to MW10. If the result was outside the permissible range for an integer, the output Q4.0
is set.
EX 1: Counting circuit for two conveyors
Figure below shows two conveyors used in a manufacturing process. Each photo
detectors counts the work pieces as they pass by. Obtain the total count from the two
conveyors
Pulses
Conveyor 1
Light source (IN1)
Conveyor 2
(IN2)
The ladder logic below achieves the control objectives required
PLC
YANBU INDUSTRIAL COLLEGE
SUB_I Subtract Integer
SUB_I (Subtract Integer) is activated by a logic "1" at the Enable (EN) Input. IN2 is
subtracted from IN1 and the result can be scanned at OUT. If the result is outside the
permissible range for an integer (16-bit), the OV bit and OS bit will be "1" and ENO is
logic "0", so that other functions after this math box which are connected by the ENO
(cascade arrangement) are not executed.
YANBU INDUSTRIAL COLLEGE
The SUB_I box is activated if I0.0 = "1". The result of the subtraction MW0 - MW2 is
output to MW10. If the result was outside the permissible range for an integer or the
signal state of I0.0 = 0, the output Q4.0 is set.
Ex 2: Counting sound parts
Figure below shows a main conveyor with a diverter gate for defective parts. Write a
program using subtraction function that determine the number of parts that passed
inspection
Reject coveyor
Reject counter
Main -
Conveyor
Main counter Diverter
Figure 14.
YANBU INDUSTRIAL COLLEGE
MUL_I Multiply Integer
MUL_I (Multiply Integer) is activated by a logic "1" at the Enable (EN) Input. IN1 and IN2
are multiplied and the result can be scanned at OUT. If the result is outside the
permissible range for an integer (16-bit), the OV bit and OS bit will be "1" and ENO is
logic "0", so that other functions after this math box which are connected by the ENO
(cascade arrangement) are not executed.
The MUL_I box is activated if I0.0 = "1". The result of the multiplication MW0 x MW2 is
output to MW10. If the result was outside the permissible range for an integer, the
output Q4.0 is set.
Ex 3: Total plant bottle count
Figure below shows a conveyor transporting cartons (counted with a counter). Each
carton has 12 bottles. Develop a ladder diagram to find the total plant bottle production.
Counter
YANBU INDUSTRIAL COLLEGE
Ex 4: Power Generation Monitoring
If the power generated does not exceed the max limit of 200/3 = 66.7 MW/phase, a
green lamp is on, and otherwise a red lamp is on. Calculate the active power
 cos..IVP , the angle in radians, where ,36.63/11 KVV  ,10KAI  .1.0 rad
Complete the ladder below.
________________________________
DIV_I Divide Integer
DIV_I (Divide Integer) is activated by a logic "1" at the Enable (EN) Input. IN1 is divided
by IN2 and the result can be scanned at OUT. If the result is outside the permissible
range for an integer (16-bit), the OV bit and OS bit is "1" and ENO is logic "0", so that
other functions after this math box which are connected by ENO (cascade arrangement)
are not executed.
The DIV_I box is activated if I0.0 = "1". The result of the division MW0 by MW2 is output
to MW10. If the result was outside the permissible range for an integer, the output Q4.0
is set.
YANBU INDUSTRIAL COLLEGE
Ex 5: Total plant carton count
Similar to task 4 however the number of bottles is counted (using a counter).Develop a
ladder diagram to count the number of cartons (each having 6 bottles).

More Related Content

What's hot

Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)Urval Chotalia
 
PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]Dr. S.N. Teli
 
PLC data types and addressing
PLC data types and addressingPLC data types and addressing
PLC data types and addressingAmeen San
 
Plc Siemens Training Notes
Plc Siemens Training NotesPlc Siemens Training Notes
Plc Siemens Training Notesplc_course
 
PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.Tahmid Rongon
 
Programmable Logic Controller(PLC)
Programmable Logic Controller(PLC)Programmable Logic Controller(PLC)
Programmable Logic Controller(PLC)Ahad Hossain
 
Plc example presentation
Plc example presentationPlc example presentation
Plc example presentationRoshit Kadiru
 
ppt on PLC automation
ppt on PLC automationppt on PLC automation
ppt on PLC automationMd Talib
 
Ladder Intro Tutorial
Ladder Intro TutorialLadder Intro Tutorial
Ladder Intro Tutorialplc_course
 
Programmable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingProgrammable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingseema Vishwakarma
 
Industrial automation (PLC, SCADA, VFD & HMI)
Industrial automation (PLC, SCADA, VFD & HMI)Industrial automation (PLC, SCADA, VFD & HMI)
Industrial automation (PLC, SCADA, VFD & HMI)Praveen Ramola
 

What's hot (20)

Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)Plc (PROGRAMMABLE LOGIC CONTROLLER)
Plc (PROGRAMMABLE LOGIC CONTROLLER)
 
PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]PLC Ladder Programming [Mechatronics]
PLC Ladder Programming [Mechatronics]
 
PLC data types and addressing
PLC data types and addressingPLC data types and addressing
PLC data types and addressing
 
PLC - Programmable Logic Controller
PLC - Programmable Logic ControllerPLC - Programmable Logic Controller
PLC - Programmable Logic Controller
 
Plc Siemens Training Notes
Plc Siemens Training NotesPlc Siemens Training Notes
Plc Siemens Training Notes
 
Plc ppt
Plc pptPlc ppt
Plc ppt
 
PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.
 
Plc basics
Plc basicsPlc basics
Plc basics
 
PLC (Programmable Logic Circuit)
PLC (Programmable Logic Circuit)PLC (Programmable Logic Circuit)
PLC (Programmable Logic Circuit)
 
Programmable Logic Controller(PLC)
Programmable Logic Controller(PLC)Programmable Logic Controller(PLC)
Programmable Logic Controller(PLC)
 
PLC LADDER DIAGRAM
PLC LADDER DIAGRAMPLC LADDER DIAGRAM
PLC LADDER DIAGRAM
 
Plc example presentation
Plc example presentationPlc example presentation
Plc example presentation
 
ppt on PLC automation
ppt on PLC automationppt on PLC automation
ppt on PLC automation
 
PLC PROGRAMMING- COUNTER INSTRUCTION
PLC PROGRAMMING- COUNTER INSTRUCTIONPLC PROGRAMMING- COUNTER INSTRUCTION
PLC PROGRAMMING- COUNTER INSTRUCTION
 
A study on PLC basic
A study on PLC basicA study on PLC basic
A study on PLC basic
 
Ladder Intro Tutorial
Ladder Intro TutorialLadder Intro Tutorial
Ladder Intro Tutorial
 
Programmable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingProgrammable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programming
 
Plc (programming)
Plc (programming)Plc (programming)
Plc (programming)
 
Industrial automation (PLC, SCADA, VFD & HMI)
Industrial automation (PLC, SCADA, VFD & HMI)Industrial automation (PLC, SCADA, VFD & HMI)
Industrial automation (PLC, SCADA, VFD & HMI)
 
Basic PLC
Basic PLCBasic PLC
Basic PLC
 

Viewers also liked

Stepper motor
Stepper motor Stepper motor
Stepper motor Ameen San
 
PLC application
PLC applicationPLC application
PLC applicationAmeen 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
 
PLC Applications
PLC ApplicationsPLC Applications
PLC ApplicationsAmeen 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
 

Viewers also liked (20)

Stepper motor
Stepper motor Stepper motor
Stepper motor
 
PLC application
PLC applicationPLC application
PLC application
 
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 training report
plc training reportplc training report
plc training report
 
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
 
PLC Applications
PLC ApplicationsPLC Applications
PLC Applications
 
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
 

Similar to PLC arithmatic functions

Automation and Robotics 20ME51I_Week_2_Practicals.pdf
Automation and Robotics 20ME51I_Week_2_Practicals.pdfAutomation and Robotics 20ME51I_Week_2_Practicals.pdf
Automation and Robotics 20ME51I_Week_2_Practicals.pdfGandhibabu8
 
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterLab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterKatrina Little
 
Freescale Microcontroller programming
Freescale Microcontroller programmingFreescale Microcontroller programming
Freescale Microcontroller programmingShih Cheng Tung
 
Computer organization and architecture lab manual
Computer organization and architecture lab manual Computer organization and architecture lab manual
Computer organization and architecture lab manual Shankar Gangaju
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1Techglyphs
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxWilliamJosephat1
 
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...IRJET Journal
 
Implementation and Simulation of Ieee 754 Single-Precision Floating Point Mul...
Implementation and Simulation of Ieee 754 Single-Precision Floating Point Mul...Implementation and Simulation of Ieee 754 Single-Precision Floating Point Mul...
Implementation and Simulation of Ieee 754 Single-Precision Floating Point Mul...inventionjournals
 
- Problem Design a simple ALU using VHDL capable of performing the o.pdf
 - Problem Design a simple ALU using VHDL capable of performing the o.pdf - Problem Design a simple ALU using VHDL capable of performing the o.pdf
- Problem Design a simple ALU using VHDL capable of performing the o.pdfalliedelectronics
 
Error Reduction of Modified Booth Multipliers in Mac Unit
Error Reduction of Modified Booth Multipliers in Mac UnitError Reduction of Modified Booth Multipliers in Mac Unit
Error Reduction of Modified Booth Multipliers in Mac UnitIOSR Journals
 
Construction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasConstruction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasB.k. Das
 

Similar to PLC arithmatic functions (20)

Automation and Robotics 20ME51I_Week_2_Practicals.pdf
Automation and Robotics 20ME51I_Week_2_Practicals.pdfAutomation and Robotics 20ME51I_Week_2_Practicals.pdf
Automation and Robotics 20ME51I_Week_2_Practicals.pdf
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterLab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
 
Freescale Microcontroller programming
Freescale Microcontroller programmingFreescale Microcontroller programming
Freescale Microcontroller programming
 
Switch Control and Time Delay - Keypad
Switch Control and Time Delay - KeypadSwitch Control and Time Delay - Keypad
Switch Control and Time Delay - Keypad
 
8051 FINIAL
8051 FINIAL8051 FINIAL
8051 FINIAL
 
Computer organization and architecture lab manual
Computer organization and architecture lab manual Computer organization and architecture lab manual
Computer organization and architecture lab manual
 
Plc operation part 3
Plc operation part 3Plc operation part 3
Plc operation part 3
 
exp 15.docx
exp 15.docxexp 15.docx
exp 15.docx
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
IRJET-Design and Implementation of LNS based Approximate Multiplier using Mit...
 
Ladder
LadderLadder
Ladder
 
Implementation and Simulation of Ieee 754 Single-Precision Floating Point Mul...
Implementation and Simulation of Ieee 754 Single-Precision Floating Point Mul...Implementation and Simulation of Ieee 754 Single-Precision Floating Point Mul...
Implementation and Simulation of Ieee 754 Single-Precision Floating Point Mul...
 
Sequential Logic
Sequential LogicSequential Logic
Sequential Logic
 
- Problem Design a simple ALU using VHDL capable of performing the o.pdf
 - Problem Design a simple ALU using VHDL capable of performing the o.pdf - Problem Design a simple ALU using VHDL capable of performing the o.pdf
- Problem Design a simple ALU using VHDL capable of performing the o.pdf
 
unit 3.pptx
unit 3.pptxunit 3.pptx
unit 3.pptx
 
Error Reduction of Modified Booth Multipliers in Mac Unit
Error Reduction of Modified Booth Multipliers in Mac UnitError Reduction of Modified Booth Multipliers in Mac Unit
Error Reduction of Modified Booth Multipliers in Mac Unit
 
Chapter 5 counter1
Chapter 5 counter1Chapter 5 counter1
Chapter 5 counter1
 
Construction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasConstruction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar Das
 

More from Ameen San

PLC Internal Relays
PLC Internal RelaysPLC Internal Relays
PLC Internal RelaysAmeen 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 input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices Ameen 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
 

More from Ameen San (14)

PLC Internal Relays
PLC Internal RelaysPLC Internal Relays
PLC Internal Relays
 
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 input and output devices
PLC input and output devices PLC input and output devices
PLC input and output devices
 
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
 

Recently uploaded

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 

Recently uploaded (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 

PLC arithmatic functions

  • 1. YANBU INDUSTRIAL COLLEGE ARITHMETIC FUNCTIONS Move Instructions It copies the value of the source register in the destination register. The destination register's previous value is replaced by the value from the source register. The instruction is executed if I0.0 is "1". The content of MW10 is copied to data word DBW 12 of the currently open DB (Data Block). Q4.0 is "1" if the instruction is executed. EX 1: Lathe Machine The MOVE instruction can be used to preset a counter. For example, if a machine produces 5 mH inductor, a lathe makes 400 revolutions to wind the coil. If the machine makes 10 mH coil, it must make 800 revolution before stopping. The ladder below shows how to change the preset value for each different inductor. When the 5 (10 ) mH inductor reaches the lathe a sensor closes IN1 (IN2)
  • 2. YANBU INDUSTRIAL COLLEGE EX 2: Selecting motor duration The parts in a production line have two sizes, as in the above task. When a large piece comes under the drill machine, a large hole has to be drilled (corresponding to 10 s), For a small piece, 5 seconds is enough to drill a hole. Design and test a ladder diagram to achieve this.
  • 3. YANBU INDUSTRIAL COLLEGE EX 3: Temperature monitor In an industrial process it is required to keep the temperature between 120 and 570 o C. If the temperature is within the range, a green lamp is on. Otherwise a red is on. For this try the following ladder Network 1: A Temperature sensor provides the actual temperature as 150 o C. Move it to the memory word address MW1 150 MW1 Figure 6. Network 2 Compare the value in MW1 with the allowed temperature range. M0.0 ( ) MW1 MW1 120 570 Figure 7. Network 3 Q125.0 = green lamp. Network 4 Q125.1 = red lamp. MOVE IN OUT CMP>1 IN1 IN2 OUT CMP<1 IN1 IN2 OUT
  • 4. YANBU INDUSTRIAL COLLEGE Mathematical Instructions ADD_I Add Integer ADD_I (Add Integer) is activated by a logic "1" at the Enable (EN) Input. IN1 and IN2 are added and the result can be scanned at OUT. If the result is outside the permissible range for an integer (16-bit), the OV bit and OS bit will be "1" and ENO is logic "0", so that other functions after this math box which are connected by the ENO (cascade arrangement) are not executed. The ADD_I box is activated if I0.0 = "1". The result of the addition MW0 + MW2 is output to MW10. If the result was outside the permissible range for an integer, the output Q4.0 is set. EX 1: Counting circuit for two conveyors Figure below shows two conveyors used in a manufacturing process. Each photo detectors counts the work pieces as they pass by. Obtain the total count from the two conveyors Pulses Conveyor 1 Light source (IN1) Conveyor 2 (IN2) The ladder logic below achieves the control objectives required PLC
  • 5. YANBU INDUSTRIAL COLLEGE SUB_I Subtract Integer SUB_I (Subtract Integer) is activated by a logic "1" at the Enable (EN) Input. IN2 is subtracted from IN1 and the result can be scanned at OUT. If the result is outside the permissible range for an integer (16-bit), the OV bit and OS bit will be "1" and ENO is logic "0", so that other functions after this math box which are connected by the ENO (cascade arrangement) are not executed.
  • 6. YANBU INDUSTRIAL COLLEGE The SUB_I box is activated if I0.0 = "1". The result of the subtraction MW0 - MW2 is output to MW10. If the result was outside the permissible range for an integer or the signal state of I0.0 = 0, the output Q4.0 is set. Ex 2: Counting sound parts Figure below shows a main conveyor with a diverter gate for defective parts. Write a program using subtraction function that determine the number of parts that passed inspection Reject coveyor Reject counter Main - Conveyor Main counter Diverter Figure 14.
  • 7. YANBU INDUSTRIAL COLLEGE MUL_I Multiply Integer MUL_I (Multiply Integer) is activated by a logic "1" at the Enable (EN) Input. IN1 and IN2 are multiplied and the result can be scanned at OUT. If the result is outside the permissible range for an integer (16-bit), the OV bit and OS bit will be "1" and ENO is logic "0", so that other functions after this math box which are connected by the ENO (cascade arrangement) are not executed. The MUL_I box is activated if I0.0 = "1". The result of the multiplication MW0 x MW2 is output to MW10. If the result was outside the permissible range for an integer, the output Q4.0 is set. Ex 3: Total plant bottle count Figure below shows a conveyor transporting cartons (counted with a counter). Each carton has 12 bottles. Develop a ladder diagram to find the total plant bottle production. Counter
  • 8. YANBU INDUSTRIAL COLLEGE Ex 4: Power Generation Monitoring If the power generated does not exceed the max limit of 200/3 = 66.7 MW/phase, a green lamp is on, and otherwise a red lamp is on. Calculate the active power  cos..IVP , the angle in radians, where ,36.63/11 KVV  ,10KAI  .1.0 rad Complete the ladder below. ________________________________ DIV_I Divide Integer DIV_I (Divide Integer) is activated by a logic "1" at the Enable (EN) Input. IN1 is divided by IN2 and the result can be scanned at OUT. If the result is outside the permissible range for an integer (16-bit), the OV bit and OS bit is "1" and ENO is logic "0", so that other functions after this math box which are connected by ENO (cascade arrangement) are not executed. The DIV_I box is activated if I0.0 = "1". The result of the division MW0 by MW2 is output to MW10. If the result was outside the permissible range for an integer, the output Q4.0 is set.
  • 9. YANBU INDUSTRIAL COLLEGE Ex 5: Total plant carton count Similar to task 4 however the number of bottles is counted (using a counter).Develop a ladder diagram to count the number of cartons (each having 6 bottles).