Tags_Recipe" Data Block; User Program Blocks; Filling" Function Block - Siemens SIMATIC S7-1200 Manual

Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

4 Mode of Operation

4.4 User program blocks

"tags_Recipe" data block

4.3.3
The "tags_Recipe" data block includes the tags for transmitting the function blocks
and instructions in "Main_Recipe" OB to the interfaces.
The following table lists the most important tags for individual adjustment and to
understand the program flow chart:
Table 4-5
Name
data_record_max
UInt
data_record
UInt
data_record_old
UInt
step
USInt
acknowledge
Bool
current_repice
"UDT_Wall_anchors"
Teach.REQ
Bool
Teach.quantity
UInt
4.4
User program blocks
The user program consists of the following blocks:
"Filling" function block (FB 12)
"HMI" function block (FB 13)
"tags" data block (DB 10)

"Filling" function block

4.4.1
The "Filling" FB is used for filling a container with a selected wall anchor type.
For this purpose, the scale is tared to neutralize the weight of the container.
The recipe data record of the wall anchor type to be packaged is loaded. The
product, made up of pieces and individual weight of a wall anchor, results in the
weight setpoint. The "Filling" FB starts the filling process by opening the two
sliders. When the specified weight limit is reached, one of the sliders closes, and
packaging is slowed down. When the setpoint is reached, the second slider also
closes. The weight reached is compared with the tolerance data from the recipe
data record and evaluated. The packaged products are continuously counted and
therefore receive a clear assignment.
The call of the "Filling" FB is in OB1.
Weighing, Controlling and Logging (Set 6)
Entry ID: 82454336,
V2.0,
Data type
Start
value
3
1
0
0
false
false
1
10/2017
Description
Number of recipe data records (limit of HMI
selection)
selected recipe data record
selected recipe data record in last cycle
Step sequence
Error acknowledgment (sets the sequence
back)
Current recipe data record in main memory (see
Table
4-4)
Request for individual weight determination
Number of sample (teach mode)
23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Siwarex wp231

Table of Contents