Siemens SIMATIC RF1070R Manuel - Page 7
Parcourez en ligne ou téléchargez le pdf Manuel pour {nom_de_la_catégorie} Siemens SIMATIC RF1070R. Siemens SIMATIC RF1070R 34 pages.
2 Engineering of the STEP 7 Program
Engineering of the STEP 7 Program
2
2.1
Overview
Introduction
The STEP 7 V16 project contains
•
the user program for the S7 CPU with the "ReadUID" function block
•
the configuration and project engineering of the CM1241 RS232 "Port_Config"
communication module
Note
In this application example, parameters are assigned for the basic interface
parameters of the CM1241 RS232 dynamically via the user program.
Calling "Port_Config" overwrites the settings of the hardware configuration.
Diagram
The following graphic shows the program structure of the whole STEP 7 V16
project.
Figure 2-1
RFData
•
rfData
•
Interface
•
diagnostics
Program blocks
The user program for the SIMATIC S7-1200 CPU consists of the following
elements:
Table 2-1
Element
OB1
Reading out UID with SIMATIC RF1070R
Article ID: 109780625,
V1.0,
Main
OB1
ReadUID
FB1
Global
•
Port_Config
•
Send_P2P
•
Receive_P2P
Symbolic name
Main
09/2020
Description
In OB1, the "ReadUID" function block, including
the associated instance data block, is called
cyclically.
7