Mitsubishi PLC ladder program Input

1. the establishment of project


(1) open an existing project file.


Common methods are as follows:


² using the menu command file open in the open file dialog box, select the path and name of the project, click OK to open an existing project.
² in file menu listed at the bottom of the recent work of the project name, select a name, and select open.
² using the Windows Explorer, select the extension. MWP of files to open.


(2) creating a new project


Click new shortcut button.
² the menu command file new.
² click the block icon in the Browse section, create a new project.


2. Enter the program


Programming can be performed after you open the project, this book focuses on ladderrelated operations.


(1) enter the command


Ladder diagram elements there are contacts, coils and instruction, each network must begin at the point of the ladder diagram, instructions that take a coil or not ENO output end of the box. Coils series are not allowed.


Ladder diagram instructions to enter first into the ladder diagram editor:


² view click step (l) option.


Then enter in the ladder diagram editor command. Input command trees, toolbar buttons, keyboard shortcuts, and so on.


² in the command tree, select the command you want, drag-and-drop to the required location.
Place the cursor in the desired location, double-click need instruction in the command tree.
Place the cursor to the desired location, and click the toolbar command buttons, open a general instruction window, select the command you want.
² using function keys: F4= contact F6= coil F9= instruction box, opens a general instruction window, select the command you want.


After the graphic appears when programming element at the specified location, and then click the programming element symbols??? , Enter the operation number. Red displays syntax error, when symbols change as not valid addresses or legal value, the Red disappears. Values below appear with a red wavy line indicates an input operand is either out of range or does not match the type of instruction.


(2) the upper and lower lines of operation


² contacts put your cursor where you want to merge, and click on the uplink or downlink button.


(3) enter the program notes


LAD editor there are four levels of annotation: project components (POU) notes, network title, network notes, project component properties.


Components of the project (POU) Note: the Web 1 click in the gray box above, enter POU comments.
 
Click switch POU comments switch POU comments button or the menu command view POU comments option in POU comments open (Visual) or closed (hidden) to switch between.


Each POU note the maximum number of characters allowed is 4,096. When visible, always in top of POU, and before the first network show.


NET title: place the cursor in the network header, enter a title for a recognition of the logical network. Maximum number of characters allowed in the network header is 127.


Networking Notes: to move the cursor in the gray box to a network label below, you can enter the network notes. Network comments on the content of simple instructions, programto understand and read. Web comments to allow the maximum number of characters is 4,096.


Click switch network comments switch networks note button or menu command view network notes, to note a network open (Visual) and closed (hidden) to switch between.


Project component properties: use the following method to access Properties tab.


Click with the right mouse button command tree POU in Properties.
² using the right mouse button to click the program any POU label in the Editor window, and from the pop-up menu, select Properties.
 
The Properties dialog box has two tabs: General and protection. Select General available for subroutines, interrupts the program and the main program block (OB1) Renumber and rename and specify an author for the project. Select the protect you can choose a password protect POU so that other users cannot see the POU and encryption on download. If password protected POU, select password protect the POU check box. Enter a fourcharacter password and verify the password.
 
(4) edit


1 cut, copy, paste, or delete multiple network


By using the SHIFT key + mouse click, you can select multiple adjacent network, making the cut, copy, paste, delete, and so on. Note: you cannot select part of the network, you can select entire network.


2 editing a cell, instructions, addresses and networks


The unit selected by the cursor needs to be edited, right-click, pop-up shortcut menus, you can insert or delete rows, columns, vertical or horizontal line operations. When you remove a vertical line vertical line on left side of unit box in, delete selected Yes,


Or press the DEL” key. Insert editing, first move the box to insert location, choose column.


(5) compilation


After the program has been compiled, it can be downloaded to the PLC. Compile method is as follows:


Click compile button to compile or select the menu command PLC” build (Compile), compiled in a window that is currently activated the block or block of data.
Click compile all compile all button or select the menu command PLC” all compiled (Compile All), compile all project elements (block, block and block system). All compiled, regardless of which window is the active window.


When build has finished, the output window displays the results from the compilation.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.