Remote Io Appliciation Example(Rs485 Mode): Plc Reads 4-Channel Temperature Value Of H04Rc Module; Remote Io Appliciation Example (Ethernet Mode): Plc Reads And Writes Every Channel Input Values Of H08Rc-E Module - Haiwell H04DT User Manual

Programmable logic controller
Table of Contents

Advertisement

www.haiwell.com
After setting, select the "Download parameter" to download the parameter into the module.
In addition, we can do the following operations through the remote module tool:
Online monitor the channel value of module, error code.
1
Upload the module paramater, upgrade the module firmware, then make the module support new features.
2
It can export the module configuration to save or import and restore the default value.
3

1.6 Remote IO appliciation example(RS485 mode): PLC reads 4-channel temperature value of H04RC module

Hardware wiring: PLC connects to 485 port of module by shielded twisted pair, A + connects to A +, B- connects to B-, if
1
the PLC connects to multiple remote IO modules, it needs to use hand in hand way to connect.
Modbus address: From the above 4-channel analog CR parameter table shows that, the channel 1 ~ 4 input values are
2
stored in 10H ~ 13H of H04RC module.
PLC program: Host PLC wants to read the 4-channel temperature values of remote IO module H04RC, 4-channel
3
temperature sensors for PT100, -2000 ~ 8500 indicates -200.0 ~ 850.0 ℃. In this example, H04RC communication is
the default parameter: Station number address is 1, baud rate is 19200, data format is N 8 2 RTU. The program of PLC
reads the 4-channel temperature values is as follows:
The host PLC reads the 4-channel temperature values of H04RC by Modbus read instruction MODR, the start address is 10H
(hexadecimal), that is, the decimal value is 16. When the communication is successful, M0 is ON, the temperature values which
are read back will be stored in V0-3, V0=235, indicating that the actual temperature of the first channel is 23.5℃, the same as
V3=867, indicating that the actual temperature of the fourth channel is 86.7℃.

1.7 Remote IO appliciation example (Ethernet mode): PLC reads and writes every channel input values of H08RC-e module

Hardware wiring: PLC and module Ethernet port connected with a shielded network cable, they can be connected directly
1
Haiwell PLC - Temperature & Humidity Module Application Case
15 / 23

Advertisement

Table of Contents
loading

Table of Contents