Software solution of the task based on the local MQTT broker



New development - Sasha_Local_MQTT_Client.exe for remote control of
OMRON controllers (CS1, CJ1,CJ2,CPL, NJ...) and Yaskawa controllers (MP2300, MP3000,...).

This development is based on the use of LOCAL freeware MQTT Broker - Mosquitto.org,
installed on the user's computer or on the company's service computer,
depending on the purpose and the goals set when using it.

The app is designed for the following technologies:
- IoT;
- Remote control;
- Remote diagnostics.
- Start-up and adjustment work on the object, when the adjuster
must be away from the control cabinets of the object;
- Issuing technological tasks to different objects (PLC) from the same technological center;
- Generating relevant information about the object for
service personnel and management of the enterprise.

MQTT Broker is implemented on a separate computer, and the
client computers communicate with the broker computer either via a local network,
or via WI-FI.

Client computers exchange information with OMRON PLC via interfaces:

- USB;
- Ethernet/IP;
- Ethernet;
- RS232/485;

Client computers exchange information with the Yaskawa PLC via an interface:

- Modbus/TCP;


Client computers can exchange both offline (without connecting to MQTT broker),
and together with the central MQTT broker.
It is possible to connect up to 256 (or more) clients to a single MQTT broker.

Additionally, for each client, the mode of information exchange with the PLC is implemented via
Android smartphone connected to the Internet. The exchange can be carried out by a smartphone
from anywhere in the world where Internet communication is implemented.
For a description of an Android program for exchanging information between a client and an Android smartphone -
see www.mrplc.com-omron-download-utilite-Omron_Control.

The software package is written in Delphi XE 10.3.3 (Embarcadero) using
several components from other developers.

Note. For OMRON controllers, the development of the exchange interface is based on the application of:
- or functions and packages of the program CX-Server(OMRON);
- or the use of a special DLL - Ethernets.dll;

In the basic version of this program, the central broker, client computers
and Android smartphones can read and write words and bits of the entire PLC memory.
In the extended version of the program, it is possible to implement many additional modes,
at the same time, it is possible to exchange information between controllers from different manufacturers,
connected to the client computer via different interfaces.


It should be noted that the detailed description of the program for the exchange of information
With an Android smartphone, it is also given in paragraphs 5 and 6 of the main page of the site.


The pictures below show screenshots of the computer screens when this program is running.


- Fig.1 - Windows 10 Task Manager screen with the local Mosquitto MQTT broker running;
- Fig.2 -General view of the main screen of the app;
- Fig.3- Application screen when starting the local broker;
- Fig.4 -Application screen when reading the Holding register of the Yaskawa controller;
- Fig.5 -Screen for offline operation with the OMRON controller via USB protocol;
- Fig.6 - The main screen of offline operation with the OMRON controller;
- Fig.7 -Application screen when reading the memory cell of the OMRON controller;
- Fig.8 - Screen for working with the OMRON controller via the global MQTT protocol(Internet);
For the Yaskawa controller, the corresponding screen is similar.
- Fig.9-Application screen when reading multiple Holding register of the Yaskawa controller;
- Fig. 10-The main screen when reading multiple Holding register of the Yaskawa controller;





Fig.1




Fig.2




Fig.3




Fig.4




Fig.5




Fig.6




Fig.7




Fig.8




Fig.9




Fig.10



Return
Send me E-mail