Develop and Modify Programs
Now come in the original words. Today there will be develop and modify programs.
Develop and Edit Programs:
Now it’s time to reflect on the basis of your education. In this chapter we will open a software, write some simple programs, download the program in PLC and check the operation of the program.
At the end of today’s text, you can find out what:
√ Software use.
√ Writing small programs.
Transfer program from computer to PLC.
√ Online editing.
√ Monitor the program.
Modify the program’s value through the software.
Monitor the value of the data registers.
If I learn to base a particular software, then I think it will be useful to teach. In that case, it is good to discuss Mitsubishi FX series software “G X Developer”. Because the whole course is based on this. But other software is often cemeterar
Launch the GX-Developer software
This is a Windows Base Ladder programming / monitoring software. The computer is used for serial port, PC and PLC to communicate. GX Developer Software runs in Windows 95, 98, NT, 2000 and XP. But Win-7 also did, I did not try.
This software can start in two ways. Double-click on the desktop icon or select from the Start menu and select Open. The page will appear as follows:
Ledger diagrams are read / visible in the dark gray area, where workspace is written. There are many options available in the toolbar, but there are fewer uses. These toolbars can be opened and closed for larger purposes.
You can select toolbars if necessary
1. Select the toolbar under View.
2. Check Stenders and LD codes, uncheck the rest.
3. Find out the project data list under View.
4. Dislike project data list if not needed.
Create new project
1. New projects can be made in three ways.
• Select New under Project Menu
• You can press Ctrl-N.
• Click on the toolbar button for the new document.
2. Select the PLC series from the dropdown menu. You can select FXCPU for this lesson.
3. Select the PLC type from the dropdown menu. You can select FX3U (C) for this lesson.
4. If you like, you can now provide a title like path name and project name. Although this is not needed at this time, then the information will be required to save the project afterwards.
5. Now press OK.
Correct the Ledger:
We will now enter a basic ladder program. Follow the steps below to create this Simple Ladder Program.
1. Click the Normal Open Contact button on the toolbar.
2. Enter the X0 in the dialog box that appears, and press OK.
3. Double click on the placement box.
4. There is a dropdown menu in the left-hand dialog box. From there, select Normal Close (NC) box and press X1 in Texbox and press OK.
5. Press the F7 button on the keyboard. Type Y0 in the pop up box and press OK. It will open an output quote.
Note: There are three ways to select blank here. Toolbar, dropdown menu, and keyboard shortcut.
Now we will see how the program can be edited
6. Click a step of the ladder. Go to edit pool-down menu.
7. Select the Delight line. Ladders have not seen the steps.
8. In the Edit menu, select Undo. Ledger steps will be seen.
9. Right click on X0. Select Delet Row. See X0 is not there.
10. Right click on X1. Select Delet Row. See X1 is not there.
11. Right click on the Ledar step and select Undo. See X1 can be seen.
12. Right click on the Ledar step and select Undo.
Now notice that undo is not working. Here are only 1 level work for Undo.
Once again, by adding the steps of the ladder and the row, the new step is to put a new contact with space and write the X0.
Now notice that the stereotype of the ladder steps is visible. Which is working as a sketch of the program. That means it has to be converted. To convert, switch to the convert menu and select Convert, or by pressing the F4 button, or right-clicking on the workspace area. If converted, the gray area will look white. If there are any errors or incomplete logis, ERR will be shown and will not be converted due to the message of ERR. And do not allow unconverted code to save the software or download it on PLS.
Click the View Pool-Down menu and select the Instruction list. Instead of the Ledger Logic Diagram, you can see its abbreviation and address.
Look like this
0 LD X0
1 ANI X1
2 OUT Y0
This is the Ledger Logic Diagram, which is shown as the Instruction list. And this format can understand PLC well. You can see the Ledger diagram again by going to the View menu. Now instead of the instruction list it will show as the Ledger diagram. You can save the program by pressing the toolbar’s save button or Ctrl-S. Then press the name of a project in the dialog box with the Yes button. The bus became program created and saved.