Fnc280 - Hsct / High-Speed Counter Compare With Data Table - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
32.1
FNC280 – HSCT / High-Speed Counter Compare With Data Table
Outline
This instruction compares the current value of a high-speed counter with a data table of comparison points, and then
sets or resets up to 16 output devices.
1. Instruction format
FNC 280
D
HSCT
2. Set data
Operand Type
S
1
m
S
2
D
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
1
m
S
2
D
n
Only a high-speed counter C235 to C255 can be specified in " ".
Explanation of function and operation
1. 32-bit operation (DHSCT)
The current value of a high-speed counter specified in
(3 m) points stored in
output to
D
to
Command
input
FNC280
DHSCT
Data table used for comparison
Comparison
point number
0
S
1
S
2
S
m-2
S
m-1
S
Mnemonic
16-bit Instruction
Head device number storing the data table
Number of comparison points in data table [1 ≤ m ≤ 128]
High-speed counter number (C235 to C255)
Head device number to which the operation status is output
Number of devices to which the operation status is output [1 ≤ n ≤ 16]
Digit Specification
S
and later, and the operation output set value (ON or OFF) specified in the data table is
1
D
+n-1.
S
m
S
1
2
Operation output set value
Comparison value
S
S
+1,
1
1
S
S
+4,
+3
1
1
S
S
+7
+6
1
1
S
S
+3m-5,
+3m-6
1
1
S
S
+3m-2,
+3m-3
1
1
32 High-Speed Processing 2 – FNC280 to FNC289
32.1 FNC280 – HSCT / High-Speed Counter Compare With Data Table
Operation Condition
32-bit Instruction
21 steps
Description
Word Devices
Special
System User
Unit
T
C D R U \G
V
S
is compared with the data table shown below which has
2
D
n
Operation output destination
(SET [1] or RESET [0])
+2
1
+5
1
+8
1
D
+3m-4
1
+3m-1
1
Mnemonic
Operation Condition
DHSCT
Continuous
Operation
Data Type
16- or 32-bit binary
16-bit binary
32-bit binary
Bit
16-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K
H
E
" "
D
to
+n-1
31
32
33
34
35
Pointer
P
36
37
38
A
B
707

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents