Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 998

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Sample program
CADD
When CIO 0.00 turns ON in the following example, the calendar data in D100 through D102 (year,
month, day, hour, minutes, seconds) is added to the time data in D200 and D201 (hours, minutes,
seconds) and the result is output to D300 through D302.
0.00
C
T
R
CSUB
When CIO 0.00 turns ON in the following example, the time data in D200 and D201 (hours, minutes,
seconds) is subtracted from the calendar data in D100 through D102 (year, month, day, hour, minutes,
seconds) and the result is output to D300 through D302.
0.00
C
T
R
CS/CJ/NSJ Series Instructions Reference Manual (W474)
D100
C:
D100
D200
D101
D102
D300
T:
D200
D201
R:
D300
D301
D302
C:
D100
D101
D100
D102
D200
D300
T:
D200
D201
R:
D300
D301
D302
18:30:20
99
12
10 December, 1999
10 minutes, 15 seconds
06
00
600 hours
18:40:35
04
18
4 January, 2000
00
01
18:30:20
10 July, 1998
50 hours, 10 minutes, 15 seconds
16:20:05
8 July, 1998
3. Instructions
3
961

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents