Mitsubishi Electric M800VW Series Programming Manual page 190

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.1 Comparison Operation Instructions
Note
 Since the the maximum number of digits for real numbers that can be input by programing tool is 15 digits, the comparison
with real numbers whose number of significant digits is 16 or more cannot be made by the instruction shown in this section.
When judging match/mismatch with real numbers whose significant digits is 16 or more by the instruction in this section,
compare it with the approximate values of the real number to be compared and judge by the sizes.
(Example) When judging the match of E1.234567890123456+10 (Number of significant digits is 16) and the double-precision
floating-point data.
ED< E1.23456789012345+10 D0
E1.23456789012345+10
Whether D0 to D3 is within this range is checked. (Values on boundaries are
excluded.)
(Example) When judging the mismatch of E1.234567890123456+10 (Number of significant digits is 16) and the double-
precision floating-point data.
ED<= D0 E1.23456789012345+10
ED>= D0 E1.23456789012346+10
E1.23456789012345+10
Whether D0 to D3 is within this range is checked. (Values on boundaries are
included.)
ED< D0 E1.23456789012346+10
E1.234567890123456+10
E1.23456789012346+10
E1.234567890123456+10
E1.23456789012346+10
Y10
Y20
169
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents