MELSOFT Library

FB for the analog-digital converter module (other languages)

This FB library is for the MELSEC-Q analog-digital converter module.

Applicable model Q64AD
File name Size Last update Version
fb-q64ad_v101b_e.zip 2,266,700 bytes Jul. 6, 2012 1.01B
Relevant manual Type Language
FBM-M037-B MELSEC-Q Analog-Digital Converter Module FB Library Reference Manual English
FB name Function name Description Ver.
M+Q64AD_ReadADVal A/D conversion data read Reads A/D conversion data of a specified channel. 1.00A
M+Q64AD_ReadAllADVal A/D conversion data read (All CHs) Reads A/D conversion data of all channels. 1.00A
M+Q64AD_SetADConversion A/D conversion enable/disable setting Sets the A/D conversion enable/disable setting of a specified channel or all channels. 1.00A
M+Q64AD_SetAverage Averaging process setting Sets averaging process of a specified channel. 1.00A
M+Q64AD_RequestSetting Operating condition setting request operation Enables settings of each function. 1.00A
M+Q64AD_SetOffsetVal Offset setting Performs offset setting of a specified channel. 1.00A
M+Q64AD_SetGainVal Gain setting Performs gain setting of a specified channel. 1.00A
M+Q64AD_ErrorOperation Error operation Monitors error codes and performs error reset. 1.00A
M+Q64AD_ScalingOperation Scaling process Converts a digital value (A/D conversion value) of a specified channel to the ratio value in a set width. 1.00A
M+Q64AD_ScalingAllOperation Scaling process (All CHs) Converts digital values (A/D conversion values) of all channels to the ratio values in set widths. 1.00A
M+Q64AD_ScalingAllMaxMinOpe Scaling maximum/minimum value process (All CHs) Outputs the scaling maximum/minimum values by using the Scaling process FB (M+Q64AD_ScalingOperation) or the Scaling process (All CHs) FB (M+Q64AD_ScalingAllOperation). 1.00A
M+Q64AD_ShiftOperation Shift process Adds the shift amount to the digital value (A/D conversion value) that was read. 1.00A


[Improvement history of the FB for the MELSEC-Q analog-digital converter module from Ver.1.00A to Ver.1.01B (Jul., 2012)]

No. Description
1 The following FBs are added: M+Q64AD_ScalingOperation, M+Q64AD_ScalingAllOperation, M+Q64AD_ScalingAllMaxMinOpe, and M+Q64AD_ShiftOperation.


[Precautions for using the file]

Install the FB library to the personal computer in which GX Works2 of the following version has been installed.

  1. GX Works2 (English): Version 1.24A or later
  2. GX Works2 (Chinese): Version 1.49B or later


[How to extract the compressed file]

Copy the file to a folder.
After the copied file is decompressed, the fb-q64ad_v101b_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 fb-q64ad_v101b_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.