User Tools

Site Tools

한국어

modport:md-adin4:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
modport:md-adin4:index [2023/04/28 18:04]
COMFILE Technology [Specification]
modport:md-adin4:index [2023/05/31 04:34] (current)
COMFILE Technology [4-Channel Analog to Digital Input Module: MD-ADIN4]
Line 1: Line 1:
-====== ​MD-ADIN4 ( AD Input Module ​======+====== ​4-Channel Analog to Digital ​Input Module: MD-ADIN4 ​======
  
-^Output Value ^Resolution ^Precision ^Conversion Speed^ 
-|0 ~ 10,000 |13.30bit| ±0.1% |30ms per channel| 
  
 The AD Input Modules can be wired to read voltage sources or current sources. The AD Input Modules can be wired to read voltage sources or current sources.
  
-{{ :​modport:​md-adin4:​md-adin4.png?​700 |}}+{{ :​modport:​md-adin4:​md-adin4.png?​600 |}}
  
 When reading voltages sources, the modules can be configured for a 0 ~ 10V range or a 1 ~ 5V range using the dipswitch on the side of the module. When reading voltages sources, the modules can be configured for a 0 ~ 10V range or a 1 ~ 5V range using the dipswitch on the side of the module.
Line 17: Line 15:
  
 ===== Specification ===== ===== Specification =====
-^Item ^Description^ +^ Item                   ​^ Description ​                                                                     ^ 
-|Operating Temperature |-10 ~ 50 (no condensation)| +| Channels ​              | 4                                                                                | 
-|Operating Humidity|35 ~ 85%RH| +| Operating Temperature ​ | -10 ~ 50 (no condensation) ​                                                      ​
-|Input Resistance |20K ohms| +| Operating Humidity ​    ​| 35 ~ 85%RH                                                                       ​
-|Input Voltage Range |1~5V mode: 0.5 ~ 5.5V (Damage may occur if used in excess of this range) \\ 0~10V mode: -0.5 ~ 10.5V (Damage may occur if used in excess of this range)| +| Input Resistance ​      ​| 20K ohms                                                                         ​
-|Communication Method |RS485| +| Input Voltage Range    | 1~5V mode: 0.5 ~ 5.5V (Single-ended) \\ 0~10V mode: -0.5 ~ 10.5V (Single-ended | 
-|Packet Transmission |3ms| +| Output Value           | 0 ~ 10,​000 ​                                                                      | 
-|Isolation Method |No Isolation |+| Resolution ​            | 13.3-bit ​                                                                        | 
 +| Precision ​             | ±0.1% ​                                                                           | 
 +| Conversion Speed       | 30ms per channel ​                                                                
 +| Communication Method ​  ​| RS485                                                                            
 +| Packet Transmission ​   | 3ms                                                                              
 +| Isolation Method ​      ​| No Isolation ​                                                                    ​|
  
-The AD Input Modules'​ inputs are not isolated, so please be sure to not provide voltage or current in excess of the specified ranges. Doing so could cause permanent damage.+ 
 + 
 + 
 +**Important**: ​The AD Input Modules'​ inputs are not isolated, so please be sure to not provide voltage or current in excess of the specified ranges. Doing so could cause permanent damage.
  
 When the system is first powered on, all four channels are scanned once. Reading at this time will return an When the system is first powered on, all four channels are scanned once. Reading at this time will return an
Line 33: Line 39:
 This module has built in low pass filter and noise canceling circuitry. Since the A/D pins are not This module has built in low pass filter and noise canceling circuitry. Since the A/D pins are not
 exposed, the user is not expected to design additional circuitry. exposed, the user is not expected to design additional circuitry.
 +
 +===== Output Values =====
 +
 +The value returned from the MD-ADIN can be interpreted with the following algorithm:
 +<code C>
 +unsigned short rawData = 0; // Raw 16-bit value from the MD-ADIN
 +int value = rawData;
 +if ((rawData & 0x8000) != 0) // If most significant bit is set
 +{
 +    value = (rawData - 0x8000) * -1;
 +}
 +if (value == -11111)
 +{
 +    // Value is below the lower bound (e.g. below 1V when 1-5V mode is selected).
 +}
 +else if (value == 22222)
 +{
 +    // Value is above the upper bound. (e.g. above 5V when 1-5V mode is selected).
 +}
 +else
 +{
 +    // Value is between 0 and 10,000
 +}
 +</​code>​
 ===== Modbus Starting Address ===== ===== Modbus Starting Address =====
  
Line 39: Line 69:
 ^Channel ^0 ^1 ^2 ^3 ^ ^Channel ^0 ^1 ^2 ^3 ^
 |Starting Address(base 10) | 100 | 101 | 102 | 103 | |Starting Address(base 10) | 100 | 101 | 102 | 103 |
-|Starting Address(base 16) |  64 | 65 | 66 | 67 | +|Starting Address(base 16) | 64 | 65 | 66 | 67 | 
-|Address (base 10) used by HMI (SCADA) | 00101 00102 00103 00104 |+|Address (base 10) used by HMI (SCADA) | 40101 40102 40103 40104 |
 ===== Module ID (Modbus Slave Address) Assignment ===== ===== Module ID (Modbus Slave Address) Assignment =====
  
Line 46: Line 76:
  
 Rotary switch position 0 corresponds to Modbus slave address 10. If the ID is changed after the module is powered on, it must be power cycled for the new ID to take effect. Rotary switch position 0 corresponds to Modbus slave address 10. If the ID is changed after the module is powered on, it must be power cycled for the new ID to take effect.
 +
 +[[modport:​index|MODPORT]]
modport/md-adin4/index.1682672666.txt.gz · Last modified: 2023/04/28 18:04 by COMFILE Technology