MD-ADIN4 (4-Channel analog input module)
Variable = MPADIn (ID, Channel)
ID
: The ID of the module
Channel
: The number of the channel to read (1~4)
Reads from one of the 4 channels on the MD-ADIN4 module.
If the module cannot be found, 19999 is returned. In 1~5V mode, -11,111 is returned if voltage is less than 1V
and 22,222 is returned if value is greater than 5V. Values falling within the 1~5V rage will return a value between 0
and 10,000 (13.3 bit resolution).
A = MPADIn(2, 3)
' Read from module 2, channel 3 and store value in A
MD-HADIN4 (High-Resolution 4-Channel analog input module)
Variable = MPHADIn ( ID, Channel)
ID
: The ID of the module
Channel
: The number of the channel to read (1~4)
Reads from one of the 4 channels on the MD-HADIN4 module.
If the module cannot be found, 199,999 is returned. In 1~5V mode, -111,111 is returned if voltage is less than 1V
and 222,222 is returned if value is greater than 5V. Values falling within the 1~5V rage will return a value between
0 and 100,000 (13.3 bit resolution).
A = MPHADIn(2, 3)
' Read from module 2, channel 3 and store value in A
Comfile Technology, Inc
CT1820 User's Manual
57 Of 93
Содержание CUTOUCH CT1820
Страница 4: ...Chapter 1 Overview Comfile Technology Inc CT1820 User s Manual 4 Of 93 ...
Страница 7: ...The CT1820 s Appearance Comfile Technology Inc CT1820 User s Manual 7 Of 93 ...
Страница 8: ...Comfile Technology Inc CT1820 User s Manual 8 Of 93 ...
Страница 9: ...Comfile Technology Inc CT1820 User s Manual 9 Of 93 ...
Страница 12: ...Comfile Technology Inc CT1820 User s Manual 12 Of 93 ...
Страница 17: ...Comfile Technology Inc CT1820 User s Manual 17 Of 93 ...
Страница 19: ...Chapter 2 I O Comfile Technology Inc CT1820 User s Manual 19 Of 93 ...
Страница 29: ...Comfile Technology Inc CT1820 User s Manual 29 Of 93 ...
Страница 32: ...Chapter 3 Command Reference Comfile Technology Inc CT1820 User s Manual 32 Of 93 ...
Страница 41: ...Chapter 4 Touch Input Comfile Technology Inc CT1820 User s Manual 41 Of 93 ...
Страница 52: ...Chapter 5 ModPort I O Expansion Comfile Technology Inc CT1820 User s Manual 52 Of 93 ...
Страница 61: ...Chapter 6 Sample Programs Comfile Technology Inc CT1820 User s Manual 61 Of 93 ...
Страница 87: ...Chapter 7 Panel Mounting Comfile Technology Inc CT1820 User s Manual 87 Of 93 ...
Страница 88: ...Dimensions Comfile Technology Inc CT1820 User s Manual 88 Of 93 ...
Страница 89: ...Comfile Technology Inc CT1820 User s Manual 89 Of 93 ...
Страница 90: ...Panel Cutout Comfile Technology Inc CT1820 User s Manual 90 Of 93 ...