Tag Archives: plc program

What is the foundation for learning plc programming?

The conditions for self-learning PLCs should be as follows:
1, you have to learn programming software PLC (such as Siemens, Delta, Omron, etc.), each brand of PLC its programming software is slightly different, so what software to prepare what PLC.
2, it is best to reserve an HMI (Human Machine Interface), because PLC often needs to do some configuration control, it is really not good to achieve this, of course, now a lot of two in one, you can prepare a two-in-one device it is good.
3, a set of PLC programming software and HMI programming software
4. Relevant circuit design knowledge.

Why does the Mitsubishi plc pulse output stop at startup?

you can Add a timer to stop.

Why does the other output flash when the Mitsubishi plc presses the total stop button?

Although the total stop is pressed, the user program in the plc is still running, and when the condition is satisfied, the corresponding result is output according to the user control program and the external input condition.
Should not be a problem with plc itself, most of which is caused by an abnormal external input signal.

How to implement a Mitsubishi plc programming press a button, it takes effect after five seconds

X0 is released after pressing, and the M1 contact is output after 5 seconds.


X0 keeps pressing for 5 seconds and the M1 contact is output.

Siemens plc programming how to achieve a normally open button to press the first time, press again to close, the third press to start, the fourth press and close

I0.1 is the button, Q0.0 is the output, M0.1 is the auxiliary relay; the function of the whole program is alternately on and off.

How to write a PLC programming button to control a motor, when the button is pressed, the motor starts, then press the button, the motor stops.

Start and stop the motor with a single button. It can be programmed by the working principle of PLC’s sequential scanning. The working process of PLC is simply

First, the input sampling phase. PLC sequentially scans the state of the input terminals and stores the state of each input point in the input image register.

Second, execute the user program. For the ladder diagram, it is scanned first, then, and from turned left to right. The state of each touch of contact needs to be logically operated with the result of the previous logical operation, and the result is stored in the component image register or the output image register.

Third, the output is refreshed. The state of each point in the output image register is sent to the output latch, and the output latches drives the load of each output relay through the output terminal.

There are numerous methods, and the counter can of course be realized, but I don’t think it is necessary to kill the chicken with a knife! Here I only give three examples of the S7-200 PLC. See below:

Mitsubishi plc, how to write programs with alternate and STL instructions, press the button to stop, press the button to start, start to go backwards in the stop position

In the stepping program, the simpler way is to use the pause switch as the normally closed one as the next trigger condition in the stepping program, and the other trigger conditions are connected in series, but only if it is done at each step. Pause, not stop where you want to stop

How does Mitsubishi PLC make a button press for the first time in unit time?

Normally open input string m0 normally closed, press button m0 to set, the timer starts timing, and m0 is cleared after time