Omron CS1G/H-CPUxxH Instructions Manual page 944

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Clock Instructions
3-28-3 HOURS TO SECONDS: SEC(065)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
C:
C
T
R
T:
R:
Converts time data in hours/minutes/seconds format to an equivalent time in
seconds only.
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
S and S+1: Source Data
Set the hours/minutes/seconds source data in S and S+1, as shown in the fol-
lowing diagram. S and S+1 must be in the same data area.
15
S
15
S+1
18:30:20
10 July, 1998
50 hours, 10 minutes, 15 seconds
16:20:05
8 July, 1998
SEC(065)
S
S: First source word
D: First destination word
D
Step program areas
Subroutines
OK
OK
8
7
Seconds: 00 to 59 (BCD)
Minutes: 00 to 59 (BCD)
Hours: 0000 to 9999 (BCD)
Section 3-28
SEC(065)
@SEC(065)
Not supported.
Interrupt tasks
OK
0
0
923

Advertisement

Table of Contents
loading

Table of Contents