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

Скачать
Страница из 838
21 Applied Instructions (Real Time Clock Control)
21.6 STOH / Second to Hour Conversion
554
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
21.6
STOH / Second to Hour Conversion
Outline
This instruction converts the time data in second unit into time data in "hour, minute, second" unit.
1. Format and operation, execution form
2. Set data
3. Applicable devices
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
STOH
16 bits
Continuous
STOH(EN,s,d);
STOHP
16 bits
Pulse
STOHP(EN,s,d);
DSTOH
32 bits
Continuous
DSTOH(EN,s,d);
DSTOHP
32 bits
Pulse
DSTOHP(EN,s,d);
Variable
Description
Data type
16-bit 
operation
32-bit 
operation
Input
variable
EN
Execution condition
Bit
Device for storing the time data in second unit before conversion
ANY16
ANY32
Output
variable
ENO
Execution state
Bit
Device for storing the time data in "hour, minute, second" unit after
conversion (3 points occupied)
ARRAY [0..2] OF ANY16
Operand 
type
Bit Devices
Word Devices
Others
System user
Digit designation
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 z z z
z
z
z
z
z z z z z
z
z
STOH
EN
s
ENO
d
STOHP
EN
s
ENO
d
DSTOH
EN
s
ENO
d
DSTOHP
EN
s
ENO
d