Panasonic FP-E Programming Manual page 155

Fp series
Table of Contents

Advertisement

Directly specifying a set value area number as a timer setting value
With FP0/FP−e/FPΣ/FP−X/FP2/FP2SH/FP10SH with a CPU Ver. 4.4 or later with a CPU Ver. 2.7 or later, the
set value area number can be specified directly as the set value n.
X0
F0 MV, K30, SV5
X1
TMX 5, SV5
T5
The above program operates as follows:
When trigger X0 is on the data transfer instruction F0 (MV) is executed, set the K30 in SV5.
1
When trigger X1 turns on, decrement operation begins from the set value 30.
2
Specify n (the number of the set value area SV) to be the same number as the timer.
Timer number
Ladder
diagram:
Even if the value of the set value area (SV) is changed during decrement operation, the decrement operation
will continue from the value before the change. Timer operation from the new value will not begin until
decrement operation has ended or is interrupted and the trigger subsequently changes from off to on.
The set value area (SV) is normally a non−hold type which resets if the power is turned off or the mode is
changed from RUN to PROG.
If the SV value was changed while in the RUN mode, and that value is to be used as the set value, without
being reset, the next time that the power supply is turned on, or when the mode is changed from RUN to
PROG, system register 6 should be used to specify the value as a hold type.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
. . . . . . . . . . . . .
. . . . . . . . . . . . .
Y10
Set value area number (n)
TMX 5
SV 5
These must be the same
1
2
Basic Instructions
2 − 45

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents