Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 14 of 31

DX-9100 Configuration Guide: Software Configuration, pages 121 to 130

Pages 121 to 130 of 288, from DX-9100 Configuration Guide

The original document is the PDF (1.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Johnson Controls DX-9100

Page 121

Algorithm 17 Input Selector

The Input Selector algorithm selects one of its four analog input connections as its output. The selection is determined by the state of the Digital Inputs 5 and 6. Table 3 : Algorithm 17 - Input Selector Input

I5

I6

Output

I1

Off

Off

I1 x K1 + C1

I2

On

Off

I2 x K2 + C2

I3

Off

On

I3 x K3 + C3

I4

On

On

I4 x K4 + C4

If an analog input In@ is not connected and is selected by the status of Logical Inputs I5 and I6, the output is not updated and maintains the previously selected output value. It is recommended that each input that can be selected is connected to a numeric Item with a known value. The same numeric Item can be connected to more than one input. If a logic input is not connected, a value of 0 (Off) is assumed. Function

Via the GX Tool

Click on PM in the toolbar, select Numeric, then Select and position the module (box) on the screen. Select the module and then Data to call up the Data Window. Enter the appropriate Kn and Cn values to achieve the desired results. Make connections between source points and destination points In@ in the selector module, as applicable. Via the SX Tool

This algorithm is assigned to a programmable function module when the value 17 is configured in PM Item PMnTYP (RI.00). In@ = Analog Input Variable Connection In@ = Logic Input Variable Connection Cn, Kn = constants

High/Low Limits n = 1-4 (RI.10 to RI.13) n = 5-6 (RI.14 to RI.15) n = 1-4 (RI.26 to RI.33) Kn (even RI) Cn (odd RI)

The output of the module is limited by the high and low limits. Use these limits to keep the output within a reasonable range in case of the failure of an input.

Configuration Guides - DX-9100 Configuration Guide

121

Page 122

Via the GX Tool

Click on the select module and then Data to call up the Data Window. At the High Limit and Low Limit fields, set the required limits: •

If the calculation > high limit, then NCM = high limit

•

If the calculation < low limit, then NCM = low limit

Via the SX Tool

The module output can be limited by a low limit value entered at Alg. Item LOL (RI.37) and a high limit at Alg. Item HIL (RI.36). Notes

1.

On the SX Tool, the output of the algorithm can be seen under Program Modules at Alg. Item NCM (RI.60).

2.

The logical status of the algorithm can be seen on the SX Tool under Program Modules at PM Item PMnST (RI.72), with following bit structure: X1 = 1

NML

Calculated Output at Low Limit

X2 = 1

NMH

Calculated Output at High Limit

Status Items can be used as logic (digital) connections using the GX Tool or SX Tool.

GX Labels

3.

The module can be put in Hold mode by entering the value 1 at PM Item PMnHDC, (RI.70) at bit X1. (This can only be done via the PLC or SX Tool.) Its numeric output (NCM) can be modified in the Hold mode by a BAS or SX Tool.

4.

As the numeric output cannot be read at the DX front panel, it is recommended that this algorithm is used in the higher PM numbers, reserving the lower PM numbers for algorithms that can be displayed.

Source Points (Outputs)

PMnHLD

A 1 when the program module is in the Hold mode, being overridden by the SX Tool or a BAS.

PMnNCM

The calculation result of a numeric module.

PMnNMH

A 1 when the calculated output is equal to or greater than the numeric module high limit.

PMnNML

A 1 when the calculated output is less than or equal to the numeric module low limit.

Destination Points (Inputs)

In@ 122

Input connections to a programmable module.

Configuration Guides - DX-9100 Configuration Guide

Page 123

Algorithm 18 Calculator

The Calculator function is an algebraic expression of up to eight input variables. When an input is not connected, a value of 1 is assumed and the corresponding constant (Kn) must be set to the required value. If the denominator is 0, the equation outputs the last reliable calculation. The equation choices are listed below: Equation 1 (linear): ( ( K 1 * I1 + K 2 * I2 + K 3 ) * I 3 + K 4 )* I 4 K 0 + ( ( K 5 * I5 + K 6 * I6 + K 7 )* I 7 + K 8 ) * I 8

Equation 2 (polynomial): K0+

K1*I13+K2 *I22+K3 *I3*(K4*I4-K5*I5)+K6* I6 + K9 K7*I7+K8*I8

Equation 2 (as seen in GX): K0+

Function

K1*I1^3+K2*I2^2+K3*I3*(K4*I4-K5*I5)+K6*I6^0.5+K9 K7*I7+K8*I8

Via the GX Tool

Click on PM in the toolbar, select Numeric, then Calculator, and position the module (box) on the screen. Select the module and then Data to call up the Data Window. At the Eq. (1 or 2) field, enter the appropriate equation needed. Enter values for the constants for the desired calculated output. Be especially careful of the order and combinations of inputs and constants. Make connections between source points and In@ inputs of the Calculator Module, as required. Via the SX Tool

This algorithm assigned to a programmable function module when the value 18 is configured in PM Item PMnTYP (RI.00). The bit structure of the Alg. Item FUN (RI.02) defines the function of the algorithm:

High/Low Limits

X2X1 = 00

Not used

X2X1 = 01

Equation 1

X2X1 = 10

Equation 2

In = Input Variable n = 1 to 8

(RI.10 to RI.17)

Kn = Constant n = 0 to 8/9

(RI.26 to RI.35)

The output of the module is limited by the high and low limits. Use these limits to keep the output within a reasonable range in case of an input failure. Configuration Guides - DX-9100 Configuration Guide

123

Page 124

Via the GX Tool

Select the calculator module and then Data to call up the Data Window. Then make entries in the High Limit and Low Limit fields. If the calculation > high limit, then output = high limit If the calculation < low limit, then output = low limit Via the SX Tool

The module output can be limited by a low limit value entered at Alg. Item LOL (RI.37) and a high limit at Alg. Item HIL (RI.36). Notes

1.

On the SX Tool, the output of the algorithm can be seen under Program Modules at Alg. Item NCM (RI.60).

2.

The logical status of the algorithm can be seen on the SX Tool under Program Modules at PM Item PMnST (RI.72), with the following bit structure: X1 = 1

NML

Calculated Output is at Low Limit.

X2 = 1

NMH

Calculated Output is at High Limit.

Status Items can be used as logic (digital) connections using the GX Tool or SX Tool.

GX Labels

3.

The module can be put in Hold mode by entering the value 1 at PM Item PMnHDC (RI.70) bit X1. (This can only be done via the PLC or SX Tool.) Its numeric output (NCM) can be modified in the Hold mode by a BAS or SX Tool.

4.

As the numeric output cannot be read at the DX front panel, it is recommended that this algorithm is used in the higher PM numbers, reserving the lower PM numbers for algorithms that can be displayed.

Source Points (Outputs)

PMnHLD

A 1 when the program module is in the Hold mode, being overridden by the SX Tool or a BAS.

PMnNCM

The calculation result of a numeric module.

PMnNMH

A 1 when the calculated output is equal to or greater than the numeric module high limit.

PMnNML

A 1 when the calculated output is less than or equal to the numeric module low limit.

Destination Points (Inputs)

In@

124

Analog input connections to a programmable module.

Configuration Guides - DX-9100 Configuration Guide

Page 125

Algorithm 19 Timer Functions

The Timer Algorithm provides an eight channel time delay unit. Each channel has two inputs and provides one logic output that can be connected to an output module or used in the PLC module. Each channel provides a numerical output that displays the amount of time remaining until the end of the delay time defined.

Timers

Pulse Type

The output goes high for a time period T after an input transition from low to high. Further transitions during the timing cycle will not influence the cycle. A 1 on the reset input forces the output to 0, clearing the time cycle. At the end of the time period, the output will go off whether the input is high or low. INPUT RESET

OUTPUT

T

T dxcon018

Figure 16: Pulse Type Retriggerable Pulse

Similar to above, with the exception that the timing period begins from the last input transition. A 1 on the reset input forces the output to 0, clearing the time cycle. INPUT RESET OUTPUT

T dxcon019

Figure 17: Retriggerable Pulse On Delay with Memory

The output goes high after a time period (T) from the input going high. If the input is high for a period less than (T), the output will never go high. The output goes low only after the reset goes high. A 1 on the reset input forces the output to 0, clearing the time cycle. INPUT RESET OUTPUT

T

T dxcon020

Figure 18: On Delay with Memory Configuration Guides - DX-9100 Configuration Guide

125

Page 126

On Delay

The output goes high after a time period (T) from the input going high. If the input is high for a period less than (T), the output will never go high. The output goes low immediately when the input goes low. A 1 on the reset input forces the output to 0, clearing the time cycle. INPUT RESET OUTPUT

T

T

T dxcon021

Figure 19: On Delay Off Delay

The output goes high immediately when the input goes high. The output goes low after a time period (T) from the input going low. If the input goes high during the period less than (T), the output will not go low. A 1 on the reset input forces the output to 0, clearing the time cycle. INPUT RESET OUTPUT

T dxcon022

Figure 20: Off Delay Via the GX Tool

Click on PM in the toolbar, select Numeric, then Timer, and position the module (box) on the screen. Select the module and then Data to call up the Data Window. At the Timer #n type field, enter the number for the desired timer output action: 0

= Disabled

1

= Pulse

2

= Retriggerable Pulse

3

= On delay with memory

4

= On delay

5

= Off delay

At the Time Units #n field, enter a value to determine the time scale:

126

0

= seconds

1

= minutes

2

= hours

Configuration Guides - DX-9100 Configuration Guide

Page 127

At the Time Period field, enter the delay time as a whole number (no decimal) in the units chosen under the Time Units #n field. The module will round up or down any decimal value to the nearest whole number. Make connections between source points and destination points In@ (for input connection) and RSn@ (for reset connection). Whenever a source point entered at Reset Connection #n goes On, the output immediately goes Off and the timer is reset. A reset connection is always required for Timer Type 3. Via the SX Tool

A Timer Algorithm is assigned to a programmable function module when the value 19 is configured in PM Item PMnTYP (RI.00). The bit structure of the Alg. Item FUNn (n = 1-8) (RI.02 to RI.09) defines the function of each channel of the algorithm: X3X2X1 = 000

Channel Disabled

X3X2X1 = 001

Pulse

X3X2X1 = 010

Retriggerable Pulse

X3X2X1 = 011

On Delay with Memory

X3X2X1 = 100

On Delay

X3X2X1 = 101

Off Delay

X6X5

= 00

Time in seconds

X6X5

= 01

Time in minutes

X6X5

= 10

Time in hours

In@

= Input Variable Connection for Channel #n (even numbers, RI.10 to RI.24)

n = 1-8

RSn@ = Reset Variable Connection for Channel #n (odd numbers, RI.11 to RI.25)

n = 1-8

Tn

= Time period Channel #n (0 - 3276) (RI.26 to RI.33)

n = 1-8

TIMn = Time to end of period Channel #n (RI.60 to RI.67)

n = 1-8

Configuration Guides - DX-9100 Configuration Guide

127

Page 128

Notes

GX Labels

1.

Each channel can be put in Hold mode using the SX Tool by entering the value 1 at PM Item PMnHDC (n = 1-8), (RI.70); HLD1 = bit X1...HLD8 = bit X8. Its logic output can be modified in the Hold mode.

2.

The logical output status of the algorithm can be seen on the SX Tool at PM Item PMnDO (RI.71); TDO1 = bit X1...TDO8 = bit X8.

3.

A 1 on the reset input always forces the output to 0, clearing the time cycle.

4.

Do not modify the time base (seconds, minutes, hours) while the timer is active. Modifying the time period once it has started has no effect until the timer is re-triggered based on type and input. The SX is a good tool to use to see how much time remains on a timer at Item TIMn.

5.

As the timer functions cannot be read at the DX front panel, it is recommended that this algorithm is used in the higher PM numbers, reserving the lower PM numbers for algorithms that can be displayed.

Source Points (Outputs)

PMnHLDm A 1 when the channel of the program module has been overridden (in hold) from an SX service module or a BAS. PMnTDOm A 1 when the numeric timer channel output is On. PMnTIMm

The numeric timer module timer value of each channel. It will be 0 when the channel is not triggered or the timer has expired; or it will be the number of seconds (or minutes, or hours) left as the timer decrements.

Destination Points (Inputs)

128

In@

Analog input connections to a programmable module.

RSn@

The connection to the reset function of a timer module channel (to reset the output).

Configuration Guides - DX-9100 Configuration Guide

Page 129

Algorithm 20 Totalization

The Totalization module provides an eight channel totalization algorithm. Channels can be configured for Event, Integrator, or Time totalization. In Firmware Version 1.1 or later, an Accumulated Total option is available.

Event Counter

The Event Counter performs the counting of binary transitions from 0 to 1 of a logic source connected to the input of the channel. The number of transitions is scaled to generate a numeric output of total transitions. The output is incremented whenever the number of the transitions counted is equal to the value set in the scaling factor field. The input connection to an Event Counter must be a logic type.

Integrator

The Integrator performs the integration of the value of an analog variable connected to the input of the channel. The integration rate is determined by the time constant (FTC) (in minutes) and the result read as a numeric output. In other words, the Integrator will count up to the value of the numerical input in a period of time equal to the time constant (assuming that the input remains constant during this period). For example, if the input is equal to 30 and the time constant is five minutes, the output will count up to 30 in five minutes (at a rate of 0.1 per second), to 60 in ten minutes, and so on, until it reaches the full scale limit. To integrate kW into kWh, set the time constant to 60 minutes (one hour). If the input is in gallons per minute, a time constant of one minute would give a total in gallons. If the actual rate was, for example, 100 gallons per minute, in one hour 6,000 gallons would be totalized, and in one day 144,000 gallons. Since the totalized output only displays to 9999, the time constant could be used to slow down the totalization. By setting the time constant to 1000, the totalization units would be gallons x 1000. If the input is in liters per second, a time constant of 1/60 (=0.0167) is required to totalize in liters, as one second equals 1/60 minutes. As explained above, this may result in very high numbers very quickly, so it could be slowed down by setting the time constant to 1000 x 0.0167 (=16.67) and totalizing in liters x 1000 (=cubic meters). As the totalization module has a floating point output, resolution is lost beyond a value of 2,047. (Refer to the Configuration Tools - Entering Values section earlier in this document.) Therefore it is necessary to totalize integrated values by using either a cascade of one Integrator and one or more Event Counters, each with a full scale limit of 1,000 and using the Full Scale Limit flag (FSL) to reset the counters in sequence, or by using the Accumulated Total option. When this option is selected, the Accumulated Total for the channel will be incremented whenever the output reaches its full scale limit, and the output will automatically be reset. The Accumulated Total records the number of times the Full Scale has been reached. The input connection to an Integrator must be analog only. Configuration Guides - DX-9100 Configuration Guide

129

Page 130

Time Counter

The Time Counter function counts the time that the source point is in a 1 condition at a rate entered in the time constant (in seconds). The output is the totalized time value. Typically the time constant would be set at 60 seconds for runtime in minutes or 3600 seconds for runtime in hours. The Accumulated Total option may also be used for a Time Counter if a total of greater than 2047 is required. Via the GX Tool

Click on PM in the toolbar, select Totalization and position the module (box) on the screen. Select the module and then Data to call up the Data Window. In the TOTALIZATION n TYPE field, enter a value to assign the required function for each channel. 0

= Disabled

1

= Event Counter

2

= Integrator

3

= Time Counter

Make connections between source and destination points In@ (for input connection) and RSn@ (for reset connection). Via SX Tool

This algorithm is assigned to a programmable function module when the value 20 is configured in PM Item PMnTYP (RI.00). The bit structure of the Alg. Item FUNn (n = 1-8), (RI.02 to RI.09) defines the function of each channel of the algorithm:

130

X2X1 = 00

Not used

X2X1 = 01

Event Counter of a digital input

X2X1 = 10

Integrator of an analog input

X2X1 = 11

Time Counter of a digital input

In@

=

Input Variable Connection for Channel #n (even numbers, RI.10 to RI.24)

n = 1-8

RSn@ =

Reset Variable Connection for Channel #n (odd numbers, RI.11 to RI.25)

n = 1-8

Configuration Guides - DX-9100 Configuration Guide