P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
992
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Example of a call for FB 11:
Note
The block must be called by the user program. The user must provide an instance DB with
any number for this purpose. The call is multi-instance-capable.
AN
M
111.1;
//Request to close brake, Z axis of FB
=
A
85.0;
//Brake control, Z axis
OPEN
Axis3";
//Brake test, Z axis
O
I
73.0;
//Brake test trigger, Z axis
O
M
110.7;
//Brake test running
FP
M
110.0;
UN
M
111.4;
//Error has occurred
S
M
110.7;
//Brake test running
S
M
110.6;
//Next step
JCN
m001
L
DBB
68;
AW
W#16#F;
T
MB
115;
//flag channel state
L
B#16#10
T
DBB
8;
//Request neutral axis
m001:
U
DBX
68.6;
//Checkback signal, axis is neutral
U
M
110.6;
FP
M
110.1;
R
M
110.6;
S
M
110.5;
//Next step
S
DBX
28.7;
//Request PLC-monitored axis
U
DBX
63.1;
//Checkback signal, axis monitored by PLC
U
M
110.5;
FP
M
110.2;
R
M
110.5;
S
M
111.0;
//Start brake test for FB
CALL FB 11, DB 211 (//Brake test block
Start
:=M
111.0,
//Start brake test
Ackn
:= I
3.7,
//Acknowledge error with RESET key
Bclosed
:= I
54.0,
//Return message close brakes
//controlled
Axis
:= 3,
//Axis number of axis to be tested
//Z axis
TimerNo
:= T
110,
//Timer number
TV_BTactiv
:= S5T#200MS,
//Monitoring time value:
//Brake test active DBX71.0
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...