High
−
level Instructions
3
−
306
Description
Converts the hour, minute, and second data stored in the 32-bit area specified by S to seconds data. The
converted seconds data is stored in the 32-bit area specified by D.
Composition of data
Format of S+1 and S
32 bits (2 words) “S+1 and S” are allocated to express hour, minute, and second data. The data is expressed
in BCD format.
The BCD H data should be used for setting the hour (4 digits), minute (2 digits), and second (2 digits) data as
follows. (The max. time data that can be specified is 9,999 hours, 59 minutes and 59 seconds.)
H
Seconds data: H00 to H59 (BCD)
Minutes data: H00 to H59 (BCD)
Hours data: H0000 to H9999 (BCD)
BCD 8 digits (2 words)
S+1
S
Example:
3:45’19” (S+1: H0003, S: H4519)
Format of D+1 and D
32 bits (2 words) are allocated to express the converted seconds data.
The converted seconds data is expressed in BCD format as follows:
H
Converted seconds data: H00000000 to H99999999 (BCD)
BCD 8 digits (2 words)
D+1
D
Example:
35,999,999” (D+1: 3599, D: H9999)
Note
The maximum time data that can be specified is 9,999 hours, 59
minutes and 59 seconds, so the maximum value of the time data
Flag conditions
・
Error flag (R9007): Turns on and stays on when:
・
Error flag (R9008): Turns on for an instant when:
−
The area specified using the index modifier exceeds the limit.
−
The data specified by S is not BCD data.
−
The minutes and seconds data specified by S exceeds the set range (00 to 59).
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 ...