Chengdu Ebyte Electronic Technology Co., Ltd.
ME31- XAXA0404 _User Manual
Copyright © 2012–2023 , Chengdu Ebyte Electronic Technology Co., Ltd.
17
Example: Get D I Status Command
01
02
00 00 00 04
79 C9
Device Modbus address
function code
data segment
CRC check code
4.4 Active upload
The device supports the function of uploading analog input values at fixed time intervals. Setting the value of
the corresponding register can control the interval time and whether to upload.
Devices with digital input will actively upload once after successfully connecting to the server, and then the
digital input will be uploaded following the status change. Devices with analog input will report the analog input
status according to the configured active upload time period (the configuration period is 1-65535 ).
When it is set to 0, the upload is disabled; if it is set to other positive integer value N, the upload will be
performed at intervals of N seconds.
[Note] The device can only be valid if it is configured in client mode, and the register value is non-zero to enable
active upload.
4.5 Custom module information
4.5.1 Mod bus address
The device address is 1 by default, and the address can be modified, and the address range is 1-247.
4.5.2 Module name
Users can configure the device name according to their own needs to distinguish, support English, digital
format, up to 20 bytes.
4.5.3 Network parameters
Unless otherwise specified: the following network-related parameters default to IPV4-related
parameters.
(1) MAC of the device: the user can obtain it by reading the specified register, and this parameter cannot be
written.
(2) IP address: device IP address, readable and writable.
(3) Mod bus TCP port : the port number of the device, readable and writable.
(4) Subnet mask : address mask, readable and writable.
(5) Gateway address: Gateway.
(6) DHCP : Set the way the device obtains IP : static (0), dynamic (1).
(7) Target IP: When the device works in client mode, the target IP or domain name of the device connection.