Fnc164 - Htos / Hour To Second Conversion - 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
21.5
FNC164 – HTOS / Hour to Second Conversion
Outline
This instruction converts the time data in units of "hour, minute, and second" into data in units of "second".
1. Instruction format
FNC 164
D
HTOS
2. Set data
Operand type
S
S
1
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
S
1
S
D
2
Explanation of function and operation
1. 16-bit operation (HTOS and HTOSP)
The time data (hour, minute, and second) stored in
"second", and stored to
Command
input
FNC164
HTOS
S
hour
S
+1
minute
S
+2
second
For example, when "4 hours 29 minutes 31 seconds" is specified, the operation is as follows:
S
S
+1
S
+2
572
Mnemonic
16-bit Instruction
P
5 steps HTOS
HTOSP
Head device number storing the time data (hour, minute and second) before conversion
Device number storing the time data (second) after conversion
Digit Specification
D
.
S
D
(0 to 9)
(0 to 59)
(0 to 59)
4
29
31
21 Real Time Clock Control – FNC160 to FNC169
21.5 FNC164 – HTOS / Hour to Second Conversion
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
V
S
,
S
+1, and
D
second
D
16171
Mnemonic
Operation Condition
Continuous
DHTOS
9 steps
Operation
Pulse (Single)
DHTOSP
Operation
Data type
16-bit binary
16- or 32-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K
H
E
S
+2 is converted into data in units of
Pointer
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents