EasyManuals Logo

Siemens SINUMERIK 840D Description Of Functions

Siemens SINUMERIK 840D
494 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #370 background imageLoading...
Page #370 background image
7 Configuring example 11.03
7.3 Safety Integrated with SPL
© Siemens AG 2003 All Rights Reserved
7-370 SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
FC95 program excerpt:
TITLE =
VERSION : 0.1
BEGIN
NETWORK
TITLE =
U M 210.0; // ASUB start marker from OB100
U DB10.DBX 108.5; // Drive group and terminal block
// run-up
FP M 210.1; // Start edge marker, PI service
= M 210.2; // Start cycle marker, PI service
//
U M 210.2; // Start cycle marker, PI service
S M 210.3; // Start PI service
//
CALL FB 4 , DB 121 ( // PI service interrupt number and priority
Req := M 210.3,// Start PI service
PI service := P#DB16.DBX 18.0 BYTE 26,// PI service ASUB
Unit := 1,
Addr1 := P#DB120.DBX 34.0 BYTE 34,// Program path
Addr2 := P#DB120.DBX 0.0 BYTE 34,// Program name
WVar1 := W#16#1,// Interrupt number = 1
WVar2 := W#16#1,// Priority = 1
WVar3 := W#16#0,// LIFTFAST = 0
WVar4 := W#16#0,// BLKSYNC
Error := DB120.DBX 68.0,// Error occurred
Done := DB120.DBX 68.1,// Task, error-free
State := DB120.DBW 70); // Error code
//
U DB120.DBX 68.1; // Task successfully completed
S M 210.4; // Start ASUB
R M 210.3; // Reset PI service start ASUB
//
//
CALL FC 9 (
Start := M 210.4,// Start ASUB
ChanNo := 1,// Channel number 1
IntNo := 1,// Interrupt number 1
Active := DB120.DBX 72.0,// ASUB active
Done := DB120.DBX 72.1,// Task completed
Error := DB120.DBX 72.3,// Error occurred
StartErr := DB120.DBX 72.4,// Interrupt number
missing
Ref := DB120.DBW 74);// Memory range internal
//
U DB120.DBX 72.1; // Request completed ==> ASUB running
S M 210.7;
R M 210.0; // Reset ASUB start marker from OB100
R M 210.4; // Reset start ASUB
//
END_FUNCTION
Interrupt number 1 and priority 1 are assigned to the ASUB with FB4. The
variables LIFTFAST (fast retraction from the contour) and BLSYNC (the
program block is still being processed and the interrupt routine is only started
after this) must be assigned the value 0.
Description

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D and is the answer not in the manual?

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals