High
−
level Instructions
3
−
590
Description
1) Conversion to the number of seconds from standard time *1 is performed for the input time data [S ~
S+2], and a conversion result is stored in [D, D+1] by the 32
−
bit binary.
2) The conversion is in consideration of the leap year.
1 minute
−−−
60 seconds
1 hour
−−−
60 minutes
1 day
−−−
24 hours
1 year (leap year)
−−−
366 days
1 year (except a leap year)
−−−
365 days
A leap year (4 multiple years)
−−−
Feb.29
3) Time data (S) must be specified in the data sequence of BCD, and the value within the limits must be
registered.
*1: Standard time is 00:00’00” on January 1, ’01.
Moreover, a conversion result is output with a binary value.
S:
S+1:
S+2:
Minutes (H00
−
59)
Days (H01
−
H31)
(higher)
Time data (S) (BCD)
Years (H00
−
H99)
D:
D+1:
Seconds data
(H00000000
−
HBC19137F)
(lower)
Seconds (H00
−
H59)
Hours (H00
−
H23)
Months (H01
−
H12)
Second data (D)
The correspondence table of Time data and Second conversion
Time data (S)
Seconds data (D)
’01/01/01 00:00:00
H00000000
’01/01/01 00:00:01
H00000001
:
:
’01/01/01 00:01:00
H0000003C
:
:
’01/01/01 01:00:00
H00000E10
:
:
’01/01/02 00:00:00
H00015180
:
:
’99/12/31 23:59:59
HBA368E7F
’00/01/01 00:00:00
HBA368E80
:
:
’00/12/31 23:59:59
HBC19137F
Flag conditions
Σ
Error flag (R9007) (R9008):
−
It turns on, when the specified address using the index modifier exceeds a limit.
−
It turns on, when values other than BCD are specified for [S].
−
It turns on, when the value which exceeds the range in the time data of [S]
is specified.
−
It turns on, when the data of [S] exceeds the area.
2001
:
:
:
:
:
:
:
:
2099
2100
:
2100
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 ...