Author Topic: Android app for testing communication with AB and/or Modbus PLC  (Read 6267 times)

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Android app for testing communication with AB and/or Modbus PLC
« on: October 12, 2020, 12:16:47 AM »
AdvancedHMI is currently rather difficult, if not impossible, to port to Android.
Archie did provide instructions on using Remote Desktop app here:

    https://www.advancedhmi.com/forum/index.php?topic=1278.0

There is also another open source library that can be used for communicating with PLCs (libplctag C library).

Here is the link to my Android Studio projects, with tablet and phone apps that allow for testing communication with Allen Bradley and/or Modbus PLCs:

     https://github.com/GitHubDragonFly

All it takes is to:
- download and install Android Studio
- download and extract the zip file from either of the projects available on the above link
- open this as an existing project in Android Studio and do a Build/Rebuild Project
- locate created APK file in this folder: app/build/outputs/apk/free/debug
- Copy the APK over to your tablet/phone and install it (you might need to enable the "Install from Unknown Sources" option)

Lots of old devices should be able to run the app since it was designed for Android 4.1 (API level 16) as minimum requirement.

In order to make any changes to the project, you will have to familiarize yourself with Android Studio and programming in java.

Attached here are a tablet and a phone screenshots, which are also included in the projects.

Archie was kind enough not to object to my posting this information here.
« Last Edit: November 07, 2020, 03:51:50 PM by Godra »