Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:oa10settmout [2017/01/23 15:04] – created qem103 | en:software:qview:qview_6:qcl_library:oa10settmout [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== OA10SetTmOut ====== | ||
+ | |||
+ | **O = **//Out// | ||
+ | |||
+ | **A = **// | ||
+ | |||
+ | The OA10SetTmOut function __enable digital output for a set time as an argument.__\\ | ||
+ | The activation takes place through a input (or a flag) when is 1 set out and keeps it set as long as the input (or the flag) itself goes to 0. At this point the activation time begins to decrease until 0, and when this happens the output is reset. | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **OA10SetTmOut (out01, var01, timeSet)** | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | OUT | OUTPUT | ||
+ | | IN | INPUT GLOBAL | ||
+ | | IN | CONST SYSTEM | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | In this example the ' | ||
+ | |||
+ | <code QCL> | ||
+ | timeSet = 1000 ; | ||
+ | </ | ||
+ | |||
+ | **OA10SetTmOut (out01, Input01, timeSet)** | ||
+ | |||
+ | === Operation notes ==== | ||
+ | |||
+ | * The function should be placed at a point of the application that runs on every round makes sense in order to be effective. | ||