24.10.2013 Views

Configuring Hardware and Communication Connections STEP 7.pdf

Configuring Hardware and Communication Connections STEP 7.pdf

Configuring Hardware and Communication Connections STEP 7.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Basics of <strong>Configuring</strong> <strong>Hardware</strong> with <strong>STEP</strong> 7<br />

1.2.4 Setting the Properties of Components<br />

Once you have arranged your components in the station window, you always arrive<br />

in the following manner in a dialog box for changing the default properties<br />

(parameters or addresses):<br />

• Double-click the component or select the menu comm<strong>and</strong> Edit > Object<br />

Properties.<br />

• Right mouse button: Move the cursor on the component, press the right mouse<br />

button <strong>and</strong> select the comm<strong>and</strong> Object Properties from the pop-up menu.<br />

Properties of CPUs<br />

The properties of the CPUs have a special significance for the behavior of the<br />

system. In the dialog boxes for a CPU, you can set the following, for example:<br />

startup characteristics, local data areas <strong>and</strong> priorities for interrupts, memory areas,<br />

retentive behavior, clock memory, protection level, <strong>and</strong> password - to name only a<br />

few. <strong>STEP</strong> 7 "knows" what can be set <strong>and</strong> within what range limits.<br />

In the "General" tab of the CPU or via the properties of the CPU interface you can<br />

assign parameters to the interfaces (for example, MPI or integrated PROFIBUS-DP<br />

interfaces). Via these dialog boxes you can also access the properties dialog box<br />

for the corresponding subnet to which the CPU is to be connected.<br />

Other Ways of Assigning Parameters<br />

For S7-300 <strong>and</strong> S7-400 programmable controllers you can set the parameters for<br />

some modules in the user program (for example, for analog modules). You need to<br />

call the system functions (SFCs) WR_PARM, WR_DPARM, <strong>and</strong> PARM_MOD in<br />

the user program to do this. These settings are lost following a warm restart.<br />

You will find more detailed information about system functions in the System<br />

Software for S7-300 <strong>and</strong> S7-400, System <strong>and</strong> St<strong>and</strong>ard Functions Reference<br />

Manual<br />

For M7-300 <strong>and</strong> M7-400 programmable control systems you can set the<br />

parameters for signal modules in the C program. You need to call the M7 API<br />

function "M7StoreRecord" in the C program to do this. This function transfers the<br />

parameters to a signal module.<br />

You will find more information about the M7 API functions in the manuals on the<br />

system software for M7-300 <strong>and</strong> M7-400.<br />

<strong>Configuring</strong> <strong>Hardware</strong> <strong>and</strong> <strong>Communication</strong> <strong>Connections</strong> with <strong>STEP</strong> 7<br />

1-6 A5E00706939-01

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!