Panasonic FP-X0 L14R User Manual page 128

Table of Contents

Advertisement

Elapsed value write and read instruction (F1)
This instruction writes or reads the elapsed value of the high-speed counter.
-
Specify this instruction together with the elapsed value area of high-speed counter after the special
-
data register DT90300.
If the F1 (DMV) instruction is executed specifying DT90300, the elapsed value will be stored as 32-bit
-
data in the combined area of special data registers DT90300 and DT90301.
Use this F1 (DMV) instruction to set the elapsed value.
-
Example 1: Writing the elapsed value
Example 2: Reading the elapsed value
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.
Target value match ON instruction (F166)
Example 1:
Example 2:
Target value match OFF instruction (F167)
Example 1:
Example 2:
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Set the initial value of K3000 in the high-speed
counter.
Read the elapsed value of the high-speed counter
and copies it to DT100 and DT101.
If the elapsed value (DT90300 and DT90301) for
channel 0 matches K10000, output Y7 turns on.
If the elapsed value (DT90308 and DT90309) for
channel 2 matches K20000, output Y6 turns on.
If the elapsed value (DT90304 and DT90305) for
channel 1 matches K30000, output Y4 turns off.
If the elapsed value (DT90312 and DT90313) for
channel 3 matches K40000, output Y5 turns off.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp-x0 l40mrFp-x0 l60rFp-x0 l30rFp-x0 l60mr

Table of Contents