MELSOFT Library

FB for floating-point (English)

This FB library is for the floating-point of the programmable controller CPU module.

Applicable
model
Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU
Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU, Q04UDHCPU, Q06UDHCPU, Q10UDHCPU, Q13UDHCPU, Q20UDHCPU, Q26UDHCPU, Q03UDECPU, Q04UDEHCPU, Q06UDEHCPU, Q10UDEHCPU, Q13UDEHCPU, Q20UDEHCPU, Q26UDEHCPU, Q50UDEHCPU, Q100UDEHCPU
L02CPU, L26CPU-BT, L02CPU-P, L26CPU-PBT
File name Size Last update Version
cpu-float_v100a_e.zip 1,994,982 bytes Apr. 1, 2011 1.00A
Relevant manual Type
FBM-M049-A FLOATING-POINT FB LIBRARY REFERENCE MANUAL
FB name Function name Description Ver.
M+CPU-Float_CnvDWordToFloat1 Single-precision floating-point data conversion Converts the double data whose decimal point is specified into floating-point data. 1.00A
M+CPU-Float_CnvDWordToFloat Multiple single-precision floating-point data batch conversion Converts the double data whose decimal point is specified into floating-point data.
n points of data are converted simultaneously.
1.00A
M+CPU-Float_CnvFloatToDWord1 Double data conversion Converts the floating-point data into the double data whose decimal point is specified. 1.00A
M+CPU-Float_CnvFloatToDWord Multiple double data batch conversion Converts the floating-point data into the double data whose decimal point is specified.
n points of data are converted simultaneously.
1.00A
M+CPU-Float_SeparateFloat Dissociate floating-point real number into mantissa and exponent part Dissociates the floating-point real number data into mantissa part and exponent part. 1.00A
M+CPU-Float_UniteFloat Convert sign, mantissa and exponent part into floating-point real number Converts the sign, mantissa and exponent part into floating-point real number. 1.00A


[Precautions for using the file]

  1. Install the FB library to the personal computer in which GX Works2 (English) of Version 1.31H or later has been installed.


[How to extract the compressed file]

Copy the file to a folder.
After the copied file is decompressed, the cpu-float_v100a_e folder is created.

Decompression method 1): For the OS with the ZIP-compatible decompression function

  1. Right-click the copied file.
  2. Select "Extract All...".
    When "Extract All..." is not displayed, follow the decompression method 2).
  3. Specify the location of the extracted file, and click the "Extract" button to start the decompression.

Decompression method 2): For the OS without the ZIP-compatible decompression function

  1. If not having the ZIP-compatible decompression tool, acquire the decompressing tool.
  2. Decompress the file using the decompression tool.

* Use the decompression tool at users' own risk.


[Installation method]

  1. Execute setup.exe in the cpu-float_v100a_e folder.
  2. Install the FB library following the messages of the installer.


[How to use MELSOFT Library]

  1. Select [Library] - [Install...] from the [Project] menu.
  2. In the [Import Library to Project] dialog box, select the installed library and necessary FBs, and click the [OK] button.
  3. Paste the FB from the [Element Selection] window to the program.


[Precautions for using MELSOFT Library]

  1. Before applying the FB library of MELSOFT Library to a system, check sufficiently if no problem occurs in the control of the system.