Elapsed Value Read And Write Instruction; Elapsed Value Area - Panasonic FP0R User Manual

Hide thumbs Also See for FP0R:
Table of Contents

Advertisement

8.4.6 Elapsed Value Read and Write (F1) Instruction
Elapsed value read and write instruction (F1)
This instruction is used to read and write the pulse number counted by the pulse output control.
-
Specify this F1 (DMV) instruction in combination with the pulse output elapsed area after the special
-
data register DT90400.
When executing the F1 (DMV) instruction with DT90400, the elapsed value is stored as 32-bit data in
-
the combined area of the special data registers DT90400 and DT90401.
The elapsed values can be read or written with this F1 (DMV) instruction only.
-
Example 1: Writing the elapsed value
Example 2: Reading the elapsed value

Elapsed value area

Channel No.
Note:
The elapsed value area varies during scanning. Replace it with an arbitrary data register at the beginning
of the program as necessary in cases such as using it several times in the program.
8-28
Pulse output elapsed value area
CH0
CH1
CH2
CH3
Set the initial value K3000 in the pulse output
CH0.
Read the elapsed value of the pulse output
CH0 to DT100 and DT101.
DT90400 to DT90401
DT90410 to DT90411
DT90420 to DT90421
DT90430 to DT90431

Advertisement

Table of Contents
loading

Table of Contents