1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. ABB Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

When tested in robostudio, CJointT function doesn't return any result...

  • OliveRobot
  • May 6, 2020 at 10:25 AM
  • Thread is Unresolved
  • OliveRobot
    Reactions Received
    1
    Trophies
    3
    Posts
    31
    • May 6, 2020 at 10:25 AM
    • #1

    Hello everyone,

    I'm currently working on a cell containing two ABB robots and a IRBP positionner, using the multimove system, one of the robot is the master and the IRBP is connected on the same controller, the other robot have his own controller.

    Since i have to control all the movements of the positionner, i have to check often on his current position then see what i have to do according to what the PLC is asking me, and then execute my MoveExtJ...

    After searching on the ABB technical reference manual, i found the CJointT function, the positionner work with the external axes eax_d/eax_e/eax_f and doesn't have any TCP associated so i decided to use this function in my program.

    Excerpt from my program:

    --------------------------------------------------------------------------------------------------------------------------------------

    (Task: T_POS1)

    MODULE MainModule_POS1

    ...

    ...

    ! Jointtarget de lecture position actuelle du positionneur

    PERS jointtarget JntT_POS_IRBP:=[[0,0,0,0,0,0],[9E+09,9E+09,9E+09,0,0,0]];

    ...

    ...

    ...

    !

    PROC main()

    Initialisation;

    Rapp_Mvts_Axes;

    !

    ! Renvoi position actuelle à l'API

    JntT_POS_IRBP := CJointT (\TaskRef:=T_POS1Id);

    IF JntT_POS_IRBP.extax.eax_d=0 THEN

    etc... ...

    --------------------------------------------------------------------------------------------------------------------------------------

    Problem is, when i test it with robotstudio, the jointarget always give me the same result:

    PERS jointtarget JntT_POS_IRBP:=[[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];

    I tried to change the argument "\TaskRef:=T_POS1Id" by the "Taskname" argument and tried with "JntT_POS_IRBP := CJointT ();" but the result is the same.


    Does any of you have an idea of the actual problem? Is that a limitation of Robostudio? Did i declare something wrong? Is there something i ignore about how to use this function?

    In advance, thank you very much!

    Edited once, last by OliveRobot (May 6, 2020 at 10:34 AM).

  • Lemster68
    Reactions Received
    301
    Trophies
    9
    Posts
    2,490
    Blog Articles
    7
    • May 6, 2020 at 3:39 PM
    • #2

    Check the actual joint values, using the virtual TP, tell us what you see, values or not. What version of RS and Robotware are you using?

  • Lemster68
    Reactions Received
    301
    Trophies
    9
    Posts
    2,490
    Blog Articles
    7
    • May 6, 2020 at 4:13 PM
    • #3

    You could also try it in your T_ROB1 task, use taskref/taskname for the positioner.

  • OliveRobot
    Reactions Received
    1
    Trophies
    3
    Posts
    31
    • May 7, 2020 at 8:12 AM
    • #4
    Quote from Lemster68

    Check the actual joint values, using the virtual TP, tell us what you see, values or not. What version of RS and Robotware are you using?

    Hello Lemster and thank you, since i found the solution thanks to your reply!

    Your reply made me remember that the positionner axis current value is only visible (on the virtual TP but also by any function) when said axis is activated!

    So i created a little routine that activate every axes, respectively, than write their value on a permanent variable, to be able to keep them at every moment:

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    ! POSITIONS

    ! Robtarget de lecture position actuelle du positionneur

    PERS jointtarget JntT_Ecriture:=[[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9],[9E+9,9E+9,9E+9,9E+9,-39.4161,9E+9]];

    PERS jointtarget JntT_POS_IRBP:=[[0,0,0,0,0,0],[0,0,0,28.7315,89.3431,-39.4161]];

    ...

    ...

    PROC Posi_courante_tab()

    ! Routine d'enregistrement position actuelle table

    ! Lecture axe INTERCHANGE

    ActUnit INTERCH;

    JntT_Ecriture := CJointT (\TaskRef:=T_POS1Id);

    JntT_POS_IRBP.extax.eax_d := JntT_Ecriture.extax.eax_d;

    DeactUnit INTERCH;

    ! Lecture axe STN1

    ActUnit STN1;

    JntT_Ecriture := CJointT (\TaskRef:=T_POS1Id);

    JntT_POS_IRBP.extax.eax_e := JntT_Ecriture.extax.eax_e;

    DeactUnit STN1;

    ! Lecture axe STN2

    ActUnit STN2;

    JntT_Ecriture := CJointT (\TaskRef:=T_POS1Id);

    JntT_POS_IRBP.extax.eax_f := JntT_Ecriture.extax.eax_e;

    DeactUnit STN2;

    ENDPROC

    ...

    ...

    Funnily, the value of the axis STN2 is writed on the eax_e element, normally it should be on eax_f... but i adapted the program accordingly and tried it after putting every axis in a position. As we can see, the jointtarget " JntT_POS_IRBP" now contain the current position of every three axis of my positionner and will keep it until the next time the routine will be read.

    Thank you very much for your help Lemster68!:smiling_face::thumbs_up:

  • OliveRobot
    Reactions Received
    1
    Trophies
    3
    Posts
    31
    • May 7, 2020 at 8:30 AM
    • #5

    Changing "\Taskname: T_POS1" for "\Taskref: T_POS1id" doesn't seems to change the final result when i try it with the actual program.

  • Lemster68
    Reactions Received
    301
    Trophies
    9
    Posts
    2,490
    Blog Articles
    7
    • May 7, 2020 at 1:58 PM
    • #6

    Good job and thanks for sharing.

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Tags

  • ABB Multimove IRBP
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download