EasyManua.ls Logo

Panasonic FP Series

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
Loading...
Pulse output instructions
1026
Part III FP Instructions
35.3 Pulse output: 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_diPulseChannelxElapsedValue (where x=channel number).
System variables for memory areas used:
FP-Sigma
FP-X, Transistor types
FP-X, Relay types
FP0R
FP0
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

Related product manuals