Hot News:

Mit Unterstützung durch:

  Foren auf CAD.de (alle Foren)
  CATIA V5 Programmierung
  SetAuxillaryAxisValues befehl nicht funktioniert .

Antwort erstellen  Neues Thema erstellen
CAD.de Login | Logout | Profil | Profil bearbeiten | Registrieren | Voreinstellungen | Hilfe | Suchen

Anzeige:

Darstellung des Themas zum Ausdrucken. Bitte dann die Druckfunktion des Browsers verwenden. | Suche nach Beiträgen nächster neuer Beitrag | nächster älterer Beitrag
Autor Thema:  SetAuxillaryAxisValues befehl nicht funktioniert . (1154 mal gelesen)
vasa.dhananjay
Mitglied
Engineer

Sehen Sie sich das Profil von vasa.dhananjay an!   Senden Sie eine Private Message an vasa.dhananjay  Schreiben Sie einen Gästebucheintrag für vasa.dhananjay

Beiträge: 3
Registriert: 09.06.2015

CATIA V5R26

erstellt am: 10. Okt. 2015 00:23    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities

Entschuldigung, leider ist dies ein Google Übersetzung aus dem Englischen. Ich versuche, den Befehl " SetAuxillaryAxisValues ​​" verwenden, aber es funktioniert nicht. Hat jemand einige Beispiel-Code , das funktioniert ? Das Beispiel in der Dokumentation nicht funktioniert, oder vielleicht bin ich etwas falsch machen. Der Befehl " SetJointTarget " funktioniert aber.

        Me.GoodMotion.SetJointTarget(Target)
        Me.GoodMotion.SetAuxillaryAxisValues(Me.Device, "Aux.1", Motion)
        Me.GoodMotion.SetMotionType(1)

Vielen Dank

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

joehz
Moderator
Freiberuflicher Konstrukteur


Sehen Sie sich das Profil von joehz an!   Senden Sie eine Private Message an joehz  Schreiben Sie einen Gästebucheintrag für joehz

Beiträge: 1057
Registriert: 25.11.2006

Win7 Pro 64 + Ubuntu + Irix6.5.20
Dell Precision M6600 i7-2960XM 2.7GHz 16GB
NVidia Quadro M5010
Catia V5R19
VB6Pro.SP6/VBA 6.5.1053

erstellt am: 10. Okt. 2015 17:26    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities Nur für vasa.dhananjay 10 Unities + Antwort hilfreich

Hi vasa (or is it dhananjay?),

looks like we're in a bit of a pickle here.
I'm not even sure, which workbench you're  trying to program for(Kinematics?)
What I do know, is that a search for 'SetJointTarget' on the I-Net comes up empty.

So let's try the usual remedies:

- change object types to object
- remove types from simple variables and arrays, making the variant

If that doesn't help, I suggest you post a bit more of your code, eg. the dims etc.

And: Please add your work environment to your cad.de - profile.

Cheers,
Joe

------------------
Inoffizielle Catia Hilfeseite

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

vasa.dhananjay
Mitglied
Engineer

Sehen Sie sich das Profil von vasa.dhananjay an!   Senden Sie eine Private Message an vasa.dhananjay  Schreiben Sie einen Gästebucheintrag für vasa.dhananjay

Beiträge: 3
Registriert: 09.06.2015

CATIA V5R26

erstellt am: 10. Okt. 2015 18:16    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities

Hi Joe.

It's Dhananjay. I'm trying to program for the Device Task Definition workbench in DELMIA. This is in the DNBIgpSetupInterfaces framework. Below is part of the class. It think it is a bug because while I can use the command "SetJointTarget", I can't get "SetAuxillaryAxisValues"to work.

Imports DNBDevice
Imports DNBRobot

Public Class OLP

    Public Property ProgramName As String

    Private Property Device As ProductStructureTypeLib.Product
    Private Property Aux As ProductStructureTypeLib.Product
    Private Property OLP As DNBIgpTagPath.RobotTask
    Private Property Operations As List(Of DNBIgpTagPath.Operation)
    Public Property RobotMoves As List(Of DNBIgpTagPath.RobotMotion)
    Private Property count As Int16 = 0


    Public Sub New(ByVal programName As String, ByRef device As Object, ByRef aux As Object)
        Me.ProgramName = programName
        Me.Operations = New List(Of DNBIgpTagPath.Operation)
        Me.RobotMoves = New List(Of DNBIgpTagPath.RobotMotion)
        Me.Device = device
        Me.Aux = aux

        Dim objRobotTaskFactory As DNBIgpTagPath.RobotTaskFactory
        objRobotTaskFactory = device.GetTechnologicalObject("RobotTaskFactory")

        Dim objRobotTask As DNBIgpTagPath.RobotTask
        Me.OLP = objRobotTask
        objRobotTaskFactory.CreateRobotTask(programName, Me.OLP)
    End Sub

    'MotionType
    '0 = Joint Move
    '1 = Linear Move
    Public Sub AddPoint(ByVal Target() As Object, ByVal MotionType As Int16)
        Dim objOperation As DNBIgpTagPath.Operation

        'Dim operations()
        'Me.OLP.GetAllOperations(operations)
        If (count = 0) Then
            Me.OLP.CreateOperation(objOperation, Nothing, objOperation)

        Else
            Dim operations(999)
            Me.OLP.GetAllOperations(operations)
            Me.OLP.CreateAfterOperation(operations(count - 1), objOperation)
        End If

        count += 1

        Me.Operations.Add(objOperation)

        Dim objRobotMotion As DNBIgpTagPath.RobotMotion

        objOperation.CreateRobotMotion(objRobotMotion, False, objRobotMotion)
        objRobotMotion.SetJointTarget(Target)

        Dim Motion(1)
        Motion(0) = -0.25
        Motion(1) = -0.25
        objRobotMotion.SetMotionType(MotionType)
        objRobotMotion.SetAuxillaryAxisValues(Me.Device, "Aux", Motion)

    End Sub

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

joehz
Moderator
Freiberuflicher Konstrukteur


Sehen Sie sich das Profil von joehz an!   Senden Sie eine Private Message an joehz  Schreiben Sie einen Gästebucheintrag für joehz

Beiträge: 1057
Registriert: 25.11.2006

Win7 Pro 64 + Ubuntu + Irix6.5.20
Dell Precision M6600 i7-2960XM 2.7GHz 16GB
NVidia Quadro M5010
Catia V5R19
VB6Pro.SP6/VBA 6.5.1053

erstellt am: 15. Okt. 2015 17:27    Editieren oder löschen Sie diesen Beitrag!  <-- editieren / zitieren -->   Antwort mit Zitat in Fett Antwort mit kursivem Zitat    Unities abgeben: 1 Unity (wenig hilfreich, aber dennoch)2 Unities3 Unities4 Unities5 Unities6 Unities7 Unities8 Unities9 Unities10 Unities Nur für vasa.dhananjay 10 Unities + Antwort hilfreich

Hi Dhananjay,

by now 74 people have read your message.
It looks like you're on your own with this one.

Have you tried the Delmia forum on this server?

Sorry,
Joe

------------------
Inoffizielle Catia Hilfeseite

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP

Anzeige.:

Anzeige: (Infos zum Werbeplatz >>)

Darstellung des Themas zum Ausdrucken. Bitte dann die Druckfunktion des Browsers verwenden. | Suche nach Beiträgen

nächster neuerer Beitrag | nächster älterer Beitrag
Antwort erstellen


Diesen Beitrag mit Lesezeichen versehen ... | Nach anderen Beiträgen suchen | CAD.de-Newsletter

Administrative Optionen: Beitrag schliessen | Archivieren/Bewegen | Beitrag melden!

Fragen und Anregungen: Kritik-Forum | Neues aus der Community: Community-Forum

(c)2023 CAD.de | Impressum | Datenschutz