Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
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".
FX
3U(C)
FX
3G(C)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(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
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modifier K H
E
"
"
P
z z
z
z z
S1
z
z z
z z
z
z
DHSCT
EN
ENO
s1
m
s2
n
d