Panasonic FP7 Series Command Reference Manual page 484

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

10.9 EVENTC (Instruction to Count the Number of Events)
[(Bits to be counted -1)/16] + 1
Rounded down to the nearest integer
● The number of bits to be counted that is specified by [n] is 1 to 65535. However, this range
must not exceed the device area.
Processing
Example 1) Carry out counting for 8 points from WX0
[i]...UL
[S1]
WX0
[S2]
DT0
[D]
DT10
DT11
DT12
DT13
DT14
DT15
DT16
DT17
DT18
DT19
DT20
DT21
DT22
DT23
DT24
DT25
10-34
[S1]...WX0
Targeted bits: 8 bits from X0 to X7
Working area for counting
X0 counted value
X1 counted value
X2 counted value
X3 counted value
X4 counted value
X5 counted value
X6 counted value
X7 counted value
[S2]...DT0
[n]...U 8
1
2
3
4
5
6
7
8
[D]...DT10
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents