Difference between revisions of "SCADA Examples"
Line 49: | Line 49: | ||
A simple example to combine together an embedded device and a SCADA application. | A simple example to combine together an embedded device and a SCADA application. | ||
− | Firstly we have | + | Firstly we have an embedded Raspberry Pi project connected to an I2C Sensor, the sensor is sampled and the data is published to a MQTT server. |
− | {{Fcfile|RPI3_MQTT_IOT_EBM016. | + | {{Fcfile|RPI3_MQTT_IOT_EBM016.fcfx|RPI3 MQTT IOT EBM016}} |
Next we subscribe to the data and receive it back into Flowcode SCADA. | Next we subscribe to the data and receive it back into Flowcode SCADA. |
Revision as of 17:51, 27 November 2018
AllCode Examples
Formula AllCode
A simple example showing how to drive the Formula AllCode robot around in API mode using a panel based joystick control.
The COM port for the Formula AllCode can be set via the panel properties which can be exposed to the SCADA runtime user.
MIAC AllCode
A simple example showing how to drive the MIAC AllCode PLC from a SCADA application using Bluetooth or WIFI.
Arduino Examples
Arduino Uno Slave
A simple example demonstrating how to use an Arduino with Flowcode SCADA.
Firstly we have an embedded project targetting an Arduino Uno that is connected to a bank of LEDs, a bank of switches and a temperature/humidity sensor.
Secondly we have a SCADA project that can interrogate and control the Arduino Uno allowing access to the switches, termperature and humidity while also allowing the LEDs to be controlled.
Internet Based Examples
MQTT
Local Weather
A simple example demonstrating how to use MQTT with Flowcode SCADA to get the local weather conditions.
The example shows temperatures from Halifax in the UK and from Sydney in Australia.
Publish and Subscribe
A simple example to combine together an embedded device and a SCADA application.
Firstly we have an embedded Raspberry Pi project connected to an I2C Sensor, the sensor is sampled and the data is published to a MQTT server.
Next we subscribe to the data and receive it back into Flowcode SCADA.
Modbus TCP
A simple example demonstrating how to use the Modbus TCP components with Flowcode SCADA.
Here we have two Flowcoded SCADA projects communicting with each other. Though the master or slave could be replaced with embedded Modbus TCP hardware.
Webserver Embedded Files
A simple example demonstrating how to host a website with fixed HTTP content including dynamic sections that can be passed in and out of Flowcode SCADA.
For example a dynamic section could be used to display a variable value on a webpage such as a temperature or used to control Flowcode e.g. turn on an output.
Webserver Dynamic Files
A simple example demonstrating how to host a website with dynamic content based on external files including dynamic sections that can be passed in and out of Flowcode SCADA.
For example a dynamic section could be used to display a variable value on a webpage such as a temperature or used to control Flowcode e.g. turn on an output.
Webserver Files...