707
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
32 High Speed Processing 2 – FNC280 to FNC289
32.1 FNC280 – HSCT / High Speed Counter Compare With Data Table
31
FNC275-FNC279
Data
Transfer 3
32
FNC280-FNC289
High Speed
Processing 2
33
FNC290-FNC299
Extension File
Register
34
FNC300-FNC305
FX
3U
-CF-ADP
35
SFC•STL
Programming
36
Interrupt
Function
37
Special Device
38
Error Code
A
Version Up
Information
B
Execution Times
Program example
In the program shown below, the current value of C235 (counting X000) is compared with the comparison data table
set in R0 and later, and a specified pattern is output to Y010 to Y013.
Operation example
Comparison
point
Comparison data SET/RESET pattern
Table counter D8138
Device
Comparison
value
Device
Operation output
set value
0 R1,R0 K100 R2 H0007 0↓
1 R4,R3 K150 R5 H0004 1↓
2 R7,R6 K200 R8 H0003 2↓
3 R10,R9 K250 R11 H0006 3↓
4 R13,R12 K300 R14 H0008 4↓ (Repeated from “0↓”)
M8000
FNC 12
MOVP
H0008 K1Y010
FNC 54
DHSCR
C235 C235
FNC280
DHSCT
R0 K4
K400
Y010K5
END
C235 is used as an up counter.
Initial output
M8235
M8000
C235
Ring length: 0 to 400
C235
K0
400
300
200
100
0
1
2
3
4
01
2
3
0
ON
OFF
ON
Time
Y010
Y011
Y012
D8138
counter
ON
ON
OFF
OFF
OFF
Y013
250
150
Table