beautypg.com

4 using the restart bit, 5 error messages – Siemens Simotion A4027118-A0414 User Manual

Page 83

background image

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

83/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

carried-out and the new state has been reached, this is flagged by a high
signal at the done block output. The number of the new state can be read-
off at the state output.

The sequences and actions that are executed during the changeover are
described in detail in Chapter 10.3.4 of this document.

8.4

Using the restart bit

Restart after a new start

The restart bit must be set at each new start of the SIMOTION D435 or
when changing the parameterization. This is the reason that an initialization
routine is run in the “FB_BGD_TEMPLATE_FlyingSaw()” and a parameter
check is made and the block is brought into a defined state.

Note

In the startup task, we recommend that the program startup_SAP() of the
unit SAP_FS is used in order to initialize the
"FB_BGD_TEMPLATE_FlyingSaw()" block.

The restart bit should also be set there in order to bring the block into a
defined state!

Note

At restart, the block checks essential technology parameters as well as
the existence of saved technology objects

After the block has been successfully initialized, the restart bit is
automatically reset.

8.5 Error

messages

If faults occur in the block itself or in technology objects and technology
functions involved while FB_BGD_TEMPLATE_FlyingSaw() is operational,
then these are signaled using the block outputs error and ErrorID.