High
−
level Instructions
3
−
417
Explanation of example
Subtracts the time data stored in data registers DT11 and DT10 from the date/clock data stored in data
registers DT9054 to DT9056/ DT90054 to DT90056) when trigger R0 turns on. The result is stored in data
registers DT32, DT31, and DT30.
9
2
0
6
1
7
1
0
DT9056 (DT90056)
DT9055 (DT90055)
3
0
2
4
DT9054 (DT90054)
Years
Months
Days
Hours
Minutes
Seconds
June 17, 1992 10: 30’ 24”: H920617103024 (BCD)
−
0
0
0
3
DT11
3
0
3
0
DT10
Hours
Minutes
Seconds
3: 30’ 30”: H00033030 (BCD)
June 17, 1992 6: 59’ 54”: H920617065954 (BCD)
(Subtraction)
9
2
0
6
1
7
0
6
DT32
DT31
5
9
5
4
DT30
Years
Months
Days
Hours
Minutes
Seconds
Description
Subtracts time data (2 words) specified by S2 from the date/clock data (3 words) specified by S1. The result is
stored in the area (3 words) specified by D.
BCD H code
S1+2
S1+1
S1
Years
Months
Days
Hours
Minutes
Seconds
Date/clock data
BCD H code
S2+1
S2
Hours
Minutes
Seconds
Time data
BCD H code
D+2
D+1
D
Years
Months
Days
Hours
Minutes
Seconds
Date/clock data
H00 to H99
H01 to H12
H01 to H31
H00 to H23
H00 to H59
H00 to H59
H00 to H99
H01 to H12
H01 to H31
H00 to H23
H00 to H59
H00 to H59
H0000 to H9999
H00 to H59
H00 to H59
−
(Subtraction)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...