Hours To Seconds: Sec(065) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Clock Instructions

3-28-3 HOURS TO SECONDS: SEC(065)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
1130
C:
C
T
R
T:
R:
Converts time data in hours/minutes/seconds format to an equivalent time in
seconds only.
SEC(065)
S
D
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
S: First source word
D: First destination word
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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents