User Tools

Site Tools

한국어

modport:md-hadin4: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-hadin4:index [2023/04/29 12:11]
COMFILE Technology [Output Values]
modport:md-hadin4:index [2023/05/31 04:34] (current)
COMFILE Technology [4-Channel High Resolution Analog to Digital Input Module: MD-HADIN4]
Line 1: Line 1:
-====== ​MD-HADIN4 - 4 Channel High Resolution Analog to Digital Input Module ======+====== 4-Channel High Resolution Analog to Digital Input Module: MD-HADIN4 ​======
  
-{{ :​modport:​md-hadin4:​md-adin4.png?​700 }}+{{ :​modport:​md-hadin4:​md-adin4.png?​600 }}
  
  
 ===== Specification ===== ===== Specification =====
 ^ Item                   ^ Description ​                                                                     ^ ^ Item                   ^ Description ​                                                                     ^
 +| Channels ​              | 4                                                                                |
 | Operating Temperature ​ | -10 ~ 50 (no condensation) ​                                                      | | Operating Temperature ​ | -10 ~ 50 (no condensation) ​                                                      |
 | Operating Humidity ​    | 35 ~ 85%RH                                                                       | | Operating Humidity ​    | 35 ~ 85%RH                                                                       |
Line 38: Line 39:
 unsigned int rawData = 0; // Raw 32-bit value from the MD-HADIN unsigned int rawData = 0; // Raw 32-bit value from the MD-HADIN
 long value = rawData; long value = rawData;
 +
 if ((rawData & 0x80000000) != 0) // If most significant bit is set if ((rawData & 0x80000000) != 0) // If most significant bit is set
 { {
     value = (rawData - 0x80000000) * -1;     value = (rawData - 0x80000000) * -1;
 } }
 +
 if (value == -111111) if (value == -111111)
 { {
Line 70: Line 73:
  
 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-hadin4/index.1682737863.txt.gz · Last modified: 2023/04/29 12:11 by COMFILE Technology