element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
On the Line
  • Challenges & Projects
  • Design Challenges
  • On the Line
  • More
  • Cancel
On the Line
Forum On The Line Challenge accepted!
  • News
  • Projects
  • Forum
  • DC
  • Leaderboard
  • Files
  • Members
  • More
  • Cancel
  • New
Join On the Line to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 32 subscribers
  • Views 24 views
  • Users 0 members are here
  • design challenge
  • on-the-line
  • programming
  • industrial automation
  • arduino
Related

On The Line Challenge accepted!

SensoredHacker0
SensoredHacker0 1 day ago

My On The Line Challenge submission was to create an Arduino operating as a PLC protocol server. 

The implications of this are endless. To name a few:
integration without vendor lock in. 

Access to all the arduino software and hardware, with existing PLC infrastructure. 

What Im not doing:

Formulating a ladder compatible language, or reverse engineering the plc compiled instructions. 

What I am doing:

Implementing Control code protocol and formatting. I happen to use regularly, and own IDEC FC-series PLCs, so I am using those. I see no reason that the methods I will implement would not work on any other platform, if the proper memory mappings are provided.

How its going so far:
well I calculated the system requirement to implement the code, I want to write, which is atleast 42KB, which kinda puts a damper on compatibility with all Arduino platforms, but this is only if I implement 16 bit address space from 0000-9999 with both general and had I not been nominated to this event, I would be running on a teensy 4.1 or a Feather S3D esp32 based chip. These are arduino compatible devices. 
I am planing on implementing the protocols via network interfaces, and usb serial. 

Many folks see documentation as optional, or the thing you do at the end of a project. For myself, documentation helps me think the process, and remember what I was thinking, so I frequently start it before even doing a project. 

Well, I have a wide array of data, functional projects, and implementations client side. This means I can control PLCs, via my Linux desktop, arduinos, my phone, a website... or whatever.  I've wanted to implement a server for a while, and this project is the perfect opportunity to do just that. 

adding SPI, CAN, or i2C devices too a plc, which does not have its own implementation of those protocols is a pain. So the plan is to use the arduino to interface with the hardware busses, and return registers to the PLC via a custom Maintenance protocol implementation.

as an implementation of my other projects in this ecosystem, I have included my developmental files here:

https://github.com/Makerspace-Bangor/fc6a/tree/main/examples/OnTheLine

which as of writing are a document about the project, and an HMI (client device) interface for performing the monitoring. of an arduino acting as a PLC command server. 

The plan is to do a basic implementation with just a couple registers, to make sure I can establish, and maintain communication without generating errors.  Then, assuming that goes well, Ill dive right into interfacing devices on different buses. 

  • 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 © 2026 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