www.haiwell.com
Haiwell PLC - Analog Module Application Case
16 / 18
Host PLC writes the 8-channel analog output values of S08AO by Modbus write instruction MODW, the start address is
10H(hexadecimal), that is, the decimal value is 16. When writing successfully, M1 is ON, the 8-channel values which will
be written into are stored in V1000-1007.
In this example, for the channel 1 of analog output, check the use of engineering value, the lower limit value is 0, the
upper limit value is 3600, indicating that the valve opening is 0.0~360.0
°
, this case V1000=500, so the first output
channel value is 500, that is, the valve opening is 50.0
°
.
2.8. Remote IO application example(Ethernet mode): PLC read and write each channel input and output values of S08XA-e
1
Hardware wiring: PLC and module Ethernet port connected with a shielded network cable, they can be connected
directly or through the switch.
2
Modbus address: From the above S08XA-e analog module CR parameter table shows that the input values of module
input channel 1 ~ 4 are stored in the address 10H ~ 13H. The output values of module output channel 1-4 are stored in
2AH ~ 2DH.
3
PLC program: Read the 4-channel measurements of remote Ethernet module S08XA-e and write the 4-channel output
values of S08XA-e, if the module IP address is 192.168.1.112, station number address is 1, the read results are stored
in the V0 ~ V3, the values to be written are stored in the register V10-V13. As follows: