[ Home ] [ Products ] [ Data Sheets ] [ Support ] [ FAQ ] [ Sales Offices ] [ Request Catalog ] [ Contact duTec ]
Analog J and S | l data field |
l - {[(Desired_{D} - Z) / (F - Z)] * 4095} Convert to 3 hex digits
Where: | |
l is the 3 hex digit value to be entered into the instruction
Desired_{D} is the actual value desired in decimal based on the module units. For example, if you want a module to read 2.5 Volts, then Desired_{D} = 2.5. 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 |
---|---|---|---|
OV5 | 5 |
0 |
Volts |
OV10 | 10 |
0 |
Volts |
OI420 | 20 |
4 |
mAmps |
Example: | 3.6 Volts output by an OV10 Module |
l = [(3.6 - 0) / (10 - 0)] * 4095 | |
= 0.36 * 4095 | |
= 1474.2 | |
= 5C2_{H} is the value entered in the l data field |
Analog K | l data field |
Response_{D} = [(l / 4095) * (F - Z) + Z]
Where: | |
Response is actual value read by the input in engineering units.
l is the 3 digit hex value 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 |
---|---|---|---|
OV5 | 5 |
0 |
Volts |
OV10 | 10 |
0 |
Volts |
OI420 | 20 |
4 |
mAmps |
Example: | 78F_{H} is returned from an OI420 Module 78F_{H} = 1935_{D} |
||
Response_{D} | = (1935 / 4095) * (20 - 4) + 4 | ||
= 0.473 * 16 + 4 | |||
= 7.56 + 4 | |||
= 11.56 mA |
Analog V | p and q data field |
p or q = [(Desired_{D} - Z) / (F - Z)] * 4095 Convert to 3 hex digits
Where: | |
p or q is the 3 hex digit value entered into the instruction.
Desired_{D} is the amplitude desired in engineering units. 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 |
---|---|---|---|
OV5 | 5 |
0 |
Volts |
OV10 | 10 |
0 |
Volts |
OI420 | 20 |
4 |
mAmps |
Example: | 18mA is the desired maximum amplitude and 7 is the desired minimum amplitude for an OI420 (4-20mA) Module |
p = [(18 - 4) / (20 - 4)] * 4095 | |
= {14 / 16} * 4095 | |
= 0.875 * 4095 | |
= 3583.125 = DFF_{H} | |
q = [(7 - 4) / (20 - 4)] * 4095 | |
= [3 / 16] * 4095 | |
= 0.1875 * 4095 | |
= 767.81 = 2FF_{H} |
Copyright 1996-2001 duTec
e-mail comments or questions to
webmaster@dutec.net