Herunterladen Inhalt Inhalt Diese Seite drucken

Siemens SINUMERIK 840D sl Funktionshandbuch Seite 624

Mit cnc-software 4.5 sp2
Vorschau ausblenden Andere Handbücher für SINUMERIK 840D sl:
Inhaltsverzeichnis

Werbung

K1: BAG, Kanal, Programmbetrieb, Reset-Verhalten
8.15 Ersetzung von Funktionen durch Unterprogramme
Settingdatum
SD43240 $SA_M19_SPOS[AX5] = 260
SD43250 $SA_M19_SPOSMODE[AX5] = 4
Hauptprogramm
Programmierung
PROC MAIN
...
N210 COUPON(S2,S1)
N220 SPOS[1]=100
...
N310 G01 F1000 X100 M19
Ersetzungsunterprogramm "LANG_SUB", Variante 1
Optimiert auf Einfachheit und Geschwindigkeit durch direkte Adressierung der Spindeln (S1:
Leitspindel, S2: Folgespindel).
Programmierung
N1000 PROC LANG_SUB DISPLOF SBLOF
N2100 IF($P_SUB_AXFCT==2)
N2110 ;Ersetzung von SPOS/SPOSA/M19 bei aktiver Synchronspindelkopplung
N2185 DELAYFSTON
N2190 COUPOF(S2,S1)
N2200
N2210 IF($P_SUB_SPOS==TRUE) OR ($P_SUB_SPOSA==TRUE)
N2220 ;SPOS und SPOSA werden auf SPOS abgebildet
N2230 CASE $P_SUB_SPOSMODE OF \
0 GOTOF LABEL1_DC \
1 GOTOF LABEL1_IC \
2 GOTOF LABEL1_AC \
3 GOTOF LABEL1_DC \
4 GOTOF LABEL1_ACP \
5 GOTOF LABEL1_ACN \
DEFAULT GOTOF LABEL_ERR
LABEL1_DC: SPOS[1]=DC($P_SUB_SPOSIT) SPOS[2]=DC($P_SUB_SPOSIT)
GOTOF LABEL1_CONT
LABEL1_IC: DELAYFSTOF
SPOS[1]=IC($P_SUB_SPOSIT) SPOS[2]=IC($P_SUB_SPOSIT)
DELAYFSTON
624
Bedeutung
Spindelposition bei
Positionsanfahrmodus bei
"Anfahren in positiver Richtung
(ACP)"
Kommentar
; Synchronspindelkopplung aktivieren
; Leitspindel mit SPOS positionieren
; Leitspindel mit M19 positionieren
Kommentar
; Beginn Stopp-Delay-Bereich
; Synchronspindelkopplung ausschalten
; Leit- und Folgespindel positionieren
Funktionshandbuch, 03/2013, 6FC5397-0BP40-3AA1
= 260
M19
M19:
Grundfunktionen

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Sinumerik 840de slSinumerik 828d

Inhaltsverzeichnis