Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:vr10wrdtolng [2017/02/03 18:01] – created qem103 | en:software:qview:qview_6:qcl_library:vr10wrdtolng [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== VR10WrdtoLng ====== | ||
+ | |||
+ | **V = **// | ||
+ | |||
+ | **R = **//Reading functions// | ||
+ | |||
+ | The VR10WrdtoLng function __has the task of composing together two WORD forming one LONG variable__.\\ | ||
+ | At the function is passed the "high Word" and "low Word" that will form the Long variable. | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **VR10WrdtoLng (swWordUp, | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | SYSTEM / GLOBAL | ||
+ | | IN | SYSTEM / GLOBAL | ||
+ | | OUT | SYSTEM / GLOBAL | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | <code QCL> | ||
+ | MAIN: | ||
+ | swWordDw = aswBuffer[200] ; | ||
+ | swWordUp | ||
+ | |||
+ | VR10WrdtoLng(swWordUp, | ||
+ | |||
+ | AnAsse: | ||
+ | |||
+ | ...... | ||
+ | ..... | ||
+ | END | ||
+ | </ | ||
+ | |||
+ | === Note === | ||
+ | |||
+ | *If the variable you use to read 2 word on the switch buffer between Qmove and another device, Remember that it is passed before the lower variable part and then the top part. You would then lower on an element of the buffer and the top the next element. | ||