Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Doll Claw Machine using Omron PLC Programming
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Doll Claw Machine using Omron PLC Programming

Doll Claw Machine using Omron PLC Programming

Learn to program a doll claw machine with Omron PLC featuring step-by-step instructions for creating an engaging arcade game.

Last updated: July 1, 2024 3:31 pm
Editorial Staff
PLC Tutorials
No Comments
Share
9 Min Read
SHARE

The Doll Claw Program has 7 main buttons, the START button (0.00) is used to Turn ON the system, the STOP button (0.01) is used to Reset the “Doll Claw” to the initial position, the UP button (0.02) is used to move the “Doll Claw” towards Up.

Contents
Doll Claw MachineIO DetailsPLC Programming

The DOWN (0.03) button is used to move the “Doll Claw” Downwards, the LEFT (0.04) button is used to move the “Doll Claw” to the Left, the RIGHT button (0.05) is used to move the “Doll Claw” to the Right, and CLAW (0.08) is used to turn ON Out_CLAW (100.04).

Doll Claw Machine

Doll Claw Machine using Omron PLC Programming
Claw Machine PLC System

When the system is not Running, the Memory Word SEQUENCE (D0) will have a value of zero ‘0’ and the “Doll Claw” can only be moved Up and Down. The starting position of “Doll Claw” is on the Left.

When the START (0.00) button is pressed, the Memory Word SEQUENCE (D0) will have the value ‘1’. In this situation, the “Doll Claw” can be moved Up, Down, Left, And Right. When the CLAW (0.08) button is Pressed, IR_CLAW_CLOSE (W0.09) will be ON and OUT_CLAW (100.04) will be Active.

When the CLAW (0.08) button is Pressed, TIMER_GAME_END (T0000) will start counting up to ‘5’ seconds. TIMER_GAME_END (T0000) which is ON changes the value in Memory Word SEQUENCE (D0) to ‘2’, then the “Doll Claw” will move Up and will Stop when Sensor LS2 (0.06) becomes ON. Next, the “Doll Claw” moves to the Left towards the starting position and will Stop when the LS1 (0.07) sensor becomes ON.

Because “Doll Claw” has returned to its initial position, Out_CLAW (100.04) will be OFF and the Memory Word SEQUENCE (D0) will have a zero value of ‘0’.

IO Details

Addressing Input, Output, TIM, Bit Memory, and Word Memory details are as follows.

CommentInput (I)Output(Q)Memory WordMemory BitsTimer
START0.00    
STOP0.01    
UP0.02    
DOWN0.03    
LEFT0.04    
RIGHT0.05    
LS10.06    
LS20.07    
CLAW0.08    
OUT_UP 100.00   
OUT_DOWN 100.01   
OUT_LEFTR 100.02   
OUT_RIGHT 100.03   
OUT_CLAW 100.04   
IR_UP0   W0.00 
IR_DOWN0   W0.01 
IR_UP1   W0.02 
IR_DOWN1   W0.03 
IR_LEFT1   W0.04 
IR_RIGHT1   W0.05 
IR_TIMER   W0.06 
IR_UP2   W0.07 
IR_LEFT2   W0.08 
IR_CLAW_CLOSE   W0.09 
IR_CLAW_OPEN   W0.10 
SEQUENCE  D0  
TIMER_GAME_END    T0000

PLC Programming

Rung 0

When the START (0.00) button is pressed, the MOV Instruction will move the value ‘1’ to the Memory Word SEQUENCE (D0), so that SEQUENCE (D0) becomes the value ‘1’.

How to Code Your Own Claw Machine

RUNG 1

When the STOP (0.01) button is pressed, the MOV Instruction will move the value ‘2’ to the Memory Word SEQUENCE (D0), so that SEQUENCE (D0) becomes the value ‘2’.

PLC ladder code for building a claw

RUNG 2

In this Rung, when the Memory Word SEQUENCE (D0) is equal to ‘0’ then the system can be Run. When the UP (0.02) button is pressed, the Bit Memory IR_UP0 (W0.00) will be ON and when the DOWN (0.03) button is pressed, the Bit Memory IR_DOWN0 (W0.01) will be ON.

Due to the interlock of the UP (0.02) button and DOWN (0.03) button, the Bit Memory IR_UP0 (W0.00) and IR_DOWN0 (W0.01) cannot be ON at the same time.

Claw Machine PLC Programming

RUNG 3

In this Rung, the system can only be Run when the Memory Word SEQUENCE (D0) has a value equal to ‘1’.

When the UP (0.02) button is pressed then the Bit Memory IR_UP1 (W0.02) will be ON and when the DOWN (0.03) button is pressed then the Bit Memory IR_DOWN1 (W0.03) will be ON.

When the LEFT (0.04) button is pressed then the Bit Memory IR_LEFT1 (W0.04) will be ON and when the RIGHT (0.05) button is pressed then the Bit Memory IR_RIGHT1(W0.05) will be ON. IR_CLAW_CLOSE (W0.09) will be ON when the CLAW (0.08) button is Pressed.

RUNG 4

In this Rung, when the CLAW (0.08) button is pressed, the Bit Memory IR_TIMER (W0.06) will be ON, and TIMER_GAME_END (T0000) will start counting up to ‘5’ seconds. Once TIMER_GAME_END (T0000) reaches ‘Set value’ then the Bit Memory IR_TIMER (W0.06) becomes OFF.

Toy Machine PLC Program

RUNG 5

When the NO (Normally Open) TIMER_GAME_END (T0000) contact is ON, the MOV Instruction will move the value ‘2’ to the Memory Word SEQUENCE (D0), so that SEQUENCE (D0) changes to the value ‘2’.

RUNG 6

When the Memory Word SEQUENCE (D0) is equal to ‘2’ then the Memory Bit IR_UP2(W0.07) will be ON. Bit Memory IR_UP2 (W0.07) will be OFF when the NC (Normally Close) contact of Sensor LS2 (0.06) changes to the HIGH state.

RUNG 7

When the Memory Word SEQUENCE (D0) is equal to ‘2’ and contact NO (Normally Open) Sensor LS2 (0.06) has been in a HIGH state then the Memory Bit IR_LEFT2 (W0.08) will be ON. Memory Bit IR_ LEFT2 (W0.08) will be OFF when NC (Normally Close) contact Sensor LS1 (0.07) changed to HIGH state.

Doll Machine Logic

RUNG 8

When the Memory Word SEQUENCE (D0) is equal to ‘2’ and contact NO (Normally Open) Sensor LS1 (0.07) in the HIGH state then the Memory Bit IR_CLAW_OPEN (W0.10) will be ON and change the Memory Word SEQUENCE (D0) to ‘0’ using the MOV instruction.

RUNG 9

Coil Output OUT_UP (100.00) will be ON when contact NO (Normally Open) of IR_UP0 (W0.00) or IR_UP1 (W0.02) or IR_UP2 (W0.07) in HIGH state.

OMRON PLC EXAMPLES

RUNG 10

Coil Output OUT_DOWN (100.01) will be ON when contact NO (Normally Open) of IR_DOWN0 (W0.01) or IR_DOWN1 (W0.03) in the HIGH state.

RUNG 11

Coil Output OUT_LEFT (100.02) will be ON when contact NO (Normally Open) of IR_LEFT1 (W0.04) or IR_LEFT2 (W0.08) in the HIGH state.

RUNG 12

Coil Output OUT_RIGHT (100.03) will be ON when the NO (Normally Open) contact of IR_RIGHT1 (W0.05) is HIGH.

RUNG 13

Coil Output OUT_CLAW (100.04) will be ON when contact NO (Normally Open) IR_CLAW_CLOSE (W0.09) is in a HIGH state. Because using Latching Coil Output OUT_CLAW (100.04) will remain ON even though Contact NO (Normally Open) IR_CLAW_CLOSE (W0.09) has changed to LOW state. Coil Output OUT_CLAW (100.04) will be OFF when NC (Normally Close) contact IR_CLAW_OPEN (W0.10) turns into a HIGH state.

If you liked this article, please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Real-Time Clock in Omron PLC?
  • Light ON OFF Control using PLC Programming
  • Water Pump PLC Program using CX-Programmer
  • Motion Detection based Street Light PLC Logic
  • Car Parking System with Calculations in PLC Logic
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

Introduction to PLC Ladder Diagrams
Count and Pack Objects from Conveyor using PLC Ladder Logic
Control Two Motors in Sequence after Time Delay – Circuit, Operation
Instrumentation System Architecture
Automatic Motor Forward and Reverse Control using Timer
Communication Processor Module in Siemens PLC
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

#5 PLC Best Practices – Cryptographic and Checksum Integrity Checks
How to Troubleshoot Siemens PLC Programs?
What is a GSD File and Why it is required?
Produced Tags and Consumed Tags in Studio 5000
Allen Bradley SLC 500 PLC Programming
Retentive ON Delay Timer using PLC
Step by Step Guidelines to Download Free Robotics Software
Types of Failures in Industrial Automation Systems

Keep Learning

Address Overlapping in Tia Portal

How to Check Address Overlapping in Tia Portal?

PLC Programming for Train Detection and Gate Operation

PLC Programming for Train Detection and Gate Operation

Ladder Diagram circuit

PLC Practice Questions

PLC program pushbutton switches

PLC Permissive for Motor Control

PLC Automation for Product Weighing and Labeling

PLC Controlled Conveyor and Weighing with Labeling Automation

Redundant Power Supply

How Does Redundant Power Supply Work?

PLC Program with 2 Toggle Switches and 4 Motors

PLC Program with 2 Toggle Switches and 4 Motors

Database in Siemens PLC

Steps to Configure TCP/IP Communication in Siemens S7-1200 PLC

Learn More

Non‐contact RADAR Level Transmitter Pulse

Non Contact RADAR Level Transmitter Principle, Limitations, Design, Installation and Calibration

High-Speed and Fast Counters in PLC

What are High-Speed Counters and Fast Counters in PLC?

Liapunov’s Stability Analysis

Liapunov’s Stability Criterion – Part II

BP Refinery Explosion

Learnings from the BP Refinery Explosion at Texas City

P&ID arrangement for Control Valves

P&ID Guidelines for Control Valves

Sox Nox Analyzer

Sox Nox Analyzer

Working of Air Compressor

Working of Air Compressor – Types – Control Techniques

Power Supply Sizing for Industrial Automation Systems

Power Supply Sizing for Industrial Automation Systems

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?