SlideShare a Scribd company logo
7
Most read
15
Most read
20
Most read
HONEYWELL
(ML-50 PLC)
LADDER LOGIC PROGRAMMING ON SOFTMASTER
SHIVAM SINGH
+91-9971457422
shivamsingh0807@gmail.com
Facebook: https://www.facebook.com/shivishrinet
LinkedIn: https://www.linkedin.com/in/shivam-singh-46675439
Slideshare: https://www.slideshare.net/ShivamSingh59
SHIVAM SINGH (+91-9971457422) Page | 1
CREATING NEW PROJECT IN SOFTMASTER
 Open SoftMaster and a window will open like shown below.
 Click on “Project” and select “New Project”. A window will open like shown below.
 Write the name of your project in “Project Name”.
 Select “ML-50” in PLC Series.
SHIVAM SINGH (+91-9971457422) Page | 2
 Select “CPU type” as “MLM-XBMS” if you are working with a “modular PLC” and
Select “CPU type” as “MLM-XBCH” if you are working with “compact PLC”.
 Select “OK” and a window will open like shown below.
 This is the project window for ladder logic programming.
HOW TO USE NO, NC AND COIL
 First select a “NO”, place it at input side and you will get a window like shown below.
 Provide a “variable name” to it and then click “OK”. You will get a screen.
SHIVAM SINGH (+91-9971457422) Page | 3
 Give it a physical address like “P0000”
 Now select a “Coil”, place it at output side, provide variable name and give physical
address “P0020”.
 Using above steps, let’s create a simple program using a “NO” and “Coil” that looks
something like shown below.
 To write a “comment” double click on the leftmost cell.
 To tell the softmaster where your programming is finished put “End Statement” at the
end of the program. For that click on “F10” that will open a window like shown below.
 Now type “END” at the instruction and then “OK”.
SHIVAM SINGH (+91-9971457422) Page | 4
 Now move to “Tools” and select “Start Simulator” to check your program.
 We normally use “Simulator” when we are not working online i.e. with actual PLC and
want to check our program.
 Similarly we can use “NC” also, that works exactly opposite to “NO”.
HOW TO CREATE LOGIC GATES USING LADDER LOGIC
 Below shown are the logics for all the logic gates.
SHIVAM SINGH (+91-9971457422) Page | 5
HOW TO CREATE PROGRAM FOR HOLDING & INTERLOCKING
 Below is the programming for holding & interlocking.
 Interlocking is also of two types: “Input Interlocking” if you are using an input for
interlocking and “Output Interlocking” if you are using an output for interlocking.
HOW TO USE MEMORY ADDRESSES IN PROGRAMMING
 We use memory addresses in our programming when number of physical addresses
available to us are less than we need for programming.
 Let’s create a program for “PUSH BUTTON AS TOGGLE SWITCH” i.e. when you
press the push button for first time, the output will “ON” and when press the same push
button again, the output will “OFF”. Since you have only 2 physical addresses, one for
input and other for output. So, here we use memory addresses to get desired output.
 The number of memory address available in ML-50 is 5000.
SHIVAM SINGH (+91-9971457422) Page | 6
 In the above program we used output interlocking.
HOW TO USE TIMERS IN ML-50
 In ML-50, basically we have five timer: TON, TOFF, TMR, TMON, TRTG.
 “TON” is “on delay timer”, “TOFF” is “off delay timer”, “TMR” is “retentive timer”,
“TMON” is “monostable timer” and “TRTG” is “retriggerable timer”.
 To use a timer, click on “F10” that will open a window screen.
 Now move to the “category” section and select “timer/counter” and you’ll get the timers
in the “instruction list” section.
 Let’s create a program using a “TON” timer. Follow the steps as shown.
 Click on “F10” and select “TON” timer.
SHIVAM SINGH (+91-9971457422) Page | 7
 Press “Enter” and “Give variable name to the timer” and then “OK”.
 Give timer adress “T0000”. And then “OK”
SHIVAM SINGH (+91-9971457422) Page | 8
 Now give the timing value of timer and remember in ML-50 timer understands only in
“ms” and 10ms=1s and then click on “OK”.
 Note: There are 255 timers in ML-50.
 Your program will something look like as shown below:
 In same manner as shown above, one can create program for any timer.
 Remember one thing that while using “TON” timer one must provide holding to its input
so that it work properly.
 Now create program for using “TON” Timer as “TOFF”
SHIVAM SINGH (+91-9971457422) Page | 9
HOW TO USE COUNTERS IN ML-50
 In ML-50, basically four counters are available CTU, CTD, CTUD and CTR.
 “CTU” is “up-counter”, “CTD” is “down-counter”, “CTUD” is “up-down counter” and
“CTR” is “reset counter”.
 To use a counter in your program follow the steps same as that of timer.
 Let’s create program using an up-counter i.e. “CTU” as shown below.
 For counters we use addressing as “C000”
SHIVAM SINGH (+91-9971457422) Page | 10
 Your program will look something like shown below:
 In same manner one can use any counter.
HOW TO USE COMPARE BLOCKS
 To use compare blocks like less than, greater than, less than equal to, greater than equal
to etc. go to “F10” and follow steps as shown.
 As you can see in the instruction column type the sign for comparison like <=, >=, =, >, <
etc. follow by the address you want to compare like here is the address for timer “T000”
and then enter its value to compare.
 Let’s create program using compare blocks to make process continuous using single
timer.
SHIVAM SINGH (+91-9971457422) Page | 11
HOW TO USE MOVE INSTRUCTION
 To use a “MOVE” function. Press “F10” and follow the steps as shown:
 Type “MOV” in the instruction column.
SHIVAM SINGH (+91-9971457422) Page | 12
 Now give the address of the source data location and then destination where one wants to
move data.
 Your logic will be something like shown below:
HOW TO USE ARITHMETIC AND CONVERSION INSTRUCTIONS
 In ML-50, arithmetic instructions like ADD, SUB, DIV, MUL is used if you are working
with Integer and RADD, RSUB, RDIV and RMUL is used if you are working with real
integers.
 In ML-50, conversion instruction like “I2R” is used to convert integer to real and
similarly “ R2I” is used to convert real to integer.
 To use arithmetic instructions or conversion instructions, click on “F10” and follow the
instructions and follow as shown:
SHIVAM SINGH (+91-9971457422) Page | 13
 Here “M000” and “M001” are the addresses of the data to be added and “M003” is the
address of the location where the added data is going to be saved. Your program will look
something like as shown below:
 Now, let’s create a program for scaling using arithmetic instructions and conversion
instructions. The formula for Scaling is
Y={(X-Xmin)(Ymax-Ymin)/(Xmax-Xmin)}+Ymin
Where Y is final output
X is value coming from field
Ymax and Ymin is values provided by the client
Xmax and Xmin is default values set through softmaster
SHIVAM SINGH (+91-9971457422) Page | 14
HOW TO SET IO PARAMETERS BY SYSTEM ARCHITECTURE
 Click on “IO PARAMETER” option in the project window as shown:
SHIVAM SINGH (+91-9971457422) Page | 15
 Now set the modules in I/O parameter setting as shown
 Click on the slot “0main” and Select PLC you are working with.
 Click on the slot 1 or slot 2 and select your DI or DO module accordingly.
SHIVAM SINGH (+91-9971457422) Page | 16
 Click on the slot 3 or slot 4 and select your AI or AO module accordingly.
 Also select the communication module serial or ethernet if you are using it.
 Select AI Module and click on “DETAILS”. Set the parameters as shown.
SHIVAM SINGH (+91-9971457422) Page | 17
 Now, select AO module and click on “DETAILS”. Set the parameters as shown
 Click “OK” and then “YES” to register global variables as shown below.
 Remember to set I/O parameters according to your system architecture.
HOW TO CREATE MANUAL LOGIC
.
 To create a manual logic always remember to use memory addresses “M0000” if you are
working with HMI and word addresses “D0000” if you are working with SCADA.
 Below is the program for manual logic for DI/DO.
SHIVAM SINGH (+91-9971457422) Page | 18
 Manual logic for AI/AO with scaling.
 As in AI and AO, addresses are already assigned by the softmaster, we only need to
select them.
SHIVAM SINGH (+91-9971457422) Page | 19

More Related Content

PPTX
Honeywell PLC ML 200R ystem architecture &-installation
PPTX
Honeywell PLC ML-200R Communcation & Networking
PPTX
Honeywell PLC TRAINING GUIDE created by deepak gorai
PPTX
Honeywell PLC ML-50 (MLM-DR16S)
PPTX
Data transmission and telemetry
PDF
GIÁO-TRÌNH-PLC-S7-1200-Mô-tả_Full.pdf
PDF
Unit 2,3,4 _ Internet of Things A Hands-On Approach (Arshdeep Bahga, Vijay Ma...
PPT
Plc Siemens Training Notes
Honeywell PLC ML 200R ystem architecture &-installation
Honeywell PLC ML-200R Communcation & Networking
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC ML-50 (MLM-DR16S)
Data transmission and telemetry
GIÁO-TRÌNH-PLC-S7-1200-Mô-tả_Full.pdf
Unit 2,3,4 _ Internet of Things A Hands-On Approach (Arshdeep Bahga, Vijay Ma...
Plc Siemens Training Notes

What's hot (20)

PPTX
Honeywell PLC ML-200R Instruction Basics
PDF
PLC and SCADA training.
PDF
Industrial Networking - Profibus
PPT
SIEMENS S7-300c.ppt
PPTX
DCS an overview
PDF
Siemens s7 300 programming
PPTX
PDF
PLC data types and addressing
PDF
Foundation Fieldbus
PDF
Modbus TCP/IP implementation in Siemens S7-300 PLC
PPT
Vt training plc_1
PPTX
Fieldbus wiring guide
PPTX
Allenbradley Control Logix PLC Network Architecture
PPTX
Industrial automation (PLC, SCADA, VFD & HMI)
PPTX
Introduction to foundation fieldbus
PPT
Modbus Data Communication Systems
PPT
Scada
PPTX
DCS Introduction
Honeywell PLC ML-200R Instruction Basics
PLC and SCADA training.
Industrial Networking - Profibus
SIEMENS S7-300c.ppt
DCS an overview
Siemens s7 300 programming
PLC data types and addressing
Foundation Fieldbus
Modbus TCP/IP implementation in Siemens S7-300 PLC
Vt training plc_1
Fieldbus wiring guide
Allenbradley Control Logix PLC Network Architecture
Industrial automation (PLC, SCADA, VFD & HMI)
Introduction to foundation fieldbus
Modbus Data Communication Systems
Scada
DCS Introduction
Ad

Similar to Ladder logic on Soft-Master Honeywell PLC ML50 (20)

DOCX
Change transport system in SAP
PDF
Sap basis administration handbook
PPT
CNCTRAINPRESTthhjijgrrgjkkkkijjjjhgyujjjjjjj
PDF
05 conexão logo! 0 ba7 com ihm (wincc flexible)
PDF
05 conexão logo! 0 ba7 com ihm (wincc flexible)
PDF
04 conex%c3%a3o%20 logo!%200ba7%20com%20ihm
PDF
04 conexão logo! 0 ba7 com ihm
PDF
04 conexão logo! 0 ba7 com ihm
PPTX
News 12 Sales Assistant Manual
DOCX
Change and Transport System (CTS) in SAP
PDF
HACKS TO CRUSH PLC PROGRAM FAST & EFFICIENTLY EVERYTIME... : CODING, SIMULATI...
PDF
Co product costing master data
PDF
Getting started-guides-english
PPTX
SATYAM_VERMA_PLC_REPORT.docx.pptx
PDF
Logo tutorial
PDF
Lsmw step by- step
PDF
Master data tool lsmw
PDF
Advance Computer Architecture
PDF
Satyanarayana fi notes
PDF
Sap fico satyanarayana material
Change transport system in SAP
Sap basis administration handbook
CNCTRAINPRESTthhjijgrrgjkkkkijjjjhgyujjjjjjj
05 conexão logo! 0 ba7 com ihm (wincc flexible)
05 conexão logo! 0 ba7 com ihm (wincc flexible)
04 conex%c3%a3o%20 logo!%200ba7%20com%20ihm
04 conexão logo! 0 ba7 com ihm
04 conexão logo! 0 ba7 com ihm
News 12 Sales Assistant Manual
Change and Transport System (CTS) in SAP
HACKS TO CRUSH PLC PROGRAM FAST & EFFICIENTLY EVERYTIME... : CODING, SIMULATI...
Co product costing master data
Getting started-guides-english
SATYAM_VERMA_PLC_REPORT.docx.pptx
Logo tutorial
Lsmw step by- step
Master data tool lsmw
Advance Computer Architecture
Satyanarayana fi notes
Sap fico satyanarayana material
Ad

More from Shivam Singh (6)

PDF
Control Valves
PPTX
OPC PPT
PPSX
Honeywell Experion HS
PPTX
Automation Networking By Shivam Singh
PPTX
Basic of MODBUS Communication/Protocol
PPTX
BASICS OF FIELDBUS
Control Valves
OPC PPT
Honeywell Experion HS
Automation Networking By Shivam Singh
Basic of MODBUS Communication/Protocol
BASICS OF FIELDBUS

Recently uploaded (20)

PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Current and future trends in Computer Vision.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Geodesy 1.pptx...............................................
PPTX
Artificial Intelligence
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
composite construction of structures.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Current and future trends in Computer Vision.pptx
Sustainable Sites - Green Building Construction
CH1 Production IntroductoryConcepts.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Foundation to blockchain - A guide to Blockchain Tech
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Geodesy 1.pptx...............................................
Artificial Intelligence
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Embodied AI: Ushering in the Next Era of Intelligent Systems
composite construction of structures.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Safety Seminar civil to be ensured for safe working.
Automation-in-Manufacturing-Chapter-Introduction.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
UNIT 4 Total Quality Management .pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...

Ladder logic on Soft-Master Honeywell PLC ML50

  • 1. HONEYWELL (ML-50 PLC) LADDER LOGIC PROGRAMMING ON SOFTMASTER SHIVAM SINGH +91-9971457422 shivamsingh0807@gmail.com Facebook: https://www.facebook.com/shivishrinet LinkedIn: https://www.linkedin.com/in/shivam-singh-46675439 Slideshare: https://www.slideshare.net/ShivamSingh59
  • 2. SHIVAM SINGH (+91-9971457422) Page | 1 CREATING NEW PROJECT IN SOFTMASTER  Open SoftMaster and a window will open like shown below.  Click on “Project” and select “New Project”. A window will open like shown below.  Write the name of your project in “Project Name”.  Select “ML-50” in PLC Series.
  • 3. SHIVAM SINGH (+91-9971457422) Page | 2  Select “CPU type” as “MLM-XBMS” if you are working with a “modular PLC” and Select “CPU type” as “MLM-XBCH” if you are working with “compact PLC”.  Select “OK” and a window will open like shown below.  This is the project window for ladder logic programming. HOW TO USE NO, NC AND COIL  First select a “NO”, place it at input side and you will get a window like shown below.  Provide a “variable name” to it and then click “OK”. You will get a screen.
  • 4. SHIVAM SINGH (+91-9971457422) Page | 3  Give it a physical address like “P0000”  Now select a “Coil”, place it at output side, provide variable name and give physical address “P0020”.  Using above steps, let’s create a simple program using a “NO” and “Coil” that looks something like shown below.  To write a “comment” double click on the leftmost cell.  To tell the softmaster where your programming is finished put “End Statement” at the end of the program. For that click on “F10” that will open a window like shown below.  Now type “END” at the instruction and then “OK”.
  • 5. SHIVAM SINGH (+91-9971457422) Page | 4  Now move to “Tools” and select “Start Simulator” to check your program.  We normally use “Simulator” when we are not working online i.e. with actual PLC and want to check our program.  Similarly we can use “NC” also, that works exactly opposite to “NO”. HOW TO CREATE LOGIC GATES USING LADDER LOGIC  Below shown are the logics for all the logic gates.
  • 6. SHIVAM SINGH (+91-9971457422) Page | 5 HOW TO CREATE PROGRAM FOR HOLDING & INTERLOCKING  Below is the programming for holding & interlocking.  Interlocking is also of two types: “Input Interlocking” if you are using an input for interlocking and “Output Interlocking” if you are using an output for interlocking. HOW TO USE MEMORY ADDRESSES IN PROGRAMMING  We use memory addresses in our programming when number of physical addresses available to us are less than we need for programming.  Let’s create a program for “PUSH BUTTON AS TOGGLE SWITCH” i.e. when you press the push button for first time, the output will “ON” and when press the same push button again, the output will “OFF”. Since you have only 2 physical addresses, one for input and other for output. So, here we use memory addresses to get desired output.  The number of memory address available in ML-50 is 5000.
  • 7. SHIVAM SINGH (+91-9971457422) Page | 6  In the above program we used output interlocking. HOW TO USE TIMERS IN ML-50  In ML-50, basically we have five timer: TON, TOFF, TMR, TMON, TRTG.  “TON” is “on delay timer”, “TOFF” is “off delay timer”, “TMR” is “retentive timer”, “TMON” is “monostable timer” and “TRTG” is “retriggerable timer”.  To use a timer, click on “F10” that will open a window screen.  Now move to the “category” section and select “timer/counter” and you’ll get the timers in the “instruction list” section.  Let’s create a program using a “TON” timer. Follow the steps as shown.  Click on “F10” and select “TON” timer.
  • 8. SHIVAM SINGH (+91-9971457422) Page | 7  Press “Enter” and “Give variable name to the timer” and then “OK”.  Give timer adress “T0000”. And then “OK”
  • 9. SHIVAM SINGH (+91-9971457422) Page | 8  Now give the timing value of timer and remember in ML-50 timer understands only in “ms” and 10ms=1s and then click on “OK”.  Note: There are 255 timers in ML-50.  Your program will something look like as shown below:  In same manner as shown above, one can create program for any timer.  Remember one thing that while using “TON” timer one must provide holding to its input so that it work properly.  Now create program for using “TON” Timer as “TOFF”
  • 10. SHIVAM SINGH (+91-9971457422) Page | 9 HOW TO USE COUNTERS IN ML-50  In ML-50, basically four counters are available CTU, CTD, CTUD and CTR.  “CTU” is “up-counter”, “CTD” is “down-counter”, “CTUD” is “up-down counter” and “CTR” is “reset counter”.  To use a counter in your program follow the steps same as that of timer.  Let’s create program using an up-counter i.e. “CTU” as shown below.  For counters we use addressing as “C000”
  • 11. SHIVAM SINGH (+91-9971457422) Page | 10  Your program will look something like shown below:  In same manner one can use any counter. HOW TO USE COMPARE BLOCKS  To use compare blocks like less than, greater than, less than equal to, greater than equal to etc. go to “F10” and follow steps as shown.  As you can see in the instruction column type the sign for comparison like <=, >=, =, >, < etc. follow by the address you want to compare like here is the address for timer “T000” and then enter its value to compare.  Let’s create program using compare blocks to make process continuous using single timer.
  • 12. SHIVAM SINGH (+91-9971457422) Page | 11 HOW TO USE MOVE INSTRUCTION  To use a “MOVE” function. Press “F10” and follow the steps as shown:  Type “MOV” in the instruction column.
  • 13. SHIVAM SINGH (+91-9971457422) Page | 12  Now give the address of the source data location and then destination where one wants to move data.  Your logic will be something like shown below: HOW TO USE ARITHMETIC AND CONVERSION INSTRUCTIONS  In ML-50, arithmetic instructions like ADD, SUB, DIV, MUL is used if you are working with Integer and RADD, RSUB, RDIV and RMUL is used if you are working with real integers.  In ML-50, conversion instruction like “I2R” is used to convert integer to real and similarly “ R2I” is used to convert real to integer.  To use arithmetic instructions or conversion instructions, click on “F10” and follow the instructions and follow as shown:
  • 14. SHIVAM SINGH (+91-9971457422) Page | 13  Here “M000” and “M001” are the addresses of the data to be added and “M003” is the address of the location where the added data is going to be saved. Your program will look something like as shown below:  Now, let’s create a program for scaling using arithmetic instructions and conversion instructions. The formula for Scaling is Y={(X-Xmin)(Ymax-Ymin)/(Xmax-Xmin)}+Ymin Where Y is final output X is value coming from field Ymax and Ymin is values provided by the client Xmax and Xmin is default values set through softmaster
  • 15. SHIVAM SINGH (+91-9971457422) Page | 14 HOW TO SET IO PARAMETERS BY SYSTEM ARCHITECTURE  Click on “IO PARAMETER” option in the project window as shown:
  • 16. SHIVAM SINGH (+91-9971457422) Page | 15  Now set the modules in I/O parameter setting as shown  Click on the slot “0main” and Select PLC you are working with.  Click on the slot 1 or slot 2 and select your DI or DO module accordingly.
  • 17. SHIVAM SINGH (+91-9971457422) Page | 16  Click on the slot 3 or slot 4 and select your AI or AO module accordingly.  Also select the communication module serial or ethernet if you are using it.  Select AI Module and click on “DETAILS”. Set the parameters as shown.
  • 18. SHIVAM SINGH (+91-9971457422) Page | 17  Now, select AO module and click on “DETAILS”. Set the parameters as shown  Click “OK” and then “YES” to register global variables as shown below.  Remember to set I/O parameters according to your system architecture. HOW TO CREATE MANUAL LOGIC .  To create a manual logic always remember to use memory addresses “M0000” if you are working with HMI and word addresses “D0000” if you are working with SCADA.  Below is the program for manual logic for DI/DO.
  • 19. SHIVAM SINGH (+91-9971457422) Page | 18  Manual logic for AI/AO with scaling.  As in AI and AO, addresses are already assigned by the softmaster, we only need to select them.