Panasonic FP Series Programming Manual page 707

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Counter instructions
 Details about points of Down Counter CT:
Type
FP-e
FP0 C10, C14, C16
FP0 C32
FP2SH/FP10SH
FP3
FP2
FP-Sigma
The number of counter points can be changed using System Register 5. The number of points can
be increased up to 3,072 with the FP2SH and FP10SH, up to 256 with the FP-C and FP3, up to
1,024 with the FP-Sigma and up to 1,024 with the FP2 and up to 144 with the FP0. Be aware that
increasing the number of counter points decreases the number of timer points.
For all models except for the FP0 C10, C14, C16 and C32, there is a hold type, in which the
counter status is retained even if the power supply is turned off, or if the mode is switched from
RUN to PROG, and a non-hold type, in which the counter is reset under these conditions. System
register 6 can be used to specify a non-hold type.
 Set Value and Elapsed Value area
At the fall time when the reset input goes from on to off, the value of the set value area (SV) is
preset in the elapsed value area (EV).
When the reset input is on, the elapsed value is reset to 0.
Each time the count input changes from off to on, the value 1 is subtracted from the set value and
when the elapsed value reaches 0, the counter contact Cn (n is the counter number) turns on.
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
Example
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
The set value SV is set to 10 when Reset_input is activated. Each time Count_input is activated,
the value of SV decreases by 1. When this value reaches 0, Counter100 turns on. Num* is
assigned the counter number, which must be equal to or greater to the number assigned to Data in
System Register 5.
706
Number of points
44
44
40
Non-hold type
4
Hold type
44
28
Non-hold type
16
Hold type
72
56
24
24
Nos. that can be used
100–143
100–143
100–139
140–143
100–143
100–127
128–143
3000–3071
200–255
1000–1023
1000–1023

Advertisement

Table of Contents
loading

Table of Contents