IsAnyPulseChannelEnabled

Evaluates if any pulse output channel is enabled

Use this instruction for conditional compilation within the ST editor. The instruction returns TRUE if any pulse output channel is enabled; otherwise it returns FALSE.

Example

#IF IsAnyPulseChannelEnabled() <>0 #THEN
    (*condition TRUE: first part is compiled and executed*)
#ELSE
    (*condition FALSE: second part is compiled and executed*)
#END_IF;

Pulse output channel:

FPS: 0, 2

FP-X R: 0, 1

FP-X 16K C14T: 0, 1, 2

FP-X 32K C30T, C60T: 0, 1, 2, 3

FP0R: 0, 1, 2, 3

FP0: 0, 1

FP-e: 0, 1

Related topics:

Modified on: 2019-01-25Feedback on this pagePanasonic hotline