background image

www.haiwell.com

Haiwell PLC - Analog Module Application Case

9 / 18

Analog Module Application Case

1.

Expand module through the host PLC parallel port

1.1. Module power supply

Analog module can be the expansion module for any host PLC; When the module is directly hung behind the host PLC by
parallel bus, no need to take external power supply, the module is powered by host PLC’ parallel port, if the power supply of
module is insufficient (the PWR power indicator does not light), then according to different models, the module can be powered
by 24VDC or 220VAC. When the module is extended through the parallel port, it is recommended to use 24VDC module.
Module power supply example:

1

When the host PLC can be expanded to 7 modules, the PWR indicators of frist five modules are long bright, indicating the

modules power supply are normal, and if the PWR indicators of the 6th and 7th modules are not light, appearing
insufficient power supply, as long as the 6th and 7th modules are taken external power supply.

2

When the host PLC with 1 expansion module, because the host PLC provides power supply through the parallel port, the

PWR indicator of modue will light; If the module is added external power supply, it can still work, this time the module will
automatically determine and give priority to external power supply.

1.2. The analog need't be written any conversion program, read the analog register value directly.

For example, the host PLC T16S2T, respectively, is expanded with three modules of S04AI, S04AO and S08XA through the
parallel port from left to right, assuming the scene:

Analog module S04AI input channel 1, signal type is 4-20mA, used to measure the pressure, the pressure range of
0.0~3.0Mpa;

Analog module S04AO input channel 1, signal type is 0-10V, used to control the inverter frequency of 0.0~50.0Hz;

First enter the PLC programming software menu bar - view - hardware configuration, in accordance with the external order of
actual modules to add the module models, after added, the analog address will be automatically arranged, as shown below:

Haiwell analog module need't be written any conversion program, as for above pressure measurement, we only need to check
the use of engineering value, set the lower limit value of 0 corresponding 0.0Mpa, set the upper limit value of 3000 indicating
3.000Mpa, the upper limit value 3000 hidden three decimal places can achieve magnification times and improve accuracy.
Then we read the value of the analog input register AI0, if AI0 = 1234, then the actual value is 1.234Mpa.

Summary of Contents for S04AI

Page 1: ...Xiamen Haiwell Technology Co Ltd www haiwell com Haiwell PLC User Manual Programmable Logic Controller Analog Module User Manual Application Case...

Page 2: ...skills 10 1 4 Display analog value on SCADA HMI 10 1 5 When the engineering value is not used the default code value is 0 32000 11 1 6 Module CR code application example Read the module channel disco...

Page 3: ...rallel port in communication Green jitter indicator on 30ms and off 30ms Parallel power supply not enough must connect to external power supply Without serial or parallel port in communication Yellow...

Page 4: ...V 5V 1V 5V 0 20mA 4 20mA Resolution 5mV 2 5mV 1 25mV 1 25mV 5 A Input impedance 6M 250 Maximum input range 13V 30mA Input indication LED light ON means normal OFF means external disconnect Response ti...

Page 5: ...AI0G AI1I GND AI1V AI1G B AI2I AI3I AI2V AI3V AI2G AI3G AI0I A AQ0V AQ0G AQ1I GND AQ1V AQ1G B AQ2I AQ3I AQ2V AQ3V AQ2G AQ3G AQ0I A AI0V AI0G AI1I GND AI1V AI1G B AQ0I AQ1I AQ0V AQ1V AQ0G AQ1G AI0I A S...

Page 6: ...engineering lower limiting value input channel 2 zero point correction value 1DH channel 1 engineering upper limiting value channel 1 engineering upper limiting value Channel 1 2 input disconnection a...

Page 7: ...2AH channel 2 engineering upper limiting value channel 2 engineering upper limiting value output channel 1 output value 2BH channel 3 engineering upper limiting value channel 3 engineering upper limi...

Page 8: ...r a better heat dissipation do not mount PLC to a position near to the bottom top of the cabinet Do not mount PLC in vertical direction Expansion Module Wiring Connections between expansion modules an...

Page 9: ...the module is added external power supply it can still work this time the module will automatically determine and give priority to external power supply 1 2 The analog need t be written any conversio...

Page 10: ...program of PLC can be written as follows 1 4 Display analog value on SCADA HMI If the configuration touch screen text and other PC software want to display the current pressure only need to set three...

Page 11: ...ed to check the use of engineering value so that the analog will be very convenient without writing any program 1 6 Module CR code application example Read the module channel disconnection alarm In th...

Page 12: ...roduce the operation key points and techniques 2 1 Module power supply When the module is used as remote IO there are two optional models of 24VDC and 220VAC such as S08AI model for the DC 24V power s...

Page 13: ...n be configured via MODW instructions through the serial communication 2 5 Parameter configuration example The module is configured by programming software remote module tool Hardware connection 1 Thr...

Page 14: ...e found and achieve parameter configuration Click to exit enter the configuration interface as shown below We can change the module name address IP subnet mask baud rate data format and other communic...

Page 15: ...address is 1 baud rate is 19200 data format is N 8 2 RTU The program of PLC reads the 4 channel liquid level values is as follows The host PLC reads the 4 channel liquid level values of S04AI by Modb...

Page 16: ...ng 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 n...

Page 17: ...n choose serial port or Ethernet according to the module which supports the Ethernet or RS485 this example for serial port the serial port number of USB to 485 is COM6 as shown below Default parameter...

Page 18: ...ding channel variable values If you need to display the decimal places it can set the corresponding decimal places on the display primitive As shown below Thanks for choosing Haiwell PLC If you have a...

Reviews: