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
Everywhere
  • Everywhere
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Members
  3. zim

Posts by zim

  • Disappearing Positional Variables

    • zim
    • July 27, 2021 at 6:39 PM

    The jump trick definitely works, thanks for that, and it looks like I'll probably go with that as its a lot cleaner than the switchcase I was using before, or worse, the separate job files that came before me; I just wish there was a way around having unused lines of code in the job file. When you've got 9 pairs of nearly identical movements to choose from, it seems like overkill to have to initialize each one every time just in case its used.

  • Disappearing Positional Variables

    • zim
    • July 26, 2021 at 5:22 PM

    Yes, as far as I can tell. I give it ///NPOS 0,0,0,22,0,0 and it rewrites it to ///NPOS 0,0,0,4,0,0 and drops all unspecified p-vars. I haven't had any luck finding documentation on header configuration though, so that was a line I had to stumble my way on to figuring out.

  • Disappearing Positional Variables

    • zim
    • July 26, 2021 at 4:55 PM

    I'm new to robotics programming and I'm currently fighting with an fs100 to let me program a job the way I want it to.

    I've got a job that sets an i-var before calling a second job, and that second job reads the i-var and moves to the corresponding p-var from the stack of p-vars I stuffed into the header...except that when I load the second job file into motosim it drops all p-vars from the header that I haven't specifically called in that job (P010 stays because I use MOVJ P010 VJ=20.00, but P003 seems to disappear because I only ever call MOVJ P[I000] VJ=20.00 that might equal P003). Is there a way around this or am I fighting a losing battle for the sake of a cleaner job file by not using a giant switchcase for a single move command?

    Code: MAIN
    SET I000 3
    CALL JOB:SUB
    Code: SUB
    MOVJ P010 VJ=20.00
    MOVJ P[I000] VJ=20.00

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics
  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