MELSOFT Library

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

This sample ladder is for the MELSEC-L CPU module (built-in I/O function).

Applicable model L02CPU, L26CPU-BT, L02CPU-P, L26CPU-PBT

LCPU (built-in I/O function positioning)

Engineering tool File name Project name Size Last update Version
GX Works2 gw_ld-lcpu_pos_v101b_e.zip LD-LCPU_POS_V100A_E 1,189,789 bytes Jun, 5, 2012 1.01B
GX Developer gd_ld-lcpu_pos_v101b_e.zip LD-LCPU_POS_V100A_E 1,058,570 bytes Jun, 5, 2012 1.01B

LCPU (built-in I/O function high-speed counter)

Engineering tool File name Project name Size Last update Version
GX Works2 gw_ld-lcpu_cnt_v101b_e.zip LD-LCPU_CNT_V100A_E 913,441 bytes Jun, 5, 2012 1.01B
GX Developer gd_ld-lcpu_cnt_v101b_e.zip LD-LCPU_CNT_V100A_E 784,529 bytes Jun, 5, 2012 1.01B
Relevant manual Type Language
LDM-M003-A MELSEC-L CPU Module (Built-in I/O Function Positioning) Sample Ladder Reference Manual English
LDM-M026-A Chinese (simplified)
LDM-M004-A MELSEC-L CPU Module (Built-in I/O Function High-speed Counter) Sample Ladder Reference Manual English
LDM-M027-A Chinese (simplified)


LCPU (built-in I/O function positioning)

Project name Program name Function name Description Ver.
LD-LCPU_POS_V100A_E 01SetDat Data setting Sets position control parameters, speed/position switching, and current value change control data settings. 1.00A
02BaseOf OPR request off Turns OFF the OPR request for Axis 1. 1.00A
03SetBas OPR data setting Sets the OPR data setting. 1.00A
04RunBas OPR start Performs the OPR start for Axis 1. 1.00A
05Chg_Sp Speed/position switching enable Enables or disables the speed/position switching for Axis 1. 1.00A
06StaTbl Table start Performs the positioning table start for Axis 1 and multiple axes concurrent start for Axis 1 and Axis 2. 1.00A
07StaPos Positioning start Performs the positioning start for Axis 1. 1.00A
08RunJog JOG operation Performs JOG operation for Axis 1. 1.00A
09ChgSpd Speed change Performs the speed change. 1.00A
10ChgPos Target position change Performs the target position change. 1.00A
11Abrst Absolute position restoration Performs absolute position restoration. 1.00A
12RstErr Error, warning reset Resets errors and warnings for Axis 1. 1.00A
13Stop Axis stop Performs the axis stop for Axis 1. 1.00A

LCPU (built-in I/O function high-speed counter)

Project name Program name Function name Description Ver.
LD-LCPU_CNT_V100A_E 01CmnPgm Normal mode common Performs common processing in the normal mode. 1.00A
02PreSet Preset function Turns ON/OFF the preset command. 1.00A
03MchOut Coincidence output function Turns ON/OFF the coincidence output reset command for channel 1. 1.00A
04Lcnt1 Latch counter 1 Gets the latch count value of the latch counter 1. 1.00A
05Lcnt2 Latch counter 2 Gets the latch count value of the latch counter 2. 1.00A
06DisCnt Count disable function Turns ON/OFF the selected counter function start signal for channel 1. 1.00A
07SplCnt Sampling counter function Gets the sampling count data of channel 1. 1.00A
08LcPre Latch counter and preset function Gets the latch count value 1 of channel 1. 1.00A
09ChkOvr Overflow detection processing Detects the overflow and underflow of channel 1. 1.00A
10ChkFrq Frequency measurement mode Gets the measured frequency value of channel 1. 1.00A
11ChkRsp Rotation speed measurement mode Gets the measured rotation speed value of channel 1. 1.00A
12ChkPls Pulse measurement mode Gets the measured pulse value of channel 1. 1.00A
13OutPwm PWM output mode Outputs the PWM pulses from channel 1. 1.00A
14RstErr Error and warning reset Resets the error and warning of channel 1. 1.00A
15Match Coincidence detection interrupt function Executes the coincidence detection interrupt function. 1.00A


[Improvement history of the sample ladder for the MELSEC-L CPU module (built-in I/O function positioning) from Ver.1.00A to Ver.1.01B (Jun., 2012)]

No. Description
1 The Chinese (simplified) reference manual is included in the compressed file (ZIP format).

[Improvement history of the sample ladder for the MELSEC-L CPU module (built-in I/O function high-speed counter) from Ver.1.00A to Ver.1.01B (Jun., 2012)]

No. Description
1 The Chinese (simplified) reference manual is included in the compressed file (ZIP format).


[How to extract the compressed file]

Copy the file to a folder.
The file is a compressed file in ZIP format.

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.


[Precautions for using the sample ladder]

  1. Before applying the sample ladder to a system, check sufficiently if no problem occurs in the control of the system.