How to use counting instructions in Mitsubishi PLC Mitsubishi PLC programming software GX Developer tutorial

WBOY
Release: 2024-06-02 21:43:13
Original
581 people have browsed it

How does Mitsubishi PLC use counting instructions? Using counting instructions is a common problem in Mitsubishi PLC programming. In this article, PHP editor Youzi will introduce you to the counting instructions of Mitsubishi PLC, including its type, function and usage. This article will use specific examples to help you understand the application of counting instructions in Mitsubishi PLC programming, from beginners to advanced applications, step by step, and explain the profound things in a simple way. Come read this article, master the skills of using Mitsubishi PLC counting instructions, and improve your PLC programming level!

First, assume that x1 is the detection signal. Use X1 to count C0 in the software. You can directly enter [LD X1] at the left bus. The letters entered are not case-sensitive.

三菱PLC怎么用计数指令 三菱PLC编程软件GX Developer使用教程

We use C0 as the internal counter. We assume that C0 will act after X1 is detected three times. At this time, [OUT C0 K3] needs to be input. At this time, C0 is similar to a counter coil.

We use the contact of C0 to control Y0. Y0 represents the output and can be used as a warning light. In addition, the production line cleans statistical data every day, so it is necessary to reset and clear the counter in the program.

三菱PLC怎么用计数指令 三菱PLC编程软件GX Developer使用教程

After writing the program, advanced testing is required to ensure its accuracy. Click the test button on the toolbar to write the program into the simulated PLC.

Then click [Menu Start] in the test dialog box and select the first item [Relay Memory Monitoring].

Then select [Bit Device Window] in the device menu bar of the monitoring window and select X and Y. Only then can the input and output devices be simulated and monitored.

三菱PLC怎么用计数指令 三菱PLC编程软件GX Developer使用教程

You can simulate the program at this time: press X1 twice, indicating that X1 has a non-self-locking input signal, and press it once to lock itself. In this way the correctness of the program can be monitored.

三菱PLC怎么用计数指令 三菱PLC编程软件GX Developer使用教程

Note: The simulation screens are all equipped with a self-locking function, and you need to press twice to disconnect the input.

The above is the detailed content of How to use counting instructions in Mitsubishi PLC Mitsubishi PLC programming software GX Developer tutorial. For more information, please follow other related articles on the PHP Chinese website!

source:zol.com.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!