element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Arduino Remote Control Use On Allen Bradley PLC
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 390 subscribers
  • Views 275 views
  • Users 0 members are here
  • slc600
  • plc
  • remote control
  • slc5/04
  • slc5/05
  • home control
  • slc50/3
  • slc5/02
  • arduino
  • allen bradley
Related

Arduino Remote Control Use On Allen Bradley PLC

aabeckcontrols
aabeckcontrols over 7 years ago

I purchased on EBay a wireless 4 button remote control with 4 channel receiver for less than $5.00.

An example is here: https://www.ebay.com/itm/IC-2262-2272-4-CH-Key-Wireless-Remote-Control-315MHZ-Receiver-module-F-Arduino/182052405208?has…

 

I put a 5 volt voltage regulator on the 24VDC output of the PLC and wired the 4 outputs to an Allen Bradly TTL Sourcing input card. Since the receivers outputs are sourcing when high, the PLC see's all 4 inputs always on, so I check if only one of them goes off - then I know a button is pressed. I found that the receiver will respond to 2, 3, or all 4 buttons pressed at the same time, so I wrote in some logic to ignore if more than one is on, and reset any mode if 2 or more are held on for a few seconds.

 

My first version of the program I controlled 4 outlets on a power strip I rewired to individually controlled outlets (every power strip I buy I look on the back to make sure it is assembled with screws and not welded together so I can modify the hot side)

 

After controlling 4 things for a while I worked out a way to have the 4 buttons set 1 of 4 modes, then after the button is released the 4 buttons perform 4 separate functions In that mode - for a total now of 16 items controlled. Having 4 modes now is why I reset if I hold 2 or more buttons on together - to select a different mode. Also, any mode selected will time out after 12 seconds of no button press automatically.

 

Right now the setup is in my home office on a SLC5/05 controlling a floor lamp, a desk lamp, a LED computer fan, and a laser star projector to light up the ceiling  (had an unused controlled outlet and it was nearby). The floor lamp is in "Security Mode" in which it turns on every night, but when it turns on it changes a pointer that changes the minute of he hour it turns off, and when it turns off it changes the start minute the next day - that way the on and off times are varied throughout the hour and don't appear like they are timer controlled. The remote control is set up to toggle the security mode, turn the light on for 1 hour when it is off if wanted, and turn the light off during the security time if not wanted. Of the 16 controls possible I only have 9 of them used as of now.

 

Message was edited by: Gregory Innes Fixed a couple of typo's

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube