Descargar Imprimir esta página

Siemens SINUMERIK MC Manual De Funciones página 626

Ocultar thumbs Ver también para SINUMERIK MC:

Publicidad

Referencia al PLC Basic Program
11.7 Funciones (FC)
Mover cabezal en vaivén
// Mover en vaivén, iniciar y detener cabezal (eje de máquina 5)
// #statStart: Bool;
// #statStop: Bool;
// #tempPositionReached: Bool;
// #tempError: Bool;
// #tempErrorCode: Byte;
// Inicio de petición para iniciar: #statStart := TRUE;
// Inicio de petición para parar: #statStop := TRUE;
 
"LBP_CtrlAxisSpindle"(Start := #statStart,
 
 
 
 
 
 
 
 
IF #tempPositionReached OR #tempError THEN
 
 
END_IF;
Desplazar eje divisor
// Posicionar eje divisor (eje de máquina 4) en la siguiente posición de
división
// #statStart: Bool;
// #tempPositionReached: Bool;
// #tempError: Bool;
// #tempErrorCode: Byte;
// Inicio de petición: #statStart := TRUE;
 
"LBP_CtrlAxisSpindle"(Start := #statStart,
 
 
 
 
 
 
 
626
Stop
:= #statStop,
Funct
:= 3,
Mode
:= 0,
AxisNo
:= 5,
Pos
:= 0,
FRate
:= 0,
InPos
=> #tempPositionReached,
Error
=> #tempError,
State
=> #tempErrorCode);
#statStart := FALSE;
#statStop := FALSE;
Stop
:= FALSE,
Funct
:= 4,
Mode
:= 1,
AxisNo
:= 4,
Pos
:= +1,
FRate
:= 60.0,
InPos
=> #tempPositionReached,
Error
=> #tempError,
// Mover cabezal en vaivén
// 5. eje de máquina
// Posicionar eje divisor
// Posicionar de forma incremental
// 4. eje de máquina
// Posición de división +1
Manual de funciones, 01/2023, A5E47437861E AF
PLC

Publicidad

loading

Este manual también es adecuado para:

Sinumerik