MODBUS TCP Demo APP

l

Go back to documentation

May 16, 2020

MODBUS TCP demo APP

This app was developed as a demo in order you could test and upload data from one modbus device. 

There is a couple requirement that you must configure on easyberry-iot.com first in order to app can works properly.

  • ajaxRequest( ‘{“op”:”get”,”list”:”datasets”}’ , getDatasets );
  • ajaxRequest( ‘{“op”:”get”,”dataset”:”Maps”}’ , getMaps  );

Those lines of code above are procedures that execute the app once the user is logged in.  

Follow the next step on easyberry-iot.com in order to configure your environment to demo app works.

Goes Things Setting

Step 1. Create a “thing” with name MBmap:

value:{“ip”:”192.168.0.17″,”port”:”502″,”id”:”1″,”fc”:”4″,”addr”:”14″,”len”:”3″}

type: ST

Step 2.  Create 2 datasets

dataset 1:  with any name and add some registers or thing to this dataset. Optional: add a property to each point -> mbid:[modbus id point] 

dataset 2: with name “Maps” and add the register created before named “MBmap”

We are almost done…

Now configure the user data and gives the right permissions. Goes to My Resources

Step 3. Create and user

Step 4. Give the right permission to the last two dataset created.

Note: make sure that you have at least one end-point. (if you don’t, come back to thinks setting and create a context )

That’s all.

Now, open your mobile app, put your login and you should be watch in the next screen the datasets created in each combobox of the app.

Download this app for free here.

You May Also Like…

MODBUS TCP Gateway

MODBUS TCP Gateway

 Try this Modbus gateway and connect several Modbus devices to Easyberry IoT platform in just seconds. Go to App's...

Become a Developer

Become a Developer

Become an expert developer and sell yours amazing Android, IOS or Windows APP to Easyberry Marketplace. In addition,...

Become an Integrator

Become an Integrator

Become an expert integrator and publish your works related to IoT and Automation Systems, earning stars and gaining...

System Message

System Message

Get in touch in real time with what is going on in your Easyberry environment with your configuration. Message system...

My Resources

My Resources

MY RESOURCES My Resource feature is related which information is shared or can be accessed by your remote devices,...

Lab

Lab

Lab tool help you to give your first step and test applications, find errors, understand what is involved in login...

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *