SlideShare a Scribd company logo
1 of 11
Download to read offline
Technical Manual
                                  Omron

                                 An introductory guide




                    Note: A lot of effort went in to preparing this guide
                So use it as you deem fit but remember to credit the author.




Date        :         March 2012
Prepared by :         Sanjay AJ
                      Dept of Electrical and Electronics Engineering
                      Class of 2012 - Velammal Engineering College
Contents
Omron Addressing............................................................................... 3

OMRON PLC’s ...................................................................................... 4

  CP1E ................................................................................................. 5

     SIMULATION:................................................................................. 5

Common ladder programming blocks ................................................. 6

Interfacing PLC with SCADA............................................................... 10

     Monitoring PLC with SCADA ........................................................ 10

     Control of PLC by SCADA ............................................................. 10
Omron Addressing

Input
0.0 , 0.01, ...... 0.11
1.0 , 1.01, ...... 1.05

Output
100.00, 100.01,............ 100.07
101.00, 101.01,.... 101.03

Memory
2.00, 2.01, ..... 2.11
3.00, 3.01, ......3.11
.
.
.
.
.
.
99.0, 99.1 ,......... 99.11

Timer
Addresses available from 0 to 255

-Syntax:
   TIM<space> ADDRESS<space> #TIMEDELAY


Counter
Addresses available from 0 to 255

-Syntax:
   CNT<space> ADDRESS<space> #NO.OFCOUNTS



UDCounter
Addresses available from 0 to 255

-Syntax:
   CNTR<space> ADDRESS<space> #NO.OFCOUNTS
Jump
Addresses available from 0 to 78

-Syntax:
   JMP<space># ADDRESS
   JME<space># ADDRESS


Subroutine
Addresses available from 0 to 124

-Syntax:
   SBS<space># ADDRESS
   SBN<space># ADDRESS
   RET




                                    OMRON PLC’s

     Let us consider the models– CP1E and CPM2A.


     Model no. CP1E
     18 I/P’s 12 O/P’s
     Programming software: CX programmer for CP1E (ver 1.0)
     Communication cable: USB Communication cable


     Model no. CPM2A [No simulation available  only Online
     mode]
     24 I/P’s 16 O/P’s
     Programming software: CX programmer (ver 6.0)
     Communication cable: RS-232
CP1E
   File New
   -Ladder programming is done between Phase rail and Neutral Rail
   -Device name and comments are arbitrary
   -Rung no. and element no. are displayed on the phase rail side




   The addressing is done as 0.00 for input where 0 is the channel and 00 refers to
   output address
   And for output 100.00 , 100 is the channel and 00 refers to output address




SIMULATION:
   Simulation Simulation Start (or use Ctrl+Shift+W)
Common ladder programming blocks

Timer:
-Use New Instruction block to include the timer syntax and create timer block
- Timer switch must be denoted as switch for example as ‘T1’ during programming.




This example illustrates that the load switches off after a certain delay after the switch s1 turns off.
      Timer syntax: TIM 1 #50 where #50 denotes 5 seconds (hence always in multiples of 10)




Counter:
The following counter is an UpCounter i.e it counts from max count to min(0) and
enables the switch

To use it as a DOWN COUNTER replace the counter contact N.O with an N.C




1. Create New Instruction block

2. Input syntax:   CNT 000 #5      (where 5 is the count; 000-255 is the list of available addresses)

3. Give RESET contact

4. Then proceed to next rung for placing counter contact (switch). Use C<followed by counter address>
to denote it.
-Reversible Counter/ Up-Down Counter:




      Has both Up counter and down counter.

      Similar to counter except syntax begins with CNTR




       Exercise:

       Start, with push button ON

       After 10 Count, LOAD ON

       Same sensor after another 10 count LOAD OFF




Here, C000 switch is also used as reset so same sensor used for counting/switching Load ON can be
used for counting again and switching Load OFF.
Jump:
-for skipping problems in process loop




- In above example, if JMP is not ON, then L3 and L4 will not work like as it was meant to.
Using Subroutines:
-for skipping processes/branching to different set of processes

Syntax: SBS #0

Here, SBS is instruction and 0 is address

       Insert New section (for creating new subpages i.e. other routines)

       Place SBN instruction in section 2 then end the subprogram with RET




Subroutine:




For L_sub to function properly, the SBS in section1 must be ON.
Interfacing PLC with SCADA
      In Omron,
      PLC work Online
      PLC  Transfer PC to PLC


      - I/O drivers are required for interfacing SCADA to PLC
      Eg: In this case, it is OMRON HL (Host Link)




Monitoring PLC with SCADA
      Tag Type: I/O discrete
      Application Name (I/O Driver name): Omron Host Link


In Tag name dictionary,
1. Type: I/O discrete
2. Click Access
Type name: New (as entered in OMRON HL)
Select DDE
3. Enter Item (Channel name and address):
5 digits are required in item  so add ‘o’ s before channel name.
For example: for 2.00, input item as 00200



Control of PLC by SCADA
      Tag Type: I/O discrete
      Application Name (I/O Driver name): Omron Host Link


      - OR memory with switches to be indicated in SCADA and used for controlling
      - Then define in Intouch under type: I/O Discrete with item number for eg: 00200
Document provided for educational purposes only. Author allows free distribution and
  non-profit use of this document in educational settings.
  Cite your sources.




Sanjay AJ
                                              Digitally signed by Sanjay AJ
                                              DN: cn=Sanjay AJ, o, ou,
                                              email=sanjayaj@ieee.org, c=IN
                                              Date: 2012.09.25 11:00:49 +05'30'

More Related Content

What's hot

Basic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixProBasic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixProbkhairullah
 
Pe 3231 week 15 18 plc
Pe 3231 week 15 18  plcPe 3231 week 15 18  plc
Pe 3231 week 15 18 plcCharlton Inao
 
Ladder Intro Tutorial
Ladder Intro TutorialLadder Intro Tutorial
Ladder Intro Tutorialplc_course
 
Introduction to automation
Introduction to automationIntroduction to automation
Introduction to automationValai Ganesh
 
8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED CAman Sharma
 
Programmable Logic Controllers
Programmable Logic ControllersProgrammable Logic Controllers
Programmable Logic ControllersAnchit Walia
 
Lập trình plc delta
Lập trình plc deltaLập trình plc delta
Lập trình plc deltaphuonghnt
 
105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studio105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studioTùng Nguyễn
 
Embedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 CourseEmbedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 CourseFastBit Embedded Brain Academy
 
05 analog control_sp15
05 analog control_sp1505 analog control_sp15
05 analog control_sp15John Todora
 
PROGRAMMABLE LOGIC CONTROLLERS
PROGRAMMABLE LOGIC CONTROLLERSPROGRAMMABLE LOGIC CONTROLLERS
PROGRAMMABLE LOGIC CONTROLLERSRAHUL DESHMUKH
 

What's hot (20)

Basic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixProBasic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixPro
 
Pe 3231 week 15 18 plc
Pe 3231 week 15 18  plcPe 3231 week 15 18  plc
Pe 3231 week 15 18 plc
 
Ladder Intro Tutorial
Ladder Intro TutorialLadder Intro Tutorial
Ladder Intro Tutorial
 
PLC Basics
PLC BasicsPLC Basics
PLC Basics
 
Ladder
LadderLadder
Ladder
 
Vt training plc_1
Vt training plc_1Vt training plc_1
Vt training plc_1
 
Chapter 4 plc
Chapter 4 plcChapter 4 plc
Chapter 4 plc
 
Allen bradley
Allen bradleyAllen bradley
Allen bradley
 
Introduction to automation
Introduction to automationIntroduction to automation
Introduction to automation
 
8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C
 
Cp1 e introduction manual
Cp1 e introduction manualCp1 e introduction manual
Cp1 e introduction manual
 
Ab PLC Cables Drivers Sample
Ab PLC Cables Drivers SampleAb PLC Cables Drivers Sample
Ab PLC Cables Drivers Sample
 
Programmable Logic Controllers
Programmable Logic ControllersProgrammable Logic Controllers
Programmable Logic Controllers
 
Plc timers
Plc timersPlc timers
Plc timers
 
Lập trình plc delta
Lập trình plc deltaLập trình plc delta
Lập trình plc delta
 
Plc
PlcPlc
Plc
 
105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studio105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studio
 
Embedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 CourseEmbedded System Programming on ARM Cortex M3 and M4 Course
Embedded System Programming on ARM Cortex M3 and M4 Course
 
05 analog control_sp15
05 analog control_sp1505 analog control_sp15
05 analog control_sp15
 
PROGRAMMABLE LOGIC CONTROLLERS
PROGRAMMABLE LOGIC CONTROLLERSPROGRAMMABLE LOGIC CONTROLLERS
PROGRAMMABLE LOGIC CONTROLLERS
 

Similar to Technical Manual: Omron PLC Programming Guide

SATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxSATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxsatyamVerma186725
 
Advanced insrumentation lab manual
Advanced insrumentation lab manualAdvanced insrumentation lab manual
Advanced insrumentation lab manualGautam sai teza
 
ELE2303 Assign 1 Page 1 ELE2303 Embedded Systems Design.docx
ELE2303 Assign 1  Page  1 ELE2303 Embedded Systems Design.docxELE2303 Assign 1  Page  1 ELE2303 Embedded Systems Design.docx
ELE2303 Assign 1 Page 1 ELE2303 Embedded Systems Design.docxjack60216
 
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
CSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docxCSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docx
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docxfaithxdunce63732
 
Electronic Workbench - R.D.Sivakumar
Electronic Workbench - R.D.SivakumarElectronic Workbench - R.D.Sivakumar
Electronic Workbench - R.D.SivakumarSivakumar R D .
 
Criterion Unacceptable Minimum Satisfactory Excellent Weight.docx
Criterion Unacceptable Minimum Satisfactory Excellent Weight.docxCriterion Unacceptable Minimum Satisfactory Excellent Weight.docx
Criterion Unacceptable Minimum Satisfactory Excellent Weight.docxfaithxdunce63732
 
Computer architecture
Computer architectureComputer architecture
Computer architectureneclinux
 
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...Geon-Hong Kim
 
Introduction to Embedded C for 8051 and Implementation of Timer and Interrupt...
Introduction to Embedded C for 8051 and Implementation of Timer and Interrupt...Introduction to Embedded C for 8051 and Implementation of Timer and Interrupt...
Introduction to Embedded C for 8051 and Implementation of Timer and Interrupt...Sivaranjan Goswami
 
Bti1022 lab sheet 6
Bti1022 lab sheet 6Bti1022 lab sheet 6
Bti1022 lab sheet 6alish sha
 
Paper id 24201495
Paper id 24201495Paper id 24201495
Paper id 24201495IJRAT
 
16 mt6201 industrial automation and control qb
16 mt6201 industrial automation and control qb16 mt6201 industrial automation and control qb
16 mt6201 industrial automation and control qbSindhuS68
 
Implementing a Digital Stopwatch Using Basic Stamp2
Implementing a Digital Stopwatch Using Basic Stamp2Implementing a Digital Stopwatch Using Basic Stamp2
Implementing a Digital Stopwatch Using Basic Stamp2Vijay Elavunkal
 

Similar to Technical Manual: Omron PLC Programming Guide (20)

SATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptxSATYAM_VERMA_PLC_REPORT.docx.pptx
SATYAM_VERMA_PLC_REPORT.docx.pptx
 
Advanced insrumentation lab manual
Advanced insrumentation lab manualAdvanced insrumentation lab manual
Advanced insrumentation lab manual
 
Project Report
Project ReportProject Report
Project Report
 
ELE2303 Assign 1 Page 1 ELE2303 Embedded Systems Design.docx
ELE2303 Assign 1  Page  1 ELE2303 Embedded Systems Design.docxELE2303 Assign 1  Page  1 ELE2303 Embedded Systems Design.docx
ELE2303 Assign 1 Page 1 ELE2303 Embedded Systems Design.docx
 
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
CSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docxCSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docx
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
 
Tutorial ic design
Tutorial ic designTutorial ic design
Tutorial ic design
 
Lab4 s1
Lab4 s1Lab4 s1
Lab4 s1
 
Electronic Workbench - R.D.Sivakumar
Electronic Workbench - R.D.SivakumarElectronic Workbench - R.D.Sivakumar
Electronic Workbench - R.D.Sivakumar
 
Criterion Unacceptable Minimum Satisfactory Excellent Weight.docx
Criterion Unacceptable Minimum Satisfactory Excellent Weight.docxCriterion Unacceptable Minimum Satisfactory Excellent Weight.docx
Criterion Unacceptable Minimum Satisfactory Excellent Weight.docx
 
Unit 1
Unit 1Unit 1
Unit 1
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Lab5 s1
Lab5 s1Lab5 s1
Lab5 s1
 
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...
 
Introduction to Embedded C for 8051 and Implementation of Timer and Interrupt...
Introduction to Embedded C for 8051 and Implementation of Timer and Interrupt...Introduction to Embedded C for 8051 and Implementation of Timer and Interrupt...
Introduction to Embedded C for 8051 and Implementation of Timer and Interrupt...
 
Plc ppt
Plc pptPlc ppt
Plc ppt
 
Bti1022 lab sheet 6
Bti1022 lab sheet 6Bti1022 lab sheet 6
Bti1022 lab sheet 6
 
Lab5 s1
Lab5 s1Lab5 s1
Lab5 s1
 
Paper id 24201495
Paper id 24201495Paper id 24201495
Paper id 24201495
 
16 mt6201 industrial automation and control qb
16 mt6201 industrial automation and control qb16 mt6201 industrial automation and control qb
16 mt6201 industrial automation and control qb
 
Implementing a Digital Stopwatch Using Basic Stamp2
Implementing a Digital Stopwatch Using Basic Stamp2Implementing a Digital Stopwatch Using Basic Stamp2
Implementing a Digital Stopwatch Using Basic Stamp2
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 

Technical Manual: Omron PLC Programming Guide

  • 1. Technical Manual Omron An introductory guide Note: A lot of effort went in to preparing this guide So use it as you deem fit but remember to credit the author. Date : March 2012 Prepared by : Sanjay AJ Dept of Electrical and Electronics Engineering Class of 2012 - Velammal Engineering College
  • 2. Contents Omron Addressing............................................................................... 3 OMRON PLC’s ...................................................................................... 4 CP1E ................................................................................................. 5 SIMULATION:................................................................................. 5 Common ladder programming blocks ................................................. 6 Interfacing PLC with SCADA............................................................... 10 Monitoring PLC with SCADA ........................................................ 10 Control of PLC by SCADA ............................................................. 10
  • 3. Omron Addressing Input 0.0 , 0.01, ...... 0.11 1.0 , 1.01, ...... 1.05 Output 100.00, 100.01,............ 100.07 101.00, 101.01,.... 101.03 Memory 2.00, 2.01, ..... 2.11 3.00, 3.01, ......3.11 . . . . . . 99.0, 99.1 ,......... 99.11 Timer Addresses available from 0 to 255 -Syntax: TIM<space> ADDRESS<space> #TIMEDELAY Counter Addresses available from 0 to 255 -Syntax: CNT<space> ADDRESS<space> #NO.OFCOUNTS UDCounter Addresses available from 0 to 255 -Syntax: CNTR<space> ADDRESS<space> #NO.OFCOUNTS
  • 4. Jump Addresses available from 0 to 78 -Syntax: JMP<space># ADDRESS JME<space># ADDRESS Subroutine Addresses available from 0 to 124 -Syntax: SBS<space># ADDRESS SBN<space># ADDRESS RET OMRON PLC’s Let us consider the models– CP1E and CPM2A. Model no. CP1E 18 I/P’s 12 O/P’s Programming software: CX programmer for CP1E (ver 1.0) Communication cable: USB Communication cable Model no. CPM2A [No simulation available  only Online mode] 24 I/P’s 16 O/P’s Programming software: CX programmer (ver 6.0) Communication cable: RS-232
  • 5. CP1E File New -Ladder programming is done between Phase rail and Neutral Rail -Device name and comments are arbitrary -Rung no. and element no. are displayed on the phase rail side The addressing is done as 0.00 for input where 0 is the channel and 00 refers to output address And for output 100.00 , 100 is the channel and 00 refers to output address SIMULATION: Simulation Simulation Start (or use Ctrl+Shift+W)
  • 6. Common ladder programming blocks Timer: -Use New Instruction block to include the timer syntax and create timer block - Timer switch must be denoted as switch for example as ‘T1’ during programming. This example illustrates that the load switches off after a certain delay after the switch s1 turns off. Timer syntax: TIM 1 #50 where #50 denotes 5 seconds (hence always in multiples of 10) Counter: The following counter is an UpCounter i.e it counts from max count to min(0) and enables the switch To use it as a DOWN COUNTER replace the counter contact N.O with an N.C 1. Create New Instruction block 2. Input syntax: CNT 000 #5 (where 5 is the count; 000-255 is the list of available addresses) 3. Give RESET contact 4. Then proceed to next rung for placing counter contact (switch). Use C<followed by counter address> to denote it.
  • 7. -Reversible Counter/ Up-Down Counter:  Has both Up counter and down counter.  Similar to counter except syntax begins with CNTR Exercise: Start, with push button ON After 10 Count, LOAD ON Same sensor after another 10 count LOAD OFF Here, C000 switch is also used as reset so same sensor used for counting/switching Load ON can be used for counting again and switching Load OFF.
  • 8. Jump: -for skipping problems in process loop - In above example, if JMP is not ON, then L3 and L4 will not work like as it was meant to.
  • 9. Using Subroutines: -for skipping processes/branching to different set of processes Syntax: SBS #0 Here, SBS is instruction and 0 is address  Insert New section (for creating new subpages i.e. other routines)  Place SBN instruction in section 2 then end the subprogram with RET Subroutine: For L_sub to function properly, the SBS in section1 must be ON.
  • 10. Interfacing PLC with SCADA In Omron, PLC work Online PLC  Transfer PC to PLC - I/O drivers are required for interfacing SCADA to PLC Eg: In this case, it is OMRON HL (Host Link) Monitoring PLC with SCADA Tag Type: I/O discrete Application Name (I/O Driver name): Omron Host Link In Tag name dictionary, 1. Type: I/O discrete 2. Click Access Type name: New (as entered in OMRON HL) Select DDE 3. Enter Item (Channel name and address): 5 digits are required in item  so add ‘o’ s before channel name. For example: for 2.00, input item as 00200 Control of PLC by SCADA Tag Type: I/O discrete Application Name (I/O Driver name): Omron Host Link - OR memory with switches to be indicated in SCADA and used for controlling - Then define in Intouch under type: I/O Discrete with item number for eg: 00200
  • 11. Document provided for educational purposes only. Author allows free distribution and non-profit use of this document in educational settings. Cite your sources. Sanjay AJ Digitally signed by Sanjay AJ DN: cn=Sanjay AJ, o, ou, email=sanjayaj@ieee.org, c=IN Date: 2012.09.25 11:00:49 +05'30'