Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - nar0909

#1
Support / Re: Kuka KRC4 IO mapping for HMI
February 26, 2018, 11:01:40 PM
Yes Johannes,
I want to test the EXT automatic where I can use a generic hmi to select a program from the switch case statement.
And the $IN[3000] is an INT (integer) coming from the hmi to the controller.
So do you suggest I'm going in the right direction.? :)
Thanks
N
#2
Support / Re: Kuka KRC4 IO mapping for HMI
February 26, 2018, 07:32:02 AM
Hi Johannes,
Based on our conversation I have come this far.
So I modified the CELL.SRC and calling the case number from the HMI to run my desired program.
Please have a look and let me know if this sounds valid or any changes required.

&ACCESS  RVP
&COMMENT HANDLER on external automatic
DEF  CELL ( )
  EXT Jig1()
  EXT Jig1_2225()
  EXT Jig2()
  EXT Jig2_2225()
  EXT down()
 
  DECL CHAR DMY[3]
  DMY[]="---"
 
  GLOBAL INTERRUPT DECL 3 WHEN $STOPMESS==TRUE DO IR_STOPM ( )
  ;GLOBAL INTERRUPT DECL 3 WHEN $IN[2018]==TRUE DO IR_STOPM ( )
  INTERRUPT ON 3
  BAS (#INITMOV,0 )
 
  $H_POS=XHOME
  IF CHECK_HOME==TRUE THEN
    P00 (#CHK_HOME,#PGNO_GET,DMY[],0 ) ;Testing Home-Position
  ENDIF
 
  $H_POS=XHOME
  PDAT_ACT=PDEFAULT
  BAS (#PTP_DAT )
  FDAT_ACT=FHOME
  BAS (#FRAMES )
  BAS (#VEL_PTP,100 )
  PTP  XHOME
 
  P00 (#INIT_EXT,#PGNO_GET,DMY[],0 ) ; Initialize extern mode
 
  LOOP
    P00 (#EXT_PGNO,#PGNO_GET,DMY[],0 )
    SWITCH  $IN[3000]

    CASE 1
      P00 (#EXT_PGNO,#PGNO_ACKN,DMY[],0 ) ; Reset Progr.No.-Request
      Jig1()

    CASE 2
      P00 (#EXT_PGNO,#PGNO_ACKN,DMY[],0 ) ; Reset Progr.No.-Request
      Jig1_2225()
     
    CASE 3
      P00 (#EXT_PGNO,#PGNO_ACKN,DMY[],0 ) ; Reset Progr.No.-Request
      Jig2()
     
    CASE 4
      P00 (#EXT_PGNO,#PGNO_ACKN,DMY[],0 ) ; Reset Progr.No.-Request
      Jig2_2225()

    CASE 5
      P00 (#EXT_PGNO,#PGNO_ACKN,DMY[],0 ) ; Reset Progr.No.-Request
      down()
     
    DEFAULT
      P00 (#EXT_PGNO,#PGNO_FAULT,DMY[],0 )
    ENDSWITCH
  ENDLOOP
END










Thanks :)
#3
Support / Re: Kuka KRC4 IO mapping for HMI
February 06, 2018, 10:39:50 PM
Thanks for the info Johannes very useful.
I will start going through the KRL syntax and keep you posted so you could advice me if I'm going in the right direction.
Regards
Nar
#4
Support / Re: Kuka KRC4 IO mapping for HMI
February 05, 2018, 09:57:49 AM
Hi,

I apologise if I'm being a noob
But could you pls be able to provide any more sample code or setup with what you were explaining before in regards to the wait for and goto statements?

Any help greatly appreciated.
Regards
N
#5
Support / Re: Kuka KRC4 IO mapping for HMI
February 05, 2018, 09:38:53 AM
Hi Johannes,
Thanks for your response to my query.

So we were thinking about using some standard IO modules and control the robot controller IO with it.
The HMI would be sending and receiving data through the IO modules communicating with the robot controller.
So in your experience what would be a very reliable and cost effective way to approach this problem?
We are just aimed at offering the HMi to be used for the workers instead of the SmartPad.
And we only want to start/stop the robot operation using the hmi button, where start should start the robot program (only one program used at this stage) and stop should simply bring the robot to home position.

Can we use any intermediate gateway converters between HMi and the robot controller so it might have the gsdml file to support profinet?

Could we use the SRC skeleton file in the wvs to support serial comma by the HMI?

Pls comment on what could be done with this setup.

Cheers
N
#6
Support / Kuka KRC4 IO mapping for HMI
February 05, 2018, 12:10:14 AM
Hi all,
I'm wondering if anyone could provide some advice/guidance on how can I use some KRC4 IO to manually connect to a HMI that does not have a GSDML file? So i could manually connect my HMI to an external IO module to communicate with my Kuka Welding Robot?
The idea is just to avoid using the SmartPad (Teach Pendant) as not many floor workers are aware on how to run the robot in AUT.
Please shed some light on how we could access the KRC4 IO and what IO addresses are needed for this task?
We have ProfiNET as our fieldbus option.
Any help is appreciated.
Thanks
nar