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 (
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:
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
//Tool-management transfer block
Start :=
m 20.5,
TaskIdent :=
DB61.DBB 0,
TaskIdentNo :=
DB61.DBB 1,
NewToolMag :=
DB61.DBW 2,
NewToolLoc :=
DB61.DBW 4,
OldToolMag :=
DB61.DBW 6,
OldToolLoc :=
DB61.DBW 8,
Status :=
DB61.DBW 10,
Ready :=
m 20.6,
Error :=
DB61.DBW 12);
//Start := "1 " => transfer trigger
//Current position of new tool
//Current position of old tool
//Status
//Poll ready
//Reset start
//Jumps, if everything OK
//Error information
//Evaluate error
//Jumps to troubleshooting
//Normal branch
//Troubleshooting
//Reset start
Detailed description
2.12 Block descriptions
193