PLC in eLua for ESP8266/3212

0 Credits

sauve.zip

Login for download
Category:

Description

From a “graphic” simulation tool, I want to run this program in a real machine who use program in Lua (elua NodeMCU on ESP8266/ESP3212 to be precise).
Only for basic automations.

  • Free
  • Very simple
  • <10
  • LTspice
  • XVII
  • No
  • I discovered with pleasure youspice.
    And I propose you an idea.
    From a "graphic" simulation tool, I want to run this program in a real machine who use program in Lua (elua NodeMCU on ESP8266/ESP3212 to be precise).
    Only for basic automations.

    For example, the "And" shown in the image above should produce the following code Elua:
    gpio.write (out1, (gpio.read (in1)) and (gpio.read (in2)))
    by calling in1 and in2 the two input and out1 the output.
    So I see two way for doing this translation:
    First way is a "file translator" who read the backup XML file (or other format), extract the information purely "logical" (the process) and rewrite them as Lua script as
    [gpio.write (out1, (gpio.read (in1)) and (gpio.read (in2))) ] for our example.

    Second way : adding code into spice software, creating a new feature that would make him generate a "text file" in Lua script ( in addition to his usual backup file).

    Best regards

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.