1
Example 2) Carry out counting for 17 points from WX0
[i]…UL [S1]…WX0 [S2]…DT0 [n]…U 17 [D]…DT10
[S1]
[S2]
[D]
DT10
X0 counted value
DT11
2DT12
X1 counted value
DT13
3DT14
X2 counted value
DT15
4DT16
X3 counted value
DT17
5DT18
X4 counted value
DT19
6DT20
X5 counted value
DT21
7DT22
X6 counted value
DT23
8DT24
X7 counted value
DT25
WX0
WX1
Targeted bits: 17 bits from X0 to X10
Working area for counting
DT0
DT1
15DT38
XE counted value
DT39
16DT40
XF counted value
DT41
17DT42
X10 counted value
DT43
■
Flag operations
Name Description
SR7
SR8
(ER)
To be set in the case of out-of-range in indirect access (index modification).
When one of the count target area, the count working area or the count result storage area
exceeds the device area.
10.9 EVENTC (Instruction to Count the Number of Events)
WUME-FP7CPUPGR-12 10-35