Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
170 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
CloseBrake :=M 111.1, //Request to close brake
MoveAxis :=M 111.2, //Request to initiate traversing motion
Done :=M 111.3, //Test successfully completed
Error :=M 111.4, //Error has occurred
State := MB 112); //Error status
OPN
"Axis3"; //Brake test, Z axis
O
M (GND) 111.3; //Test successfully completed
O
M (GND) 111.4; //Error has occurred
FP
M (GND) 110.3;
R
DBX 28.7; //Request, PLC-monitored axis
AN
DBX 63.1; //Checkback signal, axis monitored by PLC
U
M (GND) 111.0; //Start brake test for FB
U
M (GND) 110.7; //Brake test running
FP
M (GND) 110.4;
R
M (GND) 111.0; //Start brake test for FB
R
M (GND) 110.7; //Brake test running
CALL "SpinCtrl" (//Traverse Z axis
Start :=M 111.2, //Start traversing motion
Stop := FALSE,
Funct := B#16#5, //Mode: Axis mode
Mode := B#16#1, //Procedure: Incremental
AxisNo := 3, //Axis number of axis to be traversed
//axis Z-axis
Pos := -5.000000e+000, //Traversing distance: Minus 5 mm
FRate := 1.000000e+003, //Feedrate: 1000 mm/min
InPos :=M 113.0, //Position reached
Error :=M 113.1, //Error has occurred
State := MB 114); //Error status