| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
VCM-DAS-3 bảng dữ liệu(PDF) 37 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
VCM-DAS-3 bảng dữ liệu(HTML) 37 Page - List of Unclassifed Manufacturers |
|
37 / 42 page ![]() Analog Output Code Example VCM-DAS-3 Reference Manual 32 CASE 3 '+/-10V bipolar = 1 fullscale = 10 CASE 4 '+/-2.5V bipolar = 1 fullscale = 2.5 CASE 5 '+7.5/-2.5V bipolar = 2 fullscale = 7.5 END SELECT IF bipolar = 1 THEN 'offset binary coding (symetrical ratio) value = INT((voltage / fullscale) * 2048 + 2048) ELSEIF bipolar = 2 THEN 'offset binary coding (asymetrical ratio) value = INT((voltage / fullscale) * 3072 + 1024) ELSE 'Unipolar 'straight binary coding value = INT((voltage / fullscale) * 4096) END IF 'Limit excursion IF value > 4095 THEN value = 4095 END IF 'Separate low byte from high nibble lodac = value AND &HFF hidac = (value AND &HF00) / 256 'Set selected DAC channel to the desired range '(ENHANCED MODE REGISTER) OUT BASE + &HA, ((range * 16) + channel) 'Set selected DAC channel to desired voltage OUT BASE, lodac OUT BASE + 2, channel OUT BASE + 1, hidac 'A single read updates all outputs x = INP(BASE) 'Wait for DONE or timeout before returning done = 0 y = 0 WHILE NOT done y = y + 1 IF y < 2000 THEN 'timeout done = INP(BASE + &HA) AND &H01 '(ENHANCED MODE REGISTER) ELSE LIB_das3aout = 1 EXIT FUNCTION END IF WEND LIB_das3aout = 0 END FUNCTION |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |