How to use M8004 in Mitsubishi plc,
The PLC may report an error when an error occurs in the plc’s instruction. We first enter a correct command: input LD X0.
Connect an output component Y0 to X0. This instruction is correct. In order to learn about the M8004 alarm, we can add another wrong command.
Enter the command returned by a subroutine in the command: SRET, and then press the OK key.
In order to view the status of the M8004, we use the M8004 as a contact in the program to control the output of Y4.
After the program is written, press the Convert button to compile the program, then press the Simulate Test button to simulate the program.
When the program is transferred, you can see that the test window has indicated an error, and the auxiliary relay M8004 has also been activated.