Panasonic FP Series Programming Manual page 1145

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

High-speed counter instructions
HscControl_Elapsed
ValueContinue
This instruction resumes counting on the channel specified by iChannel after a reset of the
Description
elapsed value using HscControl_ElapsedValueReset (see page 1145). Bit 0 of the high-speed
counter control code (see page 891) is set to FALSE.
See also:
Tool instructions: overview of high-speed counter instructions
HscControl_WriteElapsedValue (see page 1152)
HscInfo_ReadElapsedValue (see page 1163)
HscInfo_IsElapsedValueReset (see page 1160)
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 1327
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
When the variable bElapsedValueContinue is set to TRUE, counting resumes on the channel
specified by iChannel.
LD
1144
Continues counting after reset
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

Advertisement

Table of Contents
loading

Table of Contents