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. Fanuc 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

Having two switch between 2 masters

  • bigemike
  • October 1, 2018 at 3:20 PM
  • Thread is Resolved
  • bigemike
    Trophies
    3
    Posts
    7
    • October 1, 2018 at 3:20 PM
    • #1

    So I went on a week training trip to DRS for waterjet programming. And when I came back I had a glorified mess.

    A programmer came in and destroyed my robot and re-imaged it to 8 months ago.

    long story short
    we have two programs that are on one master
    and 2 programs on another master.

    we are going into dmr_group to switch the encoder numbers between running them and that is a nightmare
    Is there any way to do the math to switch the old two programs to the new master?

    I really need to get out of this, I have worked every weekend since I got back trying to dig out of this hole.

    Thanks,
    Mike

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • October 1, 2018 at 3:53 PM
    • #2

    Hi
    I need to understand first "we are going into dmr_group to switch the encoder numbers"

    Can you explain that ? What encoders ?


    Are the four programs ok ? Can you select them manually an run them ?

    Retired but still helping

  • bigemike
    Trophies
    3
    Posts
    7
    • October 1, 2018 at 5:00 PM
    • #3

    we are having to switch the master count
    variables>dmr_grp_t>$master_coun

    we are changing 7 values for the axis from
    1. 209300
    2. -10115901
    3. 33747616
    4. -63145
    5. 7525088
    6. 378881
    7. 202785

    to

    1. 209234
    2. -9939501
    3. 33254691
    4. -83772
    5. 7486426
    6. 378880
    7. 368481

    WE have 2 programs running correctly on each, its a big mess.......

    but we dont have someone availble that can constantly change this, nor is this a plan for long term lol

    It would be really nice to find a way to adjust 2 of the programs to match the new master counts

    its literally about 35-40hrs of programming and check fixturing to get these to switch over manually.

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • October 1, 2018 at 6:22 PM
    • #4

    I think I understand your problem now
    You have 2 programs that were taught some time ago under certain values on the dmr.
    Then, somebody recalibrate it or soemthing, so the dmr values changed and after that , 2 new programs were taught.

    The only thing I see for a quick repair is a the top of each program write

    $DMR_GRP[1].$MASTER_COUNT[1] = 209300
    $DMR_GRP[1].$MASTER_COUNT[2] = -10115901
    on and on

    And something similar on the other two programs

    This is a dangerous situation but it should work I strongly recommend you do a image backup and try it.

    Seems to me that the variation on the pulses is small, few millimeters (guessing for the number of counts). You maybe be able to run the program manually a touch up every one of those single point. Just work in a copy of the program on weekends

    Retired but still helping

  • bigemike
    Trophies
    3
    Posts
    7
    • October 1, 2018 at 10:23 PM
    • #5

    :yesyesyes:

    Thanks for the info
    What is the process for entering that string of data into a program? My brain is fried from teach pendant overload at this point, lol

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • October 2, 2018 at 1:08 AM
    • #6

    Select Register
    Go to the last option ...=(...)
    Fanuc will put you in the first ... and then use the keyboard to type it just like a did
    when you get to (...) SELECT constant and type the pulse value

    Retired but still helping

  • tonygast
    Reactions Received
    6
    Trophies
    3
    Posts
    244
    • October 2, 2018 at 2:32 PM
    • #7

    I would....
    1. Determine the correct master counts, this affects accuracy.
    2. Input and use those values.
    3. "Program Shift" the programs taught with the wrong master counts, you already know the difference.
    4. Step through and verify the programs.

    Oh, well

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • October 2, 2018 at 3:11 PM
    • #8

    hI
    Tony, you are right
    I figured they are running production and they don't a break and we don't want bigemike to have a hurt attack.

    What you are suggesting is a weekend job , because even after the shift, he's going to have to touch up points

    bigemike
    Please do an image backup, I wouldn't trust just saving the programs and screwing up things with pulses

    Retired but still helping

  • robotero
    Reactions Received
    14
    Trophies
    4
    Posts
    346
    • October 2, 2018 at 3:44 PM
    • #9

    Hi,all
    If I remember correctly (please someone correct me if I am wrong)
    You can only manipulate the master count values while in controlled start

    So you go into controlled start, alter the master count values,
    then change the master done bit to 1,
    reebot then calibrate

    There is no need to type-in the count values every time
    The master count values are stored in the SYSMASTER file of the backup (ALL or system)

    Just make a backup for each master set values then
    every time you need to switch go into controlled start and load the corresponging SYSMASTER file
    reebot (no need to change rhe master done bit to 1 but probably still need to recalibrate though)
    :dance2:

    Please try this and feedback if it works!

    I don't think a program shift would work here ,.... :hmmm:
    because every position would require a different adjustment
    But probably would get close enough .....

    The only way to have all programs running with a common masterization is to teach every position again.
    Do you have roboguide?

    Edited once, last by robotero (October 2, 2018 at 3:47 PM).

  • bigemike
    Trophies
    3
    Posts
    7
    • October 2, 2018 at 5:39 PM
    • #10

    Robotero,
    I can confirm that editing the master counts does change it instantly.
    We have been running this way for over a week with not going into a controlled start.

    I am going to do an image backup tonight and enter that data into the programs and try it.

    Thanks everyone for the help.

    BTW I have TCP mate being installed in two weekends and we will have to re-program after that.

    So I am just trying to get by until then.

  • Robo_Eng_13
    Reactions Received
    26
    Trophies
    4
    Posts
    432
    • October 2, 2018 at 5:54 PM
    • #11

    Depending on how many points were in the two programs using the old mastering, i might just try to update them.

    Make a program with all motion groups masked out, with system variable commands to switch to the old mastering and to the new, depending on the value of a DO signal.

    Set that program into BG Logic and start it to running.

    Split screen the pendant, putting your DO on the right side and your programs that need updated in the left.

    Step through the program 1 point at a time, and for each point:

    Set the DO to use the old mastering
    Forward to the taught point
    Set the DO to use the new mastering
    Touchup the point without moving

    Do this for each point and i would think that would leave you with the old programs in the new mastering. Don't forget to kill the BG logic.

  • bigemike
    Trophies
    3
    Posts
    7
    • October 3, 2018 at 5:37 PM
    • #12

    How would you setup the DO and switch between them quickly and efficiently, some of these programs have 600 points to switch

  • jenesaisquoi
    Trophies
    3
    Posts
    24
    • October 3, 2018 at 6:03 PM
    • #13

    I'm guessing it would look something like this

    IF DO[xx] = ON JMP LBL[1] --- just make sure to use a DO that's not being used anywhere else. You could probably use an RO as well.
    Insert new master data
    JMP LBL[2]
    LBL[1]
    Insert old master data
    LBL[2]

    It's still going to be time consuming, but it should be easier than programming from scratch

  • Robo_Eng_13
    Reactions Received
    26
    Trophies
    4
    Posts
    432
    • October 3, 2018 at 6:48 PM
    • #14
    Quote from jenesaisquoi


    I'm guessing it would look something like this

    IF DO[xx] = ON JMP LBL[1] --- just make sure to use a DO that's not being used anywhere else. You could probably use an RO as well.
    Insert new master data
    JMP LBL[2]
    LBL[1]
    Insert old master data
    LBL[2]

    It's still going to be time consuming, but it should be easier than programming from scratch

    Display More

    Right. It is not a perfect solution, and 600 points will take quite a while, but it would be a permanent fix.

  • bigemike
    Trophies
    3
    Posts
    7
    • October 3, 2018 at 10:29 PM
    • #15

    so is there a hotkey I can use to turn the DO on and off? I guess that is my final question

  • pyrioun
    Trophies
    3
    Posts
    35
    • October 3, 2018 at 10:53 PM
    • #16

    place each master count axis variable in register
    make a program like this basic example

    IF calib2 JMPLBL[2]
    LBL[1]
    $DMR_GRP[1].$MASTER_COUN[1] = R[1]
    $DMR_GRP[1].$MASTER_COUN[2] = R[2]
    $DMR_GRP[1].$MASTER_COUN[3] = R[3]
    $DMR_GRP[1].$MASTER_COUN[4] = R[4]
    $DMR_GRP[1].$MASTER_COUN[5] = R[5]
    $DMR_GRP[1].$MASTER_COUN[6] = R[6] ;
    JMPLBL[3]
    LBL[2]
    $DMR_GRP[1].$MASTER_COUN[1] = R[11]
    $DMR_GRP[1].$MASTER_COUN[2] = R[12]
    $DMR_GRP[1].$MASTER_COUN[3] = R[13]
    $DMR_GRP[1].$MASTER_COUN[4] = R[14]
    $DMR_GRP[1].$MASTER_COUN[5] = R[15]
    $DMR_GRP[1].$MASTER_COUN[6] = R[16] ;

    LBL[3]
    $MCR_GRP[1].$CALIBRATE = 1 ;

  • jenesaisquoi
    Trophies
    3
    Posts
    24
    • October 4, 2018 at 1:14 PM
    • #17

    You can go into your digital I/O screen, highlight the desired output, and turn it ON or OFF from there. I believe it's F4 to turn it ON, F5 to turn it OFF.

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
  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