www.haiwell.com
Haiwell PLC - Temperature & Humidity Module Application Case
13 / 23
Soft address: The address set through programming software - remote tool, address range 1-254;
Hard address: The address set through the 4-bit DIP switch of module hardware, address range 1-15. Hardware address
setting example:
Baud rate
:
2400, 4800, 9600, 19200, 38400, 57600, 115200 optional;
Data format : N, 8, 2 RTU, E, 8, 1 RTU, O, 8, 1 RTU, N, 8, 1 RTU, E, 7, 1 ASCII, O, 7, 1 ASCII, N
,
7
,
2 ASCII
optional.
RS485 default parameter
:
19200
,
N 8 2 RTU
,
station number is 1.
2
Et: Support the standard Modbus TCP protocol, it can communicate with the configuration, touch screen, PLC
and other third-party host computers, which must support Modbus TCP protocol. Among them:
Ethernet default parameters:
IP: 192.168.1.111
Subnet mask: 255.255.255.0
Gateway: 192.168.1.1
1.4 Introduce module parameter configuration method when the module is used as remote IO
There are three ways to configure remote IO parameters:
1
It can be configured via programming software - tools - remote modules (recommended);
2
It can be configured via the hardware configuration and TO instructions, when the module is hung behind the host PLC
through the parallel port;
3
It can be configured via MODW instructions through the serial communication.
1.5 Parameter configuration example: Configurate module by programming software remote module tool
1.5.1 Hardware connection:
1
Through the RS485 communication port (the terminals of A +,B- on the module) connection: If the computer has a serial
port, you can use the converter of 232 to 485 connecting with the module; if it has one USB interface, you can use the
converter of USB to 485 connecting with the module.
2
Through the connection of Et communication interface: You can connect the module with the computer's
network port directly by the standard network cable, or take the computer and module connected to the switch.
1.5.2 Software operation steps:
1
Click on the the menu bar tool of programming software- "remote module":
Click the button
in the pop-up window to open the "Online" window. The module default address is 1,19200, N 8 2
RTU, the online success is as follows: