Download Syswin V3.4 Operation Manual - Products
Transcript
2 WORKING WITH PLC PROJECTS Exact Match In a complex program, you often want to be very specific about both the name and type of item that you are searching for. The Exact Match option forces a search only for the items you have entered in the Find fields. This is particularly relevant when you wish to replace items, as it is possible without exact matching to change something unintentionally. To help with specifying items to match, the table below gives examples and notes for each type of item. Item type Bit Channel Indirect Const16 Const32 Indexed Items searched Bits Channels & Bits† Channels Channels Channels Channels & Bits Examples 0.00 0 Data Register Index Register Label Channels Channels Labels†† Notes: † When Exact Matching is NOT used, the channel part of a bit address would be replaced with the new channel address: for example, changing AR2 to AR4 would also change AR2.05 to AR4.05. AR5.05 AR5 *DM0 *EM9 #0000 #9999 #00000000 #99999999 IR0, IR1+(+) -(-), IR2 +/1234, IR0 DR1, IR1 DR0 DR2 IR0 IR2 0 99 Replacing Data The dialog for the Edit|Replace command is similar to that for Edit|Find, but there are some additional options. Replace Options Use the Find Next button to locate the next matching item from your specification. The appropriate element is highlighted in the ladder workspace. The Replace button changes just that element, and you must then use the Find Next button again to move on. If you are satisfied that the correct element has been located, and you then want to make a global change, pressing Replace All changes all occurrences of that address, from that point to the end of the Scope. Prompt Replace When you select the Replace All option, you can choose to be prompted each time the specified symbol is found. This is a safer way of doing global replacements, especially with complex searches. Prompt Replace is forced on automatically if you request Replace All while working connected to the PLC in Online Edit. NOTE! Bit addresses in the Find/Replace dialog must be entered in the SYSWIN format, using a dot to separate the channel and bit address. For example: use ‘253.13’ instead of ‘25313’. †† A label is the number of a subroutine, as used in JMP, JME, SBS, and SBM instructions. 1. Searching for a channel will match channels, bits and indirect channels: Exact Match will match only channels, for example, AR2 will only match AR2, and not AR2.05. 2. Searching Const16 will match Const16 and Const32, if Const32 values are only 4 digits long, for example, #5555 will match #5555 and #00005555. Move Symbols When you select the Move Symbols option, the address symbol information is moved when the address is first found and then replaced. For example, if HR05 has an address symbol ‘Relay1’ and you replace HR05 with HR07 with the Move Symbols option selected, then the ‘Relay1’ address symbol is assigned to HR07. Examples of matching possibilities 2-22 User Manual OMRON SYSWIN