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

Ethernet KRL - Continuous transmission to server

  • Mentat
  • November 28, 2019 at 4:34 PM
  • Thread is Unresolved
  • Mentat
    Reactions Received
    61
    Trophies
    5
    Posts
    243
    • November 28, 2019 at 4:34 PM
    • #1

    Not a solution, but:

    1. Read up about subprograms and functions.

    2. Read about submit interpreter (sps.sub). That's where I would put the "Send coordinates through Ethernet KRL" part of a program.

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,373
    • November 29, 2019 at 9:45 PM
    • #2

    ...so, what is the problem, exactly? What are you trying to accomplish?

  • Online
    panic mode
    Reactions Received
    1,263
    Trophies
    11
    Posts
    13,030
    • November 30, 2019 at 3:50 PM
    • #3

    so what is it that you need?

    what do you mean by two pulse vectors? quadrature signal (dual channel)? or something else?

    12ms is extremely accurate ... if the speed is sufficiently low.... and for a student project , it is the principle that matters so you can choose speed sufficiently low.

    you can replace the GOTO with endless loop, it would do the same thing and without GOTO.

    if you want to put everything into one program without use of subs, FOILDs can be used to organize code and maintain overview.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Mentat
    Reactions Received
    61
    Trophies
    5
    Posts
    243
    • November 30, 2019 at 4:23 PM
    • #4

    If you want to send current robot position while the robot is moving, you will need to use two separate "threads". Hence the submit interpreter suggestion.

    If the robot can just send it's position at the end of the movement, then it's just a function to send data, an array of movements and a for cycle.

    Another option would include RSI module, but it's quite pricey.

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,373
    • December 1, 2019 at 12:13 AM
    • #5

    So, you want to produce data from the robot that emulates the quadrature signals of a linear encoder?

    Your root problem here is that the robot's internal clock only operates on a 12ms update rate (4ms in special cases with RSI, in IPO_FAST mode). So even if you could transmit data faster than once every 12ms, $POS_ACT_MES only updates every 12ms.

    Your current code only "works" b/c you're essentially "cheating" with the Advance Run Pointer. A better solution would be to put the data transmission into the SPS, and build the SPS loop so it avoids any pauses or branches, and use TRIGGER commands in your motion program to enable/disable the SPS transmission.

    Alternatively... in your motion program, create an Interrupt linked to a $TIMER_FLAG. Put your EKI_SEND into the Interrupt Service Routine, and have the ISR reset the $TIMER to -12ms each time it's called.

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,373
    • December 6, 2019 at 3:52 PM
    • #6

    There is no "Error 2350" in any of my documentation. What is the actual error message?

  • Online
    panic mode
    Reactions Received
    1,263
    Trophies
    11
    Posts
    13,030
    • December 6, 2019 at 5:15 PM
    • #7

    No offense but... Topic already got TEN responses and... still no clue what exactly you need help with. Would you please try to get to the point and - be specific?

    Q: so what is it that you need?

    A: I need to simulate ..., but this is not my problem right now,this function ...., but it is not my problem right now. quadrature... not a problem.


    Instead of telling what is "NOT the problem", try to narrow down your any and all of your issues to ONE specific and most important thing... What is the single issue that would ultimately help your project move forward? how what you have done with it, what do you want and tell how it does not meet your expectations. that is it.

    and before you respond, please lookup GIGO principle and read pinned topic READ FIRST. it is supposed to tell YOU how to ask for help.

    for example "my interrupt code does not work. it is exactly the same code as before" is not going anywhere. your code in original post has not a single INTERRUPT command. are we supposed to imagine what your code may look like now?

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

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

  • KUKA
  • EthernetKRL
  • TCP/IP
  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