Siemens SINUMERIK 840D sl Function Manual page 986

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
//optional begin
m002:
//optional end
986
O
M
111.4;
FP
M
110.3;
R
DBX
28.7;
UN
DBX
63.1;
U
M
111.0;
U
M
110.7;
FP
M
110.4;
R
M
111.0;
R
M
110.7;
JCN
m002:
L
MB
115;
OW
W#16#10;
T
DBB
8;
NOP
0;
CALL "SpinCtrl" (//Traverse Z axis
Start
:=M
Stop
:= FALSE,
Funct
:= B#16#5,
Mode
:= B#16#1,
AxisNo
:= 3,
Pos
:= -5.000000e+000, //Traversing distance: Minus 5 mm
FRate
:= 1.000000e+003, //Feedrate: 1000 mm/min
InPos
:=M
Error
:=M
State
:= MB
AUF
"Axis3"; //Brake test, Z axis
U
M
113.0;
O
M
113.1;
FP
M
113.2;
R
M
111.7;
//Error has occurred
//Request, PLC-monitored axis
//Checkback signal, axis monitored by PLC
//Start brake test for FB
//Brake test running
//Start brake test for FB
//Brake test running
//old channel status
//Request channel axis
111.2,
//Start traversing motion
//Mode: Axis mode
//Procedure: Incremental
//Axis number of axis to be
traversed
//axis Z-axis
113.0,
//Position reached
113.1,
//Error has occurred
114);
//Error status
//Position reached
//Error has occurred
//Start FC18
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents