Converting Time Data From Hour/Minute/Second To Second - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Converting time data from hour/minute/second to second

TIME2SEC(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions convert time data (hour, minute, second) to second data.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
TIME2SEC
TIME2SECP
Setting data
■Description, range, data type
Operand
Description
(s)
Start device where the time data to be converted is stored
(d)
Start device for storing the clock data after conversion
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=TIME2SEC(EN,s,d);
ENO:=TIME2SECP(EN,s,d);
Range
Data type
16-bit signed binary
32-bit signed binary
Bit
Bit
Double word Indirect
specification
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANY16_ARRAY
(Number of elements: 3)
ANY32
BOOL
BOOL
Constant
Others
K, H E
$
1009
7.25 Clock Instructions
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents