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

Posts by dangalg

  • How to check if point has Null Values

    • dangalg
    • August 10, 2022 at 5:55 AM
    Quote from HawkME

    The users choice could set a single register value as an integer, then you could use that to indirectly address PRs that have already been taught.

    Nope. this is a pick an place program with vision. Fanuc with cognex camera

  • How to check if point has Null Values

    • dangalg
    • August 8, 2022 at 6:06 AM
    Quote from HawkME

    Why not just use an offset in the TP program? I don't see the value of doing this in Karel.

    I have an offset in the tp. But the points are coming from karel based on users choice in the custom pendant screen. That is how my program is built. Do you have a solution for what I asked?

  • How to check if point has Null Values

    • dangalg
    • August 7, 2022 at 6:37 AM

    I am connecting two points using the connectPoints routing , but when I try to move to the point in TP the robot gets a system error. I understood it is because some of the data in the point is null.

    How do I check if only part of the point is NULL? I made a CHKNULL Routine that works but would like to make something more robust. I added both routines on the bottom.

    Code
    ROUTINE CHKNULL
    
    
    VAR
    pointNULL : BOOLEAN
    tempstr: STRING[20]
    BEGIN
    pointNULL = TRUE
    CNV_REAL_STR(firstPoint.x, 2,0,tempstr)
    IF tempstr = ' *' THEN
    pointNULL = FALSE
    ENDIF
    CNV_REAL_STR(firstPoint.y, 2,0,tempstr)
    IF tempstr = ' *' THEN
    pointNULL = FALSE
    ENDIF
    CNV_REAL_STR(firstPoint.z, 2,0,tempstr)
    IF tempstr = ' *' THEN
    pointNULL = FALSE
    ENDIF
    CNV_REAL_STR(firstPoint.w, 2,0,tempstr)
    IF tempstr = ' *' THEN
    pointNULL = FALSE
    ENDIF
    CNV_REAL_STR(firstPoint.p, 2,0,tempstr)
    IF tempstr = ' *' THEN
    pointNULL = FALSE
    ENDIF
    CNV_REAL_STR(firstPoint.r, 2,0,tempstr)
    IF tempstr = ' *' THEN
    pointNULL = FALSE
    ENDIF
    
    
    RETURN(pointNULL)
    END CHKNULL
    Display More
    Code
    ROUTINE CONNECTPOINTS
    
    
    VAR
    resultPoint : XYZWPR
    
    
    BEGIN
    
    
    CNV_STR_CONF('fut', conf, 1)
    resultPoint =  POS(0, 0, 0, 0, 0, 0, conf)
    
    
    resultPoint.x = firstPoint.x + secondPoint.x
    resultPoint.y = firstPoint.y + secondPoint.y
    resultPoint.z = firstPoint.z + secondPoint.z
    resultPoint.w = firstPoint.w + secondPoint.w
    resultPoint.p = firstPoint.p + secondPoint.p
    resultPoint.r = firstPoint.r + secondPoint.r
    
    
    
    
    RETURN(resultPoint)
    
    
    END CONNECTPOINTS
    Display More
  • KAREL XML parsing

    • dangalg
    • March 8, 2020 at 9:40 AM

    Anybody found a good way to parse XML?

    I am having a terrible time with it

  • trouble with my robot

    • dangalg
    • December 10, 2019 at 9:48 AM

    me too

    Bump...

  • Making Size of Karel Variable bigger

    • dangalg
    • September 11, 2019 at 7:07 AM

    Karel variable max size is 64K

    Is there a way to make this limit bigger?

  • Saving offsets

    • dangalg
    • July 23, 2019 at 9:51 PM

    Hi all,
    For my program I want to have a station point for every station and then offsets of that point. I made a screen where the users select a station and set it’s position, then they select a station and an offset position, then move the robot with the tp. Then they click a button which subtracts the offset from the station point and saves the point in a karel position in a struct object.
    Then in the program I connect the station point with the offset and move to it. This makes it so that if the station moves I only have to set one station point and all the offsets will be in place already.
    Problem is that my offset point is not always in the same configuration. That causes the robot to move to a wrong position when I connect them back...
    How should I handle this?

  • Object Oriented RAPID

    • dangalg
    • February 11, 2019 at 8:51 AM
    Quote from yolo


    Check out "RECORD" for your data.

    Sent from my S41 using Tapatalk

    I cannot find anything about RECORD.
    can you give an example?

  • Object Oriented RAPID

    • dangalg
    • February 11, 2019 at 6:49 AM

    Hey, I am trying to figure out if RAPID is object oriented.
    I cannot figure out how to create something like a class and have instances of it.
    Any help will be appreciated. Thanks!
    :yesyesyes:

  • NX100 Station Axis (EX) Motocom32

    • dangalg
    • January 8, 2019 at 9:06 AM

    Hey,
    I am using motocom32 to write points to the NX100. I can write a position easily but do not understand how to write pulses to station axis.
    Any help will be appreciated.
    Thanks :yesyesyes:

  • Running robot from c# app using PCDK

    • dangalg
    • November 13, 2018 at 9:29 AM

    bump

  • Karel User Defined Structure

    • dangalg
    • November 11, 2018 at 10:32 AM

    Actually it works like this I had something else that gave errors :dance2:

  • Karel User Defined Structure

    • dangalg
    • November 11, 2018 at 7:32 AM

    I am trying to figure out how to use User- Defined structure.
    can someone give a precise example of use?

    I am trying:
    PROGRAM testUserDef

    CONST

    TYPE

    PART = STRUCTURE

    -- The current side of the part
    CurrentSide: INTEGER

    -- The current stage for the part
    CurrentStage: INTEGER


    ENDSTRUCTURE


    VAR

    Part1 : PART

    BEGIN

    Part1.CurrentSide = 1
    Part1.CurrentStage = 2

    WRITE TPDISPLAY(Part1.CurrentSide , CR)

    END testUserDef

    This is not working giving errors at runtime

  • PCDK, Linux, .NET Core, and RoboGuide

    • dangalg
    • November 6, 2018 at 2:09 PM
    Quote from SkyeFire


    So, here's my situation: I've been tasked with doing a feasibility study for a customer. The customer wants to purchase an R30-iB+ and integrate it into their existing (robot-free) PC-based automation. The requirement is for the operator to be able to work with the entire system, including the robot, without ever touching the teach pendant. So, PCDK seems like the obvious solution.

    From what I understand PCDK is only for reading and writing to registers. You will still need wither a TP app or karel app to run the robot

  • PCDK, Linux, .NET Core, and RoboGuide

    • dangalg
    • November 6, 2018 at 2:08 PM
    Quote from irai


    Recently I wanted to purchase PCDK but I was bored waiting a quotation from Fanuc that has never come.
    I passed a couple of hours and found that no need of PCDK to communicate from a .NET app.

    But I am getting an error that I don't have a liscence.. How did you make it work without PCDK?

  • C# connection to robot

    • dangalg
    • November 6, 2018 at 1:41 PM

    Hey,
    Does anyone have experience with how to connect to a robot and communicate with it from c#?

  • PCDK, Linux, .NET Core, and RoboGuide

    • dangalg
    • November 6, 2018 at 7:40 AM

    I am getting an error when trying to connect:
    System.Runtime.InteropServices.COMException: 'The Robot Server run-time license is not valid.'

  • Save Karel Variables to memory

    • dangalg
    • November 4, 2018 at 6:34 AM

    :applaus:
    It worked!
    Just had to delete the program and re upload it.
    Thanks!

  • Save Karel Variables to memory

    • dangalg
    • October 29, 2018 at 7:19 AM

    As soon as I turned the controller on and off the karel position was lost

  • Save Karel Variables to memory

    • dangalg
    • October 28, 2018 at 6:10 AM

    Hi,
    I want to save Karel variables to memory.
    The reasons for this are:
    1. I want the operators to be able to set points in the program and I want the points to stay even after power loss
    2. I want to save the state of the program in power loss and be able to continue from where I left off
    I saw in the reference manual that there are two commands that might be useful for this:
    %CMOSVARS
    %CMOS2SHADOW
    Can someone please explain with an example how this works, if this is possible

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