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

Posts by dha

  • TOUCH SENSE INSIDE FANUC ROBOGUIDE WELDPRO

    • dha
    • November 12, 2024 at 11:07 AM

    Did you set RI as Collision IO in robot's property window?

    image.png

  • Fanuc M-1000iA / R-30iB Plus

    • dha
    • January 23, 2024 at 8:40 AM

    Option J651 Smooth stop changes all stops to cat 1.

  • Syntax for command files (.CM)

    • dha
    • August 23, 2023 at 11:36 AM
    Quote from authoms

    Hi dha

    I use the example below :

    DEFPROG *POSREG*

    ! max PR

    SETVAR $MAXPREGNUM 299 ;

    EXIT


    After restart in "controlled start" to apply the change.

    then in "Start Cold"

    Display More

    I confirm this approach is working.

    If you need to work with system variables again use

    Code
    DEFPROG *SYSTEM*
  • How to get different status of robots by Karel Code

    • dha
    • August 1, 2023 at 1:11 PM

    You need to toggle DO[] which is linked to UI[8: Enable].

  • How to get different status of robots by Karel Code

    • dha
    • August 1, 2023 at 10:32 AM

    Instead of looking for variables, it is easier to link all UOP signals to Flags (if you don't use them for PLC communication) and read DO's in KAREL.

    - For E-Stop set DO in System > Config

    - For Fault read UO[6]

    - For enabled UO[1] and UO[2]

    - For robot motion you set DO in IO > Cell Outputs

    For reading DO use GET_PORT_VAL (2, port_nr, STATUS).

  • High value of V_Cur while using TAST

    • dha
    • August 1, 2023 at 10:24 AM

    You can do it from TP program or KAREL

    Code
    $TAST_PARAM[x].$COMP_RATE_Z = 9999
    $TAST_PARAM[x].$COMP_RATE_Y = 9999
  • ARC_ON welding variable RJ3iB

    • dha
    • August 1, 2023 at 10:13 AM
    Code
    $AWEPOR[1].$ARC_DET_ON
  • Syntax for command files (.CM)

    • dha
    • August 1, 2023 at 8:56 AM

    I know that way. I was wondering if there is a way to do it using CM...

  • Robot display body like straw/stick

    • dha
    • July 28, 2023 at 12:34 PM

    M-900iB/330L displays fine in V9 Rev.ZG

  • Running Karel Programs without pressing shift or the deadman switch

    • dha
    • July 28, 2023 at 12:13 PM

    You can do what SkyeFire suggested, but use Browser favourite shortcut with address

    Code
    /KAREL/KAREL Program Name?chVar1="Hello"&chVar2="World"
  • what variables carry extended axis values

    • dha
    • July 28, 2023 at 12:06 PM

    You can use

    Code
    $SV_INFO[1].$AXIS_POS[7]
    $SV_INFO[1].$AXIS_POS[8]
  • Syntax for command files (.CM)

    • dha
    • July 28, 2023 at 8:25 AM

    I need help setting %MAXREGNUM in [*NUMREG*] using CM.

    I tried this:

    Code
    SETVAR [*NUMREG*]$MAXREGNUM 200    -> No error, but also no change
    SETVAR [NUMREG]$MAXREGNUM 200      -> No error, but also no change
    KCL SET VAR [*NUMREG*]$MAXREGNUM = 200 -> "Undefined parse syntax error"
    KCL SET VAR [NUMREG]$MAXREGNUM = 200   -> "Variable not defined"
  • Fanuc M-700iC/20L RPM buffer issue.

    • dha
    • January 5, 2022 at 3:04 PM

    $RPM_CFG.$N_BUFFERS = 16

  • Collision Detection Disabled on Ext Axis

    • dha
    • January 4, 2022 at 11:29 AM

    Check all remedies from manual:

    Code
    Check whether the duty and applied load exceed the rating. If so, reduce the duty or applied load.
    Check whether the robot is pushed or pulled by an external force. If so, remove the external force to the robot or modify the taught point.
    Check whether the power line of the robot connection cable or the cable in the mechanical unit are down.
    Check whether the motor power cable/connector and brake cable/connector are connected correctly. Especially, check whether the power cable/connectors are not connected to other motors.
    Check whether the robot setup (setting of 2BK or 6BK) is correct, if the used robot has 2BK option.
    Measure the supplied voltage. Then, check whether the voltage is matched to the controller specification.
    Check whether the motor brake is released properly when RESET is pressed or the robot moves. First of all, check whether the setting of brake number is correct when this alarm occurs on an auxiliary axis.
    When this alarm occurs on the auxiliary axis whose brake is controlled by the auxiliary brake unit, check the fuse on the auxiliary brake unit.
    If this alarm cannot be reset, refer to the Controller Maintenance Manual for more information. About auxiliary axis, refer to the Auxiliary Axis Option Maintenance Manual.
  • KAREL read a string from Teach Pendant

    • dha
    • November 18, 2021 at 10:55 AM

    Once I did something like this.

    I had one KAREL program which calculated positions for palatalizing.

    User set registers depending on product type: size of pallet, size of products, how many products were stacked and and if they overlapped in height and distance to next product.

    Each time you called KAREL program, it output next position.

  • Arcmate 100iD weld start when moving

    • dha
    • November 4, 2021 at 2:31 PM

    Where do you need this?

    I never had this request from anyone ...

  • PC and FANUC robot TCP/IP Communication

    • dha
    • November 2, 2021 at 7:39 AM
    Quote from mahboobelahi93

    Hi all,

    I have written a simple KAREL prog to convert xyzwpr data received through HTTP request like:

    http://192.168.1.1/KAREL/Mov_HTTP?id=100&x=214.384&y=-282.970&z=170.502&w=179.937&p=.712&r=89.751

    after compilation of the source file, I am getting the following error

    And when I run p-code file I get TP warning can not lock motion group, how to resolve this error/issue

    Here is the KAREL code:

    Code
    PROGRAM Mov_HTTP
    
    %ENVIRONMENT  REGOPE
    
    %ENVIRONMENT  STRNG
    %COMMENT = 'GET POS_HTPP'
    %NOLOCKGROUP
    %NOABORT=ERROR+COMMAND
    %NOPAUSE=ERROR+COMMAND+TPENABLE
    %ALPHABETIZE
    %INCLUDE KLEVKEYS
    %INCLUDE KLEVKMSK
    %INCLUDE KLEVCCDF
    %INCLUDE KLIOUOP
    %INCLUDE KLIOTYPS
    
    
    VAR
        id,XX,YY,ZZ,WW,PP,RR: STRING[10]
        con: CONFIG
        reg_ID,x,y,z,w,p,r:  REAL
        temp_pos: XYZWPR
        fFileHandle : FILE
        chOutFile: STRING[20]
        ret_code,status,prog_index: INTEGER
    ----------------------------------------------------
    -- BEGIN MyProgram                             
    ----------------------------------------------------
    BEGIN
        -- clear the TPERROR screen
        --FORCE_SPMENU(TP_PANEL,SPI_TPUSER,1)
        WRITE(CHR(137),CHR(128))
        WRITE TPERROR(CHR(128))
        WRITE('Waiting for HTTP Req...',CR)
        IF UNINIT(chOutFile) THEN
            chOutFile='TD:RESPONSE.HTM'
            WRITE('[X] INSIDE',CR)
        ENDIF
        CNV_STR_REAL(id,reg_ID)
        CNV_STR_REAL(XX,x)
        CNV_STR_REAL(YY,y)
        CNV_STR_REAL(ZZ,z)
        CNV_STR_REAL(WW,w)
        CNV_STR_REAL(PP,p)
        CNV_STR_REAL(RR,r)
        WRITE(reg_ID,x,y,z,w,p,r,CR)
        temp_pos.x = x--CNV_STR_REAL(x,XX)
        temp_pos.y = y--CNV_STR_REAL(y,YY)
        temp_pos.z = z--CNV_STR_REAL(z,ZZ)
        temp_pos.w = w--CNV_STR_REAL(w,WW)
        temp_pos.p = p--CNV_STR_REAL(p,PP)
        temp_pos.r = r--CNV_STR_REAL(r,RR)
        --CNV_STR_CONF('n',con,status)
        --temp_pos = POS(XX,YY,ZZ,WW,PP,RR,con)
       WRITE('--->',temp_pos,CR)
        SET_POS_REG(TRUNC(reg_ID),temp_pos,status,1)
        CALL_PROG('HTTP_test', prog_index)
        WRITE('Openign Foile...',CR)
        OPEN FILE fFileHandle ('RW', chOutFile) 
        WRITE fFileHandle ('OK',CR)
        wait for DOUT[101]
        CLOSE FILE fFileHandle 
    END Mov_HTTP
    Display More
    Display More

    You get this kind of error, if your KAREL program, which you are compiling, is still running or it is paused.

    You can also try deleting Mov_HTTP.VR from MD.

  • TRANSLATE Built-in

    • dha
    • October 29, 2021 at 1:05 PM

    I don't know how to do it, but you can send KCL commands via telnet. With this you can avoid karel...

  • TRANSLATE Built-in

    • dha
    • October 27, 2021 at 8:54 AM

    You get error MEMO-088 Program does not exists.

    I'm thinking that there is a problem with TRANSLATE function. In KAREL manual it is mentioned that Translator is an option.

    And if you look at possible options for robot there is R567 Karel Trans/Comp which is grayed out and I can't enable it. Maybe TRANSLATOR is not used anymore ...

    pasted-from-clipboard.png

  • TRANSLATE Built-in

    • dha
    • October 26, 2021 at 7:16 AM

    Try TRANSLATE('RD:\qqq.kl', FALSE, STATUS)

    Also check you return status.

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