![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681169.webp)
1130
Clock Instructions
Section 3-28
3-28-3 HOURS TO SECONDS: SEC(065)
Purpose
Converts time data in hours/minutes/seconds format to an equivalent time in
seconds only.
Ladder Symbol
Variations
Applicable Program Areas
Operands
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.
C:
T:
R:
18:30:20
16:20:05
C
T
R
10 July, 1998
50 hours, 10 minutes, 15 seconds
8 July, 1998
SEC(065)
S
D
S
: First source word
D
: First destination word
Variations
Executed Each Cycle for ON Condition
SEC(065)
Executed Once for Upward Differentiation
@SEC(065)
Executed Once for Downward Differentiation
Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
15
8
0
7
S
15
S+1
0
Seconds: 00 to 59 (BCD)
Minutes: 00 to 59 (BCD)
Hours: 0000 to 9999 (BCD)
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...