Panasonic FP Series Programming Manual page 1161

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

High-speed counter instructions
HscInfo_IsCounting
Disabled
This instruction returns TRUE if counting on the channel specified by iChannel has been disabled.
Description
See also:
Tool instructions: overview of high-speed counter instructions
HscControl_CountingDisable (see page 1139)
HscControl_CountingEnable (see page 1141)
FP instructions Enabling/disabling counting operations (see page 891)
see page 1327
PLC types
Data types
Variable
iChannel
Output variable
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
(bCountingDisabled_Check)
bCountingDisabled
end_if;
1160
Checks if counting is disabled
Data type
Function
INT
High-speed counter 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
BOOL
TRUE if counting on the channel specified by iChannel is
disabled
then
:=
HscInfo_IsCountingDisabled(iChannel
:= iChannel);

Advertisement

Table of Contents
loading

Table of Contents