The eWON Flexy is a device created by eWON that allows for simplified connection of industrial machines to the internet. For innius we've created a component that publishes eWON tag values to innius.
First you will need a connection with the eWON itself. For this you will need the eBuddy program from eWON. This program will automatically detect any eWONs connected to the network. From eBuddy you can open a webpage for the Flexy, where you can create and view tags and reboot the Flexy when needed. Creating tags is done in the tag menu. After creating the tags for your setup you can check if the connection is working by viewing the tag values. If there is a red cross in the tag line it is not working.
Now you can create/edit the sensors in innius. The important thing here is that the sensor's physical_id in innius, must match the actual sensor's tag name in the Flexy.
The innius connector
After you've created your machine (click here to read how), the next step is to create the connector. This is done by following these steps:
- Go to the innius Admin app
- On the Home screen, click the button 'Add Connection'.
- Give the connector a clear name and click 'Next'. Remember that each connector should have a unique name.
- In the next step, Select connection method, Choose the option 'Connect using the eWON protocol'.
- The next step is to select the machines created in innius which are connected through the connector. You can select multiple machines if applicable.
- Now the connector is created, the next step is the download. Here you need to download the connector by clicking the download sign (in the red box):
- Extract the downloaded .zip file.
- Make the FTP-connection to the eWON Flexy device.
- Copy the file 'program.bas' to the eWON root folder. The other 3 files must be copied to the \usr folder on the eWON Flexy device.
- Login to the front-end of the eWON Flexy device as described above and enable the BASIC script via BASIC IDE by clicking on the 'Script execution' toggle, to switch it to 'Running':
- Don't forget to turn the Autorun option on, otherwise the script will not autorun if the eWON is restarted:
- Check the lowest part of the screen to see if the script is executing.
- Check in the innius insight app that the machine/s status has changed to 'Connected' and that the sensor values are coming in.
- Congratulations! Your machines are connected to innius!