beautypg.com

4 properties/features of startup_sap, 5 help routines – Siemens Simotion A4027118-A0414 User Manual

Page 98

background image

Section D: Program description

Description of important program elements

Flying Saw with SIMOTION

A4027118-A0414

V 1.4

Release 06/06/08

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

10.4 Properties/features of startup_SAP

The startup_SAP program is located in the unit SAP_FS

• Assigns the actual TO instances
• Assigns the machine-specific parameters
• Resets the restart bit.
• Deletes the SyncPos buffer.
• Resets all internal program flags.

10.5 Help

routines

10.5.1

Features and characteristics of the MT_FS1_PrintmarkDetection
(print mark sensing)

The program MT_FS1_PrintmarkDetection is in the unit RK_PMIPO and
must be called from a motion task.

The following functions are executed:

• Waits for a valid measured value
• Determines the synchronous position for the actual print mark
• Enters the synchronous position into the SyncPos buffer

10.5.2

Properties/features of the IPO_FS1_IPO_Routine

The program IPO_FS1_IPO_Routine is located in the RK_PMIPO unit and
must be called from the IPO task.

• Calculates the position of the MaterialAxis referred to the flying saw
• Edge

detection.

10.5.3 SyncPos

buffer

Using the following FBs of the FS_SPB unit,

the SyncPos buffer is managed

• FB_BGD_FS_SPB_reset()
• FB_BGD_FS_SPB_in()