Technical data

Creating Blocks and Libraries
9.3 Creating Blocks
Programming with STEP 7
234 Manual, 05/2010, A5E02789666-01
9.3.6 Rewiring
The following blocks and addresses can be rewired:
Inputs, outputs
Memory bits, timers, counters
Functions, function blocks
To rewire:
1. Select the "Blocks" folder that contains the individual blocks you want to rewire in the SIMATIC
Manager.
2. Select the menu command Options > Rewire.
3. Enter the required replacements (old address/new address) in the table in the "Rewire" dialog
box.
4. Select the option "All addresses within the specified address area" if you want to rewire
address areas (BYTE, WORD, DWORD).
Example: You enter IW0 and IW4 as the address areas. The addresses I0.0 – I1.7 are then
rewired to the addresses I4.0 – I5.7. Addresses from the rewired area (for example, I0.1) can
then no longer be entered in the table individually.
5. Click the "OK" button.
This starts the rewire process. After rewiring is completed, you can specify in a dialog box whether
you want to see the info file on rewiring. This info file contains the address lists "Old address" and
"New address." The individual blocks are listed with the number of wiring processes that have been
carried out in each one.
When rewiring, the following should be noted:
When you rewire (that is, rename) a block, the new block cannot currently exist. If the block
exists, the process is interrupted.
When you rewire a function block (FB), the instance data block is automatically assigned to the
rewired FB. The instance DB does not change, that is, the DB number is retained.
9.3.7 Attributes for Blocks and Parameters
A description of the attributes can be found in the reference help on system attributes:
Jumps to Language Descriptions and Help on Blocks and System Attributes