Siemens SIMATIC PROFINET Function Manual page 110

With step 7 v14
Hide thumbs Also See for SIMATIC PROFINET:
Table of Contents

Advertisement

Functions
5.2 Intelligent IO devices (I-devices)
Configuring the transfer area
Configure a transfer area with the following properties in the I-device:
Figure 5-14
Programming I-device
To program the sample program for the I-device, follow these steps:
1. Using the SCL programming language, create a new function with the name
"preprocessing" in the project tree in "Program blocks" > "Add new block". Open the
function.
2. In the interface of the function "preprocessing", create the following tags:
3. In the instruction window of the function "preprocessing", write the following program
code:
#result:=#input 1&#input 2;
110
I-device transfer area, sample program
Name
input 1
input 2
result
Data type
bool
bool
bool
Function Manual, 09/2016, A5E03444486-AG
Input / output type
Input
Input
Output
PROFINET with STEP 7 V14

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents