![APAR AR602.B User Manual Download Page 23](http://html1.mh-extra.com/html/apar/ar602-b/ar602-b_user-manual_2951915023.webp)
23
!
/..."drivers downloaded from the www.apar.pl website or from the ARSOFT-CFG program installation folder, by
default „C:\Program Files (x86)\ARSOFT\Drivers\AR2xx…”).
The following applications are available (for Windows 7/8/10 operating systems, downloadable from
www.apar.pl/oprogramowanie.html
or optionally from a CD or e-mail from the Sales Department):
Name
Description of the program
ARSOFT-CFG
(free of
charge)
- displaying current measurement data from the connected Apar device
- configuration of the measurement input type, indication range, adjustment options, alarms,
display, communication, access, etc. (
chapter 8
)
- creation the disc a file with the extension "cfg" containing the current configuration
of parameters for reuse (copying of configuration)
APSystem-PC
(paid)
- display and recording of current measurements from many devices (via MODBUS-
RTU/TCP/ASCII)
- visual and audible alarms, e-mail alerts, event reporting, etc.
Detailed descriptions of the above mentioned applications can be found in the installation folders.
NOTE:
Before establishing the connection via
RS485
, make sure that the device parameters (74:
r4br
,
76:
Addr
and
75
:
r4cF
) are compatible with the settings of the computer program. Moreover, set the number of the COM serial
port used in the program options (for the RS485 converter it was assigned by the system during the installation of
drivers).
Depending on the protocol used, the connection via the
Internet
requires the known public IP address of the
broker for the MQTT protocol and the network IP address in the case of MODBUS-TCP (to facilitate access to the
network with a variable public IP address, you can start the DDNS service, e.g. in a router).
The selection of
network parameters in the controller and the configuration of the router
(including e.g. port redirection for
MODBUS-TCP, port forwarding)
should be entrusted to a qualified person (network administrator)
. In
addition, pay attention that the firewall does not block the ports and applications used (e.g. ARSOFT-CFG). The
unique
MAC
(EUI-48) hardware address of the controller Ethernet interface is available in ARSOFT-CFG
(Parameters-> Communication options) and in the MODBUS-RTU/TCP protocol
register map
.
The easiest way to test the correctness of the regulator's operation in the LAN network is to set the Ethernet
interface in the automatic mode (parameter 77:
EtMo
=
Auto
), and then (with the IP address assigned by the DHCP
server read from the device) establish connection with the ARSOFT -CFG program or execute the
ping
command
from the computer's command line (and
optionally
arp
-a
for Windows
or
arp-scan
for
Linux, where
we will also get
the
MAC address
).
11.1. MQTT PROTOCOL
Popular in IoT/M2M (Internet of Things) applications, the MQTT protocol is a lightweight data transmission
protocol based on the publication/subscription pattern (to/from the server). Using the protocol requires a
correctly configured Ethernet network interface and MQTT parameters (
chapter 8,
Table 8, point VIII
), as well as
access to a broker (server) with a fixed numeric IP address (the controller does not support the DNS protocol - text
domain names). The MQTT broker can be started independently (eg. Mosquitto) or use the ones available on the
Internet (paid or free, e.g. EMQX). Knowing the name of the broker's website, you can check its IP address, e.g. with
the
ping
command (from the computer's command line). To read (subscribe) the messages published by the
controller from the broker, you can use your own solutions or one of the many applications available on the
Internet (such as the free and easy-to-use "
MQTT Dash
" for Android). Establishing a connection with the broker
may take some time (usually <1.5 minutes, restarting the device may speed up this process). The current status of
the controller's connection the with the MQTT broker is available from the keyboard level (
chapter 7
, device status)
and from the MODBUS-TCP/RTU protocols (register at address 31:
Ethernet connection status
,
chapter 11.5
).
Parameter 91:
MqMo
(description in Table 8) is responsible for selecting the content of messages sent cyclically to