Hmi" 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
Program flow chart
The "Filling" FB is programmed as a sequence. The program flow chart is as
follows.
Figure 4-7
setpoint = piece_weight * quantity + resolution
quality = 1

"HMI" function block

4.4.2
The "HMI" FB is used to display the transport of the box and the slider on the
operator panel. The transport path of the conveyor belt is simulated via the 10Hz
clock memory bit "Clock_10Hz" and increments the position of the box by
"conveyor_delta".
The user starts the conveyor belt simulation via "start_M1" on the operator panel.
When the setpoint is reached on the scale, "stop_1" stops the "conveyor" position
value and the "in_position" output is set for the start request for "Filling" FB.
Once the "Filling" FB has finished, it triggers the "start_M2" request for the removal
of the filled box. For the position of the box, the "Clock_10Hz" 10Hz clock memory
bit is again incremented by "conveyor_delta".
When the "stop_2" end position is reached, the conveyor belt stops the conveyor
belt simulation and the box jumps back to the start position.
In addition, the display of the slider positions is simulated in this block.
The call of the "HMI" FB is in OB1.
Weighing, Controlling and Logging (Set 6)
Entry ID: 82454336,
V2.0,
ja
ja
w eight_out >= setpoint + resolution
w eight_out < setpoint+resolution + tolerance
10/2017
0
in_position = true ?
10
busy = 1
weight_in = 0 ?
nein
&
tared ?
20
slider_close_open = 1
slider_slow_fast = 1
40
slider_slow_fast = 0
50
slider_close_open = 0
weight_out = weight_in
nein
&
?
60
counter = counter +1
busy = 0
done = 1
0
standstill ?
code = 1011
trigger = 1
weight_in > velocity_switch * setpoint ?
weight_in > setpoint ?
quality = 0
26

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Siwarex wp231

Table of Contents