Coolmay L02M24T Programming Manual

Plc programming
Table of Contents

Advertisement

Quick Links

Coolmay L02 Series
PLC Programming
Manual
(PLC part: Difference comparing with FX3G)
Copyright: Shenzhen Coolmay Technology Co., Ltd.
V22.21

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the L02M24T and is the answer not in the manual?

Questions and answers

Summarization of Contents

1. Overview
1.1. Coolmay L02 PLC Advantages
Details the advantages of the L02 PLC, including high-end application controller features and network capabilities.
2. Device Number
2.1. Device Number Table
Lists and explains various device types (relays, timers, counters) and their corresponding number ranges.
3. Special Relay and Register
3.1. Special Relay Number and Content
Provides a detailed list of special relays (M8xxx) and their associated functions or states.
3.2. Special Register Number and Content
Lists special registers (Dxxx) and their descriptions, covering timers, counters, and system status.
4. Function Instructions
4.1. List of Basic Logic Instructions
Details basic logic instructions like LD, LDI, AND, OR, etc., with mnemonic, name, features, and available devices.
4.2. Applied Instructions
Categorizes and lists applied instructions, such as data move, conversion, and comparison instructions.
5. Application of Analog
5.1. Analog Input
Explains analog input accuracy, types for L02M24, and how to read input values.
5.1.1. L02M24 Host Analog Input Type
Details the input signal types, range, register values, resolution, and accuracy for L02M24 host.
5.1.2. L02M24 Host Analog Input Read
Describes methods for reading analog input values, including FROM instruction and direct register reading.
5.1.3. Expansion Analog Module Input Type
Lists input signal types, ranges, and accuracy for expansion analog modules like thermocouples and RTDs.
5.1.4. Expansion Analog Module Input Read
Explains how to connect and read data from expansion analog modules when host capabilities are insufficient.
5.1.5. Host Analog Input Sampling
Explains host analog input sampling methods and filtering cycles.
5.1.6. Analog Input Program Example
Provides an example of acquiring temperature analog input using the L02 host.
5.2. Analog Output
Details analog output configuration for L02M24, including output types and register assignments.
5.2.1. L02M24 Host Analog Output Setting
Details analog output configuration for L02M24, including output types and register assignments.
5.2.2. Expand Analog Module Output Setting
Explains how to configure expansion analog modules for output, specifying ranges and registers.
5.2.3. Host Analog Output Program Example
Demonstrates an example of 0-10V voltage analog output for the L02 host.
5.3. PID Instruction
Introduces the PID instruction for controlling output based on input changes.
5.3.1. Outline
Introduces the PID instruction for controlling output based on input changes.
5.3.2. PID Instruction Format and Parameter Description
Explains the PID instruction format and describes the parameters like SV, PV, and MV.
5.3.3. Function and Action Description
Details the 16-bit operation of the PID instruction, including parameter settings and execution logic.
5.3.4. Notice
Provides important notices for using PID instructions, including parameter usage and memory holding.
5.3.5. Example
Shows a practical example of implementing the PID instruction in a program.
6. Application of High Speed Counter
6.1. Assignment Table of Built-in High Speed Counter
Presents a table mapping counter types to input assignments for high-speed counters.
6.2. Related Device
Lists related devices and their functions for single phase, double, and AB phase high-speed counters.
7. Application of High Speed Pulse
7.1. High Speed Pulse Output
Details the 8-channel high-speed pulse output capabilities, speeds, and supported instructions.
7.2. Circular Interpolation
Explains normal interpolation mode, setting flags for routes, and direction/coordinate logic.
7.3. Pulse Width Modulation PWM
Details the PWM instruction for specifying pulse output with period and ON time.
7.4. Handwheel Pulse Function
Explains the handwheel pulse function for CNC machine tool settings and motor control.
8. Coolmay L02 Series PLC Communication Manual
8.1. MODBUS Instruction Explanation and Communication Address
Explains the RD3A (read) and WR3A (write) instructions and their correspondence to Modbus functions.
8.1.1. Function and Operation Description of Read/Write Data Command
Explains the RD3A (read) and WR3A (write) instructions and their correspondence to Modbus functions.
8.1.2. ADPRW Instruction Function and Operation Description
Details the ADPRW instruction, supporting various Modbus RTU functions for reading/writing coils and registers.
8.1.3. Word Device Communication Address Number
Provides a table mapping Modbus device addresses to L02 device addresses for word data.
8.1.4. Bit Device Communication Address Number
Provides a table mapping Modbus device addresses to L02 device addresses for bit data.
8.1.5. ADPRW Instruction Function Parameters
Lists the parameters for the ADPRW instruction, including function codes and Modbus addresses.
8.2. Serial Port 1: RS232 (PLC Programming Port)
Describes the RS232 port for programming and communication with Mitsubishi protocol devices.
8.3. Serial Port 2: RS485 (A B)/RS232
Details settings for using the Mitsubishi programming port protocol on Serial port 2.
8.3.1. Mitsubishi Programming Port
Details settings for using the Mitsubishi programming port protocol on Serial port 2.
8.3.2. Mitsubishi BD Protocol
Explains the Mitsubishi BD Protocol and its parameter settings for Serial port 2.
8.3.3. Freeport Protocol Functions and Examples
Covers Freeport protocol functions and provides examples for Serial port 2, including data length and baud rate.
8.3.4. Modbus RTU Protocol
Describes Modbus RTU protocol settings, including communication parameters and slave station number.
8.3.5. Modbus RTU Function ADPRW Instruction
Provides program examples for Modbus RTU ADPRW instruction, covering host and slave programs.
8.3.6. Modbus ASCII Protocol
Explains Modbus ASCII protocol settings and notes its limitations with ADPRW command.
8.4. Serial Port 3: RS485 (A1 B1)
Details settings for the Mitsubishi programming port protocol on Serial port 3.
8.4.1. Mitsubishi Programming Port Protocol
Details settings for the Mitsubishi programming port protocol on Serial port 3.
8.4.2. Freeport Protocol Function
Covers Freeport protocol functions for Serial port 3, noting differences from protocol 4.
8.4.3. Modbus RTU Function RD3A/WR3A Instruction
Provides Modbus RTU RD3A/WR3A instruction examples for Serial port 3 master and slave programs.
8.4.4. Modbus RTU Function ADPRW Instruction
Shows Modbus RTU ADPRW instruction examples for Serial port 3, including master and slave programs.
8.4.5. Modbus ASCII Function
Explains Modbus ASCII protocol settings for Serial port 3, noting parameter differences.
8.5. CAN Communication Port
Describes support for RS2 and Modbus RTU protocols on the CAN port, with a note on disconnection after setting.
8.5.1. Freeport Protocol Function
Explains Freeport protocol function for CAN port, distinguishing by ID number for multiple channels.
8.5.2. Modbus RTU Function RD3A/WR3A Instruction
Provides Modbus RTU RD3A/WR3A instruction examples for CAN port, detailing master and slave programs.
8.5.3. Modbus RTU Function ADPRW Instruction
Shows Modbus RTU ADPRW instruction examples for CAN port, including master and slave programs.
8.6. Network Communication
Covers support for Mitsubishi MC, Modbus TCP/UDP, and EtherNet/IP protocols, noting automatic network detection.
8.6.1. MITSUBISHI MC Protocol
Explains MC protocol usage, port settings, and troubleshooting for communication issues.
8.6.2. Modbus TCP Function
Details Modbus TCP support for WR3A/RD3A instructions and parameter settings for different communication modes.
8.6.3. Etherenet/IP Function
Describes communication between L02 host and L02-EIP module as slave station via Ethernet/IP.
8.6.3.1 Communication with L02-EIP
Describes communication between L02 host and L02-EIP module as slave station via Ethernet/IP.
8.6.3.2 L02 PLC as Ethernet/IP Master Station
Details register settings for L02 PLC acting as an Ethernet/IP master station.
8.6.3.3 L02 PLC as Ethernet/IP Slave
Explains settings for L02 PLC to function as an Ethernet/IP slave station.
8.6.3.4 L02 Series Ethernet/IP Protocol Use Structure Diagram
Illustrates structure diagrams for L02 Ethernet/IP master/slave communication scenarios.
8.7. Network N:N Communication
Lists devices and content for N:N network settings, including parameter, station number, and slave count.
8.7.1. Related Device Content
Lists devices and content for N:N network settings, including parameter, station number, and slave count.
8.7.2. Program Settings and Instructions
Describes program settings, timeout recommendations, and viewing slave status for N:N communication.
9. Coolmay L02 Series PLC Hardware Identification and Address Allocation
9.1. Hardware Identification of Digital Input and Output Modules
Explains how the host detects digital modules and displays input/output byte counts in registers.
9.2. Address Allocation of Digital Input and Output Modules
Details the automatic sorting and address allocation for digital input/output expansion modules.
9.3. Hardware Identification of Analog Input and Output Modules
Describes setting analog module types and how the host displays analog input/output word counts.
9.4. Address Reading of Analog Input and Output Modules
References chapters for analog input and output reading procedures.

Table of Contents

Save PDF