You are on page 1of 137

Infocon Holdings (S) Pte Ltd

EasyIO 30P Series Controller


Function Blocks Reference Manual
Your Choice for Automation Version 3.1.00 Jan 2009

The contents of this document are copyright 2006 - 2009 Infocon Holdings (S) Pte Ltd. All rights reserved. Unless expressly
permitted herein, reproduction, transfer, distribution or storage of part or all of the contents in any form without the prior written
permission of Infocon Holdings (S) Pte Ltd is prohibited.

The content of this document is provided as is, without warranties of any kind with regards its accuracy or reliability. In no
event shall Infocon Holdings (S) Pte Ltd be liable for any special, indirect or consequential damages, or any damages whatsoever
resulting form loss of use, data or profits, arising out of or in connection with the use of this document. Infocon Holdings (S) Pte
Ltd reserves the right to revise the document or withdraw it at any time without prior notice.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 1 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Contents
Figures............................................................................................................................5
1.0 Introduction..............................................................................................................8
1.1 Input/Output.........................................................................................................8
1.2 Loop/Process........................................................................................................8
1.3 Conversion ...........................................................................................................8
1.4 Schedule...............................................................................................................8
1.5 Timer/Sequencer ..................................................................................................9
1.6 Utilities.................................................................................................................9
1.7 Others...................................................................................................................9
2.0 Analogue Input (Universal Input)..........................................................................10
2.1 Analogue Input Value ........................................................................................10
2.2 Analogue Input Conversion ...............................................................................11
2.3 Analogue Input as Digital Input.........................................................................13
2.4 Analogue Input Alarm Operation ......................................................................14
2.5 Analogue Input Logging ....................................................................................17
2.6 Sensor Input (Timed Override Function)...........................................................17
3.0 Analogue Output....................................................................................................20
3.1 Analogue Output Value .....................................................................................20
3.2 Analogue Output Conversion ............................................................................21
3.3 Analogue Output Limit Control.........................................................................22
3.4 Analogue Output Unoccupied Control ..............................................................23
3.5 Analogue Output Logging .................................................................................24
3.6 Analogue Output Priority Control .....................................................................24
3.7 Analogue Output Communication Lost Control................................................25
4.0 Digital Input ...........................................................................................................26
4.1 Digital Input Value ............................................................................................26
4.2 Digital Input Alarm Operation...........................................................................27
4.3 Digital Input Latch.............................................................................................29
4.4 Digital Input Timer ............................................................................................30
4.5 Digital Input Counter .........................................................................................31
5.0 Digital Output ........................................................................................................32
5.1 Digital Output Value..........................................................................................32
5.2 Digital Output Unoccupied Control...................................................................33
5.3 Digital Output On/Off Control...........................................................................34
5.4 Digital Output Timer..........................................................................................35
5.5 Digital Output Counter ......................................................................................36
5.6 Digital Output Priority Control..........................................................................36
5.7 Digital Output Communication Lost Control ....................................................37
6.0 Pulse Width Modulation (PWM) ...........................................................................38
7.0 Multistate ...............................................................................................................41
8.0 Fan Control ............................................................................................................42
9.0 Digital State Latch .................................................................................................45
10.0 Digital State Timer...............................................................................................47
11.0 Digital State Counter............................................................................................48
12.0 Internal Digital Register.......................................................................................49
13.0 Internal Analogue Register ..................................................................................49
14.0 Thermostat ...........................................................................................................50
15.0 Loop Control........................................................................................................53

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 2 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

15.1 Loop Control Value .........................................................................................53


15.2 Loop Control Operation...................................................................................53
15.3 Loop Control PID ............................................................................................56
15.4 Loop Control Unoccupied Operation...............................................................57
15.4 Loop Control Ashrae........................................................................................57
15.5 Loop Control Single Loop Operation ..............................................................59
15.6 Loop Control Sequence Loop Operation .........................................................61
15.7 Loop Control Ashrae Cycle 1 ..........................................................................63
15.8 Loop Control Ashrae Cycle 2 ..........................................................................65
15.9 Loop Control Ashrae Cycle 2 with Cooling ....................................................67
15.10 Loop Control Ashrae Cycle 3 ........................................................................71
15.11 Loop Control Ashrae Cycle 3 with Cooling ..................................................73
16.0 Drive ....................................................................................................................77
17.0 Selection...............................................................................................................79
17.1 Switch ..............................................................................................................80
17.2 High/Low Select ..............................................................................................80
17.3 Loop Invert.......................................................................................................81
18.0 Flow Detect..........................................................................................................82
18.1 Flow Detect Normal Operation........................................................................83
18.2 Flow Detect Flow Verification ........................................................................83
18.3 Flow Detect Flow Interruption.........................................................................84
19.0 Momentary Start/Stop..........................................................................................85
20.0 Totaliser ...............................................................................................................87
21.0 Analogue Limit (Clamping).................................................................................89
22.0 Set Point Adjust ...................................................................................................90
23.0 Digital Alarm .......................................................................................................92
24.0 Analogue Alarm...................................................................................................94
25.0 Digital to Analogue Conversion ..........................................................................97
26.0 Analogue to Digital Conversion ..........................................................................98
27.0 Analogue to Percentage Conversion..................................................................100
28.0 Percentage to Analogue Conversion..................................................................101
29.0 Scale Conversion ...............................................................................................102
30.0 Holiday...............................................................................................................103
31.0 Scheduler............................................................................................................104
32.0 Optimum Start Stop ...........................................................................................106
32.1 Optimum Start Stop Operation ......................................................................108
33.0 Sequencer...........................................................................................................110
33.1 Sequencer Operation......................................................................................111
34.0 Timer Function...................................................................................................113
35.0 Logic Function ...................................................................................................115
35.1 Logic Function Operation ..............................................................................116
36.0 Counter...............................................................................................................122
37.0 Mathematic ........................................................................................................124
37.1 Mathematic Operation ...................................................................................125
38.0 Digital Gate........................................................................................................126
39.0 Analogue Gate ...................................................................................................127
40.0 Sample and Hold................................................................................................128
41.0 Mixed Air Volume .............................................................................................129
42.0 Pulse Accumulator .............................................................................................130
43.0 Digital Input Expander.......................................................................................132

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 3 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

44.0 Table Conversion ...............................................................................................135


45.0 Dew Point...........................................................................................................136
46.0 Communication Monitoring...............................................................................137

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 4 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Figures
Figure 1: Analogue Input Alarm Operation.................................................................16
Figure 2: Analogue Output Limit (Clamping) Control................................................23
Figure 3: Digital Input Alarm Operation in Auto Reset Type (Active High)..............28
Figure 4: Digital Input Alarm Operation in Manual Reset Type (Active High) .........29
Figure 5: Digital Input Latch Operation ......................................................................30
Figure 6: Digital Output Minimum On/Off Time State Diagram................................34
Figure 7: Digital Output Inter-output Delay State Diagram ........................................35
Figure 8: PWM Duty Cycle and Period.......................................................................39
Figure 9: Digital State Latch Operation.......................................................................46
Figure 10: Thermostat in Cooling Operation...............................................................51
Figure 11: Thermostat in Heating Operation ...............................................................51
Figure 12: Thermostat Cut In/Cut Out Delay ..............................................................52
Figure 13: Loop Control Single Loop Direct Operation (Cooling) .............................59
Figure 14: Loop Control Single Loop Reverse Operation (Heating) ..........................60
Figure 15: Loop Control Single Loop Direct Unoccupied Operation .........................60
Figure 16: Loop Control Single Loop Reverse Unoccupied Operation ......................61
Figure 17: Loop Control Sequence Loop.....................................................................62
Figure 18: Loop Control Sequence Loop Unoccupied Operation ...............................62
Figure 19: Loop Control Ashrae Cycle 1 Operation....................................................64
Figure 20: Loop Control Ashrae Cycle 1 Unoccupied Operation ...............................65
Figure 21: Loop Control Ashrae Cycle 2 Operation....................................................66
Figure 22: Loop Control Ashrae Cycle 2 Unoccupied Operation ...............................67
Figure 23: Loop Control Ashrae Cycle 2 Operation with Cooling..............................69
Figure 24: Loop Control Ashrae Cycle 2 with Cooling Unoccupied Operation .........71
Figure 25: Loop Control Ashrae Cycle 3 Operation....................................................72
Figure 26: Loop Control Ashrae Cycle 3 Unoccupied Operation ...............................73
Figure 27: Loop Control Ashrae Cycle 3 Operation with Cooling..............................74
Figure 28: Loop Control Ashrae Cycle 2 with Cooling Unoccupied Operation .........76
Figure 29: Selection as Switch.....................................................................................80
Figure 30: Selection as High/Low Select.....................................................................80
Figure 31: Selection as Loop Invert.............................................................................81
Figure 32: Flow Detect Normal Operation ..................................................................83
Figure 33: Flow Detect Flow Verification...................................................................83
Figure 34: Flow Detect Flow Interruption ...................................................................84
Figure 35: Momentary Start/Stop Operation ...............................................................86
Figure 36: Set Point Adjust Direct Operation..............................................................91
Figure 37: Set Point Adjust Reverse Operation...........................................................91
Figure 38: Digital Alarm Operation in Auto Reset Type (Active High) .....................93
Figure 39: Digital Alarm Operation in Manual Reset Type (Active High).................93
Figure 40: Analogue Alarm Operation ........................................................................96
Figure 41: Timer Function On Delay Operation........................................................113
Figure 42: Timer Function Off Delay Operation.......................................................114
Figure 43: Timer Function Min On Time ..................................................................114
Figure 44: Timer Function Min Off Time .................................................................114
Figure 45: Logic Function AND Diagram.................................................................116
Figure 46: Logic Function OR Diagram....................................................................117
Figure 47: Logic Function AND/OR Diagram ..........................................................117
Figure 48: Logic Function OR/AND Diagram ..........................................................118
Figure 49: Logic Function XOR Diagram .................................................................118

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 5 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Figure 50: Logic Function Latch Diagram ................................................................119


Figure 51: Logic Function Latch Operation Timing Diagram...................................119
Figure 52: Logic Function RS Flip Flop Diagram.....................................................120
Figure 53: Logic Function RS Flip Flop Timing Diagram ........................................120
Figure 54: Logic Function Clocked RS Flip Flop Diagram ......................................120
Figure 55: Logic Function Clock RS Flip Flop Timing Diagram .............................121
Figure 56: Cascading Counter ...................................................................................123
Figure 57: Digital Gate Timing Diagram...................................................................126
Figure 58: Sample and Hold Diagram .......................................................................128
Figure 59: Pulse Input Minimum On and Off time....................................................130
Figure 60: Resistor-to-Resistor Network for Digital Input Expander .......................132
Figure 61: Input with external driver circuit..............................................................132
Figure 62: Communication Monitoring .....................................................................137

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 6 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Tables
Table 1: Analogue Input Temperature Table Selection ...............................................13
Table 2: Digital Input Polarity .....................................................................................27
Table 3: Digital Output Polarity ..................................................................................33
Table 4: PWM Duty Cycle and On/Off Time..............................................................39
Table 5: Multistate Output Control..............................................................................41
Table 6: Fan Control Output Speed .............................................................................43
Table 7: Fan Control Hysteresis ..................................................................................43
Table 8: Logic Function AND Operation True Table ...............................................116
Table 9: Logic Function OR Operation True Table...................................................116
Table 10: Logic Function AND/OR Operation True Table.......................................117
Table 11: Logic Function OR/AND Operation True Table.......................................118
Table 12: Logic Function XOR Operation True Table..............................................118
Table 13: Logic Function RS Flip Flop Operation True Table .................................119
Table 14: Logic Function Clocked RS Flip Flop Operation True Table ...................120
Table 15: Digital Input Expander Polarity.................................................................133
Table 16: Conversion Table Selection.......................................................................135

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 7 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

1.0 Introduction
The EasyIO-30P has built in function blocks for standalone operation as well as for
remote control. This document describes the function block registers

1.1 Input/Output
1) Digital Input
2) Digital Output
3) PWM Control (Open Collector Output)
4) Analog Input
5) Analog Output
6) Digital & Analog Internal Register
7) Multi-state
8) Fan Control
9) Digital State Latch
10) Digital State Timer
11) Digital State Counter
12) Digital Input Expander

1.2 Loop/Process
1) Thermostat
2) Loop Control (PID)
3) Drive
4) Selection
5) Flow Detect
6) Momentary Start/Stop
7) Totaliser
8) Analog Limit
9) Set Point Adjust
10) Digital Alarm
11) Analog Alarm

1.3 Conversion
1) Digital to Analogue
2) Analogue to Digital
3) Analogue to Percentage
4) Percentage to Analogue
5) Scaling
6) Table Conversion

1.4 Schedule
1) Holiday
2) Scheduler
3) Optimum Start/Stop

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 8 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

1.5 Timer/Sequencer
1) Sequencer
2) Timer Function

1.6 Utilities
1) Logic
2) Counter
3) Mathematic
4) Digital Gate
5) Analog Gate
6) Sample & Hold
7) Mixed Air Volume

1.7 Others
1) Coil Output Register Binding
2) Holding Register Binding

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 9 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

2.0 Analogue Input (Universal Input)


The Analogue Input function block provides a means of reading the analogue value
connected to one of the physical analogue type points on a controller.

There are eight analogue input points on EasyIO30P controller that support voltage,
current, resistance and temperature sensors. The input type is selected via AI
configuration and hardware jumper setting. For temperature sensors, standard curves
for 10K Thermistor (with or without 11K shunt), 1K Balco and 1K Platinum (in
degree C and Fahrenheit F) are provided within the internal tables. Additional tables
are also available as user defined curves.

2.1 Analogue Input Value

Analogue Input Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Analogue Input function block output value. The Value varies depend on the
Type selection.
Current, Voltage Type = Scale Value
Resistance Type = Resistance in Ohm
Temperature Sensor = C or F (depend of the temperature curve table)

Analogue Input Raw Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The physical input value of the AI. The Raw Value varies depend on the Type
selection.
Current Type= mA
Voltage Type = Volt
Resistance Type = Resistance in Ohm
Temperature Sensor = Resistance in Ohm

Analogue Input Out Of Service


Register Type: Binary
Minimum: 0 Maximum: 1

Enable Out Of Service will disconnect the Analogue Input physical input to the
Analogue Input function block.
0 Disable
1 Enable

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 10 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

2.2 Analogue Input Conversion


Analogue Input Type
Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 9

The AI Type defines the sensor type connected to the physical point and determines
the conversion algorithm.
0 Current, 4 20mA
1 Current, 0 20mA
2 Voltage, 0 10V
3 Voltage, 0 5V
4 Resistance, 30K ranges
5 Resistance, 10K ranges
6 Resistance, 1.5K ranges
7 Temperature Sensor, 30K ranges (e.g. 10K Thermistor)
8 Temperature Sensor, 10K ranges (e.g. 10K Thermistor with 11K shunt)
9 Temperature Sensor, 1.5K ranges (e.g. 1K Balco, 1K Platinum)

Analogue Input Linearization


Register Type: Binary
Minimum: 0 Maximum: 1

The AI provides square root conversion for use with those square law measuring
devices without using an external square root converter. No conversion is carried out
for Linear selection.
0 Linear
1 Square Root

The relationship between physical input value and the calculated value (expressed in
percentage) is:

Calculated Value (%) = 10 * input (%)


Where,
input (%) = 100* physical value/(Calibration High Calibration Low)
AI Value = (Calculated Value/100) * (Scale High Scale Low)

Analogue Input Scale Low Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Scale Low Value is only applied to voltage and current Type selection. It defines
the output value of the AI when the input at the hardware point equals to the lowest
value.
Current (4 20mA): 4mA
Current (0 20mA): 0mA
Voltage (0 10V): 0V
Voltage (0 5V): 0V

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 11 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Analogue Input Scale High Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Scale High Value is only applied to voltage and current Type selection. It defines
the output value of the AI when the input at the hardware point equals to the highest
value.
Current (4 20mA): 20mA
Current (0 20mA): 20mA
Voltage (0 10V): 10V
Voltage (0 5V): 5V

Analogue Input Offset


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

Defines the offset calibration value added (positive value) or subtracted (negative
value) from the calculated output value prior to placing to the final Analogue Input
Value output.

Output Value = Input Value (after conversion) +/- Offset.

Analogue Input Low Cutoff Enable


Register Type: Binary
Minimum: 0 Maximum: 1

Some sensors might have unstable output at low range operation. The Low Cutoff
function helps to filter the unstable value by forcing the output value to Scale Low
Value when the input value is lower than the Low Cutoff Value. The Low Cutoff
Enable only applied to current and voltage Type selection.
1 = Enable
0 = Disable

Analogue Input Low Cutoff Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the cutoff value for AI input value. If the Low Cutoff is
enabled, the output value will be set to Scale Low Value whenever the input value is
lower than the Low Cutoff Value. The Low Cutoff Enable only applied to current and
voltage Type selection.
if (AI Value < Low Cutoff Value)
AI Value = Scale Low Value

Analogue Input Decimal Point


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 4

This parameter defines the roundup decimal point precision of the AI Value during
conversion.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 12 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Analogue Input Temperature Table


Register Type: Unsigned Integer (16 bits)
Minimum: 1 Maximum: 16

This parameter defines the temperature curve table index used for lookup conversion
for Temperature Sensor Type selection. The register type is 16-bits integer, setting
range is 1 to 16. The controller has built in 8 default temperature tables (9 to 16) and 8
user defined/customizable temperature tables (1 to 8). Here is the table index:

Temperature Table Index Type of Temperature Sensor


18 User defined Table 1 8 (default = table 9 16)
9 10K shunt (11K) Thermistor in Degree C
10 10K Thermistor in Degree C
11 1K Balco in Degree C
12 1K Platinum in Degree C
13 10K shunt (11K) Thermistor in Degree Fahrenheit
14 10K Thermistor in Degree Fahrenheit
15 1K Balco in Degree Fahrenheit
16 1K Platinum in Degree Fahrenheit

Table 1: Analogue Input Temperature Table Selection

2.3 Analogue Input as Digital Input


Analogue Input Digital Enable
Register Type: Binary
Minimum: 0 Maximum: 1

The AI can be used as digital input by means of conversion. The DI function block
channel 9 to 16 is mapped to the Analogue Digital Value. When Digital Enable is set
to enable, the AI Value is compare with the Digital On Level and Digital Off Level
value to determine its ON/OFF state.
1 = Enable
0 = Disable

Analogue Input Digital On Level


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the ON state level of the AI Value for digital transformation.
A positive Digital On Level value means greater than, and a negative Digital On Level
value means lower than during comparison.

Positive Value: The AI digital state will be set to ON when the AI Value is
greater than Digital On Level.
Negative Value: The AI digital state will be set to ON when the AI Value is
lower than Digital On Level.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 13 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Analogue Input Digital Off Level


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the OFF state level of the AI Value for digital transformation.
A positive Digital Off Level value means greater than, and a negative Digital On Level
value means lower than during comparison.

Positive Value: The AI digital state will be set to OFF when the AI Value is
greater than Digital Off Level.
Negative Value: The AI digital state will be set to OFF when the AI Value is
lower than Digital Off Level.

Example:
a) Digital Enable is on, Digital On Level = +55, Digital Off Level = -45

AI Value Analogue Digital State


< 45 OFF
45 - 55 No change
> 55 ON

b) Digital Enable is on, Digital On Level = -60, Digital Off Level = +70

AI Value Analogue Digital State


< 60 ON
60 70 No change
> 70 OFF

2.4 Analogue Input Alarm Operation


Analogue Input High Alarm Enable
Register Type: Binary
Minimum: 0 Maximum: 1

Enable/disable the Analogue Input high limit alarm function.


1 = High Alarm Enabled
0 = High Alarm Disabled

Analogue Input Low Alarm Enable


Register Type: Binary
Minimum: 0 Maximum: 1

Enable/disable the Analogue Input low limit alarm function.


1 = Low Alarm Enabled
0 = Low Alarm Disabled

Analogue Input Alarm Low Limit


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 14 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

This parameter defines AI level for Low Alarm activation. The AI Value is monitored
and compared to this value to initiate the Low Alarm sequence.

Analogue Input Alarm High Limit


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines AI level for High Alarm activation. The AI Value is monitored
and compared to this value to initiate the High Alarm sequence.

Analogue Input Alarm Deadband Limit


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines a deadband value which is applied to Low and High Alarm
Limit values to determine the return from alarm trip points. To return from High
Alarm trip point, the AI Value must be lower than the Alarm High Limit by Alarm
Deadband Limit. To return from Low Alarm trip point, the AI Value must be greater
than the Alarm Low Limit by Alarm Deadband Limit.

AI Value Alarm Condition


> Alarm High Limit High Alarm
< Alarm High Limit Alarm Deadband Return from High Alarm
Limit
< Alarm Low Limit Low Alarm
> Alarm Low Limit + Alarm Deadband Return from Low Alarm
Limit

Analogue Input Alarm Delay Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

Defines the duration (in seconds) that the AI Value must be:
- in the alarm condition before alarm state is generated
- in the non-alarm condition before returned from alarm state

Analogue Input Alarm


Register Type: Binary
Minimum: 0 Maximum: 1

This alarm output is set to ON whenever the alarm function algorithm has determined
an alarm condition, either High or Low Alarm. An OFF indicates that the AI Value is
in normal range.
1 = Alarm State
0 = Normal Operation

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 15 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Analogue Input Alarm Type


Register Type: Binary
Minimum: 0 Maximum: 1

To indicate the type of alarm occurred, High or Low alarm. The Alarm Type is valid
when the Alarm is in alarm state.
1 = High Alarm
0 = Low Alarm

Analogue Input Alarm Reset Type


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter defines how alarm is reset after activation. Under Auto mode, the
Alarm state will be reset when the AI State is in the non-alarm condition. For Manual
mode, when alarm is triggered, the Alarm state will stay on even the AI State is back
to non-alarm condition.
1 = Manual
0 = Auto

Analogue Input Reset Alarm


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Alarm State in Auto
Alarm Reset Type.
0 to 1 = Alarm State reset to 0

Figure 1: Analogue Input Alarm Operation

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 16 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

2.5 Analogue Input Logging


Analogue Input Minimum Value
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Minimum Value holds the lowest value of the AI Value since last system reset or
reset action.

Analogue Input Reset Minimum Value


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Minimum Value output to
0. The Reset Minimum Value will be reset to OFF state automatically.
0 to 1 = Minimum Value reset to 0

Analogue Input Maximum Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Maximum Value holds the highest value of the AI Value since last system reset or
reset action.

Analogue Input Reset Maximum Value


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Maximum Value output to
0. The Reset Maximum Value will be reset to OFF state automatically.
0 to 1 = Maximum Value reset to 0

2.6 Sensor Input (Timed Override Function)


When the AI configured as Temperature Sensor type, it can be connected to
temperature sensor equipped with push-button switch (where activating the switch is
shortening the temperature sensor). This push-button switch temperature sensor can
be used to start or cancel a Timed Override Function.

The application monitors the AI values and determines the proper output value. The
application will hold the last temperature reading before the Timed Override Function
is activated and this reading will be remain during the Timed Override Function
period.

Analogue Input Sensor Type


Register Type: Unsigned Integer (16 bits)
Minimum:0 Maximum: 3

This parameter defines the push button type used with the temperature sensor.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 17 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

0 No Switch (disabled)
1 Push Button
2 Push Button with Cancel
3 Continuous Switch (On/Off Switch)

No Switch A switch type of No Switch disables the Time Override


Function, the Temperature Override Time Remain register will be always set to
0. A short condition will cause the application to interpret the sensor input as
out of range condition, and the Temperature Sensor Error will be activated.

Push Button A switch type of Push Button (works like momentary switch)
enables the user to initiate the Timed Override Function. When the Push
Button is pressed for more than 1 second, the Time Override Function will be
activated, and the Temperature Override Time Remain register will show the
remaining override time. The override time period is set through Temperature
Override Time register. During the override period, the sensor input value will
hold the last reading before the button is pressed.
The Time Override function will stop when the override time is reduced to
zero. In this case, the sensor reading is as usual.

If the Push Button is continuous pressed for more than 9 seconds, then the
sensor is considered permanent shorted and the Temperature Sensor Error
will be activated.

When the Push Button is pressed again during the Time Override period, the
Temperature Override Time Remain will be reset to it preset value (consider a
restart of Time Override function). The Push Button type of override function
cannot be disabled manually.

Push Button with Cancel A switch type of Push Button with Cancel
enables the user to initiate and to cancel the Timed Override Function.

If the button is pressed for more than 1 second but less than 4 seconds, then the
Timed Override Function is activated.

If the button is pressed for more than 4 second but less than 9 seconds, then the
Timed Override Function is cancelled.

If the button is continuous pressed for more than 9 seconds, then the sensor is
considered permanent shorted and the Temperature Sensor Error will be
activated.

Continuous Switch A switch type of Continuous Switch enables user to


continuing activate the Timed Override Function by permanently short the
sensor without giving sensor error message. A two ways switch (On/Off) is
normally used.
When the Continuous Switch is at on position (shorted) for more than 1
second, the Timed Override Function is activated, and the Temperature
Override Time Remain will show the value 65535 (this value will be hold and

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 18 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

will not be decreased). To disable/cancel the Timed Override Function, set the
switch to off position.

Switch Type Activate Deactivate Sensor Error


No Switch - - Shorted
Push Button Press > 1 sec, < 9 sec Override Time Elapsed Shorted > 9 sec
Push Button Press > 1 sec, < 4 sec Press > 4 sec, < 9 sec or Shorted > 9 sec
with Cancel Override Time Elapsed
Continuous On Position (shorted) Off Position (opened) No error
Switch indication

Analogue Input Temperature Override Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This parameter defines the duration of the Timed Override Function in minutes.

Analogue Input Temperature Sensor Override


Register Type: Binary
Minimum: 0 Maximum: 1

This status output is set to ON whenever the Timed Override Function is activated.
1 = Timed Override Function Activated
0 = Normal Operation

Analogue Input Temperature Override Time Remain


Register Type: Unsigned Integer (16 bits)
Minimum:0 Maximum: 65535

This parameter indicates the remaining time of the activated Timed Override Function
sequence in minutes. This register will be set to 0 when the Timed Override Function
is disabled and set to 65535 when the Time Override Function sequence is in the
continuous mode.

Analogue Input Temperature Sensor Error


Register Type: Binary
Minimum: 0 Maximum: 1

This status output is set to ON whenever the sensor input reading is under the
Temperature Sensor Low Limit (Holding Register Address 367-382 - Float) or over
the Temperature Sensor High Limit (Holding Register Address 383-398 - Float) under
normal operation when Temperature Sensor Type is selected as AI conversion. When
Timed Override Function is enabled, the sensor error detection will be different as
explained in the above paragraph.
1 = Sensor Error
0 = Sensor Normal

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 19 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

3.0 Analogue Output


The Analogue Output (AO) function block provides an interface to the physical
analogue output point that can source/drive a 0 to 20mA current or 0 to 10V voltage
signal.
There are four analogue output points on EasyIO30P controller that support voltage
and current. The output type is selected via AO configuration and hardware jumper
setting.

3.1 Analogue Output Value


Analogue Output Set Value
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter is the monitored input value to determine the value at the physical
output. The relationship between the input value and the output level is established by
the Scale Low/High Value and the Type selection. If the Value is bind to other
Analogue Out port, the Value will be overridden and its value will be updated by the
bind port value.

Analogue Output Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter indicates the current Analogue Output value.

Analogue Output Raw Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter indicates the physical output value of the AO. The Raw Value varies
depend on the Type selection.
Current Type= mA
Voltage Type = Volt

Analogue Output Out Of Service


Register Type: Binary
Minimum: 0 Maximum: 1

Enable Out Of Service will disconnect the Analogue Output physical output to the
Analogue Output function block.
0 Disable
1 Enable

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 20 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

3.2 Analogue Output Conversion


Analogue Output Type
Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 2

The AO Type defines the physical point characteristic and determines the conversion
algorithm.
0 Voltage, 0 10V
1 Current, 4 20mA
2 Current, 0 20mA

Analogue Output Scale Low Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Scale Low Value defines the output value of the AO when the output at the
hardware point equals to the lowest value.
Voltage (0 10V): 0V
Current (0 20mA): 0mA
Current (4 20mA): 4mA

Analogue Output Scale High Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Scale High Value defines the output value of the AO when the output at the
hardware point equals to the highest value.
Voltage (0 10V): 10V
Current (0 20mA): 20mA
Current (4 20mA): 20mA

The AO uses the Scale Low Value and Scale High Value to convert the output value to
physical value. Raw Value register shows the physical output.

Physical Value = (Value (%)) * (Scale High Scale Low)

For instance:
Type= Current 4 20mA
Scale Low Value = 0%
Scale High Value = 100%
Current AO Value = 50%
Physical AO Value = 12mA (Raw Value)

Analogue Output Square Root Output


Register Type: Binary
Minimum: 0 Maximum: 1

The AO provides square root conversion output to allow direct connection to square
law reading devices without using an external square root converter.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 21 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

0 Disable
1 Enable

The relationship between output value and the physical value (expressed in percentage)
is:
Physical Calculated Value (%) = Output (%) * Output (%)
Physical Value = Physical Calculated Value (%) * (Output High Output Low) + Output Low

Where,
Output (%) = 100 * Output Value/ (Scale High Value Scale Low Value)
Output High = 10V (voltage type), 20mA (current type)
Output Low = 0V (voltage type), 0mA (current type 0 20mA), 4mA (current type 4 20mA)

Analogue Output Reverse Output


Register Type: Binary
Minimum: 0 Maximum: 1

The AO function block physical output value can be inverted by enable the Reverse
Output setting.
0 Disable
1 Enable

The relationship between reverse output and the output value is as follow:

Reverse Output (%) = 100 - Output Value (%)

3.3 Analogue Output Limit Control


Analogue Output Clamping Low Enable
Register Type: Binary
Minimum: 0 Maximum: 1

Enable the AO low limit control.


0 Disable
1 Enable

Analogue Output Clamping High Enable


Register Type: Binary
Minimum: 0 Maximum: 1

Enable the AO high limit control.


0 Disable
1 Enable

Analogue Output Clamping Low Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the low limit of the AO output value.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 22 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Analogue Output Clamping High Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the high limit of the AO output value.

The AO Limit Control function provides a method of restricting the range of analogue
output value. Diagram below shows the relationship between the set output value and
actual output value when clamping is enabled.

Set Output Value

Clamping High Value


(Clamping High Enable)

Clamping Low Value


(Clamping Low Enable)

Actual Output Value

Figure 2: Analogue Output Limit (Clamping) Control

3.4 Analogue Output Unoccupied Control


Analogue Output Unoccupied Enable
Register Type: Binary
Minimum: 0 Maximum: 1

Analogue Output control is disabled during unoccupied mode if the Unoccupied


Control is enabled. The Output Value during unoccupied mode is determined by
Unoccupied Value setting.
1 = Enable
0 = Disable

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 23 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Analogue Output Unoccupied Value


Register Type: Binary
Minimum: 0 Maximum: 1

The Output Value during unoccupied mode.


1 = ON
0 = OFF

3.5 Analogue Output Logging


Analogue Output Minimum Value
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Minimum Value holds the lowest value of the AO Value since last system reset or
reset action.

Analogue Output Reset Minimum Value


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Minimum Value output to
0. The Reset Minimum Value will be reset to OFF state automatically.
0 to 1 = Minimum Value reset to 0

Analogue Output Maximum Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Maximum Value holds the highest value of the AO Value since last system reset
or reset action.

Analogue Output Reset Maximum Value


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Maximum Value output to
0. The Reset Maximum Value will be reset to OFF state automatically.
0 to 1 = Maximum Value reset to 0

3.6 Analogue Output Priority Control


The Analogue Output priority control is applicable to Bacnet version only.

Analogue Output Direct/Binding Priority


Register Type: Unsigned Integer (16 bits)
Minimum: 1 Maximum: 16

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 24 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

The Analogue Output Direct/Binding Priority defines the priority used in web page
control, configurator and binding control of the Analogue Output Set Value. Priority 1
has the highest priority, follow by priority 2 and so on.

Analogue Output Current Priority Control


Register Type: Unsigned Integer (16 bits)
Minimum: 1 Maximum: 16

This register indicates the current priority in control for the Analogue Output Set
Value register. For Bacnet version, the Analogue Output Set Value might be
overridden by the remote in case of emergency.

3.7 Analogue Output Communication Lost Control


Analogue Output Comm Lost Fallback Enable
Register Type: Binary
Minimum: 0 Maximum: 1

This register enables the AO fallback value control when the controller
communication to host is lost.
0 Disable
1 Enable

Analogue Output Comm Lost Fallback Set Value


Register Type: Binary
Minimum: Not Specified Maximum: Not Specified

This register specifies the analogue value to be set to AO when the controller
communication to host is lost.

Analogue Output Comm Lost Reset Priority


Register Type: Binary
Minimum: 0 Maximum: 1

For Bacnet application, Analogue Output value is prioritized. The AO priority will be
set according to Analogue Output Direct/Binding Priority when the controller
communication to host is lost.
0 Disable
1 Enable

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 25 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

4.0 Digital Input


The Digital Input function block provides a means of reading the digital value
connected to one of the physical input points on the controller. The typical usage is to
monitor the status of contact closures from various field devices such as switches,
open/close sensors or any other dry contact devices.

There are 16 digital input points on EasyIO30P controller. Eight of them are derived
directly from digital input detection circuitry (+5Vdc pulled up), named DI1 to DI8
whereby the other eight inputs are derived from universal input (UI or AI) using value
conversion (D9 to D16) under Resistance mode. DI1 to DI8 might have different
characteristics if compare to DI9 to DI16 depend on the AI settings. Please refer to AI
function block section for the conversion.

4.1 Digital Input Value


Digital Input State
Register Type: Binary
Minimum: 0 Maximum: 1

The Digital Input output state, ON or OFF. The DI State is the absolute state when
referred by other application object.
1 = ON
0 = OFF

Digital Input Polarity


Register Type: Binary
Minimum: 0 Maximum: 1

Polarity controls the relationship between the physical digital input and the DI state.
1 = Reverse
0 = Direct

Direct selection causes the output value (DI State) to directly reflect the digital
condition of the physical point. An active state (closed contact) is considered ON
while inactive state (open contact) is considered OFF.

Reverse selection causes the output value to inversely reflect the digital condition of
the physical point. An active state (closed contact) is considered OFF while inactive
state (open contact) is considered ON.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 26 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Table below shows the truth table of the relationship between the physical point and
the output state under polarity control.

Physical Hardware Physical State Polarity DI State


Open Contact Active Direct ON
Closed Contact Inactive Direct OFF
Open Contact Active Reverse OFF
Closed Contact Inactive Reverse ON

Table 2: Digital Input Polarity

Digital Input Out Of Service


Register Type: Binary
Minimum: 0 Maximum: 1

Enable Out Of Service will disconnect the Digital Input physical input to the Digital
Input function block.
0 Disable
1 Enable

4.2 Digital Input Alarm Operation


Digital Input Alarm Enable
Register Type: Binary
Minimum: 0 Maximum: 1

Enable/disable the Digital Input alarm function.


1 = Alarm Enabled
0 = Alarm Disabled

Digital Input Alarm Monitor State


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter defines the alarm activation (trip state) that the DI State is
continuously monitored and compared against.
1 = ON (Active High)
0 = OFF (Active Low)

Digital Input Alarm Reset Type


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter defines how alarm is reset after activation. Under Auto mode, the
Alarm state will be reset when the DI State is in the non-alarm condition. For Manual
mode, when alarm is triggered, the Alarm state will stay on even the DI State is back
to non-alarm condition.
1 = Manual
0 = Auto

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 27 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Digital Input Alarm Delay Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This parameter defines the duration (in seconds) that the DI state must be:
- in the alarm condition before alarm state is generated
- in the non-alarm condition before returned from alarm state

Digital Input Alarm


Register Type: Binary
Minimum: 0 Maximum: 1

This alarm output is set to ON whenever the alarm function algorithm has determined
an alarm condition. An OFF indicates that the DI State is in normal condition.
1 = Alarm State
0 = Normal Operation

Digital Input Reset Alarm


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Alarm State Auto Alarm
Reset Type.
0 to 1 = Alarm State reset to 0

Alarm
Enable

Input

Alarm

>= Alarm Delay >= Alarm Delay < Alarm Delay Time
Time Time

>= Alarm Delay


Time

Figure 3: Digital Input Alarm Operation in Auto Reset Type (Active High)

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 28 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Input

Alarm Reset
Alarm

Reset Alarm

>= Alarm Delay >= Alarm Delay


Time Time

Figure 4: Digital Input Alarm Operation in Manual Reset Type (Active High)

4.3 Digital Input Latch


Digital Input On Latch
Register Type: Binary
Minimum: 0 Maximum: 1

On Latch is the OFF to ON transition capture at the DI State. This output remains in
ON state following the first OFF to ON transition unless reset by Clear On Latch
input.
1 = At least one OFF to ON transition
0 = No OFF to ON transition occurred or reset by Clear On Latch

Digital Input Clear On Latch


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition clears the On Latch output from
the last latch. The Clear On Latch will be reset to OFF state automatically.
0 to 1 = On Latch reset to OFF

Digital Input Off Latch


Register Type: Binary
Minimum: 0 Maximum: 1

Off Latch is the ON to OFF transition capture at the DI State. This output remains in
ON state following the first ON to OFF transition unless reset by Clear Off Latch
input.
1 = At least one ON to OFF transition
0 = No ON to OFF transition occurred or reset by Clear Off Latch

Digital Input Clear Off Latch


Register Type: Binary
Minimum: 0 Maximum: 1

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 29 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

An OFF to ON (positive edge triggered) transition clears the Off Latch output from
the last latch. The Clear Off Latch will be reset to OFF state automatically.
0 to 1 = Off Latch reset to OFF

Input

Latch

Reset

Figure 5: Digital Input Latch Operation

4.4 Digital Input Timer


Digital Input On Timer
Register Type: Unsigned Long (32 bits)
Minimum: 0 Maximum: 4294967295

On Timer is the duration (in seconds) of the DI State remains in the ON state. The On
Timer is reset to 0 automatically when an OFF to ON transition is occurred at the DI
State and it will hold the value when the DI State is at OFF state. Use Reset On Timer
to clear the timer manually.

Digital Input Reset On Timer


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the On Timer output to 0. The
Reset On Timer will be reset to OFF state automatically.
0 to 1 = On Timer reset to 0

Digital Input Off Timer


Register Type: Unsigned Long (32 bits)
Minimum: 0 Maximum: 4294967295

Off Timer is the duration (in seconds) of the DI State remains in the OFF state. The
Off Timer is reset to 0 automatically when an ON to OFF transition is occurred at the
DI State and it will hold the value when the DI State is at ON state. Use Reset Off
Timer to clear the timer manually.

Digital Input Reset Off Timer


Register Type: Binary
Minimum: 0 Maximum: 1

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 30 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

An OFF to ON (positive edge triggered) transition reset the Off Timer output to 0. The
Reset Off Timer will be reset to OFF state automatically.
0 to 1 = Off Timer reset to 0

4.5 Digital Input Counter


Digital Input On Counter
Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

On Counter provides a means to count OFF to ON digital transition on the DI State.


This output increments by one on each DI State OFF to ON transition.

Digital Input Reset On Counter


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the On Counter output to 0.


The Reset On Counter will be reset to OFF state automatically.
0 to 1 = On Counter reset to 0

Digital Input Off Counter


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

Off Counter provides a means to count ON to OFF digital transition on the DI State.
This output increments by one on each DI State ON to OFF transition.

Digital Input Reset Off Counter


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Off Counter output to 0.
The Reset Off Counter will be reset to OFF state automatically.
0 to 1 = Off Counter reset to 0

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 31 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

5.0 Digital Output


The Digital Output function block provides a means of turning a physical digital
output point OFF or ON. The typical usage is for start/stop controls of external
equipment such light, valve, fan or any other digital control equipment. The DO
function block monitors the required set state and determines the proper hardware
output action based on its settings.

There are eight digital output points on EasyIO30P controller. Each of them is driven
by a dry contact relay (SPST Relay) which is able to drive the external devices up to 1
Ampere (AC/DC).

5.1 Digital Output Value


Digital Output Set State
Register Type: Binary
Minimum: 0 Maximum: 1

This parameter is the monitored input to determine the value at the physical output,
ON or OFF. The physical output state changed might be delayed depend on the
parameters setting. If the Set State DI is bind to other object Digital Out port, the Set
State will be overridden and its state will be updated by the bind port value.
1 = ON
0 = OFF

Digital Output State


Register Type: Binary
Minimum: 0 Maximum: 1

The Digital Output output state, ON or OFF. The Output State is the absolute state
when referred by other application objects.
1 = ON
0 = OFF

Digital Output Polarity


Register Type: Binary
Minimum: 0 Maximum: 1

Polarity controls the relationship between the physical digital output and the Set state.
1 = Reverse
0 = Direct

Direct selection causes the Output State to directly reflect the digital condition of the
Set state. An active state (closed contact) is considered ON while inactive state (open
contact) is considered OFF.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 32 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Reverse selection causes the Output State to inversely reflect the digital condition of
the Set state. An active state (closed contact) is considered OFF while inactive state
(open contact) is considered ON.

Table below shows the truth table of the relationship between the physical point and
the Set state under polarity control.

Set State Polarity Physical State Output State


OFF Direct Inactive Open Contact
ON Direct Active Closed Contact
OFF Reverse Active Closed Contact
ON Reverse Inactive Open Contact

Table 3: Digital Output Polarity

Digital Output Out Of Service


Register Type: Binary
Minimum: 0 Maximum: 1

Enable Out Of Service will disconnect the Digital Output physical output to the
Digital Output function block.
0 Disable
1 Enable

5.2 Digital Output Unoccupied Control


Digital Output Unoccupied Control Enable
Register Type: Binary
Minimum: 0 Maximum: 1

Digital Output control is disabled during unoccupied mode if the Unoccupied Control
is enabled. The Output State during unoccupied mode is determined by Unoccupied
State setting.
1 = Enable
0 = Disable

Digital Output Unoccupied State


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter defines the output state during unoccupied mode.


1 = ON
0 = OFF

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 33 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

5.3 Digital Output On/Off Control


Digital Output Minimum On Time
Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

The Minimum On Time prevents the Output State from being changed to OFF state
from ON state for a specified time. This ensures that the Output State will stay ON for
a minimum period (in seconds) before it can be turned off. This prevents short-cycling
and helps to increase equipment life-cycle.

Digital Output Minimum Off Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

The Minimum Off Time prevents the Output State from being changed to ON state
from OFF state for a specified time. This ensures that the Output State will stay OFF
for a minimum period (in seconds) before it can be turned off. This prevents short-
cycling and help to increase equipment life-cycle.

Set State

Output
State
Minimum On Time Minimum Off Time

Figure 6: Digital Output Minimum On/Off Time State Diagram

Digital Output Inter-output Delay


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

The Inter-output Delay prevents other digital output objects to change theirs state for
a specific time (in seconds) after its state has changed. This protection prevents
equipments from turning on and off at the same time, hence reduces overloading, high
spike surge and other electrical problems.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 34 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Set State Output 1

Output 1

Set State Other


Output

Other Output

Inter-output Delay
Inter-output Delay

Figure 7: Digital Output Inter-output Delay State Diagram

5.4 Digital Output Timer


Digital Output On Timer
Register Type: Unsigned Long (32 bits)
Minimum: 0 Maximum: 4294967295

On Timer is the duration (in seconds) of the Output State remains in the ON state. The
On Timer is reset to 0 automatically when an OFF to ON transition is occurred at the
Output State and it will hold the value when the Output State is at OFF state. Use
Reset On Timer to clear the timer manually.

Digital Output Reset On Timer


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the On Timer output to 0. The
Reset On Timer will be reset to OFF state automatically.
0 to 1 = On Timer reset to 0

Digital Output Off Timer


Register Type: Unsigned Long (32 bits)
Minimum: 0 Maximum: 4294967295

Off Timer is the duration (in seconds) of the Output State remains in the OFF state.
The Off Timer is reset to 0 automatically when an ON to OFF transition is occurred at
the Output State and it will hold the value when the Output State is at ON state. Use
Reset Off Timer to clear the timer manually.

Digital Output Reset Off Timer


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Off Timer output to 0. The
Reset Off Timer will be reset to OFF state automatically.
0 to 1 = Off Timer reset to 0

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 35 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

5.5 Digital Output Counter


Digital Output On Counter
Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

On Counter provides a means to count OFF to ON digital transition on the Output


State. This output increments by one on each Output State OFF to ON transition.

Digital Output Reset On Counter


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the On Counter output to 0.


The Reset On Counter will be reset to OFF state automatically.
0 to 1 = On Counter reset to 0

Digital Output Off Counter


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

Off Counter provides a means to count ON to OFF digital transition on the Output
State. This output increments by one on each Output State ON to OFF transition.

Digital Output Reset Off Counter


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Off Counter output to 0.
The Reset Off Counter will be reset to OFF state automatically.
0 to 1 = Off Counter reset to 0

5.6 Digital Output Priority Control


The Digital Output priority control is applicable to Bacnet version only.

Digital Output Direct/Binding Priority


Register Type: Unsigned Integer (16 bits)
Minimum: 1 Maximum: 16

The Digital Output Direct/Binding Priority defines the priority used in web page
control, configurator and binding control of the Digital Output Set State. The priority
5 is reserved for internal Minimum On/Off control. Priority 1 has the highest priority,
follow by priority 2 and so on.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 36 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Digital Output Current Priority Control


Register Type: Unsigned Integer (16 bits)
Minimum: 1 Maximum: 16

This register indicates the current priority in control for the Digital Output Set State
register. For Bacnet version, the Digital Output Set State might be overridden by the
remote in case of emergency.

5.7 Digital Output Communication Lost Control


Digital Output Comm Lost Fallback Enable
Register Type: Binary
Minimum: 0 Maximum: 1

This register enables the DO fallback value control when the controller
communication to host is lost.
0 Disable
1 Enable

Digital Output Comm Lost Fallback Set State


Register Type: Binary
Minimum: 0 Maximum: 1

This register specifies the digital output state to be set to DO when the controller
communication to host is lost.

Digital Output Comm Lost Reset Priority


Register Type: Binary
Minimum: 0 Maximum: 1

For Bacnet application, Digital Output value is prioritized. The DO priority will be set
according to Digital Output Direct/Binding Priority when the controller
communication to host is lost.
0 Disable
1 Enable

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 37 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

6.0 Pulse Width Modulation (PWM)


The Pulse Width Modulation (PWM) function block output provides a time
proportioned On/Off digital output signal in response to a 0 to 100% input signal
(duty cycle, either fixed or dynamic). The digital On/Off cycle operation is
determined by the time period and the duty cycle. This output can be applied for both
fixed and compensated duty cycle applications like control valves, actuators, electric
heat loads and etc.

There are two PWM output points on EasyIO30P controller. The PWM outputs are
driven by isolated open collector transistor (3.75KV isolated) which able to sink 1A
current at maximum 60Vdc.

PWM Enable
Register Type: Binary
Minimum: 0 Maximum: 1

Enable/disable the PWM output control. When PWM output control is disabled, the
physical output will be set off state at all time.
0 Disable
1 Enable

PWM Period
Register Type: Unsigned Long (32 bits)
Minimum: 20 Maximum: 360000000

The Period input defines the repeating time for one complete On/Off cycle for the
PWM output. The Period may range from 20ms to 360000000ms (100 Hours).

PWM Set Duty Cycle


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Set Duty Cycle input determines the on and off duration of the PWM output for
one Period time. The input value will be scaled using Duty Cycle Low Scale and Duty
Cycle High Scale value.

Working Duty Cycle % = Set Duty Cycle Duty Cycle Low Scale
------------------------------------------------------------------ x 100%
(Duty Cycle High Scale Duty Cycle Low Scale)

If the Set Duty Cycle is lower than the Duty Cycle Low Scale value, then the Working
Duty Cycle will be set to 0%, and if the Set Duty Cycle is higher than the Duty Cycle
High Scale value, then the Working Duty Cycle will be set to 100%.

A 0% working duty cycle will set the PWM output to off state and 100% working
duty cycle will be set the PWM output to on state during the cycle time. Table below
shows how the output on and off time will be affected by the working duty cycle.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 38 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Working Duty On Time Off Time


Cycle
0.00 Off all the time
10.00 0.10 x Period 0.90 x
Period
25.00 0.25 x Period 0.75 x
Period
40.00 0.40 x Period 0.60 x
Period
50.00 0.50 x Period 0.50 x
Period
75.00 0.75 x Period 0.25 x
Period
90.00 0.90 x Period 0.10 x
Period
100.00 On all the time

Table 4: PWM Duty Cycle and On/Off Time

If the Set Duty Cycle is bind to other Analogue Out port (for instance, AI0), the Set
Duty Cycle will be overridden and its value will be updated by the bind port value.

PWM Duty Cycle Low Scale


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Duty Cycle Low Scale defines the Duty Cycle lowest value which is equivalent to
0%.

PWM Duty Cycle High Scale


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Duty Cycle High Scale defines the Duty Cycle highest value which is equivalent
to 100%.
On

Enable Off Off

On On On

PWM Output Off Off Off Off

Period

Duty Cycle

Figure 8: PWM Duty Cycle and Period

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 39 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

PWM Current State


Register Type: Binary
Minimum: 0 Maximum: 1

The PWM output state, ON or OFF.


1 = ON
0 = OFF

PWM Current Duty Cycle


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Current Duty Cycle shows the working duty cycle for the PWM output based on
the Set Duty Cycle, Duty Cycle Low Scale and Duty Cycle High Scale.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 40 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

7.0 Multistate
The Multistate function block output provides a translation of numeric input to digital
output. It decodes the input value to its equivalent digital output as shown in the table
below:

Control Value Output


0 All Off
1 Output 1 ON, others OFF
2 Output 2 ON, others OFF
3 Output 3 ON, others OFF
4 Output 4 ON, others OFF
5 Output 5 ON, others OFF
6 Output 6 ON, others OFF
7 Output 7 ON, others OFF
8 Output 8 ON, others OFF

Table 5: Multistate Output Control

Multistate Control Value


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 8

The Control Value defines the desired output control state value. The valid ranges are
from 0 to 8.

Multistate Output 1 8 State


Register Type: Binary
Minimum: 0 Maximum: 1

The current output state of the Multistate, only one output state can be set to On at one
time.
1 = ON
0 = OFF

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 41 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

8.0 Fan Control


The Fan Control function block is able to drive a point-type output for sequenced
control of up to three digital outputs to support one, two or three fan speed motor or it
can be configured to provide a proportional analogue output for variable speed fan
control. The Fan Control also provides other control sequences such as minimum
speed, minimum on time, kick time and hysteresis for a better fan operation.

Fan Control Enable


Register Type: Binary
Minimum: 0 Maximum: 1

Enable/disable the Fan Control function. If the Fan Control is disabled, all digital
outputs will be set to off and the variable speed output will be set to 0% and all timers
are reset.
1 = Enable
0 = Disable

Fan Control Type


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 3

This parameter defines the Fan Control output type.


0 = Analogue Output Type (Variable Speed Output)
1 = One Fan Speed (use Low Speed Output)
2 = Two Fan Speed (use High and Low Speed Output)
3 = Three Fan Speed (use High, Medium and Low Speed Output)

Fan Control Set Speed


Register Type: Floating point
Minimum: 0 Maximum: 100

The desired speed in percentage (0 100%) used by the Fan Control to determine the
output.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 42 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

The Fan Control output speed behaves differently with each configuration Type when
Set Speed changes as shown below:

Type Set Speed Low Medium High Variable


Speed Speed Speed Output
One Fan Speed 0% OFF OFF OFF 0%
>0%, <=100% ON OFF OFF 100%
Two Fan Speed 0% OFF OFF OFF 0%
>0%, < 50% ON OFF OFF 50%
>=50%, < 100% OFF OFF ON 100%
Three Fan Speed 0% OFF OFF OFF 0%
>0%, < 33.33% ON OFF OFF 33.33%
>=33.33%, < 66.66% OFF ON OFF 66.67%
>=66.66%, <= 100% OFF OFF ON 100%
Analogue 0% - 100% OFF OFF OFF 0% - 100%

Table 6: Fan Control Output Speed

Fan Control Hysteresis


Register Type: Floating point
Minimum: 0 Maximum: 100

The Hysteresis prevents the Fan Control point-type output to be changed too frequent
when the Set Speed is swing at the margin value. For instance, Three Fan Speed Type,
when the Set Speed value is fluctuating at range 66.60% to 66.70%, then the output
will be switched in between High and Medium fan speed. Table below shows the
relationship between Set Speed and output when hysteresis is applied.

Type Set Speed Low Medium High Variable


Speed Speed Speed Output
One Fan Speed <= (0% + H/2) OFF OFF OFF 0%
> (0% + H), <=100% ON OFF OFF 100%
Two Fan Speed <= (0% + H/2) OFF OFF OFF 0%
>(0% + H), < (50% - H) ON OFF OFF 50%
>(50% + H), <= 100% OFF OFF ON 100%
Three Fan Speed <= (0% + H/2) OFF OFF OFF 0%
> (0% + H), < (33.33% - H) ON OFF OFF 33.33%
> (33.33% + H), < (66.66% - H) OFF ON OFF 66.67%
> (66.66% + H), <= 100% OFF OFF ON 100%
where H = Hysteresis value

Table 7: Fan Control Hysteresis

Fan Control Kick Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

The Kick Time is the time period in seconds the fan control should run at highest
speed when it starts to run from off state before it can be switched to the desired lower
speed.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 43 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Fan Control Minimum On Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

The Minimum On Time is the time period in seconds the fan control should run
before it can be turned off.

Fan Control Minimum Speed


Register Type: Floating point
Minimum: 0 Maximum: 100

The Minimum Speed only applied to Analogue fan control type. It defines the
minimum speed the fan control can be set in percentage.

Fan Control High Speed


Register Type: Binary
Minimum: 0 Maximum: 1

The Fan Control digital high speed output state.


0 Off
1 On

Fan Control Med Speed


Register Type: Binary
Minimum: 0 Maximum: 1

The Fan Control digital medium speed output state.


0 Off
1 On

Fan Control Low Speed


Register Type: Binary
Minimum: 0 Maximum: 1

The Fan Control digital low speed output state.


0 Off
1 On

Fan Control Variable Speed


Register Type: Floating point
Minimum: 0 Maximum: 100

This parameter indicates the Fan Control Analogue current speed in percentage.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 44 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

9.0 Digital State Latch


Digital State Latch monitors the digital state transition from On to Off state and Off to
On state.

Digital State Latch Input


Register Type: Binary
Minimum: 0 Maximum: 1

The digital input state to the Digital State Latch.


0 = Off
1 = On

Digital State Latch On Latch State


Register Type: Binary
Minimum: 0 Maximum: 1

On Latch State is the OFF to ON transition capture at the Input State. This output
remains in ON state following the first OFF to ON transition unless reset by Reset On
Latch input.
1 = At least one OFF to ON transition
0 = No OFF to ON transition occurred or reset by Reset On Latch

Digital State Reset On Latch


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition clears the On Latch State output
from the last latch. The Reset On Latch will be reset to OFF state automatically.
0 to 1 = On Latch reset to OFF

Digital State Latch Off Latch State


Register Type: Binary
Minimum: 0 Maximum: 1

Off Latch is the ON to OFF transition capture at the Input State. This output remains
in ON state following the first ON to OFF transition unless reset by Reset Off Latch
input.
1 = At least one ON to OFF transition
0 = No ON to OFF transition occurred or reset by Reset Off Latch

Digital Input Reset Off Latch


Register Type: Binary
Minimum: 0 Maximum: 1

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 45 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

An OFF to ON (positive edge triggered) transition clears the Off Latch State output
from the last latch. The Reset Off Latch will be reset to OFF state automatically.
0 to 1 = Off Latch reset to OFF

Input

Latch

Reset

Figure 9: Digital State Latch Operation

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 46 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

10.0 Digital State Timer


Digital State Timer monitors the digital state On and Off period.

Digital State Timer Input


Register Type: Binary
Minimum: 0 Maximum: 1

The digital input state to the Digital State Timer.


0 = Off
1 = On

Digital State Timer On Timer


Register Type: Unsigned Long (32 bits)
Minimum: 0 Maximum: 4294967295

On Timer is the duration (in seconds) of the Input State remains in the ON state. The
On Timer is reset to 0 automatically when an OFF to ON transition is occurred at the
Input State and it will hold the value when the Input State is at OFF state. Use Reset
On Timer to clear the timer manually.

Digital State Reset On Timer


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the On Timer output to 0. The
Reset On Timer will be reset to OFF state automatically.
0 to 1 = On Timer reset to 0

Digital State Timer Off Timer


Register Type: Unsigned Long (32 bits)
Minimum: 0 Maximum: 4294967295

Off Timer is the duration (in seconds) of the Input State remains in the OFF state. The
Off Timer is reset to 0 automatically when an ON to OFF transition is occurred at the
Input State and it will hold the value when the Input State is at ON state. Use Reset
Off Timer to clear the timer manually.

Digital State Reset Off Timer


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Off Timer output to 0. The
Reset Off Timer will be reset to OFF state automatically.
0 to 1 = Off Timer reset to 0

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 47 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

11.0 Digital State Counter


Digital State Counter monitors the digital state On to Off transition and Off to On
transition count.

Digital State Counter Input


Register Type: Binary
Minimum: 0 Maximum: 1

The digital input state to the Digital State Counter.


0 = Off
1 = On

Digital State Counter On Counter


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

On Counter provides a means to count OFF to ON digital transition on the Input State.
This output increments by one on each Input State OFF to ON transition.

Digital State Reset On Counter


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the On Counter output to 0.


The Reset On Counter will be reset to OFF state automatically.
0 to 1 = On Counter reset to 0

Digital State Counter Off Counter


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

Off Counter provides a means to count ON to OFF digital transition on the Input State.
This output increments by one on each Input State ON to OFF transition.

Digital State Reset Off Counter


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Off Counter output to 0.
The Reset Off Counter will be reset to OFF state automatically.
0 to 1 = Off Counter reset to 0

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 48 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

12.0 Internal Digital Register


The EasyIO-30P provides 32 Internal Digital Registers for general control purpose.

Internal Digital Register 1 32


Register Type: Binary
Minimum: 0 Maximum: 1

The Internal Digital Register input/output state, ON or OFF.


1 = ON
0 = OFF

13.0 Internal Analogue Register


The EasyIO-30P provides 32 Internal Analogue Registers for general control purpose.

Internal Digital Register 1 32


Register Type: Float
Minimum: Not Specified Maximum: Not Specified

The Internal Analogue Digital Register input/output current value.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 49 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

14.0 Thermostat
The Thermostat function block provides the output control based on the input (process)
and the set point differential value.

Thermostat Enable
Register Type: Binary
Minimum: 0 Maximum: 1

Enable or disable the thermostat function.


1 = Enable
0 = Disable

Thermostat Occupied
Register Type: Binary
Minimum: 0 Maximum: 1

Thermostat provides secondary enable control, Thermostat Occupied to enable or


disable the thermostat function. This register is Off during power up, the last status is
not saved. To permanent turn in on, bind it to System On State register.
1 = Enable
0 = Disable

Thermostat Set Point


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

Set Point is the Thermostat desired/target value.

Thermostat Process Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

Process Value is the Thermostat input value. Thermostat function block compares the
Set Point and the Process Value to determine the output state.

Thermostat Cut In Offset Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Cut In Offset defines the differential value between Process Value and Set Point
to determine the Thermostat output on state. A positive Cut In Offset value means
greater than Set Point, and a negative Cut In Offset value means lower than Set Point
during comparison. For cooling control, uses positive value and negative value for
heating control.

Thermostat Cut Out Offset Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 50 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

The Cut Out Offset defines the differential value between Process Value and Set Point
to determine the Thermostat output off state. A positive Cut Out Offset value means
greater than Set Point, and a negative Cut Out Offset value means lower than Set Point
during comparison. For cooling control, uses negative value and positive value for
heating control.

Thermostat Output State


Register Type: Binary
Minimum: 0 Maximum: 1

The Thermostat output state, ON or OFF as the comparison result of Process Value
and Set Point.
1 = ON
0 = OFF

Diagram below illustrates the Thermostat operation:

Cut In Offset
(Positive Value)

Set Point

Cut Out Offset


(Negative Value)

Thermostat
Output State OFF ON OFF ON

Figure 10: Thermostat in Cooling Operation

Cut Out Offset


(Positive Value)

Set Point

Cut In Offset
(Negative Value)

Thermostat
Output State ON OFF ON OFF

Figure 11: Thermostat in Heating Operation

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 51 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Thermostat Cut In Delay


Register Type: Unsigned Integer
Minimum: 0 Maximum: 65535

The Thermostat Cut In Delay defines the time delay for Thermostat output to cut in
(turn on) from its off state in seconds.

Thermostat Cut Out Delay


Register Type: Unsigned Integer
Minimum: 0 Maximum: 65535

The Thermostat Cut Out Delay defines the time delay for Thermostat output to cut out
(turn off) from its on state in seconds.

On
Thermostat
Output State Off

On
Thermostat
delayed Output Off
State

Cut In Delay Cut Out Delay

Figure 12: Thermostat Cut In/Cut Out Delay

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 52 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

15.0 Loop Control


The Loop Control function block provides proportional, integral and derivative (PID)
control action of outputs based on the process value (input) and set point value. It
monitors the process value, compare the process value to the set point, and calculate
the output to reduce error (difference) between the set point and process value. The
output is the result of proportional, integral and derivative calculation.

15.1 Loop Control Value


Loop Control Process Value
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Loop Control input value, normally derived from the analogue input.

Loop Control Output Value


Register Type: Floating point
Minimum: 0 Maximum: 100

The Loop Control Output Value is the current calculated output value of the loop
algorithm in percentage.

Loop Control Reverse/Aux Output Value


Register Type: Floating point
Minimum: 0 Maximum: 100

The Loop Control Reverse/Aux Output Value is the current calculated reverse or
auxiliary output value of the loop algorithm in percentage.

15.2 Loop Control Operation


Loop Control Enable
Register Type: Binary
Minimum: 0 Maximum: 1

This parameter is used to enable or disable the Loop Control operation.


0 Disable
1 Enable

Loop Control Set Point


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The control reference or the desired value used by loop algorithm.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 53 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Loop Control Aux Set Point


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The control auxiliary reference or the desired value used by loop algorithm.

Loop Control Process Value Deadband


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the minimum change of Process Value for the loop control to
take action.

Loop Control Maximum Output Value


Register Type: Floating point
Minimum: 0 Maximum: 100

This parameter defines the highest limit of the Loop Control output.

Loop Control Minimum Output Value


Register Type: Floating point
Minimum: 0 Maximum: 100

This parameter defines the lowest limit of the Loop Control output.

Loop Control Scan Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

The Loop Control Scan Time defines the interval at which the process variable is
sampled or the loop algorithm is executed in seconds.

Loop Control Ramp Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

The Loop Control Ramp Time defines the minimum interval at which the loop output
may increase from 0% to 100% in seconds.

Loop Control Single Loop Action


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter defines the output action of Single Loop configuration, either direct
(for cooling) or reverse (for heating).
0 Direct
1 Reverse

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 54 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Loop Control Configuration


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 6

The Loop Control Configuration defines configuration used in the loop algorithm.
0 Single Loop
1 Sequence Loop
2 Ashrae Cycle 1
3 Ashrae Cycle 2
4 Ashrae Cycle 2 with Cooling
5 Ashrae Cycle 3
6 Ashrae Cycle 3 with Cooling

PID Control Algorithm


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 3

The PID Control algorithm defines PID algorithm used in the loop algorithm.
PV = Process Value SP = Set Point Tr = Throttling Range
Output = Loop Control Output
OutHi = 100, OutLo = 0 Range of Output,
TuneI = Integral tuning parameter. In units of 1 seconds. Increasing magnitude increases
influence on output.
TuneD = Derivative tuning parameter. In units of seconds. Increasing magnitude increases
influence on output.
Err_1 = The Error (PV SP) from the previous scan
Integral = Integrator. Anti-windup is applied after the output is determined to be within
bounds.
PvIn_1, PvIn_2 = PV from the previous scan and the scan before that.
ScanTime = Actual scan time (time since previous scan)

0 PID Parallel Algorithm


Err = PV - SP
Span = (OutHi - OutLo) / Tr
Integral += Err
TermP = Err
TermI = TuneI * ScanTime * Integral
TermD = TuneD / ScanTime * ( PvIn - PvIn_1 )

Output = Span * TermP + TermI + TermD

1 PID ISA Algorithm


Err = PV - SP
Span = (OutHi - OutLo) / Tr
Integral += Err
TermP = Err
TermI = TuneI * ScanTime * Integral
TermD = TuneD / ScanTime * ( PvIn - PvIn_1 )

Output = Span * ( TermP + TermI + TermD )

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 55 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

2 PID Interacting Algorithm


Err = PV - SP
Span = (OutHi - OutLo) / (InHi - InLo)
Integral += Err
TermP = Err
TermI = TuneI * ScanTime * Integral
TermD = TuneD / ScanTime * ( PvIn - PvIn_1 )

Output = Span * ( TermP + TermI ) * ( 1 + TermD )

3 PID Velocity Algorithm


Err = PV - SP
Span = (OutHi - OutLo) / (InHi - InLo)
TermP = (Err - Err_1)
TermI = TuneI * ScanTime * Err
TermD = TuneD / ScanTime * (PvIn - 2 * PvIn_1 + PvIn_2)

Output = Output + Span * (TermP + TermI + TermD)

15.3 Loop Control PID


Loop Control Throttling Range
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Loop Control Throttling Range defines the amount of input change required for
loop control output to proportionally change from 0% to 100%.

Loop Control Aux Throttling Range


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The value is the Loop Control secondary throttling range.

Loop Control PID Integral Tuning Param (I)


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Loop Control PID Integral Tuning Param (I) defines the loop integral gain
parameter used in loop algorithm.

Loop Control PID Derivative Tuning Param (D)


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Loop Control PID Derivative Tuning Param (D) defines the loop derivative gain
parameter used in loop algorithm.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 56 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Loop Control PID Reset Integral


Register Type: Binary
Minimum: 0 Maximum: 1

The Loop Control PID Reset Integral provides the manual method to reset the integral
value (accumulated error value).

15.4 Loop Control Unoccupied Operation


Loop Control Occupied
Register Type: Binary
Minimum: 0 Maximum: 1

This parameter sets the occupied condition for Loop Control operation. Loop Control
uses different loop algorithm under occupied and unoccupied mode.
0 Unoccupied
1 Occupied

Loop Control Unoccupied Cool Set Point


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Cooling operation set point for loop control during unoccupied mode.

Loop Control Unoccupied Heat Set Point


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Heating operation set point for loop control during unoccupied mode.

Loop Control Unoccupied Hysteresis


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The hysteresis control value of the Cooling and Heating operation during unoccupied
mode.

15.4 Loop Control Ashrae


Loop Ashrae Economizer Enable
Register Type: Binary
Minimum: 0 Maximum: 1

This parameter enables/disables the economizer control for Ashrae cycle


configuration.
0 Disable
1 Enable

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 57 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Loop Ashrae Cooling Economizer Enable


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter selects the cooling override of the economizer cycle.


0 Disable
1 Enable

Loop Ashrae Force Economizer Minimum


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter enables/disables the minimum level control of the economizer output.
The Economizer will maintain at the minimum level as long as the Input is within or
above the operating economizer operating range.
0 Disable
1 Enable

Loop Ashrae Minimum Economizer Output


Register Type: Floating point
Minimum: 0 Maximum: 100

This parameter specifies the minimum level of the economizer output.

Loop Ashrae State


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 5

The Loop Ashrae State reports the current operation state of the Ashrae cycle.
0 Off State
1 Warm Up
2 Heating
3 Cooling
4 Heat Ventilation
5 Cool Ventilation

Loop Ashrae Economizer Output Value


Register Type: Floating point
Minimum: 0 Maximum: 100

This parameter indicates the current output value of the economizer.

Loop Ashrae Fan Status


Register Type: Binary
Minimum: 0 Maximum: 1

The Ashrae Fan Status is on when the Loop control is active and is off when the Loop
control is disabled or occupied is off.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 58 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

15.5 Loop Control Single Loop Operation


This configuration consists of a single PID loop operation with single output. The
loop output can be configured as either direct (cooling) or reverse acting. If only
throttling range is applied to single loop operation (without integral and derivative
tuning), the output is 50% when the input (Process Value) is equal to Set Point.

Related Registers:
- Loop Control Enable
- Loop Control Occupied
- Loop Control PID Reset Integral
- Loop Control Process Value
- Loop Control Output Value
- Loop Control Single Loop Action
- Loop Control Configuration
- PID Control Algorithm
- Loop Control Set Point
- Loop Control Throttling Range (TR)
- Loop Control Process Value Deadband
- Loop Control PID Integral Tuning Param (I)
- Loop Control PID Derivative Tuning Param (D)
- Loop Control Scan Time
- Loop Control Output Ramp Time
- Loop Control Maximum Output Value
- Loop Control Minimum Output Value
- Loop Control Unoccupied Cool Set Point
- Loop Control Unoccupied Heat Set Point
- Loop Control Unoccupied hysteresis

Figure 13 shows the typical direct acting operation (normally used as cooling) without
the integral tuning and derivative tuning factor.

100%

Maximum Value

Output
Enable = 1,
Occupied = 1,
Single Loop Action = 0
Minimum Value TR (Direct),

0%
Set Point
Throttling Range

Figure 13: Loop Control Single Loop Direct Operation (Cooling)

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 59 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Figure 14 shows the typical reverse acting operation (normally used as heating)
without the integral tuning and derivative tuning factor.

100%

Enable = 1,
Maximum Value
Occupied = 1,
Single Loop Action = 1
(Reverse),

Output

TR Minimum Value

0%
Set Point

Throttling Range

Figure 14: Loop Control Single Loop Reverse Operation (Heating)

If Loop Control is disabled (Loop Control Enable = 0), the Loop Control Output will
be set to 0.

Under unoccupied setting (where Loop Control Occupied is set to 0), cooling and
heating operation are using the unoccupied set point and hysteresis setting.

If the single loop is set for direct acting under unoccupied mode, the output is set to
100% when the input is higher than the unoccupied cool set point. The output is set to
0% when the input is lower than the unoccupied cool set point minus hysteresis.

100%
Enable = 1,
Occupied = 0,
Output
Single Loop Action = 0
(Direct),

0%
Unoccupied Cool
Set Point

Hysteresis

Figure 15: Loop Control Single Loop Direct Unoccupied Operation

If the single loop is set for reverse acting under unoccupied mode, the output is set to
100% when the input is lower than the unoccupied heat set point. The output is set to
0% when the input is higher than the unoccupied heat set point plus hysteresis.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 60 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

100%
Enable = 1,
Occupied =0,
Output Single Loop Action = 1
(Reverse),

0%
Unoccupied Heat
Set Point

Hysteresis

Figure 16: Loop Control Single Loop Reverse Unoccupied Operation

15.6 Loop Control Sequence Loop Operation


This configuration consists of a single PID loop operation with two set points (Set
Point and Aux Set Point) and two outputs (Output and Reverse/Aux Output).

Related Registers:
- Loop Control Enable
- Loop Control Occupied
- Loop Control PID Reset Integral
- Loop Control Process Value
- Loop Control Output Value
- Loop Control Reverse/Aux Output Value
- Loop Control Configuration
- PID Control Algorithm
- Loop Control Set Point
- Loop Control Throttling Range
- Loop Control Process Value Deadband
- Loop Control Aux Set Point
- Loop Control Aux Throttling Range
- Loop Control PID Integral Tuning Param (I)
- Loop Control PID Derivative Tuning Param (D)
- Loop Control Scan Time
- Loop Control Output Ramp Time
- Loop Control Maximum Output Value
- Loop Control Minimum Output Value
- Loop Control Unoccupied Cool Set Point
- Loop Control Unoccupied Heat Set Point
- Loop Control Unoccupied hysteresis

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 61 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

100%
Output
Reverse/Aux Cooling
Output
Heating

0%
Aux Set Point Throttling
Range
Set Point

Aux Throttling Range

Figure 17: Loop Control Sequence Loop

Figure 17 shows the typical sequence loop operation without the integral tuning and
derivative tuning factor.

If Loop Control is disabled (Loop Control Enable = 0), the Loop Control Output and
Reverse/Aux Output will be set to 0.

The Sequence Loop configuration operates the direct and reverse (cooling and heating)
at the same time. They share the PID control algorithm and parameters except the set
point and throttling range. This can be referred as auto mode since the loop control
regulates the output by switching between the cooling and heating cycle. The Set
Point and Throttling Range are used for the direct acting control (Cooling) and the
Output as the output control. The Aux Set Point and Aux Throttling Range are used
for the reverse acting control (Heating) and the Reverse/Aux Output as the output
control.

Under unoccupied setting (where Loop Control Occupied is set to 0), cooling and
heating operation are using the unoccupied set point and hysteresis setting.

Reverse/Aux Output Output


100% 100%

Enable = 1,
Occupied = 0

0%
Unoccupied Heat Unoccupied Cool
Set Point Set Point

Hysteresis Hysteresis

Figure 18: Loop Control Sequence Loop Unoccupied Operation

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 62 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

15.7 Loop Control Ashrae Cycle 1


This configuration consists of a single PID loop operation to perform the Ashrae cycle
1 control sequence. This control sequence provides for a mixed air and a heating
control cycle.

Related Registers:
- Loop Control Enable
- Loop Control Occupied
- Loop Control PID Reset Integral
- Loop Control Process Value
- Loop Control Reverse/Aux Output Value
- Loop Ashrae Economizer Output Value
- Loop Ashrae State
- Loop Ashrae Economizer Enable
- Loop Control Configuration
- PID Control Algorithm
- Loop Control Set Point
- Loop Control Throttling Range
- Loop Control Process Value Deadband
- Loop Control PID Integral Tuning Param (I)
- Loop Control PID Derivative Tuning Param (D)
- Loop Control Scan Time
- Loop Control Output Ramp Time
- Loop Control Maximum Output Value
- Loop Control Minimum Output Value
- Loop Control Unoccupied Heat Set Point
- Loop Control Unoccupied Hysteresis

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 63 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

100%

Maximum Value

Reverse/Aux
Output

Minimum Value
TR

0%
Set Point

Throttling Range

100%

Economizer
Output Loop Ashrae Economizer
Enable = 1

0%

Warm Up Heating Heating and Ventilating

Figure 19: Loop Control Ashrae Cycle 1 Operation

Figure 19 shows the typical Ashrae Cycle 1 operation without the integral tuning and
derivative tuning factor. The Economizer is usually used to control the outdoor air
damper actuator.

The Loop Control Ashrae Cycle 1 control sequences are as follows:


1) Ashrae State = Off, when Loop Control Enable = 0
- Reverse/Aux Output = 0% (fully off)
- Economizer Output = 0% (fully off)

2) Ashrae State = Warm Up, when Input < (Set Point Throttling Range/2)
- Economizer Output = 0% (off)
- Reverse/Aux Output = 100% (fully on)

3) Ashrae State = Heating, when Input is within Throttling Range


- When Input < Set Point, the Economizer Output proportionally opens to
the full position (100%) as the temperature increase. The Reverse/Aux
Output level is maintained at maximum (100%)
- When Input > Set Point, the Economizer Output is maintained at
maximum (100%) and the Reverse/Aux Output level proportionally
reduces to minimum (0%) as the temperature increase.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 64 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

4) Ashrae State = Heating & Ventilating, when Input > (Set Point + Throttling
Range/2)
- Economizer Output = 100% (fully on)
- Reverse/Aux Output = 0% (fully off)

Under unoccupied setting (where Loop Control Occupied is set to 0), the Economizer
Output is set to 0%, the Reverse/Aux Output is set to 100% when the input is lower
than the unoccupied heat set point. The Reverse/Aux output is set to 0% when the
input is higher than the unoccupied heat set point plus hysteresis.

100%

Output
Enable = 1,
Occupied =0,

0%
Unoccupied Heat
Set Point

Hysteresis

Figure 20: Loop Control Ashrae Cycle 1 Unoccupied Operation

15.8 Loop Control Ashrae Cycle 2


This configuration consists of a single PID loop operation to perform the Ashrae cycle
2 control sequence. This control sequence provides for a synchronized mixed air and a
heating control cycle.

Related Registers:
- Loop Control Enable
- Loop Control Occupied
- Loop Control PID Reset Integral
- Loop Control Process Value
- Loop Control Reverse/Aux Output Value
- Loop Ashrae Economizer Output Value
- Loop Ashrae State
- Loop Ashrae Economizer Enable
- Loop Ashrae Force Economizer Minimum
- Loop Control Configuration
- PID Control Algorithm
- Loop Control Set Point
- Loop Control Throttling Range
- Loop Control Process Value Deadband
- Loop Control PID Integral Tuning Param (I)
- Loop Control PID Derivative Tuning Param (D)
- Loop Control Scan Time
- Loop Control Output Ramp Time

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 65 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

- Loop Control Maximum Output Value


- Loop Control Minimum Output Value
- Loop Control Unoccupied Heat Set Point
- Loop Control Unoccupied Hysteresis
- Loop Ashrae Minimum Economizer Output

100% Full Face

Reverse/Aux Maximum Value


Output

Full Bypass
Minimum Value

0%
Set Point

Throttling Range

TR,
Economizer Operating 100%
Loop Ashrae Economizer Range (EOR)
Enable = 1
Economizer
Output
Force Economizer
1/3 EOR
Minimum = 1

Minimum Economizer Output

0%

Warm Up Heating Heating and Ventilating

Figure 21: Loop Control Ashrae Cycle 2 Operation

Figure 21 shows the typical Ashrae Cycle 2 operation without the integral tuning and
derivative tuning factor. The Reverse/Aux output is usually used to control the face
and bypass dampers and the Economizer is used to control the mixed air damper
actuator.

The Loop Control Ashrae Cycle 2 control sequences are as follows:


1) Ashrae State = Off, when Loop Control Enable = 0
- Reverse/Aux Output = 0% (fully off)
- Economizer Output = 0% (fully off)

2) Ashrae State = Warm Up,


- When Input < (Set Point Throttling Range/2 - EOR/3), the Reverse/Aux
Output = 100% (fully on), and the Economizer Output is 0% (fully off).
- When Input >= (Set Point Throttling Range/2 - EOR/3) and Input < (Set
Point Throttling Range/2), the Reverse/Aux Output = 100% (fully on),

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 66 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

and the Economizer Output proportionally opens from 0% to the Minimum


Economizer Output as the temperature increase.

3) Ashrae State = Heating


- When Input > (Set Point Throttling Range/2) and Input < Set Point, the
Reverse/Aux Output level proportionally reduces to minimum (0%) as the
temperature increase, and the Economizer Output remain stay at Minimum
Economizer Output level.

4) Ashrae State = Heating & Ventilating


- When Input > Set Point and Input < (Set Point + Throttling Range/2), the
Reverse/Aux Output is maintained at 0% (fully off), the Economizer
Output proportionally opens from Minimum Economizer Output to the full
position (100%) as the temperature increase. If the Force Economizer
Minimum is enabled, then the Economizer output will maintain at
Minimum Economizer Output at this stage.
- When Input > (Set Point + Throttling Range/2), the Reverse/Aux Output is
maintained at 0% (fully off), the Economizer Output is maintained at
maximum (100%). If the Force Economizer Minimum is enabled, then the
Economizer output will maintain at Minimum Economizer Output at this
stage.

Under unoccupied setting (where Loop Control Occupied is set to 0), the Economizer
Output is set to 0%, the Reverse/Aux Output is set to 100% when the input is lower
than the unoccupied heat set point. The Reverse/Aux output is set to 0% when the
input is higher than the unoccupied heat set point plus hysteresis.

100%

Output
Enable = 1,
Occupied =0,

0%
Unoccupied Heat
Set Point

Hysteresis

Figure 22: Loop Control Ashrae Cycle 2 Unoccupied Operation

15.9 Loop Control Ashrae Cycle 2 with Cooling


This configuration consists of a single PID loop operation to perform the Ashrae cycle
2 control sequence plus it provides a proportional cooling output control. This control
sequence provides for a mixed air and heating and cooling control cycle.

Related Registers:
- Loop Control Enable
- Loop Control Occupied

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 67 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

- Loop Control PID Reset Integral


- Loop Control Process Value
- Loop Control Output Value
- Loop Control Reverse/Aux Output Value
- Loop Ashrae Economizer Output Value
- Loop Ashrae State
- Loop Ashrae Economizer Enable
- Loop Ashrae Cooling Economizer Enable
- Loop Ashrae Force Economizer Minimum
- Loop Control Configuration
- PID Control Algorithm
- Loop Control Set Point
- Loop Control Throttling Range
- Loop Control Process Value Deadband
- Loop Control PID Integral Tuning Param (I)
- Loop Control PID Derivative Tuning Param (D)
- Loop Control Scan Time
- Loop Control Output Ramp Time
- Loop Control Maximum Output Value
- Loop Control Minimum Output Value
- Loop Control Unoccupied Cool Set Point
- Loop Control Unoccupied Heat Set Point
- Loop Control Unoccupied hysteresis
- Loop Ashrae Minimum Economizer Output

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 68 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Set Point
100%
Heating
Reverse/Aux
Output

0%

1/3 TR 1/3 TR

Throttling Range
100%
Cooling
Output

0%
Economizer
Operating
Range (EOR)
1/3 EOR Economizer Enable = 1
Cool Economizer Enable = 1
100%
Minimum Economizer Output
Force Economizer Minimum = 1
Economizer
Output

0%

1/3 EOR

Economizer Enable = 1
Cool Economizer Enable = 0
100%
Force Economizer Minimum = 1
Economizer
Output

0%

Warm Up Heating Cool Cooling


Ventilating

Figure 23: Loop Control Ashrae Cycle 2 Operation with Cooling

Figure 23 shows the typical Ashrae Cycle 2 with Cooling operation without the
integral tuning and derivative tuning factor.

The Loop Control Ashrae Cycle 2 with Cooling control sequences are as follows:
1) Ashrae State = Off, when Loop Control Enable = 0
- Output = 0% (fully off)
- Reverse/Aux Output = 0% (fully off)
- Economizer Output = 0% (fully off)

2) Ashrae State = Warm Up,


- When Input < (Set Point Throttling Range/2 - EOR/3), the Reverse/Aux
Output = 100% (fully on), the Output is 0% (fully off) and the Economizer
Output is 0% (fully off).

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 69 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

- When Input >= (Set Point Throttling Range/2 EOR/3) and Input < (Set
Point Throttling Range/2), the Reverse/Aux Output = 100% (fully on),
the Output = 0% (fully off) and the Economizer Output proportionally
opens from 0% to the Minimum Economizer Output as the temperature
increase.

3) Ashrae State = Heating


- When Input > (Set Point Throttling Range/2) and Input < (Set Point
Throttling Range/6), the Reverse/Aux Output level proportionally reduces
to minimum (0%) as the temperature increase, and the Economizer Output
remain stay at Minimum Economizer Output level, the Output = 0% (fully
off).

4) Ashrae State = Cooling & Ventilating


- When Input > (Set Point Throttling Range/6) and Input < (Set Point +
Throttling Range/6), the Reverse/Aux Output is maintained at 0% (fully
off), the Economizer Output proportionally opens from Minimum
Economizer Output to the full position (100%) as the temperature increase.
If the Force Economizer Minimum is enabled, then the Economizer output
will maintain at Minimum Economizer Output at this stage. The Output is
maintained at 0% (fully off).

5) Ashrae State = Cooling


- When Input > (Set Point + Throttling Range/6) and Input < (Set Point +
Throttling Range/2), the Reverse/Aux Output is maintained at 0% (fully
off), the Output proportionally increases to maximum (100%) as the
temperature increase. The Economizer Output maintains at 100% position.
If the Force Economizer Minimum is enabled, then the Economizer output
will maintain at Minimum Economizer Output at this stage. If Cool
Economizer is disabled (= 0), the Economizer output is forced at Minimum
Economizer Output level. The Economizer will return to normal operation
(if Economizer is enabled) at Input < (Set Point Throttling/18) in the
Cooling & Ventilating state.
- When Input > (Set Point + Throttling Range/2), the Output maintains at
100% (fully on), the Reverse/Aux Output = 0% (fully off). The
Economizer Output maintains at 100% position. If the Force Economizer
Minimum is enabled, or the Cool Economizer is disable, then the
Economizer output will maintain at Minimum Economizer Output at this
stage.

Under unoccupied setting (where Loop Control Occupied is set to 0), the Economizer
Output is set to 0%. The Reverse/Aux Output is set to 100% when the input is lower
than the unoccupied heat set point. The Reverse/Aux Output is set to 0% when the
input is higher than the unoccupied heat set point plus hysteresis. The Output is set to
100% when the input is higher than the unoccupied cool set point and Output is set to
0% when the input is lower than the unoccupied cool set point plus hysteresis.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 70 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Reverse/Aux Output Output


100% 100%

Enable = 1,
Occupied = 0

0%
Unoccupied Heat Unoccupied Cool
Set Point Set Point

Hysteresis Hysteresis

Figure 24: Loop Control Ashrae Cycle 2 with Cooling Unoccupied Operation

15.10 Loop Control Ashrae Cycle 3


This configuration consists of a single PID loop operation to perform the Ashrae cycle
3 control sequences. This control sequence provides for a synchronized mixed air and
a heating control cycle.

Related Registers:
- Loop Control Enable
- Loop Control Occupied
- Loop Control PID Reset Integral
- Loop Control Process Value
- Loop Control Reverse/Aux Output Value
- Loop Ashrae Economizer Output Value
- Loop Ashrae State
- Loop Ashrae Economizer Enable
- Loop Ashrae Force Economizer Minimum
- Loop Control Configuration
- PID Control Algorithm
- Loop Control Set Point
- Loop Control Throttling Range
- Loop Control Process Value Deadband
- Loop Control PID Integral Tuning Param (I)
- Loop Control PID Derivative Tuning Param (D)
- Loop Control Scan Time
- Loop Control Output Ramp Time
- Loop Control Maximum Output Value
- Loop Control Minimum Output Value
- Loop Control Unoccupied Heat Set Point
- Loop Control Unoccupied Hysteresis
- Loop Ashrae Minimum Economizer Output

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 71 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

100%

Loop Ashrae Economizer


Enable = 1
Reverse/Aux Maximum Value
Output

TR, Minimum Value


EOR

0%
Set Point

Throttling Range

Maximum Output reference


to another Loop control for
mixed air control
Economizer 100%
Output 1/3 EOR
Force Economizer
Minimum = 1

Minimum Economizer Output

0%

Warm Up Heating Heating and Ventilating

Figure 25: Loop Control Ashrae Cycle 3 Operation

Figure 25 shows the typical Ashrae Cycle 3 operation without the integral tuning and
derivative tuning factor. The Economizer Output provides a maximum output
reference to another Loop control for mixed air control sequences.

The Loop Control Ashrae Cycle 3 control sequences are as follows:


1) Ashrae State = Off, when Loop Control Enable = 0
- Reverse/Aux Output = 0% (fully off)
- Economizer Output = 0% (fully off)

2) Ashrae State = Warm Up,


- When Input < (Set Point Throttling Range/2 - EOR/3), the Reverse/Aux
Output = 100% (fully on), and the Economizer Output is 0% (fully off).
- When Input >= (Set Point Throttling Range/2 - EOR/3) and Input < (Set
Point Throttling Range/2), the Reverse/Aux Output = 100% (fully on),
and the Economizer Output proportionally opens from 0% to the Minimum
Economizer Output as the temperature increase.

3) Ashrae State = Heating


- When Input > (Set Point Throttling Range/2) and Input < (Set Point +
Throttling Range/2), the Reverse/Aux Output level proportionally reduces
to minimum (0%) as the temperature increase, and the Economizer Output

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 72 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

proportionally opens from Minimum Economizer Output to the full


position (100%) as the temperature increase. If the Force Economizer
Minimum is enabled, then the Economizer output will maintain at
Minimum Economizer Output at this stage.

4) Ashrae State = Heating & Ventilating


- When Input > (Set Point + Throttling Range/2), the Reverse/Aux Output is
maintained at 0% (fully off), the Economizer Output is maintained at
maximum (100%). If the Force Economizer Minimum is enabled, then the
Economizer output will maintain at Minimum Economizer Output at this
stage.

Under unoccupied setting (where Loop Control Occupied is set to 0), the Economizer
Output is set to 0%, the Reverse/Aux Output is set to 100% when the input is lower
than the unoccupied heat set point. The Reverse/Aux output is set to 0% when the
input is higher than the unoccupied heat set point plus hysteresis.

100%

Output
Enable = 1,
Occupied =0,

0%
Unoccupied Heat
Set Point

Hysteresis

Figure 26: Loop Control Ashrae Cycle 3 Unoccupied Operation

15.11 Loop Control Ashrae Cycle 3 with Cooling


This configuration consists of a single PID loop operation to perform the Ashrae cycle
3 control sequences plus it provides a proportional cooling output control. This
control sequence provides for a mixed air and heating and cooling control cycle.

Related Registers:
- Loop Control Enable
- Loop Control Occupied
- Loop Control PID Reset Integral
- Loop Control Process Value
- Loop Control Output Value
- Loop Control Reverse/Aux Output Value
- Loop Ashrae Economizer Output Value
- Loop Ashrae State
- Loop Ashrae Economizer Enable
- Loop Ashrae Cooling Economizer Enable
- Loop Ashrae Force Economizer Minimum
- Loop Control Configuration

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 73 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

- PID Control Algorithm


- Loop Control Set Point
- Loop Control Throttling Range
- Loop Control Process Value Deadband
- Loop Control PID Integral Tuning Param (I)
- Loop Control PID Derivative Tuning Param (D)
- Loop Control Scan Time
- Loop Control Output Ramp Time
- Loop Control Maximum Output Value
- Loop Control Minimum Output Value
- Loop Control Unoccupied Cool Set Point
- Loop Control Unoccupied Heat Set Point
- Loop Control Unoccupied hysteresis
- Loop Ashrae Minimum Economizer Output

Set Point
100%
Heating
Reverse/Aux
Output

0%

1/3 TR 1/3 TR

Throttling Range
100%
Cooling
Output

0%

Economizer
Operating
Range (EOR)

1/3 EOR Economizer Enable = 1


100% Cool Economizer Enable = 1

Economizer
Output Force Economizer Minimum = 1

Minimum Economizer Output

0%

Warm Up Heating Coo & Cooling


Ventilating

Figure 27: Loop Control Ashrae Cycle 3 Operation with Cooling

Figure 27 shows the typical Ashrae Cycle 3 with Cooling operation without the
integral tuning and derivative tuning factor. The Economizer Output provides a
maximum output reference to another Loop control for mixed air control sequences.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 74 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

The Loop Control Ashrae Cycle 3 with Cooling control sequences are as follows:
1) Ashrae State = Off, when Loop Control Enable = 0
- Output = 0% (fully off)
- Reverse/Aux Output = 0% (fully off)
- Economizer Output = 0% (fully off)

2) Ashrae State = Warm Up,


- When Input < (Set Point Throttling Range/2 - EOR/3), the Reverse/Aux
Output = 100% (fully on), the Output is 0% (fully off) and the Economizer
Output is 0% (fully off).
- When Input >= (Set Point Throttling Range/2 EOR/3) and Input < (Set
Point Throttling Range/2), the Reverse/Aux Output = 100% (fully on),
the Output = 0% (fully off) and the Economizer Output proportionally
opens from 0% to the Minimum Economizer Output as the temperature
increase.

3) Ashrae State = Heating


- When Input > (Set Point Throttling Range/2) and Input < (Set Point
Throttling Range/6), the Reverse/Aux Output level proportionally reduces
to minimum (0%) as the temperature increase, the Economizer Output
proportionally opens from Minimum Economizer Output to the full
position (100%) as the temperature increase. If the Force Economizer
Minimum is enabled, then the Economizer output will maintain at
Minimum Economizer Output at this stage. The Output is maintained at
0% (fully off).

4) Ashrae State = Cooling & Ventilating


- When Input > (Set Point Throttling Range/6) and Input < (Set Point +
Throttling Range/6), the Reverse/Aux Output is maintained at 0% (fully
off), the Economizer Output is maintained at 100% (fully open). If the
Force Economizer Minimum is enabled, then the Economizer output will
maintain at Minimum Economizer Output at this stage. If the Cooling
Economize is disabled, the Economizer Output will be forced to Minimum
Economizer Output level. The Output is maintained at 0% (fully off).

5) Ashrae State = Cooling


- When Input > (Set Point + Throttling Range/6) and Input < (Set Point +
Throttling Range/2), the Reverse/Aux Output is maintained at 0% (fully
off), the Output proportionally increases to maximum (100%) as the
temperature increase. The Economizer Output maintains at 100% position.
If the Force Economizer Minimum is enabled, then the Economizer output
will maintain at Minimum Economizer Output at this stage. If Cool
Economizer is disabled (= 0), the Economizer output is forced at Minimum
Economizer Output level.
- When Input > (Set Point + Throttling Range/2), the Output maintains at
100% (fully on), the Reverse/Aux Output = 0% (fully off). The
Economizer Output maintains at 100% position. If the Force Economizer
Minimum is enabled, or the Cool Economizer is disabled, then the
Economizer output will maintain at Minimum Economizer Output at this
stage.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 75 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Under unoccupied setting (where Loop Control Occupied is set to 0), the Economizer
Output is set to 0%. The Reverse/Aux Output is set to 100% when the input is lower
than the unoccupied heat set point. The Reverse/Aux Output is set to 0% when the
input is higher than the unoccupied heat set point plus hysteresis. The Output is set to
100% when the input is higher than the unoccupied cool set point and Output is set to
0% when the input is lower than the unoccupied cool set point plus hysteresis.

Reverse/Aux Output Output


100% 100%

Enable = 1,
Occupied = 0

0%
Unoccupied Heat Unoccupied Cool
Set Point Set Point

Hysteresis Hysteresis

Figure 28: Loop Control Ashrae Cycle 2 with Cooling Unoccupied Operation

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 76 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

16.0 Drive
The Drive function block provides the mechanism to drive a floating type actuator by
using two outputs (open and close control). A single input with scale factor
determines the desired position which controls the hardware output. The Drive
function can be used with or without position feedback from the actuator.

With feedback, the feedback position is compared with the desired position to
determine the open and close operation.

Without feedback, the open and close operation time is based on the full stroke travel
time, Drive Travel Time. When the calculated position hits the minimum (0%) or
maximum (100%), the open or close output will continue run for the Drive Travel
Time to make sure the actuator position is in place.

Drive Feedback Control


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter specifies whether the Drive is with or without position feedback.
1 = With Feedback
0 = Without Feedback

Drive Set Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter specifies the desired actuator position. The Set Input is scale to a range
from 0% to 100% using the Drive Input High Scale and Drive Input Low Scale
parameters.

Drive Input High Scale


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the highest value of Drive Set Input which equals to 100%.

Drive Input Low Scale


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the lowest value of Drive Set Input which equals to 0%.

Actual Set Input (%) = (Set Input Low Scale)/(High Scale Low Scale)

Drive Input Feedback


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 77 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

The parameter indicates the actuator feedback position. The feedback position must
be scaled to 0% to 100% range.

Drive Input Travel Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

The Travel Time is the actual full stroke travel time in seconds.

Drive Input Hysteresis


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 100

The Hysteresis defines the minimum change of the Set Input to activate the open and
close operation. When the difference between Set Input and the calculated or actual
feedback is exceeding this limit, the Drive Open and Drive Close outputs will be
activated to nullify the difference.

Drive Open Output State


Register Type: Binary
Minimum: 0 Maximum: 1

This is the current state of the Drive Open output.


1 = On
0 = Off

Drive Close Output State


Register Type: Binary
Minimum: 0 Maximum: 1

This is the current state of the Drive Close output.


1 = On
0 = Off

Drive Current Position


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 100

This is the actuator current calculated position based on the Drive Time in without
feedback operation.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 78 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

17.0 Selection
The Selection function block can be used as a switch (as a single pole double throw
switch), high low selection or as loop invert function.

Selection Output Select


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter acts as output selection for the Selection type, Switch.
1 = On
0 = Off

Selection Input1
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Selection function block analog input channel 1, applicable to Selection Type
Switch, High/Low Select and Loop Invert.

Selection Input2
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Selection function block analog input channel 2, applicable to Selection Type
Switch, High/Low Select and Loop Invert.

Selection Input3
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Selection function block analog input channel 3, applicable to Selection Type
High/Low Select and Loop Invert.

Selection Output1 Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Selection function block analog output channel 1.

Selection Output2 Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Selection function block analog output channel 2.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 79 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Selection Type
Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 3

The Selection Type selects one of the Selection function available.


0 Disable
1 Switch
2 High/Low Select
3 Loop Invert

17.1 Switch
The Switch type acts as a single pole double throw switch. The Input3 is not used.

Input1
Output1
Input2
Output2

Output Select

Output Select Output1 Output2


0 Input1 Input2
1 Input2 Input1

Figure 29: Selection as Switch

17.2 High/Low Select


The High/Low Select provides a comparison function for the Selection inputs, Output
Select is not used. The Output1 value is equal to the highest value of Input1, Input2
and Input3. The Output2 value is equal to the lowest value of Input1, Input2 and
Input3.

Input1
Output1
Highest
Input2
Output2
Lowest
Input3
Comparator

Figure 30: Selection as High/Low Select

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 80 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

17.3 Loop Invert


The Loop Invert is normally used as invert function for analog input (value in
percentage). This can be done by setting the Input2 to 0 and Input3 to 100. When
Input1 value is 0, the Output1 value will be 100, and when Input1 value is 100, the
Output1 value will be 0. Output2 value is fixed at 100. The Output Select is not used.

Input1
Output1
Input3 Input1
Input2
Output2
Input3 Input2
Input3

Figure 31: Selection as Loop Invert

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 81 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

18.0 Flow Detect


The Flow Detect function block monitors whether a fan or pump has successfully
started. When the flow detect is enabled (commanded), the device control
immediately turn on. If the flow input does not turn on within the maximum allowed
delay time, then the control run and device control will go off and remain off. The
control run output will be always ON unless the flow input is not detected when
enable after the time delay.

Flow Detect Enable


Register Type: Binary
Minimum: 0 Maximum: 1

Enable/disable the Flow Detect function block. When the Flow Detect is disabled, the
Control Run is ON and the Device Control is OFF.
1 = Enable
0 = Disable

Flow Detect Flow Input


Register Type: Binary
Minimum: 0 Maximum: 1

This is the actual flow input signal from fan or pump.


1 = On
0 = Off

Flow Detect Control Run


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Flow Detect Control Run signal.


1 = On
0 = Off

Flow Detect Device Control


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Flow Detect Device Control signal.


1 = On
0 = Off

Flow Detect Delay


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This parameter defines the duration in seconds, the maximum verification delay time
for the flow input. When the Flow Detect is enabled, the flow input must be on within

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 82 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

the Flow Detect Delay for normal operation. Otherwise, the control run and device
control will be shutdown.

18.1 Flow Detect Normal Operation


ON

Flow Detect Enable

ON

Flow Detect Flow Input


ON
Flow Detect
Delay

ON
Flow Detect Control Run
ON

Flow Detect Device Control

Figure 32: Flow Detect Normal Operation

Under normal operation, the Flow Detect Control Run is always on. Flow Detect
Device Control typically follows the Flow Detect Enable action.

18.2 Flow Detect Flow Verification


ON

Flow Detect Enable

Flow Detect Flow Input


ON

Flow Detect
Delay

ON ON

Flow Detect Control Run

ON

Flow Detect Device Control

Figure 33: Flow Detect Flow Verification

Flow Detect Delay is the maximum flow verification time in seconds. Flow Detect
Flow Input must be in on condition within the delay time when Flow Detect Enable is
on. If the Flow Detect Flow Input is not in the on condition within the delay time, the

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 83 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Flow Detect Control Run and Flow Detect Device Control signal will be forced to low
(off condition). Control Run and Device Control remain in off state until Flow Detect
Enable goes off.

18.3 Flow Detect Flow Interruption


ON

Flow Detect Enable

ON

Flow Detect Flow Input


ON

Flow Detect > 4 secs


Delay

ON ON

Flow Detect Control Run

ON

Flow Detect Device Control

Figure 34: Flow Detect Flow Interruption

Flow interruption happens after the verification period where the Flow Input goes low
for more than 4 seconds. In this case, the Control Run and Device Control are forced
to low and will maintain at low until the Flow Detect Enable goes low (reset
operation).

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 84 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

19.0 Momentary Start/Stop


The Momentary Start/Stop function block provides the start and stop pulse control to
equipment that requires binary pulse on/off control rather than steady state signal.

Momentary Start/Stop Input


Register Type: Binary
Minimum: 0 Maximum: 1

The Momentary Start/Stop on & off digital input signal.


1 = On
0 = Off

Momentary Start/Stop Function Start Pulse Output State


Register Type: Binary
Minimum: 0 Maximum: 1

The Momentary Start/Stop start pulse output state.


1 = On
0 = Off

Momentary Start/Stop Function Stop Pulse Output State


Register Type: Binary
Minimum: 0 Maximum: 1

The Momentary Start/Stop stop pulse output state.


1 = On
0 = Off

Momentary Start/Stop Function Start Pulse Delay


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This is the start pulse duration in milliseconds.

Momentary Start/Stop Function Stop Pulse Delay


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This is the stop pulse duration in milliseconds.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 85 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

ON

Input

ON

Start Pulse t1 t1

ON
Stop Pulse t2 t2

t1 Start Pulse Delay


t2 Stop Pulse Delay

Figure 35: Momentary Start/Stop Operation

An off to on transition presents on the Input will activate the Start Pulse sequence.
During a Start Pulse sequence, the Start Pulse will remain on for the period defined by
Start Pulse Delay.

An on to off transition presents on the Input will activate the Stop Pulse sequence.
During a Stop Pulse sequence, the Stop Pulse will remain on for the period defined by
Stop Pulse Delay.

The Input transition is ignored if the Input state changed during a Start Pulse or Stop
Pulse sequence. The Input state is monitored only after the current sequence is
completed. This is to prevent short cycle for the Start and Stop pulse.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 86 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

20.0 Totaliser
The Totaliser function block provides an accumulator function for analog input.
Normally, the analog input is the flow rate measurement value. The accumulated
value is stored in the non-volatile memory. It also provides alarm monitoring for the
accumulated value.

Totaliser Input
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Totaliser analog input value.

Totaliser Value
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Totaliser accumulated value.

Totaliser Rate Timebase


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 2

This parameter defines the time base for flow rate, for example 5 liter/minute.
0 Second
1 Minute
2 Hour

Totaliser Scale Factor


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Totaliser Scale Factor provides scale up or scale down function for the
accumulated value. The scale factor can be changed at anytime. For instance, to
change liter/minute to milliliter/minute, set the scale factor to 1000.

Totaliser Low Cutoff Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

Some sensor might have unstable output at low range operation. The Low Cutoff
function helps to filter the unstable value by forcing the output value to 0 when the
input value is lower than the Low Cutoff Value.

Totaliser Reset Value


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the accumulated value 0.


0 to 1 = Totaliser Value reset to 0

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 87 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Totaliser Alarm Enable


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter enables or disables the Totaliser Alarm feature.


1 = Enable
0 = Disable

Totaliser Alarm Reset Type


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter defines how alarm is reset after activation. Under Auto mode, the
Alarm state will be reset when the Totaliser Value is in the non-alarm condition. For
Manual mode, when alarm is triggered, the Alarm state will stay on even the Totaliser
Value is back to non-alarm condition.
1 = Manual
0 = Auto

Totaliser Alarm Monitor Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines Totaliser accumulated value for alarm activation. The
Totaliser Value is monitored and compared to this value to initiate the Alarm
sequence.

Totaliser Alarm State


Register Type: Binary
Minimum: 0 Maximum: 1

This alarm state is set to ON whenever the alarm function algorithm has determined
an alarm condition. An OFF indicates that the Totaliser value is in normal condition.
1 = Alarm State
0 = Normal Operation

Totaliser Alarm Reset


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Alarm State in Auto
Alarm Reset Type.
0 to 1 = Alarm State reset to off (0)

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 88 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

21.0 Analogue Limit (Clamping)


The Analogue Limit function block restricts an analog value to a specific range. When
the input value is within the limit range, it will be passed direct to the output.

Analogue Limit (Clamping) Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Analogue Limit analog input value.

Analogue Limit (Clamping) Output Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Analogue Limit analog output value.

Analogue Limit (Clamping) High Limit


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Analogue Limit highest output value. The output value will be fixed to this value
when the input value is higher than the high limit.

Analogue Limit (Clamping) Low Limit


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Analogue Limit lowest output value. The output value will be fixed to this value
when the input value is lower than the low limit.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 89 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

22.0 Set Point Adjust


The Set Point Adjust function block provides a proportional set point adjustment with
limit control.

Set Point Adjust Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Set Point Adjust analog input value.

Set Point Adjust Output Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Set Point Adjust analog output value.

Set Point Adjust Action


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 2

The Set Point Adjust Action determines the function block operation type.
0 Disable
1 Direct
2 Reverse

Set Point Adjust Input Set Point


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The output value will be set to the Reference Set Point when the input value equals to
this value.

Set Point Adjust Reference Set Point


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The output value will be set to this value when the input value equals to the Input Set
Point.

Set Point Adjust Ratio


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the input change required to cause the output change by value
1.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 90 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Set Point Adjust Output Maximum


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the maximum allowed value for the output value.

Set Point Adjust Output Minimum


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the minimum allowed value for the output value.

Input Value

y Ratio = y/x
x
Input
Set Point

Reference Set Point Output Value


Minimum Maximum

Output Value = Reference Set Point + (Input Value Input Set Point) * Ratio

Figure 36: Set Point Adjust Direct Operation

Input Value

Ratio = y/x

y
x
Input
Set Point

Reference Set Point Output Value


Maximum Minimum

Output Value = Reference Set Point + (Input Set Point - Input Value) * Ratio

Figure 37: Set Point Adjust Reverse Operation

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 91 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

23.0 Digital Alarm


The Digital Alarm function block provides a state monitoring function for digital
signal to generate alarm.

Digital Alarm Input


Register Type: Binary
Minimum: 0 Maximum: 1

The Digital Alarm input.


1 = On
0 = Off

Digital Alarm Monitor State


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter defines the alarm activation (trip state) that the Digital Alarm Input is
continuously monitored and compared against.
1 = ON (Active High)
0 = OFF (Active Low)

Digital Alarm Reset Type


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter defines how alarm is reset after activation. Under Auto mode, the
Alarm state will be reset when the input is in the non-alarm condition. For Manual
mode, when alarm is triggered, the Alarm state will stay on even the input is back to
non-alarm condition.
1 = Manual
0 = Auto

Digital Alarm Delay Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This parameter defines the duration (in seconds) that the input must be:
- in the alarm condition before alarm state is generated
- in the non-alarm condition before returned from alarm state

Digital Alarm On
Register Type: Binary
Minimum: 0 Maximum: 1

This alarm output is set to ON whenever the alarm function algorithm has determined
an alarm condition. An OFF indicates that the input is in normal condition.
1 = Alarm State
0 = Normal Operation

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 92 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Digital Alarm Reset


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Alarm State Auto Alarm
Reset Type.
0 to 1 = Alarm State reset to 0

Alarm
Enable

Input

Alarm

>= Alarm Delay >= Alarm Delay < Alarm Delay Time
Time Time

>= Alarm Delay


Time

Figure 38: Digital Alarm Operation in Auto Reset Type (Active High)

Input

Alarm Reset
Alarm

Reset Alarm

>= Alarm Delay >= Alarm Delay


Time Time

Figure 39: Digital Alarm Operation in Manual Reset Type (Active High)

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 93 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

24.0 Analogue Alarm


The Analogue Alarm function block provides a value monitoring function for analog
value to generate alarm.

Analogue Alarm Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Analogue Alarm analogue input for alarm monitoring.

Analogue Alarm Low Limit


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines analogue input level for Low Alarm activation. The analogue
input value is monitored and compared to this value to initiate the Low Alarm
sequence.

Analogue Alarm High Limit


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines analogue input level for High Alarm activation. The analogue
input value is monitored and compared to this value to initiate the High Alarm
sequence.

Analogue Alarm Deadband Limit


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines a deadband value which is applied to Low and High Alarm
Limit values to determine the return from alarm trip points. To return from High
Alarm trip point, the analogue input value must be lower than the Alarm High Limit
by Alarm Deadband Limit. To return from Low Alarm trip point, the analogue input
value must be greater than the Alarm Low Limit by Alarm Deadband Limit.

Analogue Input Value Alarm Condition


> Alarm High Limit High Alarm
< Alarm High Limit Alarm Deadband Return from High Alarm
Limit
< Alarm Low Limit Low Alarm
> Alarm Low Limit + Alarm Deadband Return from Low Alarm
Limit

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 94 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Analogue Alarm Delay Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

Defines the duration (in seconds) that the analogue input value must be:
- in the alarm condition before alarm state is generated
- in the non-alarm condition before returned from alarm state

Analogue Alarm On
Register Type: Binary
Minimum: 0 Maximum: 1

This alarm output is set to ON whenever the alarm function algorithm has determined
an alarm condition, either High or Low Alarm. An OFF indicates that the analogue
input value is in normal range.
1 = Alarm State
0 = Normal Operation

Analogue Alarm Type


Register Type: Binary
Minimum: 0 Maximum: 1

To indicate the type of alarm occurred, High or Low alarm. The Alarm Type is valid
when the Alarm is in alarm state.
1 = High Alarm
0 = Low Alarm

Analogue Alarm Reset Type


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter defines how alarm is reset after activation. Under Auto mode, the
Alarm state will be reset when the analogue input value is in the non-alarm condition.
For Manual mode, when alarm is triggered, the Alarm state will stay on even the
analogue input value is back to non-alarm condition.
1 = Manual
0 = Auto

Analogue Alarm Reset


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Alarm State in Auto
Alarm Reset Type.
0 to 1 = Alarm State reset to 0

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 95 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Figure 40: Analogue Alarm Operation

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 96 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

25.0 Digital to Analogue Conversion


The Digital to Analogue Conversion function block provides a transformation
mechanism from digital signal to analogue value.

Digital to Analogue Input


Register Type: Binary
Minimum: 0 Maximum: 1

The Digital to Analogue Conversion digital input signal.


1 = On
0 = Off

Digital to Analogue On Level


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the analogue output value of input ON state.

Digital to Analogue Off Level


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the analogue output value of input OFF state.

Digital to Analogue Output Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Digital To Analogue output value.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 97 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

26.0 Analogue to Digital Conversion


The Analogue to Digital Conversion function block provides a transformation
mechanism from analogue value to digital signal.

Analogue to Digital Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Analogue to Digital analogue input value.

Analogue to Digital On Level


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the ON state level of the analogue input value for digital
transformation. A positive On Level value means greater than, and a negative On
Level value means lower than during comparison.

Positive Value: The digital state will be set to ON when the input value is
greater than On Level.
Negative Value: The digital state will be set to ON when the input value is
lower than On Level.

Analogue to Digital Off Level


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the OFF state level of the analogue input value for digital
transformation. A positive Off Level value means greater than, and a negative On
Level value means lower than during comparison.

Positive Value: The digital state will be set to OFF when the input value is
greater than Off Level.
Negative Value: The digital state will be set to OFF when the input value is
lower than Off Level.

Example:
a) On Level = +55, Off Level = -45

Input Value Output State


< 45 OFF
45 - 55 No change
> 55 ON

b) On Level = -60, Off Level = +70

Input Value Output State


< 60 ON
60 70 No change
> 70 OFF

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 98 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Analogue to Digital Output State


Register Type: Binary
Minimum: 0 Maximum: 1

The Analogue To Digital Conversion digital output signal.


1 = On
0 = Off

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 99 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

27.0 Analogue to Percentage Conversion


The Analogue to Percentage Conversion function block provides a transformation
mechanism from analogue value to percentage level (0% - 100%).

Analogue to Percentage Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Analogue to Percentage analogue input value.

Analogue To Percentage Input Scale Low


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Scale Low value defines the input value where the output value is equal to 0%. If
any input value is lower than this Scale Low value, the output is fixed at 0%.

Analogue To Percentage Input Scale High


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Scale High value defines the input value where the output value is equal to 100%.
If any input value is higher than this Scale High value, the output is fixed at 100%.

Analogue to Percentage Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Analogue to Percentage output value in percentage.

Output (%) = 100% * (Input Scale Low)/(Scale High Scale Low)

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 100 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

28.0 Percentage to Analogue Conversion


The Percentage to Analogue Conversion function block provides a transformation
mechanism from percentage level (0% - 100%) to analogue value.

Percentage to Analogue Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Percentage to Analogue percentage input value.

Percentage to Analogue Output Scale Low


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Scale Low value defines the output value where the input value is equal to 0%.

Percentage to Analogue Output Scale High


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Scale High value defines the output value where the input value is equal to 100%.

Percentage to Analogue Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Percentage to Analogue output value.

Output = Input (%) * (Scale High Scale Low) / 100%

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 101 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

29.0 Scale Conversion


The Scale to Analogue Conversion function block provides a transformation
mechanism between two different scaling.

Scaling Input Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Scale input value.

Scaling Input Low Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This value defines the input low value where the output value is equal to its low value.

Scaling Input High Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This value defines the input high value where the output value is equal to its high
value.

Scaling Output Low Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This value defines the output low value when the input value is equal to its low value.

Scaling Output High Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This value defines the output high value when the input value is equal to its high
value.

Scaling Output Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Scale output value.

Op = (Input Input Low Value) / (Input High Value Input Low Value)

Output = Op * (Output High Value Output Low Value) + Output Low Value

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 102 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

30.0 Holiday
The Holiday function block defines the holidays.

Holiday State
Register Type: Binary
Minimum: 0 Maximum: 1

The current holiday state.


1 = On
0 = Off

Holiday Date
Register Type: Unsigned Integer (16 bits)
Minimum: 0101 Maximum: 1231

The date of holiday. The format of the holiday date is MMDD,

where MM = month (two digits, 01 = January, 02 = February and so on)


DD = day (two digits, 01 to 31)

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 103 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

31.0 Scheduler
The Scheduler function block provides a periodic time table for other function blocks
daily. Each scheduler consists of 8 timers in which each timer have its own on and off
time. Each scheduler can be enabled or disabled by week day and during holiday.

Scheduler Timer Enable A


Register Type: Binary
Minimum: 0 Maximum: 1

These parameters used to enable or disable Scheduler Timer A.


1 = Enable
0 = Disable

* Scheduler Timer Enable B, C, D, E, F, G, H, refer to Scheduler Timer Enable A

Scheduler On Time A
Register Type: Unsigned Integer (16 bits)
Minimum: 0000 Maximum: 2359

The scheduler timer on time for Timer A in HHMM format.

where HH = Hour ( 0 23)


MM = Minute (0 59)

* Scheduler On Time B, C, D, E, F, G, H, refer to Scheduler On Time A.

Scheduler Off Time A


Register Type: Unsigned Integer (16 bits)
Minimum: 0000 Maximum: 2359

The scheduler timer off time for Timer A in HHMM format.

where HH = Hour ( 0 23)


MM = Minute (0 59)

* Scheduler Off Time B, C, D, E, F, G, H, refer to Scheduler Off Time A.

Scheduler Sunday Enable


Register Type: Binary
Minimum: 0 Maximum: 1

The Scheduler is enabled or disabled on Sunday.


1 = Enable
0 = Disable

* Scheduler Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Holiday


Enable, refer to Scheduler Sunday Enable

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 104 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Scheduler Current Output State


Register Type: Binary
Minimum: 0 Maximum: 1

The Scheduler current output state.


1 = On
0 = Off

Schedule Timer Remain


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This register indicates the time remain in minutes to the next activate schedule timer.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 105 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

32.0 Optimum Start Stop


The Optimum Start Stop function block provides control to achieve desired
occupancy conditions at minimum period before the occupancy time. It stops the
equipment before the occupancy end-time to save energy without scarifying the
desired occupancy conditions.

Optimum Start Stop Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Optimum Start Stop analogue input, usually temperature input. Optimum Start
Stop compares the Set Point and the input value to determine the action.

Optimum Start Stop Mode


Register Type: Binary
Minimum: 0 Maximum: 1

The parameter determines either Cool or Heat operation is in place.


1 = Heat
0 = Cool

Optimum Start Stop Timer


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the time remaining in minutes to occupied and unoccupied mode.


Negative Value = Time left in minutes to occupied mode
Positive Value = Time left in minutes to unoccupied mode

Optimum Start Stop Set Point


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the desired temperature or value. This value is compared with the input value
to determine required prestart or prestop time.

Optimum Start Stop Comfort Zone


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Set Point control hysteresis. No action is carried out when the input is
within this comfort zone.

For Heat Mode:


To occupied: when input >= (Set Point Comfort Zone), no action
To unoccupied: when input <= (Set Point Comfort Zone), no action

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 106 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

For Cool Mode:


To occupied: when input <= (Set Point Comfort Zone), no action
To unoccupied: when input >= (Set Point Comfort Zone), no action

Optimum Start Stop Cool K factor


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Cool K factor is the constant used to calculate prestart time for cooling. It can be
considered as the numbers of minutes are required to lower the temperature by one
degree.

Optimum Start Stop Heat K factor


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Heat K factor is the constant used to calculate prestart time for heating. It can be
considered as the numbers of minutes are required to raise the temperature by one
degree.

Optimum Start Stop Coast K factor


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

The Coast K factor is the constant used to calculate prestop time. It can be considered
as the numbers of minutes are required to raise or lower the temperature by one
degree.

Optimum Start Stop Max Prestart Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum:65535

This is the maximum time in minutes allowed for prestart operation.

Optimum Start Stop Max Prestop Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum:65535

This is the maximum time in minutes allowed for prestop operation.

Optimum Start Stop Damper Enable


Register Type: Binary
Minimum: 0 Maximum: 1

This output is on during the occupied time interval.


1 = Occupied
0 = Unoccupied

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 107 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Optimum Start Stop Cool Enable


Register Type: Binary
Minimum: 0 Maximum: 1

This output is on under Cool mode during prestart, occupied period before the prestop
occurs, otherwise it is off.
1 = Prestart, Occupied (excluding prestop time)
0 = others

Optimum Start Stop Heat Enable


Register Type: Binary
Minimum: 0 Maximum: 1

This output is on under Heat mode during prestart, occupied period before the prestop
occurs, otherwise it is off.
1 = Prestart, Occupied (excluding prestop time)
0 = others

Optimum Start Stop Prestart Operation

32.1 Optimum Start Stop Operation

Heating Prestart
The heating prestart operation is active if the Optimum Start Stop Mode is set to heat
and the Optimum Start Stop Max Prestart time is greater than zero. The calculated
prestart time will be limited to the Max Prestart Time.

The formula used to calculate the amount of heating prestart time is as follow:

Prestart Time (minutes) = Heat K * ((Set Point Comfort Zone) Input)

Prestart Time (minutes) = 0, when Input >= (Set Point Comfort Zone)

Heating Prestop
The heating prestop operation is active if the Optimum Start Stop Mode is set to heat
and the Optimum Start Stop Max Prestop time is greater than zero. The calculated
prestop time will be limited to the Max Prestop Time.

The formula used to calculate the amount of heating prestop time is as follow:

Prestop Time (minutes) = Coast K * (Input - (Set Point Comfort Zone))

Prestop Time (minutes) = 0, when Input <= (Set Point Comfort Zone)

Cooling Prestart
The cooling prestart operation is active if the Optimum Start Stop Mode is set to cool
and the Optimum Start Stop Max Prestart time is greater than zero. The calculated
prestart time will be limited to the Max Prestart Time.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 108 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

The formula used to calculate the amount of cooling prestart time is as follow:

Prestart Time (minutes) = Cool K * (Input (Set Point + Comfort Zone))

Prestart Time (minutes) = 0, when Input <= (Set Point Comfort Zone)

Cooling Prestop
The cooling prestop operation is active if the Optimum Start Stop Mode is set to cool
and the Optimum Start Stop Max Prestop time is greater than zero. The calculated
prestop time will be limited to the Max Prestop Time.

The formula used to calculate the amount of cooling prestop time is as follow:

Prestop Time (minutes) = Coast K * ((Set Point + Comfort Zone) Input)

Prestop Time (minutes) = 0, when Input >= (Set Point Comfort Zone)

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 109 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

33.0 Sequencer
The Sequencer function block provides a control method up to 8 sequence outputs
based on the analogue input value and the operation mode, linear or binary. In the
linear mode, the outputs are controlled in a first on, last off mode. In binary mode, the
outputs are controller in a binary weighted sequence. Both operation modes can be a
direct or reverse acting. For linear mode, load sharing feature is included.

Sequencer Input
Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Sequencer analogue input. This input is scaled using the High Scale &
Low Scale parameters to calculate the operation input value in percentage.

Sequencer Stage 1 Output


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Sequencer Stage 1 digital output signal.

* Sequencer Stage 2, 3, 4, 5, 6, 7 and 8, refer to Sequencer Stage 1.

Sequencer Action
Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 6

The Sequencer Action determines the operation carried out by the Sequencer.
0 Off
1 Direct Linear
2 Reverse Linear
3 Direct Binary
4 Reverse Binary
5 Direct Linear Load Sharing
6 Reverse Linear Load Sharing

Sequencer Stage Count


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 8

This is the Sequencer output stage number, maximum 8. The output is calculated
based on the input and number of output stage.

Sequencer Input High Scale


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the highest value of Sequencer input which equals to 100%.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 110 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Sequencer Input Low Scale


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter defines the lowest value of Sequencer input which equals to 0%.

Sequencer Stage Changeover Delay


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This parameter defines the state change minimum guard time in milliseconds in
between stage output. When one output state changed, the following state can only be
changed after changeover delay time.

33.1 Sequencer Operation


The Sequencer input is scaled to percentage using the Input High Scale and Input Low
Scale before operation.

Sequencer Input (%) = 100% * (Input Input Low Scale)


-----------------------------------------
(Input High Scale Input Low Scale)

Action - Off
All output stages are set to off state.

Action Direct Linear


Number of output stage ON = Integer(Sequence Input (%) * Sequencer Stage Count)

Action Reverse Linear


Number of output stage OFF = (Integer(Sequence Input (%) * Sequencer Stage
Count))

Action Direct Binary


Weighted Output = Integer(Sequence Input (%) * 2Sequencer Stage Count )
For example,
No of Sequencer Stage Count = 8
Sequencer Input (%) = 70%
Output Value = Integer( 0.7*28) = 179= 10110011b (binary)
Stage Output 1 = ON
Stage Output 2 = ON
Stage Output 3 = OFF
Stage Output 4 = OFF
Stage Output 5 = ON
Stage Output 6 = ON
Stage Output 7 = OFF
Stage Output 8 = ON

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 111 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Action Reverse Binary


Weighted Output = Ones Complement (Integer(Sequence Input (%) * 2Sequencer Stage
Count
))

Action Direct Linear Load Sharing


This action works like Direct Linear but with load sharing function. The workload is
shared between the output stages, the output has the longest off time will be the next
one to be turned on.

Action Reverse Linear Load Sharing


This action works like Reverse Linear but with load sharing function. The workload is
shared between the output stages, the output has the longest off time will be the next
one to be turned on.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 112 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

34.0 Timer Function


The Timer function block provides an on delay, off delay, minimum off time and
minimum on timer control on digital signal.

Timer Function Input


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Timer Function digital input signal.

Timer Function Digital Output State


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Timer Function digital output signal.

Timer Function On Delay


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This parameter defines the delay in seconds between the input on signal and output on
signal.

ON

Input

ON

Output

On Delay

Figure 41: Timer Function On Delay Operation

Timer Function Off Delay


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This parameter defines the delay in seconds between the input off signal and output
off signal.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 113 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

ON

Input

ON

Output

Off Delay

Figure 42: Timer Function Off Delay Operation

Timer Function Min On Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This parameter defines the minimum time in seconds the output signal should stay in
on state.

ON

Input

ON

Output

Min On Time

Figure 43: Timer Function Min On Time

Timer Function Min Off Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This parameter defines the minimum time in seconds the output signal should stay in
off state.

ON

Input

ON

Output

Min Off Time

Figure 44: Timer Function Min Off Time

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 114 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

35.0 Logic Function


The Logic function block provides the mathematic logical operation for up to three
digital signals.

Logic Function Input1


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Logic Function 1st digital input signal.

Logic Function Input2


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Logic Function 2nd digital input signal.

Logic Function Input3


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Logic Function 3rd digital input signal.

Logic Function Output1 State


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Logic Function direct digital output signal 1.

Logic Function Output2 (Reverse) State


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Logic Function direct digital output signal 2. It acts as reverse digital
output signal 1 in some of the logic functions.

Logic Function Selection


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 8

This parameter defines the logical operation.


0 Disable
1 DI1 AND DI2 AND DI3
2 DI1 OR DI2 OR DI3
3 (DI1 AND DI2) OR DI3
4 (DI1 OR DI2) AND DI3
5 DI1 XOR DI2
6 Latch
7 RS Flip Flop
8 Clocked RS Flip Flop

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 115 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

35.1 Logic Function Operation

AND Operation
The Output1 is only ON when all the inputs are ON. The Output2 state is the reverse
state of Output1.

DI3 DI2 DI1 Output1 Output2


OFF OFF OFF OFF ON
OFF OFF ON OFF ON
OFF ON OFF OFF ON
OFF ON ON OFF ON
ON OFF OFF OFF ON
ON OFF ON OFF ON
ON ON OFF OFF ON
ON ON ON ON OFF

Table 8: Logic Function AND Operation True Table

Figure 45: Logic Function AND Diagram

OR Operation
The Output1 is ON when any of the inputs is ON. The Output2 state is the reverse
state of Output1.

DI3 DI2 DI1 Output1 Output2


OFF OFF OFF OFF ON
OFF OFF ON ON OFF
OFF ON OFF ON OFF
OFF ON ON ON OFF
ON OFF OFF ON OFF
ON OFF ON ON OFF
ON ON OFF ON OFF
ON ON ON ON OFF

Table 9: Logic Function OR Operation True Table

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 116 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Figure 46: Logic Function OR Diagram

AND/OR Operation
The DI1 is AND with DI2, and the result is OR with DI3. The Output2 state is the
reverse state of Output1.

DI3 DI2 DI1 Output1 Output2


OFF OFF OFF OFF ON
OFF OFF ON OFF ON
OFF ON OFF OFF ON
OFF ON ON ON OFF
ON OFF OFF ON OFF
ON OFF ON ON OFF
ON ON OFF ON OFF
ON ON ON ON OFF

Table 10: Logic Function AND/OR Operation True Table

Figure 47: Logic Function AND/OR Diagram

OR/AND Operation
The DI1 is OR with DI2, and the result is AND with DI3. The Output2 state is the
reverse state of Output1.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 117 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

DI3 DI2 DI1 Output1 Output2


OFF OFF OFF OFF ON
OFF OFF ON OFF ON
OFF ON OFF OFF ON
OFF ON ON OFF ON
ON OFF OFF OFF ON
ON OFF ON ON OFF
ON ON OFF ON OFF
ON ON ON ON OFF

Table 11: Logic Function OR/AND Operation True Table

Figure 48: Logic Function OR/AND Diagram

Exclusive OR Operation
The DI1 is XOR with DI2. The Output1 is OFF if DI1 and DI2 are in the same state,
otherwise the OUTPUT1 is ON. DI3 is not used. The Output2 state is the reverse state
of Output1.

DI2 DI1 Output1 Output2


OFF OFF OFF ON
OFF ON ON OFF
ON OFF ON OFF
ON ON OFF ON

Table 12: Logic Function XOR Operation True Table

Figure 49: Logic Function XOR Diagram

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 118 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Latch Operation
The Output1 will go on when there is off to on transition on the DI1 (Set) input signal.
The Output1 will go off when there is off to on transition on the DI2 (Reset) input
signal. The Set signal has the higher priority than the Reset signal. The DI3 signal will
be passed to Output2 when Output1 is off, otherwise the Output2 will hold the last
value.

Figure 50: Logic Function Latch Diagram


DI1
(Set)

DI2
(Reset)

Output1

No Output2 Output2 No Output2


Output2 Change = DI3 = DI3 Change = DI3

No
Change

Figure 51: Logic Function Latch Operation Timing Diagram

RS Flip Flop Operation


The Output1 will go on when there is off to on transition on the DI1 (Set) input signal.
The Output1 will go off when there is off to on transition on the DI2 (Reset) input
signal. When DI1 and DI2 have the state, the Output1 state will not be changed. The
Output2 state is the reverse state of Output1. DI3 is not used.

DI1 (Set) DI2 (Reset) Output1 Output2


OFF OFF no change no change
OFF ON OFF ON
ON OFF ON OFF
ON ON no change no change

Table 13: Logic Function RS Flip Flop Operation True Table

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 119 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Figure 52: Logic Function RS Flip Flop Diagram


DI1
(Set)

DI2
(Reset)

Output1

Output2
No Change

Figure 53: Logic Function RS Flip Flop Timing Diagram

Clocked RS Flip Flop Operation


The Clocked RS Flip Flop operates like RS Flip Flop but the output will only be
changed when there is off to on transition on DI3 (clock signal).

DI1 (Set) DI2 (Reset) DI3 (Clock) Output1 Output2


OFF OFF no change no change
OFF ON OFF ON
ON OFF ON OFF
ON ON no change no change

Table 14: Logic Function Clocked RS Flip Flop Operation True Table

Figure 54: Logic Function Clocked RS Flip Flop Diagram

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 120 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

DI1
(Set)

DI2
(Reset)

DI3
(Clock)

Output1

Output2

No Change

Figure 55: Logic Function Clock RS Flip Flop Timing Diagram

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 121 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

36.0 Counter
The Counter function block works as a digital pulse totaliser/accumulator. The
Counter can be cascaded to form a bigger capacity counter.

Counter Input
Register Type: Binary
Minimum: 0 Maximum: 1

This is the Counter digital input signal. An off to on transition causes the counter
number to be increased or decreased by 1.

Counter Operation
Register Type: Binary
Minimum: 0 Maximum: 1

This parameter specifies the counter operation, counting up or counting down.


1 = Count Down
0 = Count Up

Counter Count Set Value


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This is the value at which the count value will be reset and starts counting again. For
count up operation, when the count value has reached to Count Set Value, the next
Counter Input transition will reset the count to zero and set the carry flag. For count
down operation, the count value starts at Count Set Value and when decreasing to
zero value, the next Counter Input transition will reset the count value to this Count
Set Value and set the carry flag.

Counter Current Output Value


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

This parameter indicates the Counter current count value.

Counter Carry Flag


Register Type: Binary
Minimum: 0 Maximum: 1

This parameter will be set to 1 when the count value rolls over (count up mode, when
the count value reset from the Count Set Value to 0) or rolls under (count down mode,
when the count value reset from 0 to Count Set Value) Counter Count Set Value.

Counter Reset
Register Type: Binary
Minimum: 0 Maximum: 1

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 122 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

An OFF to ON (positive edge triggered) transition reset the counter to zero (count up
operation) or to Counter Count Set Value (count down operation)
0 to 1 = Counter Reset

DI-1 Current Output Value


Input
DI - 2
Reset
Carry Flag
99 Count Set Value

Input Current Output Value

Reset
Carry Flag
50 Count Set Value

Figure 56: Cascading Counter

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 123 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

37.0 Mathematic
The Mathematic function block provides some mathematic calculation for analogue
values.

Math Function Input1


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Mathematic function block 1st analogue input value.

Math Function Input2


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Mathematic function block 2nd analogue input value.

Math Function Input3


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Mathematic function block 3rd analogue input value.

Math Function Output Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Mathematic function block analogue output value.

Math Function Type


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 9

This parameter defines the mathematic operation.


0 : Disable
1 : (Input1 + Input2) + Input3
2 : (Input1 Input2) Input3
3 : (Input1 * Input2) * Input3
4 : (Input1 + Input2) / Input3
5 : (Input1 * Input2) + Input3
6 : (Input1 Input2) * Input3
7 : |(Input1 Input2)| / Input3
8 : (|Input1 Input2| ) * Input3
9 : Filter

Mathematic Function Filter Sampling Time


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 65535

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 124 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

This parameter defines the sampling time for filter function in milliseconds.

Mathematic Function Filter Factor


Register Type: Unsigned Integer (16 bits)
Minimum: 1 Maximum: 65535

This parameter defines the filter factor for filter function.

37.1 Mathematic Operation

Disable: Output Value always set to zero.

Addition: (Input1 + Input2) + Input3

Subtraction: (Input1 Input2) Input3

Multiplication: (Input1 * Input2) * Input3

Division & averaging: (Input1 + Input2) / Input3

Scaling: (Input1 * Input2) + Input3

Scaling: (Input1 Input2) * Input3

Scaling (absolute differential): |(Input1 Input2)| / Input3

Square Root: (|Input1 Input2| ) * Input3

Filter: Averages a series of sampled value. The sampling time is specified by Filter
Sampling Time. Input2 and Input3 are not used.

Output = (Input1 + Output * (Filter Factor 1)) / Filter Factor

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 125 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

38.0 Digital Gate


The Digital Gate function block provides a gate control mechanism for digital signal.
The input will only be passed to output when the gate is enabled.

Digital Gate Enable


Register Type: Binary
Minimum: 0 Maximum: 1

The parameter enables or disables the Digital Gate control. The digital input state will
be passed to digital output when the gate is enabled.
1 = Enable
0 = Disable

Digital Gate Input


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Digital Gate digital input signal.


1 = On
0 = Off

Digital Gate Output


Register Type: Binary
Minimum: 0 Maximum: 1

This is the Digital Gate digital output signal.


1 = On
0 = Off

Input

Enable

Output

Figure 57: Digital Gate Timing Diagram

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 126 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

39.0 Analogue Gate


The Analogue Gate function block provides a gate control mechanism for analogue
signal. The input will only be passed to output when the gate is enabled.

Analogue Gate Enable


Register Type: Binary
Minimum: 0 Maximum: 1

The parameter enables or disables the Analogue Gate control. The analogue input
value will be passed to analogue output value when the gate is enabled, otherwise the
analogue output value will hold the last value.
1 = Enable
0 = Disable

Analogue Gate Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Analogue Gate analogue input value.

Analogue Gate Output


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Analogue Gate analogue output value.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 127 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

40.0 Sample and Hold


The Sample and Hold function block passes the analogue input value to analogue
output during an off to on transition on the latch signal. The analogue output will hold
its value until it has been reset.

Sample and Hold Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Sample and Hold analogue input value.

Sample and Hold Latch


Register Type: Binary
Minimum: 0 Maximum: 1

An off to on transition causes the analogue input value passed to analogue output. If
the analogue output is holding the last pass-over value, then a reset is required before
a new value can be passed through.
0 to 1 = Value latch

Sample and Hold Reset


Register Type: Binary
Minimum: 0 Maximum: 1

An off to on transition reset the Sample and Hold state so that next Latch transition
will pass the analogue input value to analogue output.
0 to 1 = Reset

Sample and Hold Output Value


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Sample and Hold analogue output value.

Latch

Reset

Pass Data Hold Last Pass Data


Value Data Value Value

Figure 58: Sample and Hold Diagram

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 128 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

41.0 Mixed Air Volume


The Mixed Air Volume function blocks calculates the mixed air volume based on the
return air temperature, outside air temperature and the desired volume percent
between the return air and outside air.

Mixed Air Volume Return Air


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Mixed Air Volume return air temperature.

Mixed Air Volume Outside Air


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Mixed Air Volume outside air temperature.

Mixed Air Volume Set Point


Register Type: Floating point
Minimum: 0 Maximum: 100

This is the required outside air percentage for the mixed air.

Mixed Air Volume Output Value AO


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the Mixed Air Volume analogue output value.

The formula used to calculate the output is as follow:

Output Value AO = Return Air ((Return Air Outside Air) * Set Point/100)

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 129 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

42.0 Pulse Accumulator


The Pulse Accumulator function blocks detect and accumulating the digital pulse
input and logging it to the non-volatile memory. The Pulse Accumulator Counts data
will be written to non-volatile memory every 60 seconds.

Only DI1, DI2, DI3 and DI4 are able to take the digital pulse input. The minimum on
duration of the pulse width is 10ms and off duration is 5ms.

Minimum On
Time = 10ms

Minimum Off
Time = 5ms

Figure 59: Pulse Input Minimum On and Off time

Pulse Accumulator Enable


Register Type: Binary
Minimum: 0 Maximum: 1

The parameter enables or disables the Pulse Accumulator input.


1 = Enable
0 = Disable

Pulse Accumulator Reset Count


Register Type: Binary
Minimum: 0 Maximum: 1

An OFF to ON (positive edge triggered) transition reset the Pulse Accumulator


Counts to 0.
0 to 1 = the Pulse Accumulator Counts reset to 0

Pulse Accumulator Counts


Register Type: Unsigned Long (32 bits)
Minimum: 0 Maximum: 4294967295

This the accumulated counts of the digital pulse input. This data will be logged into
non-volatile memory every 60 seconds

Pulse Accumulator Unit Per Pulse


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This register specifies the number of units represent by a pulse input.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 130 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

Pulse Accumulator Cost Per Unit


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This register specifies the number of cost per unit.

Pulse Accumulator Total Units


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This register displays the total units accumulated by the Pulse Accumulator using the
following formula:

Pulse Accumulator Total Units = Pulse Accumulator Counts * Pulse Accumulator


Unit Per Pulse.

Pulse Accumulator Total Cost


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This register displays the total cost of the Pulse Accumulator using the following
formula:

Pulse Accumulator Total Cost = Pulse Accumulator Total Units * Pulse Accumulator
Cost Per Unit.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 131 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

43.0 Digital Input Expander


The Digital Input Expander function block provides up to 5 digital inputs through a
single universal input (analog input) by using a specific resistor-to-resistor network
connected to the universal input. The universal input must be configured as Resistance
10K type (by setting the Analogue Input Type to 5), refer to Analogue Input function
block for setting.

Figure 60: Resistor-to-Resistor Network for Digital Input Expander

Only dry contracts (voltage free) with resistance less than 5 ohms can be used for the
input. The resistance for the input open condition must be at least 1 mega ohms. For
long wire connection or high resistance contact, external driver circuit is required as
illustrated here.

Figure 61: Input with external driver circuit

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 132 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

The Digital Input Expander digital inputs response time is about 2 seconds maximum.
Due to the high resistor precision requirement, the controller might not get the right
resistance reading on the universal input. To compensate this, connect the DI
Expander board with all input ON, and adjust the Analogue Input Value by alter the
Analogue Input Offset to about 778.

DI Expander UI Channel
Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 8

The DI Expander UI Channel specifies the universal input channel used for the
detection.
0 Digital Input Expander disabled.
1 UI Channel 1
2 UI Channel 2
3 UI Channel 3
4 UI Channel 4
5 UI Channel 5
6 UI Channel 6
7 UI Channel 7
8 UI Channel 8

DI Expander Output 1 5
Register Type: Binary
Minimum: 0 Maximum: 1

The DI Expander output state, ON or OFF, 1 to 5. The relationship between the


physical input and the output state is controlled by the polarity setting.
1 = ON
0 = OFF

DI Expander Polarity 1 5
Register Type: Binary
Minimum: 0 Maximum: 1

Polarity controls the relationship between the physical digital input and the DI
Expander Output state.
1 = Reverse
0 = Direct (Normal)

Physical Hardware Physical State Polarity Output State


Open Contact Active Direct ON
Closed Contact Inactive Direct OFF
Open Contact Active Reverse OFF
Closed Contact Inactive Reverse ON

Table 15: Digital Input Expander Polarity

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 133 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

DI Expander Status
Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 3

The DI Expander Status provides the current operation status.


0 Normal Operation
1 Total resistor network resistance is under range (< 740 Ohms)
2 Total resistor network resistance is over range (> 1600 Ohms)
3 Invalid UI setting, UI type is not set to Resistance 10K mode.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 134 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

44.0 Table Conversion


The Table function block performs analog value conversion by using the controller
existing Temperature Table.

Table Conversion Input


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the table conversion input value.

Table Conversion Output


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This is the table conversion output value.

Table Conversion Table Select


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 16

Temperature Table Index Type of Temperature Sensor


0 Conversion Disable
18 User defined Table 1 8 (default = table 9 16)
9 10K shunt (11K) Thermistor in Degree C
10 10K Thermistor in Degree C
11 1K Balco in Degree C
12 1K Platinum in Degree C
13 10K shunt (11K) Thermistor in Degree Fahrenheit
14 10K Thermistor in Degree Fahrenheit
15 1K Balco in Degree Fahrenheit
16 1K Platinum in Degree Fahrenheit

Table 16: Conversion Table Selection

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 135 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

45.0 Dew Point


The Dew Point function block calculates the dew point temperature based on the
given ambient temperature and relative humidity. The ambient temperature range
must fall between -100C and 400C.

Dew Point Enable


Register Type: Binary
Minimum: 0 Maximum: 1

This register enables/disables the Dew Point function block. If the Dew Point is
disabled, then the Dew Point Temperature reading will follow the Dew Point Ambient
Temperature.
0 Disable
1 Enable

Dew Point Temperature


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This parameter is the Dew Point Temperature calculated based on the Dew Point
Ambient Temperature and Dew Point Relative Humidity.

Dew Point Temperature Scale


Register Type: Unsigned Integer (16 bits)
Minimum: 0 Maximum: 2

The Dew Point Temperature specifies the temperature scale type for Dew Point
Ambient Temperature and Dew Point Temperature.
0 Celcius
1 Fahrenheit
2 Kelvin

Dew Point Ambient Temperature


Register Type: Floating point
Minimum: -100C Maximum :400C

This is the ambient temperature used to calculate the Dew Point Temperature.

Dew Point Relative Humidity


Register Type: Floating point
Minimum: 0% Maximum:100%

This is the relative humidity used to calculate the Dew Point Temperature.

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 136 of 137
Version 3.1.00
EasyIO-30P Function Blocks Reference Manual
Jan 2009

46.0 Communication Monitoring


The Communication Monitoring function block monitors the communication
continuity between host and the controller.

Communication Lost
Register Type: Binary
Minimum: 0 Maximum: 1

This register is set to 1 when communication between host and controller is lost.
0 No
1 Yes

Communication OK
Register Type: Binary
Minimum: 0 Maximum: 1

This register is set to 1 when communication between host and controller is normal.
0 No
1 Yes

Communication Monitoring Timeout Interval


Register Type: Floating point
Minimum: Not Specified Maximum: Not Specified

This register specifies the minimum period of time in seconds which no


communication between host and the controller before the communication is
considered lost.

Communication Activity

Communication
Lost

Timeout Interval

Figure 62: Communication Monitoring

Copyright Infocon Holdings (S) Pte Ltd 2006 2009 Page 137 of 137

You might also like