News

Mitsubishi PLC how to write hold circuit

Published:2023-02-02 14:44:56

Mitsubishi PLC has a very common circuit - a stick circuit. Persisting circuit means that when the external input switch is a button, it can adhere to the output by pressing the button through the persisting circuit, which is similar to the self-locking in the electrical diagram. We take Mitsubishi PLC as an example to write the persistence circuit.


First, we use X0 as the external input signal, and X0 is externally connected to the button. Click the mouse on the right side of the left bus bar of PLC software and enter "ld x0".


Two, adhere to the circuit needs to have a button to control its disconnection, we choose to use X1 to connect the external button to control its disconnection, in the PLC software with X1 normally closed contact X0, input "ldi x1".


3. Take Y0 as the output of PLC and input "OUT Y0" after the normally closed contact of X1.


Four, in the first step of the program, as long as the button is pressed, Y0 can be output, and the output will be disconnected when the button is released. The output of Y0 can be maintained only if the normally open contacts of Y0 are connected at both ends of the button. Enter "OR Y0"


5. If you do not use self-locking to control Y0, you can use setting and reset instructions to adhere to the output state, such as step 4 and 6. After writing the program press F4 to transform, and then press the test button to write the program to imitate PLC.


Six, click the test dialog box "menu start" - relay memory supervision.


7. In the monitoring dialog box, bring up the X and Y monitoring pages and click the Soft Component-Bit Soft component window. At this time, you can click X0 and X2, double click X0 twice is equivalent to the button function, then it is found that Y0 has persisted in output, press X1 again to release. Pressing X2 will make Y1 stick to output, and pressing X3 will reset Y1.

022500nvr5mi1biktr411r.jpg