Delta AS Series Programming Manual page 367

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S er i es Pr og r am m ing M an u a l
Example
1.
When X0.0 is ON, the instruction converts the single-precision floating-point number in (D1, D0) into a binary
integer, and stores the conversion result in D10. The instruction rounds the binary floating-point number down to
the nearest whole digit.
2.
When X0.1 is ON, the instruction converts the single-precision floating-point number in (D21, D20) into a binary
integer, and stores the conversion result in (D31, D30). The instruction rounds the binary floating-point number
down to the nearest whole digit.
Additional remarks
_6
If the value in S exceeds the range of values that can be represented by the floating-point numbers, the instruction is not
executed, SM0 is ON, and the error code in SR0 is 16#2013.
6 - 8 8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents