MELSOFT Library

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

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

Applicable model L60AD4
File name Size Last update Version
fb-l60ad4_v102c_e.zip 2,921,112 bytes Apr. 4, 2012 1.02C
Relevant manual Type Language
FBM-M030-C MELSEC-L Analog-Digital Converter Module FB Library Reference Manual English
FBM-M080-A Chinese (simplified)
FB name Function name Description Ver.
M+L60AD4_ReadADVal Read A/D conversion data Reads the A/D conversion data of a specified channel. 1.01B
M+L60AD4_ReadAllADVal Read all A/D conversion data Reads the A/D conversion data of all channels. 1.01B
M+L60AD4_ReadScalingVal Read scaling value Reads the scaling value (digital operation value) of a specified channel. 1.01B
M+L60AD4_ReadAllScalingVal Read all scaling values Reads the scaling values (digital operation values) of all channels. 1.01B
M+L60AD4_SetConvertSpeed Conversion speed setting Sets the conversion speed of a specified module. 1.01B
M+L60AD4_SetADConversion Enable/disable A/D conversion Enables or disables A/D conversion for a specified channel or all channels. 1.01B
M+L60AD4_SetAverage Averaging process setting Configures a specified channel for the Averaging processing A/D conversion method. 1.01B
M+L60AD4_SetScaling Scaling setting Configures a specified channel's scaling value output settings. 1.01B
M+L60AD4_SetProcessAlarm Process alarm setting Configures a specified channel's process alarm settings. 1.01B
M+L60AD4_SetInputSignalErr Input signal error detection setting Configures a specified channel's input signal error detection settings. 1.01B
M+L60AD4_RequestSetting Operation condition setting request Applies changes made to each function's operational condition settings. 1.01B
M+L60AD4_SetOffsetVal Offset setting Sets the offset value of a specified channel to the current analog value. 1.01B
M+L60AD4_SetGainVal Gain setting Sets the gain value of a specified channel to the current analog value. 1.01B
M+L60AD4_ShiftOperation Shift operation Adds the shift amount to the digital value that was input. 1.00A
M+L60AD4_DiffOperation Differential conversion process Outputs the difference obtained by subtracting the standard value from the digital value that was input. 1.00A
M+L60AD4_ErrorOperation Error operation Performs monitoring and reset of intelligent function module error codes. 1.01B
M+L60AD4_OGBackup Offset/gain value save Reads the offset and gain values from the user range setting, and save to file. 1.01B
M+L60AD4_OGRestore Offset/gain value restore Restores the user range offset/gain settings of a module from a file created with M+L60AD4_OGBackup. 1.01B
M+L60AD4_SetInputSignalErrExp Input signal error detection extension setting Sets the input signal error detection extension setting of a specified channel. 1.00A
M+L60AD4_SetDigitalClip Digital clipping setting Enables or disables the digital clipping of a specified channel. 1.00A
M+L60AD4_SetShift Shift setting Performs the shift setting of a specified channel. 1.00A
M+L60AD4_SetLoggingPARAM Logging function parameter setting Performs the logging function of a specified channel. 1.00A
M+L60AD4_SetFlowRatePARAM Flow amount integration function parameter setting Sets the flow amount integration function of a specified channel. 1.00A
M+L60AD4_SaveLogging Logging data save Saves the logging data of a specified channel in a file. 1.00A
M+L60AD4_MakeFlowRateDailyReport Flow amount daily report creation Saves the flow amount daily report data of all channels in a file. 1.00A


[Improvement history of the FB for the MELSEC-L analog-digital converter module from Ver.1.01B to Ver.1.02C (Apr., 2012)]

No. Description
1 The following problem is solved: OPERATION ERROR (error code: 4101) may occur when an index register having the number same as that used by the FB, except M+L60AD4_ShiftOperation and M+L60AD4_DiffOperation.
2 The following FBs are added: M+L60AD4_SetInputSignalErrExp, M+L60AD4_SetDigitalClip, M+L60AD4_SetShift, M+L60AD4_SetLoggingPARAM, M+L60AD4_SetFlowRatePARAM, M+L60AD4_SaveLogging, and M+L60AD4_MakeFlowRateDailyReport.
3 M+L60AD4_SetOffsetVal and M+L60AD4_ErrorOperation are optimized, and the number of steps is reduced.


[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 (simplified)): 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-l60ad4_v102c_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-l60ad4_v102c_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.