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. Yaskawa Motoman 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

SFT ON / SFT OFF Wierd

  • Utschka
  • October 2, 2024 at 2:01 PM
  • Thread is Unresolved
  • Utschka
    Posts
    17
    • October 2, 2024 at 2:01 PM
    • #1

    Hi Guys,


    My depalletizing program is currently trying to depalletize boxes from a container. The boxes are stacked in the container. There are a total of 6 layers that need to be depalletized. After each depalletized layer, the user frame with the corresponding position variables (P1-P6) is moved down by the corresponding offset. This process is repeated until the entire container has been emptied. The problem with this is that only the approach and the positions of the boxes are to be shifted by the offset, but not the position above the container from which the boxes are transported to the conveyor belt. The position variables P1-P6 are specified in reference to user frame #1 and it is precisely this that is shifted downwards or upwards by an offset of z = 150000 using SFTON P[0] UF#(1). The other position variable, which should remain fixed, is assigned to user frame #3, so I thought that this would be excluded from the SFT operation, but this does not seem to be the case. After the SFT ON, all positions are shifted by the specified offset regardless of which user frame they are assigned to. Is there another way to really only move the positions that are linked to the userframe? The jobs for the individual boxes are called up by a master job, which is also responsible for the shift. Here is my code :

    MASTER :
    /JOB
    //NAME M4STER
    //POS
    ///NPOS 0,0,0,0,0,0
    //INST
    ///DATE 2024/10/02 08:13
    ///ATTR SC,RW
    ///GROUP1 RB1
    NOP
    SETE P[0] (3) 150000
    SET D051 150000
    SET B050 0
    WHILE B050<6
    CALL JOB:P1D
    CALL JOB:P2D
    CALL JOB:P3D
    CALL JOB:P4D
    CALL JOB:P5D
    CALL JOB:P6D
    SFTON P[0] UF#(1)
    ADD D051 150000
    SETE P[0] (3) D051
    INC B050
    ENDWHILE
    END

    !!!!Now job P2D!!!


    /JOB
    //NAME P2D
    //POS
    ///NPOS 0,0,0,0,0,0
    ///TOOL 0
    ///POSTYPE PULSE
    ///PULSE
    //INST
    ///DATE 2024/10/02 12:39
    ///ATTR SC,RW
    ///GROUP1 RB1
    NOP
    MOVL P[21] V=1000.0 PL=0
    MOVL P[2] V=1000.0 PL=0
    MOVL P[21] V=1000.0 PL=0
    MOVJ P[100] VJ=100.00
    END

    Here again the last instruction (MOVJ P[100] VJ=100.00) from P2D should not be moved. Unlike the others, this one is also specified in reference to user frame #3 and not to UF#1 like all the other positions, so I don't really understand why this one is also moved. I'm fairly new to programming Motoman robots so please be forgiving of any obvious mistakes or errors in reasoning on my part. Thanks in advance!

  • Nation October 2, 2024 at 2:20 PM

    Approved the thread.
  • Mike01TJ
    Reactions Received
    3
    Trophies
    3
    Posts
    34
    • October 2, 2024 at 3:55 PM
    • #2

    SFTON will shift everything until the SFTOFF command.

  • Online
    95devils
    Reactions Received
    229
    Trophies
    8
    Posts
    1,930
    • October 2, 2024 at 4:24 PM
    • #3

    Where is your SFTOF instruction?

    I know a thing or two, because I’ve seen a thing or two. Don't even ask about a third thing. I won't know it.

  • Lembeck
    Trophies
    2
    Posts
    2
    • October 3, 2024 at 12:44 AM
    • #4

    What Mike said above is 100%

    If P2 is the only one you want to change height why not edit the z height for this move instead of doing that for P0 for the shift?

    also if your controller is DX200 or older ditch the PL0 from your moves and put a 0.05sec timer on the line after the move, it will have the same effect with less of a time penalty.

    Edited once, last by Lembeck (October 3, 2024 at 12:50 AM).

  • Utschka
    Posts
    17
    • October 7, 2024 at 7:18 AM
    • #5
    Quote from 95devils

    Where is your SFTOF instruction?

    I expect that the SFTON only shift the Positions linked to the USERFRAME #1, thats why i dont used SFTOF

    Edited once, last by Utschka (October 7, 2024 at 7:31 AM).

  • Utschka
    Posts
    17
    • October 7, 2024 at 7:24 AM
    • #6
    Quote from Lembeck

    What Mike said above is 100%

    If P2 is the only one you want to change height why not edit the z height for this move instead of doing that for P0 for the shift?

    also if your controller is DX200 or older ditch the PL0 from your moves and put a 0.05sec timer on the line after the move, it will have the same effect with less of a time penalty.

    No, what i want is that all Six Positions excluding P[100] change height for every run in the loop. Can u explain your other idea with the timer further, as i said im quite new at Motoman Programming :smiling_face:

    Edited once, last by Utschka (October 7, 2024 at 8:09 AM).

  • Online
    95devils
    Reactions Received
    229
    Trophies
    8
    Posts
    1,930
    • October 7, 2024 at 11:02 AM
    • #7
    Quote from Utschka

    I expect that the SFTON only shift the Positions linked to the USERFRAME #1, thats why i dont used SFTOF

    When the SFTON instruction is executed, it stays on until the SFTOF is executed, even if a job is called or jumped to.

    I know a thing or two, because I’ve seen a thing or two. Don't even ask about a third thing. I won't know it.

  • jarm
    Reactions Received
    9
    Trophies
    3
    Posts
    247
    • October 7, 2024 at 2:27 PM
    • #8

    The UF in the sfton instruction just indicates which UF the shifting is happening in, nothing more

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
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • 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
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Tags

  • motoman
  • userframe
  • shift
  • depalletizing
  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