Siemens SINUMERIK ONE Consignes De Fonctionnement page 76

Logiciel cnc version 6.22
Masquer les pouces Voir aussi pour SINUMERIK ONE:
Table des Matières
Régulation de distance (CLC/CLCX)
4.8 Plusieurs instances CLCX dans différents canaux
Exemple de macro
Le paramétrage donné est le suivant :
channel_1:
62507 $MC_CLC_A_DB_RT_VAR_START_INDEX[0]=1000
62507 $MC_CLC_A_DB_RT_VAR_START_INDEX[1]=1100
channel_2:
62507 $MC_CLC_A_DB_RT_VAR_START_INDEX[0]=2000
62507 $MC_CLC_A_DB_RT_VAR_START_INDEX[1]=2100
Les définitions suivantes peuvent être utilisées pour ce paramétrage :
Exemple de macro
MMAC. DEF :
; SPATH=/_N_DEF_DIR
; Variables d'interface CLCX :
; === channel1_instance1 ==============
DEFINE CLC_RT_DIST_OFFSET AS $A_DBR[1000]
; ou "CLC11_RT_..." (pour être parfaitement cohérent)
DEFINE CLC_RT_MOVE_POS_REL AS $A_DBR[1004]
DEFINE CLC_RT_MOVE_POS_ABS AS $A_DBR[1008]
...
; === channel1_instance2 ==============
DEFINE CLC12_RT_DIST_OFFSET AS $A_DBR[1100]
DEFINE CLC12_RT_MOVE_POS_REL AS $A_DBR[1104]
DEFINE CLC12_RT_MOVE_POS_ABS AS $A_DBR[1108]
...
; === channel2_instance1 ==============
DEFINE CLC21_RT_DIST_OFFSET AS $A_DBR[2000]
DEFINE CLC21_RT_MOVE_POS_REL AS $A_DBR[2004]
DEFINE CLC21_RT_MOVE_POS_ABS AS $A_DBR[2008]
...
; === channel2_instance2 ==============
DEFINE CLC22_RT_DIST_OFFSET AS $A_DBR[2100]
DEFINE CLC22_RT_MOVE_POS_REL AS $A_DBR[2104]
DEFINE CLC22_RT_MOVE_POS_ABS AS $A_DBR[2108]
...
Selon les fonctions que vous utilisez effectivement, vous n'avez pas besoin de définir toutes
les variables.
Remarque
Si les variables temps réel doivent être utilisées dans un programme pièce pouvant être appelé
depuis différents canaux, la partie du décalage de départ qui dépend du canal et qui est utilisé
dans la macro ne doit pas être fixe, mais doit dépendre du canal qui utilise l'indice à l'instance
($P_CHANNO).
76
Description fonctionnelle, 07/2023, A5E48053723D AG
Technologies
Table des Matières
loading

Table des Matières