To write Mitsubishi PLC comparison instructions ladder diagram on a computer, you need to use Mitsubishi PLC programming software such as GX Works3 or GX Developer. Below is an example using GX Works3 to illustrate how to write Mitsubishi PLC comparison instructions ladder diagram on a computer:

Open the GX Works3 software and create a new project. Right-click on the "Programs" folder in the project navigator, select "New," and enter a program name.

Open the newly created program in the program editor and select the module where you want to write the comparison instructions. For example, choose the normal module Q03UDVCPU for Q series PLC.

In the program editor, click on the "Ladder Diagram" tab and start writing the ladder diagram for the comparison instructions. For instance, to compare the values of D100 and D200, you can use the CMP instruction, and the ladder diagram would look like this:

LD D100
CMP D200

In the ladder diagram, the LD instruction reads the value of D100 into an internal register, and the CMP instruction compares the values of D100 and D200, setting the comparison result to the flag bit of the comparison instruction.

After finishing writing the ladder diagram, click on the "Compile" button to compile the program. Once compiled successfully, you can download the program to the PLC to implement control over the comparison instructions.
In summary, to write Mitsubishi PLC comparison instructions ladder diagram on a computer, you need to use Mitsubishi PLC programming software and follow the specific ladder diagram syntax rules.