EasyManuals Logo

Panasonic FP Series User Manual

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #895 background imageLoading...
Page #895 background image
High-speed counter instructions
894
Part III FP Instructions
28.3 High-speed counter: writing and reading the elapsed value
The elapsed value is stored as a double word in the special data registers. Access the special data
registers using the system variable sys_diHscChannelxElapsedValue (where x=channel number).
System variables for memory areas used:
FP-Sigma
FP-X, Transistor types
FP-X, Relay types
FP0R
FP0, FP-e
Example
The first example shows how to write an initial value (elapsed value) into the high-speed counter.
The second example shows how to read an elapsed value and copy it to a variable.
All input and output variables used for programming this function have been declared in the POU
header.
Body
An initial value of 3000 (elapsed value) is written into channel 0 of the high-speed counter.
LD
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
The elapsed value of the high-speed counter is read from channel 0 of the high-speed counter and
copied to the variable diElapsedValue.
LD

Table of Contents

Other manuals for Panasonic FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP Series and is the answer not in the manual?

Panasonic FP Series Specifications

General IconGeneral
MountingDIN rail
TypePLC
Communication InterfaceRS-232, RS-485, Ethernet (depending on model)
Input Voltage100-240V AC or 24V DC (depending on model)
Output TypeRelay, Transistor
I/O PointsVaries by model
Operating Temperature0°C to 55°C
DimensionsVaries by model
WeightVaries by model

Related product manuals