한국어 | English
This page describes how to place contacts, coils and wires on the ladder canvas and enter their addresses, how to edit and move rungs, and how to use find and replace and the navigation features.
Select a cell, then press a function key or a symbol rail button to place a symbol in that cell.
In Figure 1, the first rung is P0 (NO) → rising edge (P) → P1 (NC) → NOT → P32 coil, the second rung is P2 → falling edge (N) → SET M0, and the third rung is P3 → RESET M0.
| Shortcut | Symbol | Action | Cursor after placing |
|---|---|---|---|
F2 | NO contact | Passes power when the address is ON. | Stays |
F3 | NC contact | Passes power when the address is OFF. | Stays |
F5 | Horizontal line | Carries power from the left to the cell on the right. | 1 cell right |
F6 | Vertical line | Turns on or off a vertical line from the right edge of the cell to the row below. | 1 cell down |
F7 | SET coil | Turns the address ON and keeps it ON when the condition turns ON. | Right end of the row |
F8 | RESET coil | Turns the address back OFF when the condition turns ON. | Right end of the row |
F9 | Output coil | Writes the ON/OFF state of the condition to the address on every scan. | Right end of the row |
F10 | NOT | Inverts the power state before it. | 1 cell right |
F11 | Rising edge | Passes power for only the one scan in which the preceding condition goes from OFF to ON. | Stays |
F12 | Falling edge | Passes power for only the one scan in which the preceding condition goes from ON to OFF. | Stays |
Coils (F7, F8 and F9) are always placed at the right end of the row, and the empty cells between the preceding symbol and the coil are filled with horizontal lines automatically. You cannot place a symbol on top of a function block.
Enter or double-click it.P0, M10 or T0.Shift+Enter to edit the address of the selected cell directly in the symbol table.The address system is described in Phase 5 · Memory and Symbols.
Contacts placed one after another in the same row form a series (AND) condition. Joining a contact in the row below to the row above with a vertical line forms a parallel (OR) condition.
P0 NO contact and a P32 output coil.P1 NO contact.P0) and press F6 to draw a vertical line down to the row below.The vertical line is drawn at the right edge of the cell. You cannot draw a vertical line in the last column of a row or after a coil.
To keep the output ON even after the start input was ON only briefly, put a contact of the output itself in parallel.
P0 (NO): start inputP32 (NO): the self-holding contact of the output (in parallel with P0 through the vertical line)P1 (NC): stop input. When it turns ON, power is cut.P32 (output coil): outputA SET coil turns its address ON and keeps it ON once the condition has been ON, and a RESET coil turns that address back OFF. Use SET and RESET for the same address as a pair.
A rising edge (F11) passes power for one scan at the moment the preceding condition goes from OFF to ON, and a falling edge (F12) at the moment it goes from ON to OFF. Use them for actions that must run only once, such as a circuit that increases a value by one each time a button is pressed. Put the edge directly after the contact whose change you want to catch (for example P2).
The name of an edge cell is the bit that remembers the previous state. If you leave the name empty, an automatic name (#Edge…) is used. If you use an address that the device overwrites on every scan, such as an input (P) address, as the name, the cell turns red, so unless you have a specific reason, leave the name empty.
Select a horizontal line cell and press Enter to open the Write Text in Wire Cell window. Text starting with // becomes a note, and text in the form [name] becomes a bookmark. Press Ctrl+B to open the Insert Bookmark window, where you can insert a bookmark by entering just its name (leave the name empty to delete it).
Bookmarks are listed in the Mark list at the bottom of the Functions panel; click a line in the list to go to that row. You can show or hide the list with View → Bookmark List.
| Shortcut | Menu | Action |
|---|---|---|
Ctrl+L | Edit → Insert Line | Inserts an empty row at the cursor row and pushes the rows below down. If several rows are selected, inserts that many rows. |
Ctrl+D | Edit → Delete Line | Deletes the cursor row. If several rows are selected, deletes those rows. |
Ctrl+Insert | Edit → Insert Cell | Inserts an empty cell at the cursor and pushes the cells to the right. |
Ctrl+Delete | Edit → Delete Cell | Deletes the cursor cell and pulls the cells on the right to the left. |
Delete | Edit → Delete | Clears the contents of the selected cells. |
If you insert an empty row in the middle of a rung (between parallel branches), the rung is broken and cells may turn red. In that case, undo with Ctrl+Z.
Shift+arrow keys: select a rectangular areaShift+click: select the rectangle from the cursor to the clicked cellCtrl+click: add or remove individual cellsCtrl+A (Edit → Select All): select the whole programCtrl+arrow keys: move the selected cells in that direction| Shortcut | Menu | Action |
|---|---|---|
Ctrl+C / Ctrl+X | Edit → Copy / Cut | Copies or cuts the selected cells. |
Ctrl+V | Edit → Paste | Pastes starting at the cursor, overwriting the cells there. |
Ctrl+Shift+V | Edit → Paste as New Rows | Inserts the copied rows at the cursor row. The rows below move down. |
Ctrl+Z / Ctrl+Y | Edit → Undo / Redo | Undoes or redoes an edit. |
When a paste overwrites existing cells, a notice shows how many cells were overwritten. If that was not intended, undo with Ctrl+Z.
Press Alt+↑ or Alt+↓ (Edit → Move Rung Up / Move Rung Down) to swap the rung under the cursor with the rung above or below it. Empty rows between rungs stay where they are, and one Ctrl+Z undoes the move.
A bookmark row is swapped like a rung.
Right-click a cell or press Shift+F10 to open the cell menu.
The menu contains Download and Monitoring, Insert Function and Insert Bookmark, Undo and Redo, Cut, Copy, Paste and Delete, inserting and deleting lines and cells, and Text Search. On a cell with an address, Add to Watch (address) is shown at the bottom.
Press Ctrl+F or click the find box in the command bar to open the Text Search window.
P0 or M10.| Option | Action |
|---|---|
| Match case | Distinguishes uppercase and lowercase letters. |
| Also search symbols & comments | Searches symbol names and comments as well as addresses. |
| Match whole word | Finds only cells whose whole address matches what you typed. |
| Function block name | Searches by function block name (for example TON). |
| In selection only | When two or more cells are selected in the ladder, finds and replaces only within those rows. |
If Replace All for M1 would also change other addresses that only partly match, such as M10, a confirmation is shown. Replace Whole Addresses Only replaces only cells whose whole address matches, and Replace All Anyway also replaces the partly matching addresses. Cancel replaces nothing. Function blocks can be found by the beginning of their name, but cannot be replaced.
| Shortcut | Menu | Action |
|---|---|---|
Ctrl+G | Search → Go to Row | Goes to a row number. You can also enter a bookmark name, symbol name or address to go there. |
F4 / Shift+F4 | Search → Next Use of Address / Previous Use of Address | Goes to the next or previous cell that uses the same address as the cursor cell. |
Alt+← / Alt+→ | Search → Back / Forward | Returns to where you were before a long jump (find, go to row, bookmark and so on), or goes forward again. |
Home / End | — | Goes to the first or last rung of the program. |
PageUp / PageDown | — | Moves one screen at a time. |
Moves made with the arrow keys or by clicking are not recorded in the Back and Forward history. Opening another project clears the history.