+ Reply to Thread
Results 1 to 2 of 2

what tools (if any) could I use to program a logic control scheme graphically

  1. #1
    Registered User
    Join Date
    02-27-2020
    Location
    Naples, FL
    MS-Off Ver
    2013
    Posts
    0

    what tools (if any) could I use to program a logic control scheme graphically

    Hi, Mike Francis, new member.

    I've had a long career in Automation, and Process Controls, so have been using PLC's (Programmable Logic Controllers) for many years.
    Now that a PC (in the form of the Raspberry Pi) costs less than a good bottle of wine, it occurred to me that Excel - with it's Math and Logic capabilities - could well be used for real-time, real-world control. I/O (Inputs/Outputs) is available for PC based platforms from Opto 22 (Digital / Analog and Bus based).

    However, Excel would do a lousy job in the area of programming the logic - PLC's tend to use Ladder Logic, or Flowchart Based, or GRAFCET based languages. Ladder logic is familiar to Electrical Engineers, as it emulates (in its very basic form) relay logic. That graphical representation makes a PLC very easy to program.

    So.... what tools (if any) could I use to program a logic control scheme graphically, that could then be 'compiled' in to a format that Excel could execute in real time?

    And what tools are available for Excel to communicate with real world I/O?

    And before anyone says 'Why?' (because I know someone will), this is purely a out of curiosity.

    Thanks !
    Last edited by Pepe Le Mokko; 02-28-2020 at 03:30 AM. Reason: New title - Moved to Water Cooler

  2. #2
    Forum Contributor Gregor y's Avatar
    Join Date
    10-24-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2010 32-Bit
    Posts
    276

    Re: what tools (if any) could I use to program a logic control scheme graphically

    Excel's VBA ties directly into Window's COM, you can make a DLL, register it(or not) in Windows, and then reference it in the VBA project with events and all. That's likely going to be as close to the bare-metal IO as you're going to get with VBA.
    If it'd make you feel better using my answer because of my street cred, then you can go ahead and click Add Reputation below to improve it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel Automation
    By yatindatta in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-01-2018, 12:53 PM
  2. Excel VBA - IE Automation
    By mt97700 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2014, 01:21 AM
  3. excel automation
    By scottich in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2013, 06:21 AM
  4. Excel automation
    By arnab0711 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-29-2009, 11:13 AM
  5. Excel Automation
    By Patronedheart in forum Excel General
    Replies: 5
    Last Post: 08-06-2009, 12:23 AM
  6. Excel automation
    By BlueFortyTwo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-15-2007, 03:14 PM
  7. [SOLVED] Excel Automation using .NET
    By Suman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2005, 08:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1