FPΣ
High-speed Counter and Pulse Output Functions
6-14
Example 2:
Reading the elapsed value
X7
DF F1 DMV, DT90044, DT100
Readthe elapsed value of the
high-speed counter and co-
pies it to DT100 and DT101
Figure 73: FPΣ Program (2) of elapsed value change and read instruction “F1”
The area DT90052 for writing channels and control codes is allocated as shown
below.
Control codes written with an F0(MV) instruction are stored by channel in special
data registers DT90190 to DT90193.
High-speed counter control flag area of FPΣ
Tip
15 12 11 8
Near home input
0: off
1: on
Clear high-speed counter instruction
0: Continue
1: Clear
Pulse output
0: Continue
1: Stop
Hardware reset
0: Permit
1: Prohibit
Count
0: Permit
1: Prohibit
Software reset
0: No
1: Yes
DT90052:
Channel specification
H0 to H3: CH0 to CH3
7430