EasyManuals Logo
Home>Omron>Controller>SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1171 background imageLoading...
Page #1171 background image
1131
Clock Instructions Section 3-28
Description SEC(065) converts the 8-digit BCD hours/minutes/seconds data in S and S+1
to 8-digit BCD seconds-only data and outputs the result to D and D+1.
Flags
Precautions The maximum value for the source data is 9,999 hours, 59 minutes, and 59
seconds (35,999,999 seconds).
Examples When CIO 000000 turns ON in the following example, the hours/minutes/sec-
onds data in D00200 and D00201 (34 hours, 17 minutes, and 36 seconds) is
converted to seconds-only data and the result is output to D00100 and
D00101.
3-28-4 SECONDS TO HOURS: HMS(066)
Purpose Converts seconds data to an equivalent time in hours/minutes/seconds for-
mat.
Ladder Symbol
Variations
Hours
Seconds
Minutes Seconds
Name Label Operation
Error Flag ER ON if the minutes data in S (bits 08 to 15) is not BCD and in
the range 00 to 59.
ON if the seconds data in S (bits 00 to 07) is not BCD and in
the range 00 to 59.
OFF in all other cases.
Equals Flag = ON if the content of D is 0000 after the operation.
OFF in all other cases.
seconds
17 minutes, 36 seconds
34 hours
Hours/minutes/seconds
123,456 seconds
→
HMS(066)
S
D
S: First source word
D: First destination word
Variations Executed Each Cycle for ON Condition HMS(066)
Executed Once for Upward Differentiation @HMS(066)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals