
NOVUS AUTOMATION
24/53
8.
MODBUS-TCP PROTOCOL
The
LogBox Wi-Fi
is compatible with the Modbus-TCP protocol, a data communication protocol used to connect the device to supervisory control
and data acquisition (SCADA). It supports up to 5 simultaneous connections and allows up to 5 Modbus-TCP masters to monitor it at the same
time.
In addition to enabling the
LogBox Wi-Fi
monitoring, if enabled in the configuration, it is possible to configure some parameters described in
Table
9
. It is also possible to complete the configuration and logs download of
LogBox Wi-Fi
through the TCP/IP network. In order to do this, however, it
is necessary to use the
NXperience
configurator software (see the
chapter for more information).
8.1
COMMANDS
It is important to note that the "Slave ID" parameter of the Modbus-TCP protocol can be filled with any value between 0 and 255.
LogBox Wi-Fi
is
not a gateway, so it is only necessary to enter the IP address to perform the communication.
8.1.1
READ HOLDING REGISTERS – 0X03
This command can be used to read the value of one or even the maximum number of consecutive registers, as shown in
Table 08
.
8.1.2
WRITE HOLDING REGISTERS – 0X06
This command can be used to write in a register, as shown in
Table 09
.
8.1.3
WRITE MULTIPLE HOLDING REGISTERS – 0X16
This command can be used to write in a multiples registers, as shown in
Table 09
.
8.2
REGISTERS TABLE
Following is the table of registers supported by the device for the READ HOLDING REGISTERS commands:
ADDRES
MNEMONIC
DESCRIPTION
INFORMATION
0
SERIAL_NUMBER_H
Device serial number (High part).
1
SERIAL_NUMBER_L
Device serial number (Low part).
2
PRODUCT_CODE
Device code.
3
FIRMWARE_VERSION
Firmware version.
Unit with two decimal places.
5
MAC_ADDR_WiFi_0_1
MAC Address Wi-Fi.
(XX:XX:00:00:00:00)
6
MAC_ADDR_WiFi_2_3
MAC Address Wi-Fi.
(00:00:XX:XX:00:00)
7
MAC_ADDR_WiFi_4_5
MAC Address Wi-Fi.
(00:00:00:00:XX:XX)
15
POWER_SUPPLY
Power supply.
1.
Battery;
2.
USB;
3.
External source.
21
USB_STATUS
USB Interface status.
1.
Active USB voltage;
2.
Inactive USB voltage;
3.
COM port closed;
4.
COM port open.
32
NUMBER_OF_ACTIVE_CHANNELS
Number of active channels.
34
RECORDS_STARTED_INTERFACE
Indicates the interface responsible for initiating
logs.
1.
Immediately start;
2.
Start by date/time;
3.
Start by keyboard;
4.
Start by digital input;
5.
Periodical start (Diary);
6.
Start by software.
35
RECORDS_STOPPED_INTERFACE
Indicates the interface responsible for
stopping the logs.
1.
2.
Finish by date/time;
3.
Finish by keyboard;
4.
Finish by digital input;
5.
Periodical finish (Diary);
6.
Finish by software.
36
STATUS_OF_RECORDS
Status of records.
1.
Stopped logs;
2.
Logging.
37
NUMBER_OF_RECORDS_H
Number of records in memory (High part).
38
NUMBER_OF_RECORDS_L
Number of records in memory (Low part).
39
NUMBER_OF_FREE_RECORDS_H
Number of records available in memory (High
part).
40
NUMBER_OF_FREE_RECORDS_L
Number of records available in memory (Low
part).
43
FIRST_YEAR
Year of first log.