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

Fronius ROB4000 to Motoman MRC Communication

  • Robatics1278
  • June 11, 2024 at 2:43 PM
  • Thread is Unresolved
  • Robatics1278
    Trophies
    1
    Posts
    36
    • June 11, 2024 at 2:43 PM
    • #1

    Good morning, does anyone have an idea how to call Fronius Jobs from a Fronius power supply into MRC programs? We have an NX100 / Fronius set up and its relatively easy to do using the inform list / macros / AON_FRJ1 / INSERT / ENTER.

    However on an MRC there is no Inform list. I'm looking for a way to tell the Fronius ROB4000 that I want MODE 1 out of Mode 0, Mode 1 and Mode 2 to turn on program selection then select the weld program I want. Unfortunately this isn't the original power supply for this machine so none of the universal I/O are labeled correctly. For years the operator has been using Arcon files and manually entering parameters to weld. I am trying to simplify this for new operators so they can select Jobs via sheet thickness like they do on the NX100.


    Any help would be great.

    Thank You.

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,947
    • June 11, 2024 at 4:35 PM
    • #2

    You could recreate the AON_FRJ1 job in the MRC. This would be a CALL job instead of a macro. Instead of passing arguments the operator would manually type values into a global variable. You could use local variables like the AON_FRJ1 but on the MRC, they can not be seen. All the instructions are there but the GETARG. Would also need to be in Expanded Language level for locals and indirect addressing.

    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.

  • Robatics1278
    Trophies
    1
    Posts
    36
    • June 11, 2024 at 5:06 PM
    • #3

    Hello 95 so if I am understanding you correctly I have to change the instruction set to Expanded, then create a job containing the information from the AON_FRJ1 job? Then call that job when I want to call a Fronius welding job? Thank You

  • Robatics1278
    Trophies
    1
    Posts
    36
    • June 11, 2024 at 5:19 PM
    • #4

    Then I would need multiple "FRJ" jobs to call different Jobs from the power source?

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,947
    • June 11, 2024 at 5:22 PM
    • #5

    Essentially, yes. If you want to use local variables and indirect addressing like the macro, you would need to be in Expanded Language Level. Instead of arguments being passed you would use global variables.

    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.

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,947
    • June 11, 2024 at 5:29 PM
    • #6
    Quote from Robatics1278

    Then I would need multiple "FRJ" jobs to call different Jobs from the power source?

    Should not need to. That is an argument that is passed. The operator (as long as they can do edits) can change or set the value in a variable.

    If you go this route the SET EXPRESS doesn’t exist on the MRC. You’ll have to write the expression with SET and MUL.

    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.

  • Robatics1278
    Trophies
    1
    Posts
    36
    • June 11, 2024 at 7:48 PM
    • #7

    Could you please highlight what has to be changed in the job? I am assuming the heading and the GETARG statements. This is the NX100 Macro.


    /JOB
    //NAME AON_FRJ1
    //POS
    ///NPOS 0,0,0,0,0,0
    //INST
    ///DATE 2008/01/14 09:40
    ///ATTR SC,RW,MC
    ///GROUP1 RB1
    ///LVARS 2,10,0,1,0,0,0,0
    NOP
    'v1.2
    '*****************************
    '*****Begin Setup Section*****
    '--Set OGH# for Mode Select
    SET LI005 4
    '--Set LI009 to the number of
    '---Program BITS (4 or :smiling_face_with_sunglasses:
    SET LI009 8
    '--Set OG/OGH# for Job select
    SET LI006 3
    '*****End of Set up Section*****
    '*******************************
    '
    SET LB001 2
    DIN LB000 OGH#(LI005)
    AND LB000 8
    ADD LB001 LB000
    DOUT OGH#(LI005) LB001
    '
    ' AWELD setting
    GETARG LR000 IARG#(3)
    SET LI002 EXPRESS LR000 * 10
    SET I000 LI002
    JUMP *MINWFS IF LI002<-200
    JUMP *MAXWFS IF LI002>200
    JUMP *WFSCALC
    *MINWFS
    SET LI002 -200
    JUMP *WFSCALC
    *MAXWFS
    SET LI002 200
    *WFSCALC
    ADD LI002 200
    MUL LI002 25
    DIV LI002 10
    AWELD LI002
    '
    ' VWELD setting
    GETARG LI003 IARG#(4)
    JUMP *MINV IF LI003<-30
    JUMP *MAXV IF LI003>30
    JUMP *VCALC
    *MINV
    SET LI003 -30
    JUMP *VCALC
    *MAXV
    SET LI003 30
    *VCALC
    ADD LI003 30
    MUL LI003 100
    DIV LI003 6
    VWELD LI003
    '
    ' Job Number
    GETARG LB000 IARG#(1)
    JUMP *NG IF LB000>255
    JUMP *OGH IF LI009<=4
    DOUT OG#(LI006) LB000
    JUMP *OG
    *OGH
    DOUT OGH#(LI006) LB000
    *OG
    '
    ARCON
    ' TIMER setting
    GETARG LR000 IARG#(2)
    SET LI004 EXPRESS LR000 * 10
    TIMER T=LI004
    RET
    '
    *NG
    PAUSE
    END

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,947
    • June 12, 2024 at 2:36 PM
    • #8

    /JOB
    //NAME AON_FRJ1
    //POS
    ///NPOS 0,0,0,0,0,0
    //INST
    ///DATE 2008/01/14 09:40
    ///ATTR SC,RW,MC
    ///GROUP1 RB1
    ///LVARS 2,10,0,1,0,0,0,0
    NOP
    'v1.2
    '*****************************
    '*****Begin Setup Section*****
    '--Set OGH# for Mode Select
    SET LI005 4
    '--Set LI009 to the number of
    '---Program BITS (4 or :smiling_face_with_sunglasses:
    SET LI009 8
    '--Set OG/OGH# for Job select
    SET LI006 3
    '*****End of Set up Section*****
    '*******************************
    '
    SET LB001 2
    DIN LB000 OGH#(LI005)
    AND LB000 8
    ADD LB001 LB000
    DOUT OGH#(LI005) LB001
    '
    ' AWELD setting
    GETARG LR000 IARG#(3)
    SET LI002 EXPRESS LR000 * 10
    SET I000 LI002
    JUMP *MINWFS IF LI002<-200
    JUMP *MAXWFS IF LI002>200
    JUMP *WFSCALC
    *MINWFS
    SET LI002 -200
    JUMP *WFSCALC
    *MAXWFS
    SET LI002 200
    *WFSCALC
    ADD LI002 200
    MUL LI002 25
    DIV LI002 10
    AWELD LI002
    '
    ' VWELD setting
    GETARG LI003 IARG#(4)
    JUMP *MINV IF LI003<-30
    JUMP *MAXV IF LI003>30
    JUMP *VCALC
    *MINV
    SET LI003 -30
    JUMP *VCALC
    *MAXV
    SET LI003 30
    *VCALC
    ADD LI003 30
    MUL LI003 100
    DIV LI003 6
    VWELD LI003
    '
    ' Job Number
    GETARG LB000 IARG#(1)
    JUMP *NG IF LB000>255
    JUMP *OGH IF LI009<=4
    DOUT OG#(LI006) LB000
    JUMP *OG
    *OGH
    DOUT OGH#(LI006) LB000
    *OG
    '
    ARCON
    ' TIMER setting
    GETARG LR000 IARG#(2)
    SET LI004 EXPRESS LR000 * 10
    TIMER T=LI004
    RET
    '
    *NG
    PAUSE
    END

    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.

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,947
    • June 12, 2024 at 2:38 PM
    • #9
    Quote from 95devils

    /JOB
    //NAME AON_FRJ1
    //POS
    ///NPOS 0,0,0,0,0,0
    //INST
    ///DATE 2008/01/14 09:40
    ///ATTR SC,RW,MC
    ///GROUP1 RB1
    ///LVARS 2,10,0,1,0,0,0,0
    NOP
    'v1.2
    '*****************************
    '*****Begin Setup Section*****
    '--Set OGH# for Mode Select
    SET LI005 4
    '--Set LI009 to the number of
    '---Program BITS (4 or :smiling_face_with_sunglasses:
    SET LI009 8
    '--Set OG/OGH# for Job select
    SET LI006 3
    '*****End of Set up Section*****
    '*******************************
    '
    SET LB001 2
    DIN LB000 OGH#(LI005)
    AND LB000 8
    ADD LB001 LB000
    DOUT OGH#(LI005) LB001
    '
    ' AWELD setting
    GETARG LR000 IARG#(3)
    SET LI002 EXPRESS LR000 * 10
    SET I000 LI002
    JUMP *MINWFS IF LI002<-200
    JUMP *MAXWFS IF LI002>200
    JUMP *WFSCALC
    *MINWFS
    SET LI002 -200
    JUMP *WFSCALC
    *MAXWFS
    SET LI002 200
    *WFSCALC
    ADD LI002 200
    MUL LI002 25
    DIV LI002 10
    AWELD LI002
    '
    ' VWELD setting
    GETARG LI003 IARG#(4)
    JUMP *MINV IF LI003<-30
    JUMP *MAXV IF LI003>30
    JUMP *VCALC
    *MINV
    SET LI003 -30
    JUMP *VCALC
    *MAXV
    SET LI003 30
    *VCALC
    ADD LI003 30
    MUL LI003 100
    DIV LI003 6
    VWELD LI003
    '
    ' Job Number
    GETARG LB000 IARG#(1)
    JUMP *NG IF LB000>255
    JUMP *OGH IF LI009<=4
    DOUT OG#(LI006) LB000
    JUMP *OG
    *OGH
    DOUT OGH#(LI006) LB000
    *OG
    '
    ARCON
    ' TIMER setting
    GETARG LR000 IARG#(2)
    SET LI004 EXPRESS LR000 * 10
    TIMER T=LI004
    RET
    '
    *NG
    PAUSE
    END

    Display More

    This is assuming that you want to still use local variables. The SETs at the beginning of the job may also need to change based on where I/O is wired into.

    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.

  • Robatics1278
    Trophies
    1
    Posts
    36
    • June 17, 2024 at 3:00 PM
    • #10

    Thank you very much. I really appreciate it.

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

  • mrc
  • Fronius welder
  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