2 Engineering of the STEP 7 Program
Reading out UID with SIMATIC RF1070R
Article ID: 109780625, V1.0, 09/2020
© Siemens AG
2020 All rights reserved
2 Engineering of the STEP 7 Program
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
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
ReadUID
FB1
• Port_Config
• Send_P2P
• Receive_P2P
• rfData
• Interface
• diagnostics
Main
OB1
Global
Program blocks
The user program for the SIMATIC S7-1200 CPU consists of the following
elements:
Table 2-1
In OB1, the "ReadUID" function block, including
the associated instance data block, is called
cyclically.