What is the difference between the usage of m8004 in fx1n and the usage of m8004 in fx3ga?

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.

1 thought on “What is the difference between the usage of m8004 in fx1n and the usage of m8004 in fx3ga?

  1. Pingback: The values of M8004, M8037, M8061, M8066 in PLC program? | CUNANPLC

Leave a Reply

Your email address will not be published. Required fields are marked *