Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
196 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Call example
CALL FC 8 (
//Tool-management transfer block
Start := m 20.5, //Start := "1 " => transfer trigger
TaskIdent := DB61.DBB 0,
TaskIdentNo := DB61.DBB 1,
NewToolMag := DB61.DBW 2, //Current position of new tool
NewToolLoc := DB61.DBW 4,
OldToolMag := DB61.DBW 6, //Current position of old tool
OldToolLoc := DB61.DBW 8,
Status := DB61.DBW 10, //Status
Ready := m 20.6,
Error := DB61.DBW 12);
u m 20.6;
//Poll ready
r m 20.5;
//Reset start
spb m001;
//Jumps, if everything OK
l DB61.dbw 12;
//Error information
ow w#16#0;
//Evaluate error
JC error;
//Jumps to troubleshooting
m001:
//Normal branch
error:
//Troubleshooting
r m 20.5:
//Reset start