Panasonic FP Series Programming Manual page 1220

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Pulse_TargetValue
MatchClear
This instruction clears the target value match control on the channel specified by iChannel.
Description
See also:
Pulse output tool instructions in the online help
PulseInfo_IsTargetValueMatchActive (see page 1229)
PulseInfo_ReadTargetValueMatchValue (see page 1235)
To add an enable input and enable output to the instruction, select [With EN/ENO] from the
"Instructions" pane (LD, FBD or IL editor). To reuse an instruction select "Recently used" from the
context menu or press <Ctrl>+<Shift>+<v> in the programming window.
see page 1335
PLC types
Data types
Variable
iChannel
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
Example
The same POU header is used for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
LD
ST
When programming with structured text, enter the following:
if
DF(bClearTargetValueMatch)
Pulse_TargetValueMatchClear(iChannel
end_if;
Clears target value match control
Data type
Function
INT
Pulse output channel:
FP
: 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
then
Pulse output instructions
:= iChannel);
1219

Advertisement

Table of Contents
loading

Table of Contents