LD Keyboard Shortcuts
Use keyboard shortcuts in Ladder Diagram (LD) program organization units (POUs) to perform many editing operations and navigate the elements making up a diagram. When navigating an LD diagram, the arrow keys enable moving up and down and left and right from rung to rung and from element to element. Enable navigating in a diagram by clicking in the language container.
Keyboard shortcuts available for LD POUs follow. Some shortcuts do not apply or may differ while debugging.
Keyboard Shortcut | Description |
---|---|
Ctrl+A | Selects all rungs (not available while debugging) |
Ctrl+C | Copies selected elements to the clipboard (not available while debugging) |
Ctrl+V | Pastes elements saved on the clipboard to the insertion point (not available while debugging) |
Ctrl+X | Cuts selected elements to the clipboard (not available while debugging) |
Ctrl+Y | Redoes the previous command (not available while debugging) |
Ctrl+Z | Undoes the previous command (not available while debugging) |
Shift+Ctrl+Alt+G | Enables/disables the grid in rungs (only available when the Display Grid property is set to True) |
Shift+Alt+Enter | Toggles between full-screen and windowed modes |
Ctrl+R | Toggles between Auto-Input and Manual-Input . Auto-Input automatically opens the Block Selector and Variable Selector (not available while debugging). |
Ctrl+B | Bolds selected comment text (not available while debugging) |
Ctrl+I | Italicizes selected comment text (not available while debugging) |
Ctrl+U | Underlines selected comment text (not available while debugging) |
Enter | Calls the Variable Selector or Block Selector depending on the selected element (not available while debugging) |
F9 | Toggles between setting or removing a breakpoint on a selected rung (available when Generate Debug Info is True). If more than one rung is selected, only sets a breakpoint on the first selected rung. |
Space Bar | For coils or contacts, toggles between the available types (not available while debugging) |
Ctrl+0 | Inserts a rung below a selected rung. When no rung is selected, a rung is added at the end of the rung list (not available while debugging). |
Ctrl+Alt+0 | Inserts a rung above a selected rung. When no rung is selected, a rung is added at the end of the rung list (not available while debugging). |
Ctrl+1 | Inserts a branch after a selected element (not available while debugging) |
Ctrl+Alt+1 | Inserts a branch before a selected element (not available while debugging) |
Ctrl+2 | Inserts a block after a selected element. When a branch is selected, a block is inserted on the branch (not available while debugging). |
Ctrl+Alt+2 | Inserts a block before a selected element. When a branch is selected, a block is inserted on the branch (not available while debugging). |
Ctrl+3 | Inserts a contact after a selected element. When a branch is selected, a contact is inserted on the branch (not available while debugging). |
Ctrl+Alt+3 | Inserts a contact before a selected element. When a branch is selected, a contact is inserted on the branch (not available while debugging). |
Ctrl+4 | When a rung or the last element on a rung is selected, inserts a coil at the end of the rung. When the last element selected on a rung is a branch, a coil is inserted on the branch (not available while debugging). |
Ctrl+5 | When a rung or the last element on a rung is selected, inserts a jump at the end of the rung. When the last element selected on a rung is a branch, a jump is inserted on the branch (not available while debugging). |
Ctrl+6 | When a rung or the last element on a rung is selected, inserts a return at the end of the rung. When the last element selected on a rung is a branch, a return is inserted on the branch (not available while debugging). |
Ctrl+7 | When an element is selected, surrounds the element with a branch (not available while debugging). |
Page Up | Jumps to the top of the language container |
Page Down | Jumps to the bottom of the language container |
Ctrl+Page Up | Jumps to the top of the language container |
Ctrl+Page Down | Jumps to the bottom of the language container |
Ctrl+Up Arrow | Slowly scrolls up. |
Ctrl+Down Arrow | Slowly scrolls down. |
Ctrl+Left Arrow | Slowly scrolls left. |
Ctrl+Right Arrow | Slowly scrolls right. |
Up Arrow | Moves up the elements. |
Down Arrow | Moves down the elements. |
Left Arrow | Moves to the left across the elements. |
Right Arrow | Moves to the right across the elements. |
Alt+Up Arrow | Selects the previous rung. When no element or rung is selected, selects the last rung. |
Alt+Down Arrow | Selects the next rung. When no element or rung is selected, selects the first rung. |
Alt+Left Arrow | Selects the rung of the selected element. When no element is selected, selects the first rung. |
Alt+Right Arrow | Selects the rung of the selected element. When no element is selected, selects the first rung. |
Shift+Up Arrow | Scrolls up |
Shift+Down Arrow | Scrolls down |
Shift+Left Arrow | Scrolls left |
Shift+Right Arrow | Scrolls right |
Delete | Removes a selected rung or element (not available while debugging) |
Ctrl+D | When in design mode, edits the comment of the selected rung. When in debug mode, for the date data type, enters the current date when the Write Logical Value dialog box is displayed. |
Ctrl+T | Only available in debug mode for the Boolean data type. Toggles the logical value of a selected contact, coil, or block input. |
Provide Feedback