Welcome, Guest. Please login or register.
Did you miss your activation email?
May 22, 2012, 04:52:38 AM
Home Help Login Register
News: Any Problems or Experience with Industrial Robots ?
Register and place your Question / Answer to worldwide Robotexperts right here !

+  Robotforum | Support for Robotprogrammer and Users
|-+  Industrial Robot Help and Discussion Center
| |-+  ABB Robot Forum (Moderators: Werner Hampel, Sven Weyer, Jim Tyrer, Napierian)
| | |-+  Count welds
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Count welds  (Read 403 times)
ateist75
Newbie
*
Offline Offline

Posts: 17


« on: January 04, 2012, 08:24:42 AM »

Hi all!
I would like to count the number of arc ignitions in a weld cycle and compare it to a num reg with the correct number of welds. I have a DI that shows that a weld is started (ARC ignition confirmed).
We have had some problems with operators that starts the program in the wrong line after they have been changing weld nozzle for example.
And in some cases they have skipped a weld without noticing.

So, how is the best way to do this?  I appreciate all help!   icon_smile
Logged
prnuk2003
Sr. Member
****
Offline Offline

Gender: Male
Posts: 339


Customer Service Engineer


« Reply #1 on: January 04, 2012, 01:21:03 PM »

Set up a TRAP connected to the digital input to increment a num data for each weld. Each 'part' will have a different number of welds per cycle so compare them after the cycle is complete - if its different then generate a warning, otherwise reset the num data to zero
Logged

BR
prnuk2003
ateist75
Newbie
*
Offline Offline

Posts: 17


« Reply #2 on: January 04, 2012, 02:34:14 PM »

Set up a TRAP connected to the digital input to increment a num data for each weld. Each 'part' will have a different number of welds per cycle so compare them after the cycle is complete - if its different then generate a warning, otherwise reset the num data to zero

Thanks! I have never used the trap function, i have to read a little bit i think. But now i know where to start. 
Logged
ateist75
Newbie
*
Offline Offline

Posts: 17


« Reply #3 on: January 05, 2012, 06:25:52 AM »

Actually, if someone could show a example of trap programming (and maybe use my ARC established input in the example) i would appreciate it.
I made som tryes yesterday but i am uncertain how the trap routine should be programmed.
Logged
prnuk2003
Sr. Member
****
Offline Offline

Gender: Male
Posts: 339


Customer Service Engineer


« Reply #4 on: January 05, 2012, 09:09:12 PM »

Quick example of a TRAP.
Use nCount after each cycle and reset it befor the next. 

MODULE WELD_CNT(SYSMODULE)
    !************************************
    PERS NUM nCount:=0;
    VAR intnum Monitor;
   
    PROC Init_Monitor()
      ! Insert this routine in Main for example
      IDelete Monitor;
      CONNECT Monitor WITH tExample;
      ISignalDI diArc_OK,high,Monitor;
    ENDPROC
   
   
    TRAP tExample
      Incr nCount;
    ENDTRAP

  ENDMODULE
Logged

BR
prnuk2003
ateist75
Newbie
*
Offline Offline

Posts: 17


« Reply #5 on: January 06, 2012, 11:32:58 AM »

Thank you verry much, now it is crystal clear. trap funcionality opens up alot of possiblites for me. Should have used it a long tima ago  icon_smile
Logged
HWK0329
Newbie
*
Offline Offline

Posts: 14


« Reply #6 on: January 06, 2012, 01:43:24 PM »

Another easy way, is to echo the start to the PLC and let the PLC handle everything. This way they can stop the clamps from opening or letting the operator take the part out without it being welded all the way.
Logged
ateist75
Newbie
*
Offline Offline

Posts: 17


« Reply #7 on: January 07, 2012, 12:02:05 AM »

Another easy way, is to echo the start to the PLC and let the PLC handle everything. This way they can stop the clamps from opening or letting the operator take the part out without it being welded all the way.

Yes, that was my first plan. But we dont have external  PLCs on all our weld cells so the trap solution is possible to implement faster and cheaper.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!