The text of a manual · part 9 of 12
Visual KV Series User's Manual 2: Support Software, pages 71 to 80
Pages 71 to 80 of 105
The original document is the PDF (910 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Keyence KV-16R
Page 71
Chapter 2 Editor ■ When selecting the devices to be displayed in the list The devices to be displayed in the list can be selected by checking the following item. Show Registered Device Only: Displays the devices in which labels/comments are registered. Show Using Device Only: Displays the devices used in the ladder diagram. When neither item is checked, all the devices are displayed.
2
■ When copying a label/comment from another device 1. Place the cursor in the copy source device, and click the [Copy] button. 2. Place the cursor in the copy destination device, and click the [Write] button. When the [Exchange] button is clicked instead of the [Write] button, the contents of the input area are exchanged with the comments of the selected device. ■ When deleting registered labels/comments To delete only the selected device, place the cursor in the device to be deleted, and press the Delete key or click the [Delete Selected Line] button. To delete all of the devices, click the [Delete All] button. ■ When copying a comment block from other devices 1. Select the comment range of the device to be copied as a block in the device list display area. ➮ Selecting the range (p. 2-52)
2. Click the [Block Edit] button. The "Block Edit" dialog box is displayed.
Radio buttons
3. Select the comment type to be copied by selecting the corresponding radio button. 4. Click the [Copy] button. 5. Specify the start device in the copy destination device range in the device list display area. 6. Click the [Block Edit] button. The "Block Edit" dialog box is displayed. 7. Click the [Paste] button. The contact comments in the device range covering the number of devices specified in step 1, starting from the device number selected in step 5 are copied.
2-48
Page 72
Chapter 2 Editor ■ When moving a comment block from other devices Perform steps 1 to 7 described above. However, click the [Cut] button instead of the [Copy] button in step 4. Using this procedure, the comment block of the selected devices can be moved. ■ When deleting a comment block from other devices Perform steps 1 to 4. However, click the [Cut] button in step 4. Using this procedure, the comment block of the selected devices can be deleted.
Making changes directly in the ladder diagram
12
Comment ➔ Change Label Name of Current Device (Ctrl + B) ➔ Change Comment of Current Device (Ctrl + M)
Perform the following procedure when entering a label name or comment in the ladder diagram. 1. Place the cursor in the device to be entered. 2. When entering a label name, select "Change Label Name of Current Device Ctrl + B" from the "Comment" menu. When entering a comment, select "Change Comment Name of Current Device Ctrl + M" from the "Comment" menu. The "Change Label" or "Change Comment X" dialog box is displayed. The dialog box name in which comments can be changed varies depending on the comment type selected in "Comment Type" in "Display Mode". When a label name or comment has already been registered in the device, the registered character string is displayed. 3. Enter the desired character string. The comment selected in "Comment Type" in "Display Mode" can be entered. ➮ Display mode (p. 2-19)
* Example: When "Comment 2" is displayed in "Comment Type"
4. The displayed character string is entered when the [OK] button is clicked. To cancel the input, click the [Cancel] button.
2-49
Page 73
Chapter 2 Editor
2.5.2
Editing line comments
Comment ➔ Edit Line Comment (Ctrl + Enter)
A line comment can be described in each line of the ladder diagram. Line comments are entered so that the contents of each circuit block can be easily deduced when editing the ladder diagram. Line comments are displayed in the ladder diagram monitor, the simulator and the monitor. To enter a line comment or change a comment, perform the following procedure. 1. Place the cursor in the line for which a line comment is to be entered/changed. When changing a comment that has already been entered, double-click the comment. The "Enter Line Comment" dialog box is then displayed.
2
2. Select "Edit Line Comment" from the "Comment" menu, or click the The "Enter Line Comment" dialog box is displayed.
button.
3. Enter or change the comment. Up to 70 characters can be entered.
4. When the [Insert] button is clicked, a new line is inserted. When the [Overwrite] button is clicked, a new line is written over the current line. To cancel, click the [Cancel] button. The entered comment is displayed in the ladder diagram.
Line comment
Note 1: When the [Overwrite] button is clicked, the portion of the ladder diagram located in the cursor line is deleted. Make sure it is okay to delete the corresponding portion of the ladder diagram before clicking the [Overwrite] button. Note 2: Line comments cannot be transferred to the PLC. Accordingly, line comments are not included in a program read from the PLC.
2-50
Page 74
Chapter 2 Editor
2.5.3
Changing ladder lines into comments
Comment ➔ Change Ladder Line into Comment ➔ Settings (Ctrl + Q) ★ Right-click ➔ Change Ladder Line into Comment ➔ Cancel (Ctrl + W) ★ Right-click
When you specify a ladder line to be treated as a comment, only this specified portion is ignored during conversion. Set this function temporarily when you do not want a certain portion to be converted. To set ladder lines to be changed into comments or to reverse this setting, perform the following procedure. 1. Select the range of the ladder lines to be changed into comments or for which the setting is to be reversed. ➮ Selecting the range (p.2-52)
2. To set the line range to be changed into comments, select "Comment", "Change Ladder Line into Comment and Settings Ctrl + Q" from the menu or right-click menu. To cancel the setting, select "Cancel Ctrl + W" from the submenu. 3. The selected line range is changed into comments. When the setting is canceled, the specified range can be converted.
Note 1: The ladder lines set to be changed into comments cannot be transferred to the PLC. Accordingly, the ladder lines set to be changed into comments are not included in a program read from the PLC. Note 2: The ladder lines set to be changed into comments cannot be read by the KV IncrediWare (DOS). Accordingly, when a program is read by the KV IncrediWare (DOS) and saved with the same name, the ladder lines set to be changed into comments are deleted.
2-51
12
Page 75
Chapter 2 Editor
2.6
Edit and Arrangement This section describes ladder diagram edit procedures, such as copy/movement/ deletion of the range selected in the ladder diagram, insertion/deletion of lines, how to change the number of columns, arrangement of circuits, etc.
2.6.1
Copy, move, and delete Copy, move or delete the range selected in a ladder diagram. To copy, move or delete the selected range, use the "cut & paste" method which is a standard Windows editing procedure.
2
Selecting the range To copy, move or delete data, first select the range. The range can be selected using the mouse or keyboard. Note: Copy, move and delete functions cannot be performed while in connection line edit mode. If connection line edit mode is selected, select "Edit Connection Line" from the "Edit" menu, and select the normal edit mode (in which the check mark is not added). ■ Selecting the range using the mouse 1. Place the mouse pointer in the selection start position, and click. The cursor is displayed.
2-52
Page 76
Chapter 2 Editor 2. While pressing and holding the left button, move the pointer to the selection end position (drag). The selected range is displayed in yellow. •
Selecting the range in units of cells While dragging the mouse pointer, move it in the horizontal direction up to the target cell until the desired range is selected.
12
•
Selecting the range in units of lines While dragging the mouse pointer, move it in the vertical direction up to the target line until the desired range is selected.
Note: A portion of a cell covering two or more lines cannot be selected. 3. Release the left button in the selection end position. To cancel the selection, click anywhere in the ladder diagram. ■ Selecting the range using the keyboard 1. Place the cursor in the selection start position using the LEFT, RIGHT, UP and DOWN keys. 2. While pressing and holding the Shift key, press the LEFT, RIGHT, UP or DOWN key, and move the cursor to the selection end position. The selected range is displayed in yellow. Note: A portion of a cell covering two or more lines cannot be selected. 3. Release the [Shift] key in the selection end position. To cancel the selection, press the LEFT, RIGHT, UP or DOWN key again. Note: When the range is selected in units of cells from the right to the left, the cell at the left end cannot be selected. When the range is selected in units of lines in an upward direction, the line at the top end cannot be selected.
2-53
Page 77
Chapter 2 Editor
Copy/move/delete operation Edit ➔ Cut (Ctrl + X) ★ Right-click ➔ Copy (Ctrl + C) ★ Right-click ➔ Paste (Ctrl + V) ★ Right-click
1. After selecting the desired range, perform the following procedure. ■ When copying data Perform any of the following operations.
2
•
Select "Copy" from the "Edit" menu on the tool bar, or select "Copy" from the right-click menu.
•
Click the
•
While pressing and holding the Ctrl key, press the C key.
button.
When copying data from another file When two or more windows are open, the desired range can be selected on another file window, and then copied or moved to the current window. 1. Click the copy source window to set it as the current window. 2. Select the desired range, and copy it. 3. Click the copy destination window to set it as the current window. 4. Perform the paste operation. ➮ Step 3 on page 2-56.
2-54
Page 78
Chapter 2 Editor ■ When moving/deleting data Perform any of the following operations. •
Select "Cut" from the "Edit" menu on the tool bar, or select "Cut" from the shortcut menu displayed by right-clicking.
•
Click the
•
While pressing and holding the Ctrl key, press the X key.
button.
12
2. Perform the following procedure when copying or moving data. ■ When pasting data to a ladder diagram Place the mouse pointer in the copy destination or the move destination, then click it. You can also move the cursor to the copy destination or the move destination using the LEFT, RIGHT, UP and DOWN keys.
2-55
Page 79
Chapter 2 Editor 3. Perform any of the following operations. • Select "Paste" from the "Edit" menu on the tool bar, or select "Paste" from the shortcut menu displayed by right-clicking.
2
•
Click the button.
•
While pressing and holding the Ctrl key, press the V key.
•
While pressing and holding the Shift key, press Insert key. The selected range is pasted.
Note 1: The cut portion is temporarily copied to the cut buffer. Accordingly, even if the portion is cut to be deleted, the cut portion can be pasted again by performing step 3 above. Note 2: When the number of cells copied is larger than the paste destination space, the message "Can’t write at current position." is displayed, and the cells equivalent to only the paste destination space are pasted. The remaining cells are not pasted.
2-56
Page 80
Chapter 2 Editor
2.6.2
Inserting and deleting lines To insert lines into a ladder diagram or delete existing lines, perform the following procedure.
Inserting blank lines Edit ➔ Insert Empty Line (Shift + Enter) ★ Right-click
1. Place the cursor in the position at which blank lines are to be inserted. To insert two or more blank lines at once, first select the insertion range. Then, the selected blank lines can be inserted all at once.
2. Select "Insert Empty Line" from the "Edit" menu or right-click menu, or press the ENTER key while pressing and holding the Shift key. Blank lines are inserted above the cursor.
Deleting lines Edit ➔ Delete Line (Shift + Delete)
1. Place the cursor in the line to be deleted. To delete two or more lines at once, first select the deletion range.
2. Select "Delete Line" from the "Edit" menu, or press the DEL key while pressing and holding the Shift key. The specified lines are deleted.
2-57
12