EasyManua.ls Logo

Siemens SIMATIC NET S7-300 - Page 186

Siemens SIMATIC NET S7-300
317 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-186
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Setting Block Parameters Automatically
1)
To ensure correct parameter settings for the block calls, The LAD/STL/FBD editor
in STEP 7 provides you with the option of accepting all the relevant parameters
from the hardware configuration (HW Config) and from the connection
configuration (NetPro).
When assigning the parameters for the block in the user program, follow the steps
outlined below:
1. Select the block call and its block parameters;
2. Right-click and select the menu command “Connections...”.
3. Depending on the block type, you can now select the connection and/or module
intended for the block from a list.
4. Confirm your selection; as far as possible, the available parameter values are
entered in the block call.
Response to Incorrect Addresses
Notice
If you inadvertently address not a CP but another module type, errors occur that
cannot be indicated by the error messages of the FCs themselves.
7.2.2 Parameters for Specifying a CPU Data Area (input parameters)
Specifying the Data Area on the CPU
When you call an FC, you transfer the address and length of the data area on the
CPU in which the user data is available or will be stored or which can contain
further parameter information.
The ANY pointer data type is used to address this area. For more detailed
information on this data type, refer to the STEP 7 online help under the topic
“Format of the Parameter Type ANY”. You will also find a detailed description of
the ANY pointer in /17/.
1). This function is possible only with the block library ..V5.0 SP3 or later.

Table of Contents

Other manuals for Siemens SIMATIC NET S7-300

Related product manuals