MELSOFT Library

FB for the CPU module (built-in I/O function) (other languages)

This FB library is for the MELSEC-L CPU module.

Applicable model L02CPU, L26CPU-BT, L02CPU-P, L26CPU-PBT
File name Size Last update Version
lcpu_v101b_e.zip 2,071,649 bytes May 17, 2011 1.01B
Relevant manual Type Language
FBM-M029-B MELSEC-L CPU Module (Built-in I/O Function) FB Library Reference Manual English
FBM-M079-A Chinese (simplified)
FB name Function name Description Ver.
M+LCPU_FKRCMP 16 bit block data range compare Compares a 16 bit value to two or more data ranges. 1.00A
M+LCPU_AENCCMP Absolute encoder value comparison Compares the value of an absolute encoder with two or more data ranges. 1.00A
M+LCPU_IENCCMP1 High-speed counter CH1 incremental encoder comparison Compares the L02CPU/L26CPU-BT built-in high-speed counter CH1 current value with two or more data ranges. 1.00A
M+LCPU_IENCCMP2 High-speed counter CH2 incremental encoder comparison Compares the L02CPU/L26CPU-BT built-in high-speed counter CH2 current value with two or more data ranges. 1.00A


[Improvement history of the FB for the MELSEC-L CPU module from Ver.1.00A to Ver.1.01B (Apr., 2011)]

No. Description
1 Reference Manual Revision History, Overview, and the applicable Chinese (simplified) version of GX Works2 are added to the reference manual.


[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.31H 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 lcpu_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 lcpu_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.