EasyManua.ls Logo

IMC CANSAS - LED-Flash; Less

IMC CANSAS
582 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Function Reference 161
imc CANSAS Users Manual - Doc. Version 1.9 - 05.12.2014© 2014 imc Meßsysteme GmbH
4.10.34 LED-flash
Parameter
Definition
Result clock pulse
Result channel pulse rate
Clock pulse, LED on
Number of pulses during which the function returns 1 (TRUE) as the result,
Value range: 0 ... 60000.
Clock pulse, LED off
Number of pulses during which the function returns 0 (FALSE) as the result,
Value range: 0 ... 60000.
Condition
Flash
Flash for overflow
Result channel
Channel containing results of the LED-flashing function.
Description: By assigning the function to an LED, the LED's flashing pattern can be set. At the pulse rate
specified, the LED shines during the number of pulses specified for "LED on" and stays off during the
number of pulses specified for "LED off", if the specified condition is met. Otherwise, the LED is off
altogether.
If the condition 'Flash' is set, Parameters 2 and 3 are evaluated in the manner described; the channel
data value is 1 (TRUE) during the pulses for which "LED on" is specified, and for the other pulses the
return value is 0 (FALSE). If the function is applied to an LED, the LED will flash correspondingly.
If the condition 'Flash for Overflow' is set, Parameters 2 and 3 are evaluated in the manner described
only if the CANSAS module FIFO's overflow (and thus the module is overloaded); in such a case, some
data will not be processed or transferred via the CAN-bus. Otherwise, the function's return value is 0
(FALSE). If the function is applied to an LED, LED flashing indicates system overload.
Notes: The function can also be used to generate a rectangular signal. For this purpose, the LED-flash
function must be assigned to a virtual channel. The result channel can be re-scaled if appropriate.
Data types:
Result channel
Digital
4.10.35 Less
Parameter
Definition
1st parameter
Channel whose sample values are to be compared with the appropriate value from
the 2nd parameter
2nd parameter
Channel whose samples are to be compared with the corresponding values from the
1st parameter or
numerical value with which the sample values of the 1st parameter are to be
compared
Result channel
Digital channel; result value is respectively
TRUE (1), if 1st parameter value < 2nd parameter value
FALSE (0), if 1st parameter value 2nd parameter value

Table of Contents

Other manuals for IMC CANSAS