How to use the gateway function of network IO to realize IO expansion

ME31 series network IO supports connecting RTU devices through serial port to expand the number and type of IO, such as connecting MA01-XXCX0080 to expand 8-channel relay output, connecting MA01-AXCX4040 to expand 4-channel switching value acquisition, which can realize access to user’s own RTU node through Ethernet interface .

ME31-XAXA0404 (Modbus addr: 1) uses RS-485 bus to connect MA01-AXCX4040 (Modbus addr: 10) and MA01-AACX0440 (Modbus addr: 11) Lora Wireless Modules
to realize 8-channel switch control, 2-channel digital acquisition, 2-channel Analog acquisition expansion

Software: Modbus Poll, Ebyte IO module configuration test tool;

Hardware: computer, DC 12V power adapter, ME31-XAXA0404, MA01-AXCX4040, MA01-AACX2240, indicator lights*2, buttons, and several wires.

The gateway mode is automatically enabled without configuration, only need to pay attention to the Modbus address not to conflict, the configuration is shown in the following figure:

The device needs to be in the same local area network as the PC (user equipment), the address needs to be unique and the network segment is the same, and the parameters can be adjusted according to the actual situation. lora module Read again), some models of ME31 can also be queried through the IP parameter preview interface.

Serial communication needs to confirm the system baud rate, and three communication devices need to use the same baud rate parameters, such as the 9600-8N1 used here.

How to use the gateway function of network IO to realize IO expansionultima modifica: 2022-11-04T07:19:58+01:00da rubberantenna
Reposta per primo quest’articolo