Omron CS1G/H-CPUxxH Instructions Manual page 941

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

Advertisement

Clock Instructions
3-28-2 CALENDAR SUBTRACT: CSUB(731)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
920
Subtracts time from the calendar data in the specified words.
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
OK
C through C+2: Calendar Data
Set the calendar data in C through C+2 as shown in the following diagram.
C through C+2 must be in the same data area.
15
C
15
C+1
15
C+2
CSUB(731)
C: First calendar word
C
T: First time word
T
R
R: First result word
Step program areas
Subroutines
OK
8
7
Seconds: 00 to 59 (BCD)
Minutes: 00 to 59 (BCD)
8
7
Hour: 00 to 23 (BCD)
Day: 01 to 31 (BCD)
8
7
Month: 01 to 12 (BCD)
Year: 00 to 99 (BCD)
Section 3-28
CSUB(731)
@CSUB(731)
Not supported.
Interrupt tasks
OK
0
0
0

Advertisement

Table of Contents
loading

Table of Contents