PulseControl_TargetValueMatchClear

Clears target value match control

This instruction clears the target value match control on the channel specified by iChannel.

Parameters

Input

iChannel (INT)

Pulse output channel:

FPS: 0, 2

FP-X/XH R: 0, 1

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

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

FP-X/XH 32K C60T: 0, 1, 2, 3, 4, 5

FP0R: 0, 1, 2, 3

FP0: 0, 1

FP-e: 0, 1

Example

POU header

All input and output variables used for programming this function have been declared in the POU header. The same POU header is used for all programming languages.

	VAR
		iChannel1: INT:=1;
		bClear: BOOL:=FALSE;
	END_VAR

POU body

LD body

BODY
    WORKSPACE
        NETWORK_LIST_TYPE := NWTYPELD ;
        ACTIVE_NETWORK := 0 ;
    END_WORKSPACE
    NET_WORK
        NETWORK_TYPE := NWTYPELD ;
        NETWORK_LABEL :=  ;
        NETWORK_TITLE :=  ;
        NETWORK_HEIGHT := 4 ;
        NETWORK_BODY
B(B_VARIN,,iChannel1,7,2,9,4,);
B(B_VARIN,,bClear,7,1,9,3,);
B(B_F,E_PulseControl_TargetValueMatchClear!,,9,0,26,4,,?DEN?DiChannel?AENO);
L(1,0,1,4);
        END_NETWORK_BODY
    END_NET_WORK
END_BODY

ST body

PulseControl_TargetValueMatchClear(iChannel := iChannel);

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