Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:ir20ptcread [2017/03/23 17:55] – created qem103 | en:software:qview:qview_6:qcl_library:ir20ptcread [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== IR20PTCRead ====== | ||
+ | |||
+ | **D = **// | ||
+ | |||
+ | **R = **//Reading functions// | ||
+ | |||
+ | The IR20PTCRead function __reads the temperature value for a three point PT100 differential reading mode__. | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **IR20PTCRead (PTA_V1, PTA_V2, PTA_V3, glResistance, | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | INTDEVICE\\ ANINP | PTA_V1 | ||
+ | | IN | INTDEVICE\\ ANINP | PTA_V2 | ||
+ | | IN | INTDEVICE\\ ANINP | PTA_V3 | ||
+ | | OUT | GLOBAL | ||
+ | | OUT | GLOBAL | ||
+ | |||
+ | ==== Error ==== | ||
+ | |||
+ | Once invoked the function if there are any errors the error variable having the following values:\\ | ||
+ | 0 - No errors\\ | ||
+ | 3 - Disconnected input | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | <code QCL> | ||
+ | ... | ||
+ | |||
+ | |||
+ | |||
+ | ; PT100 resistance reading | ||
+ | |||
+ | IR20PTCRead (PTA_V1, PTA_V2, PTA_V3, resistance, gbError) | ||
+ | |||
+ | ... | ||
+ | </ | ||
+ | |||
+ | === Note === | ||
+ | |||
+ | * The function initializes some parameters related to 3 ANINP devices passed to the function, as follows: | ||
+ | <code QCL> | ||
+ | PTA_V1: | ||
+ | PTA_V1: | ||
+ | PTA_V1: | ||
+ | PTA_V1: | ||
+ | PTA_V2: | ||
+ | PTA_V2: | ||
+ | PTA_V2: | ||
+ | PTA_V2: | ||
+ | PTA_V3: | ||
+ | PTA_V3: | ||
+ | PTA_V3: | ||
+ | PTA_V3: | ||
+ | </ | ||