EasyManuals Logo
Home>NAiS>Controller>FP1

NAiS FP1 User Manual

Default Icon
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #207 background imageLoading...
Page #207 background image
199
6-4. Hints for Programming High-level Instructions
3) Overflow and Underflow in BCD Operations (4-digit or 8-digit)
In BCD data, only positive numbers can be handled in the FP1.
4-digit BCD Operation
8-digit BCD Operation
Example:
• Overflow
When DT0 = H9999 and DT1 = H1 (BCD),
H0 (BCD) is stored in DT100 and R9009 turns ON.
• Underflow
When DT0 = H0 and DT1 = H-1,
H9999 is stored in DT100 and R9009 turns ON.
X0
F42 B+, DT0, DT1, DT100
Underflow
Overflow
H 99999999
H 0
The maximum
value links with
the minimum
value.
Max. value
Min. value
• Overflow:
The result becomes a minimum value
(H00000000) if K1 is added to the
maximum value (H99999999).
• Underflow:
The result becomes a maximum value
(H99999999) if K1 is subtracted from the
minimum value (H00000000).
Underflow
Overflow
H 9999
H 0
The maximum
value links with
the minimum
value.
Max. value
Min. value
• Overflow:
The result becomes a minimum value
(H0000) if K1 is added to the maximum
value (H9999).
• Underflow:
The result becomes a maximum value
(H9999) if K1 is subtracted from the
minimum value (H0000).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NAiS FP1 and is the answer not in the manual?

NAiS FP1 Specifications

General IconGeneral
BrandNAiS
ModelFP1
CategoryController
LanguageEnglish

Related product manuals