Siemens SINUMERIK 828D Function Manual page 1014

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Status definition
A general rule for the acknowledgment status is that the state information 1 to 7 leads to the termination of the
command. If FC 8 receives one of the statuses, the "Interface active bit" of the interface specified in FC 8 is reset
to "0" (see also interface lists DB 71 to DB 73), thus completing the operation. The response if different in the
case of status information 103 to 105. When the FC 8 receives one of these items of status information, the
"Interface active bit" of this interface remains at "1". Further processing is required by the user program in the
PLC (e.g. continuation of magazine positioning). This item of status information is generally used to transfer
changes in position of one or both tools while the operation is still in progress.
Call example
CALL FC 8 (
Start :=
TaskIdent :=
TaskIdentNo :=
NewToolMag :=
NewToolLoc :=
OldToolMag :=
OldToolLoc :=
Status :=
Ready :=
Error :=
u m 20.6;
r m 20.5;
spb m001;
l DB61.dbw 12;
ow w#16#0;
JC error;
m001:
error:
r m 20.5:
1014
//Tool-management transfer block
m 20.5,
//Start := "1 " => transfer trigger
DB61.DBB 0,
DB61.DBB 1,
DB61.DBW 2,
//Current position of new tool
DB61.DBW 4,
DB61.DBW 6,
//Current position of old tool
DB61.DBW 8,
DB61.DBW 10,
//Status
m 20.6,
DB61.DBW 12);
//Poll ready
//Reset start
//Jumps, if everything OK
//Error information
//Evaluate error
//Jumps to troubleshooting
//Normal branch
//Troubleshooting
//Reset start
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents