Panasonic FP-E Programming Manual page 570

Fp series
Table of Contents

Advertisement

High−level Instructions
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.)
BCD 8 digits (2 words)
S+1
H
Hours data: H0000 to H9999 (BCD)
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:
BCD 8 digits (2 words)
D+1
H
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):
・Error flag (R9008):
3 − 306
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
S
Seconds data: H00 to H59 (BCD)
Minutes data: H00 to H59 (BCD)
D
Converted seconds data: H00000000 to H99999999 (BCD)
Turns on and stays on when:
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).

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents