[ Home ] [ Products ] [ Data Sheets ] [ Support ] [ FAQ ] [ Sales Offices ] [ Request Catalog ] [ Contact duTec ]
Analog L, a, c, d, f, M, U  k data field 
Response_{D} = {(k  4096) / 4095 } * (F  Z) + Z
Where:  
Response_{D} is actual value in the same engnieering units as
F and Z.
k is the 4 digit hex response from the I/O PLEXER converted to decimal. F is the full scale value of the module and Z is the zero scale of the module. These are shown for the standard modules in the table below. 
duTec Module  F 
Z 
Units 
IV50M  50 
0 
mVolts 
IV100M  100 
0 
mVolts 
IV1  1 
0 
Volts 
IV5  5 
0 
Volts 
IV10  10 
0 
Volts 
IV5B  5 
5 
Volts 
IV10B  10 
10 
Volts 
II420  20 
4 
mAmps 
Example: 
k = 19FC_{H} = 6652_{D} 

Response Value_{D}: 
= [({6652  4096} / 4095) * (20  4) + 4] 

= [(2556 / 4095) * 16 + 4] 

= [(0.624) * 16 + 4] 

= 9.984 + 4 

= 13.984 mA 
Analog g, h  k Data Field 
If the first hex digit is F, then the value represents a negative offset. Use the formula that applies.
Positive Offset  
Offset_{D} = [(k / 4095) * (F  Z)] + Z  
Negative Offset (First digit is F) 

Offset_{D} = {[(k  65536) / 4095] * (F  Z)]} + Z 
Where:  
Offset is the actual offset in decimal as seen by the I/O
PLEXER.
k is the 4 digit hex value converted to decimal that was returned by the I/O PLEXER. The formula to use is chosen based on the first digit of this number. F is the full scale value of the module and Z is the zero scale of the module. These are shown for the standard modules in the table below. 
duTec Module  F 
Z 
Units 
IV50M  50 
0 
mVolts 
IV100M  100 
0 
mVolts 
IV1  1 
0 
Volts 
IV5  5 
0 
Volts 
IV10  10 
0 
Volts 
IV5B  5 
5 
Volts 
IV10B  10 
10 
Volts 
II420  20 
4 
mAmps 
Example:  k = 01FF_{H} = 511_{D} IV5B Module 
Offset_{D}  = [(511 / 4095) * (5  {5 })] + {5} 
= [0.125 * 10]  5  
= 1.25  5  
= 3.75 Volt (NOTE: This is a 5 to 5 Volt Module!!)  
Example  k = FC00_{H} = 64512_{D} IV10 Module 
Offset_{D}  = {[(64512  65536) / 4095] * [10  0]} + 0 
= {[1024 / 4095] * 10} + 0  
= { 0.25 * 10} + 0  
= 2.5 Volt 
Analog W  k Data Field 
Negative offset calculations are taken care of by subtracting the value from 65,536. Please use the appropriate formula.
Positive Offset  
k = [(Desired  Z) / (F  Z)] * 4095  
Negative Offset  
k = 65536 + {[(Desired Z) / (F  Z)] * 4095} 
Where:  
k is the decimal number that is converted to 4digit hex value
and plugged into the instruction.
Desired is the actual offset you want in the same engineering units as F and Z. F is the full scale value of the module and Z is the zero scale of the module. These are shown for the standard modules in the table below. 
duTec Module  F 
Z 
Units 
IV50M  50 
0 
mVolts 
IV100M  100 
0 
mVolts 
IV1  1 
0 
Volts 
IV5  5 
0 
Volts 
IV10  10 
0 
Volts 
IV5B  5 
5 
Volts 
IV10B  10 
10 
Volts 
II420  20 
4 
mAmps 
Example:  Desired = 0.02 Volts IV1 Module 

k = [(0.02  0) / (1  0)] * 4095  
k = [0.02 / 1 ] * 4095  
k = 0.02 * 4095  
k = 81.9_{D} = 0051H  
Example:  Desired = 11 Volts IV10B Module 

k = 65536 + {[(11  [10]) / (10 = [10])] * 4095}  
k = 65536 + {[(11 +10) / 20] * 4095}  
k = 65536 + {[1 / 20] * 4095}  
k = 65536 + { 0.05 * 4095}  
k = 65536  204.75  
k = 65331_{D} = FF33_{H} 
Analog X, Z  k Data Field 
Gain_{D} = k / 4096  
Where:  
Gain is the decimal value of the Gain set by the I/O
PLEXER. k is the 4digit hex k data field converted to decimal. 

Example:  
k returned is 1800_{H} = 6144_{D}  
GainD = 6144 / 4096  
= 1.5 
Analog Y  k Data Field 
k = (Desired * 4096) Convert to 4 hex digits
Where:  
k is the four hex digit data entered in the instruction.
Desired is the actual decimal value required. 

Example:  
Desired = 1.1
k = 1.1 * 4096 k  4505.6_{D} = 1199_{H} 
Analog N  l & m Data Field 
These two fields set the upper and lower range limits. Any time an analog input goes above or below these limits a latch is set. These values are set using a 3digit hex value. The 1000_{H} offset is not used on these values.
l or m = {[(Range_{D}  Z) / (F  Z)] * 4095} Convert to 3 Hex Digits
Where:  
l or m is value that needs to be converted to 3 hex digits
and entered into the instruction.
Range_{D} is the actual range value that is desired in the same engineering units as F and Z. F is the full scale value of the module and Z is the zero scale of the module. These are shown for the standard modules in the table below. 
duTec Module  F 
Z 
Units 
IV50M  50 
0 
mVolts 
IV100M  100 
0 
mVolts 
IV1  1 
0 
Volts 
IV5  5 
0 
Volts 
IV10  10 
0 
Volts 
IV5B  5 
5 
Volts 
IV10B  10 
10 
Volts 
II420  20 
4 
mAmps 
Example:  IV5B Module Upper Limit = 4 Volts Lower Limit = 4 Volts 
Upper Limit:  l = {[(4  [5]) / (5  [5])] * 4095} 
l = {[(4 + 5) / (5 + 5])] * 4095}  
l = {[9 / 10] * 4095}  
l = 3685.5 = E65^{H}  
Lower Limit:  m = {[(4  [5]) / (5  [5])] * 4095} 
m = {[(4 + 5]) / (5 + 5)] * 4095}  
m = {[1 / 10] * 4095}  
m = 409.5 = 199_{H} 
[ Home ] [ Products ] [ Data Sheets ] [ Support ] [ FAQ ] [ Sales Offices ] [ Request Catalog ] [ Contact duTec ]
Copyright 19962001 duTec
email comments or questions to
webmaster@dutec.net