32 Applied Instructions (High Speed Processing 2)
32.1 DHSCT / High Speed Counter Compare With Data Table
738
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
32.1 DHSCT / 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. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
FX3U(C) FX3G(C) FX3S FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder/FBD ST
DHSCT 32 bits Continuous DHSCT(EN,s1,m,s2,n,d);
Variable Description Data type
Input variable
EN Execution condition Bit
Head device storing the data table ANY32
Number of comparison points in data table (1 ≤ m ≤ 128) ANY32
High speed counter (C235 to C255) ANY32
Number of devices to which the operation status is output ANY32
Output
variable
ENO Execution state Bit
Head device to which the operation status is output Bit
Operand
type
Bit Devices Word Devices Others
System user Digit specification
System
user
Special
unit
Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D
.b
KnX KnY KnM KnS T C D R
U\G
VZModifierKH E
""
P
zz z
zz
S1
z
zz
zz z z
DHSCT
EN ENO
s1
m
s2
n
d