Remote Io Application Example(Ethernet Mode): Plc Read And Write Each Channel Input And Output Values Of S08Xa-E16 - Haiwell S04AI User Manual & Application Case

Programmable logic controller
Table of Contents

Advertisement

www.haiwell.com
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
Hardware wiring: PLC and module Ethernet port connected with a shielded network cable, they can be connected
1
directly or through the switch.
Modbus address: From the above S08XA-e analog module CR parameter table shows that the input values of module
2
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.
PLC program: Read the 4-channel measurements of remote Ethernet module S08XA-e and write the 4-channel output
3
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:
16 / 18
Haiwell PLC - Analog Module Application Case

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents