background image

www.haiwell.com

Haiwell PLC - Analog Module User Manual

6 / 18

10. Module Parameter Table

(CR code is corresponding to the Modbus register address)

4-channel analog module parameter table

Note:

CR code is corresponding to the Modbus register address, the ray parts are read-only ,the white parts are readable and

writable.

CR code

Function description

S04AI

S04AO

S04XA

00H

Low byte for module code, and high byte for module version number.

01H

Communication address

0

2

H

Communication protocol: The low 4-bit of the low byte: 0 - N,8,2 For RTU, 1 - E,8,1 For RTU, 2 - O,8,1 For RTU, 3 - N,7,2 For ASCII, 4 -

E,7,1 For ASCII, 5 - O,7,1 For ASCII, 6 - N,8, 1 For RTU

The high 4-bit of the low byte: 0 – 2400, 1 – 4800, 2 – 9600, 3 – 19200, 4 – 38400, 5 – 57600, 6 - 115200

03H~06H

Module name

07H~08H

Default IP address: 192.168.1.111

09~0AH

Reserve

0BH

High byte subnet mask (b3~b0,1 indicates 255, 0 indicates 0, for example subnet mask 255.255.255.0, b3~b0=1110), low byte reserved

0CH-0EH

Reserve

0FH

Error code: 0-Normal, 1-Illegal firmware identity, 2-Incomplete firmware, 3-System data access exception, 4-No external 24V power

supply

10H

channel 1 input value

channel 1 output value

input channel 1 input value

11H

channel 2 input value

channel 2 output value

input channel 2 input value

12H

channel 3 input value

channel 3 output value

input channel 1 signal type, note 2

13H

channel 4 input value

channel 4 output value

input channel 2 signal type, note 2

14H

channel 1 signal type, note 2

channel 1 signal type, note 2

Use the engineering value mark, note 6

15H

channel 2 signal type, note 2

channel 2 signal type, note 2

input channel 1 engineering lower limiting value

16H

channel 3 signal type, note 2

channel 3 signal type, note 2

input channel 2 engineering lower limiting value

17H

channel 4 signal type, note 2

channel 4 signal type, note 2

input channel 1 engineering upper limiting value

18H

Use the engineering value mark, note 6

Use the engineering value mark, note 6

input channel 2 engineering upper limiting value

19H

channel 1 engineering lower limiting

value

channel 1 engineering lower limiting

value

input channel 1 sampling frequency, note 1

1AH

channel 2 engineering lower limiting

value

channel 2 engineering lower limiting

value

input channel 2 sampling frequency, note 1

1BH

channel 3 engineering lower limiting

value

channel 3 engineering lower limiting

value

input channel 1 zero point correction value

1CH

channel 4 engineering lower limiting

value

channel 4 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 alarm, note 5

1EH

channel 2 engineering upper limiting

value

channel 2 engineering upper limiting

value

output channel 1 output value

1FH

channel 3 engineering upper limiting

value

channel 3 engineering upper limiting

value

output channel 2 output value

20H

channel 4 engineering upper limiting

value

channel 4 engineering upper limiting

value

output channel 1 signal type, note 2

21H

channel 1 sampling frequency, note 1

power-off output mark, note 8

output channel 2 signal type, note 2

22H

channel 2 sampling frequency, note 1

channel 1 power-off output value

Use the engineering value mark, note 6

23H

channel 3 sampling frequency, note 1

channel 2 power-off output value

output channel 1 engineering lower limiting value

24H

Channel 4 sampling frequency, note 1

channel 3 power-off output value

output channel 2 engineering lower limiting value

25H

channel 1 zero point correction value

channel 4 power-off output value

output channel 1 engineering upper limiting value

26H

channel 2 zero point correction value

Channel indicator status, note 7

output channel 2 engineering upper limiting value

27H

channel 3 zero point correction value

Reserve

power-off output mark, note 8

28H

channel 4 zero point correction value

output channel 1 power-off output value

29H

Channel 1~4 input disconnection

alarm, note 5

output channel 2 power-off output value

2AH

Reserve

output channel indicator, note 7

2BH~2FH

Reserve

8-channel analog module parameter table

Note:

CR code is corresponding to the Modbus register address, the gray parts are read-only, the white parts are readable and

writable.

CR code

Function description

S08AI

S08AO

S08XA

00H

Low byte for module code, and high byte for module version number.

01H

Communication address

02H

Communication protocol: The low 4-bit of the low byte: 0 - N,8,2 For RTU, 1 - E,8,1 For RTU, 2 - O,8,1 For RTU, 3 - N,7,2 For ASCII, 4 -

E,7,1 For ASCII, 5 - O,7,1 For ASCII, 6 - N,8, 1 For RTU

The high 4-bit of the low bytes: 0 – 2400, 1 – 4800, 2 – 9600, 3 – 19200, 4 – 38400, 5 – 57600, 6 - 115200

03H~06H

Module name

07H~08H

Default IP address: 192.168.1.111

09~0AH

Reserve

0BH

High byte subnet mask(b3~b0,1 indicates 255,0 indicates 0 , for example, subnet mask 255.255.255.0, b3~b0=1110), low byte Reserved

0CH~0EH

Reserve

0FH

Error code: 0-Normal, 1-Illegally firmware identity, 2-Incomplete firmware, 3-System data access exception, 4-No external 24V power

supply

10H

channel 1 input value

channel 1 output value

input channel 1 input value

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: