Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:software:qview:qview_6:qcl_library:vc12hdr [2017/02/03 17:42] – [Esempio] qem103 | en:software:qview:qview_6:qcl_library:vc12hdr [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== VC12Hdr ====== | ||
+ | |||
+ | **V = **// | ||
+ | |||
+ | **R = **//Reading functions// | ||
+ | |||
+ | The VC12Hdr function __calculate the posit of the axis according to the HIGH DATA RAPPRESENTATION scheme__. | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **VC12Hdr (Axis, | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | Asse | EANPOS,\\ OOPOS3,\\ COUNTER3,\\ ABSCNT,\\ CAMMING4,\\ CAMMING3,\\ ANPOS2 | ||
+ | | HdrType | ||
+ | | Result | ||
+ | |||
+ | === HdrType === | ||
+ | |||
+ | The HDR viewing allows to center the range of the units on the integer values. The value is calculated by means of the encoder, measure and pulse is approximated to the nearest unit. | ||
+ | |||
+ | 0 - Hdr disable.\\ | ||
+ | 1 - Hdr enable, in the central band between two units (between 0->1 the band is [0.25, 0.75] ) is shown a count that oscillates between two values.\\ | ||
+ | 2 - Hdr enable | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | With X axis\\ | ||
+ | Measure: 220\\ | ||
+ | Pulse: 4096\\ | ||
+ | Encoder: 62296 | ||
+ | |||
+ | the Posit is 3345 calcolated as 62296/ | ||
+ | |||
+ | The VH12Hdr function (x, | ||