Panasonic FP-E Programming Manual page 161

Fp series
Table of Contents

Advertisement

Directly specifying a set value area number as a counter set value
With FP0/FP−e/FPΣ/FP−X/FP2/FP2SH/FP10SH with a CPU of Ver. 4.4 or later, the set value area number
can be specified directly as the set value n.
X0
F0 MV, K30, SV100
X1
CT
SV 100
X2
C100
The above program operates as follows:
When trigger X0 is on the data transfer instruction [F0 (MV)] is executed, set the K30 in SV100.
1
When the count input 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 counter.
Display:
CT
SV
These must
be the same.
Even if the value in the set value area (SV) is changed during decrement operation, the decrement operation
will continue from the value before the change. Counter operation from the new value will not begin until the
counter is reset and the count input subsequently changes from off to on.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
. . . . . . . . . .
1
100
. . . . . . . . . .
2
Y30
Counter number
100
100
Set value area number (n)
Basic Instructions
2 − 51

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents