background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

ME31-XAAX0440_UserManul_EN

Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.

20

4.9.3 Module related registers

Register function

Register

address

Register

type

Number Operation

Data range/remarks

Related

function codes

Module address

0x07E8

Holding

register

1

RW

Modbus address, 1

247

configurable address

R

0x03

W

0x06

Module model

0x07D0

Holding

register

12

R

Get current model

R

0x03

Firmware version

0x07DC

Holding

register

1

R

Get the firmware version
number

R

0x03

Module name

0x07DE

Holding

register

10

RW

Custom module name

R

0x03

W

0x10

Module restart

0x07EA

Holding

register

1

W

Write any value to restart

W

0x06

Restore factory

parameters

0x07E9

Holding

register

1

W

Write random value to
restore factory parameters

W

0x06

Serial port baud

rate

0x0834

Holding

register

1

RW

See the baud rate code
table, the default is 9600
(0x0003)

R

0x03

W

0x06,0x10

Serial port check

digit

0x0836

Holding

register

1

RW

0x0000 no check (default)
0x0001 odd parity
0x0002 even parity

R

0x03

W

0x06,0x10

Summary of Contents for ME31-XAAX0440

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd ME31 XAAX0440_UserManul_EN Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 0 ME31 XAAX0440 Network I O networking module...

Page 2: ...3 Technical index 9 3 1 Specifications 9 3 2 Device default parameters 10 3 3 Mechanical dimension drawing 10 3 4 Port description 11 3 5 LED indicator description 12 Chapter 4 Product function intro...

Page 3: ...4 8 Modbus RTU protocol data frame description 18 4 9 MODBUS parameter configuration 19 4 9 1 DO related registers 19 4 9 2 AI register list 19 4 9 3 Module related registers 20 4 9 4 Network related...

Page 4: ...y Automatically send commands of non local Modbus addresses through the serial port network port network I O networking module 1 2 Features Support standard Modbus RTU protocol and Modbus TCP protocol...

Page 5: ...hnology Co Ltd ME31 XAAX0440_UserManul_EN Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 2 1 3 Product application topology diagram Modbus TCP application request topology Modbus RTU a...

Page 6: ...lectronic Technology Co Ltd 3 Chapter 2 Quick start Note This experiment needs to be performed by default factory parameters 2 1 Preparation for use The following table is the required materials for t...

Page 7: ...eflection wave at the end of the transmission line which will interfere with the original signal Therefore a terminal resistance must be added at the end of the transmission line to prevent the signal...

Page 8: ...hrough USB to RS485 A is connected to A B is connected to B Networking Insert the network cable into the RJ45 port and connect to the PC Power supply Use DC 12V switching power supply DC 8 28V to supp...

Page 9: ..._UserManul_EN Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 6 Step 2 Open the network assistant select the TCP client enter the remote host IP192 168 3 7 default parameter enter the p...

Page 10: ...01 00 00 00 00 06 01 05 00 00 FF 00 Full open command 0x0F 02 00 00 00 00 08 01 0F 00 00 00 04 01 0F Full close instruction 0x0F 02 00 00 00 00 08 01 0F 00 00 00 04 01 00 Read all AI inputs 0x04 01 00...

Page 11: ...can test other functions through the commands in the following table Function function code Instruction Pull in the first coil 0x05 01 05 00 00 FF 00 8C 3A Full open command 0x0F 01 0F 00 00 00 04 01...

Page 12: ...n be changed AI Analog input AI channels 4 Acquisition characteristics Single ended input Input type 0 20mA 4 20mA AI resolution 12 bits Precision 3 Acquisition frequency 10Hz Input instructions LED s...

Page 13: ...P 192 168 3 7 Native port 502 Subnet mask 255 255 255 0 Gateway address 192 168 3 1 DHCP closure Native MAC Determined by the chip fixed Target IP 192 168 3 3 Destination port 502 DNS server 8 8 8 8 A...

Page 14: ...y 2 6 COM2 Relay 2 common terminal used in conjunction with relay 2 normally open pin 7 NO3 Relay 3 normally open pin used in conjunction with the common terminal of relay 3 8 COM3 Relay 3 common term...

Page 15: ...r Description DO1 Red The first output indication DO2 Red Second output indication DO3 Red The third output indication DO4 Red Fourth output indication TX yellow Serial port sending data instructions...

Page 16: ...on state According to the status set by the user After the device is powered on the output relay is turned on according to the state set by the user and it is turned off by default 4 2 AI input mode 4...

Page 17: ...er is 0x0064 0x0067 the register type is input register and the read function code is 0x04 The value returned by this method is 2 bytes representing 1 channel and the value read is 0 25000 The method...

Page 18: ...arameters default to IPv4 related parameters 1 MAC of the device The user can read the specified register to obtain it and this parameter cannot be written 2 IP address device IP address both readable...

Page 19: ...splay page current input value display page network parameter display page and a parameter setting page part of the parameters Note After using the screen configuration the device will turn on the sta...

Page 20: ...he parameter setting page Select the setting item and after entering the parameter configuration page short press the up and down keys to switch the setting item Select the setting item short press to...

Page 21: ...it Transaction processing identifier It can be understood as the serial number of the message Generally 1 is added after each communication to distinguish different communication data messages Protoco...

Page 22: ...follow mode R 0x03 W 0x06 0x10 DO pulse width 0x05DC Holding register 4 RW Range 50 65535ms R 0x03 W 0x06 0x10 4 9 2 AI register list Register function Register address Register type Number Operation...

Page 23: ...rent model R 0x03 Firmware version 0x07DC Holding register 1 R Get the firmware version number R 0x03 Module name 0x07DE Holding register 10 RW Custom module name R 0x03 W 0x10 Module restart 0x07EA H...

Page 24: ...RW Default 255 255 255 0 R 0x03 W 0x06 0x10 Gateway address 0x08A0 Holding register 2 RW Default 192 168 3 1 R 0x03 W 0x06 0x10 DHCP mode setting 0x08A2 Holding register 1 RW 0x0000 static IP default...

Page 25: ...e coil 05 operation of multiple coils 0F function code operation Use the 05 command to write a single command for example 01 05 00 00 FF 00 8C 3A Modbus address Function Code Register first address Co...

Page 26: ...on Code Register Address Write value CRC checkcode After sending the above command to the device via the 485 bus the device will return the following values 01 06 05 78 00 01 C8 DF Modbus address Func...

Page 27: ...rManul_EN Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 24 Chapter 5 Host computer 5 1 Acquisition and control Step 1 the upper computer connects the equipment Step 2 Select the corre...

Page 28: ...odbus address of the device effective immediately Reading parameters You need to read the parameters once before configuring the parameters otherwise it cannot be configured Save parameters save the p...

Page 29: ...e level mode pulse mode follow mode follow mode requires the device to have DI interface ME31 XAAX0440 does not support Pulse width 50 65535ms the default is 50ms DO power on state the initial state o...

Page 30: ...ort MQTT TCP UDP HTTP various transmission protocol equipment customization Various gateways such as Ethernet WiFi 4G 433M etc Switch quantity analog quantity and various sensors are connected to the...

Page 31: ...logy Co Ltd Revision history Version Date Description Issued by 1 0 2021 11 04 Initial version LC About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Th...

Reviews: