Distributed PLC

My interest in programmable controllers and microprocessors dates back to my student life in the 90’s. Recently I started playing with NodeMCU and its eLua based firmware for the ESP8266 WiFi SOC from Espressif. The idea of a distributed plc has been lingering ever since I connected a AT 2313 to a nrf905.

This should be easy, the plc language should support something like

temp_outside = garage_node.AI001

or

if ( garage_node.AI001 < 20 ) then garage_node.DO001 = 1

if(  garage_node.DI001 == 1  ) then display_panel.DO001 = 1

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: