8using the "fb_bgd_template_flyingsaw(), 1 general information and instructions, 3 mode changeover sequence – Siemens Simotion A4027118-A0414 User Manual
Page 81
Section C: Integrating the core “flying saw” functions
Using the "FB_BGD_TEMPLATE_FlyingSaw()"
Flying Saw with SIMOTION
A4027118-A0414
V 1.4
Release 06/06/08
81/107
C
opyr
ight
©
Si
em
ens
AG 2
0
08
Al
l r
ights r
e
s
e
rv
ed
M
anual_
S
IM
OTION Fl
ying Saw
_
V1
.4.
d
oc
8
Using the "FB_BGD_TEMPLATE_FlyingSaw()"
8.1
General information and instructions
The most important element of the technology template is the function
block “FB_BGD_TEMPLATE_FlyingSaw()”. The connected “flying saw” is
parameterized and controlled using this block.
In the user program, the block must therefore be parameterized and the
block mode changed-over in order to initiate that the
“FB_BGD_TEMPLATE_FlyingSaw()” executes the required functions.
The "FB_BGD_TEMPLATE_FlyingSaw()“ is parameterized as described in
Chapter 6.3 Interfaces
. When parameterizing (assigning parameter
values), basic values of the “flying saw” are defined that normally do not
change; for example, the name of the flying saw axis, the starting position,
the synchronous position etc. These values may only be changed when the
system is at a standstill and changes require a re-initialization (restart) of
the "FB_BGD_TEMPLATE_FlyingSaw()“!
The individual modes of the"FB_BGD_TEMPLATE_FlyingSaw()“ are
described in Chapter 3.2 Operating states of the "FlyingSaw-FB". The
procedure to change over the mode is described in more detail in the
following Chapters.
8.2
Initial state of the "FB_BGD_TEMPLATE_FlyingSaw()"
After a “restart”, the “FB_BGD_TEMPLATE_FlyingSaw()” is in the “disable”
state.
Each time that the control is started, “restart” must be run by setting the
restart bit in the startup task. (this is realized automatically when using the
program startup_SAP() in the UNIT SAP_FS)
This means that the template is transitioned into its initial state and
important technology parameters are checked regarding plausibility, if
possible adapted, and if not possible, parameterizing errors are flagged to
the user at the fault output.
8.3
Mode changeover sequence
The functions of the function block “FB_BGD_TEMPLATE_FlyingSaw()”
and therefore the functions of the connected “flying saw” are controlled
using the various state modes of the block.
The following state modes and status transitions can be called at the block: