Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 08:42:34 AM
Home Help Search Calendar Login Register
News: Any Problems or Experience with Industrial Robots ?
Register and place your Question to worldwide Robotexperts right here !

+  Robotforum | Support for Robotprogrammer and Users
|-+  Robot Help and Discussion Center
| |-+  Yaskawa Motoman Robots
| | |-+  nx100 external program selection
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: nx100 external program selection  (Read 338 times)
kev newton
Newbie
*
Offline Offline

Posts: 2


« on: July 14, 2008, 11:39:55 AM »

Hi
I have recently started working on a project using an nx100 and a up130rln  we have the robot running in test coditions fine but i would like to connect to another system and call programs via plc but i am not sure how remote program selection works.  does any one have any info that would  point me in the right direction for this please
Logged
Stormtrooper
Jr. Member
**
Offline Offline

Gender: Male
Posts: 51



« Reply #1 on: July 14, 2008, 04:14:45 PM »

The easiest way to call specific jobs is to use the master job routine, This routine is cyclic until a call condition is satisfied. This requires direct Inputs from the plc and by using binary condition statements you can allocate more jobs to the input buffer. There are two methods of using input buffers, the first method monitors the full 8 bit allocation using the IG#(?) command, alternatively you can use the IGH#(?) command which will use only 4 bits.
For example:

20040      INPUT 1      IG#1      IGH#1
20041      INPUT 2      IG#1      IGH#1
20042      INPUT 3      IG#1      IGH#1
20043      INPUT 4      IG#1      IGH#1
20044      INPUT 5      IG#1      IGH#2
20045      INPUT 6      IG#1      IGH#2
20046      INPUT 7      IG#1      IGH#2
20047      INPUT 8      IG#1      IGH#2

Example 1

NOP
*START
MOVJ P001 VJ=50.00
DOUT OG#(1) 0
DOUT OG#(2) 0
DOUT OG#(3) 0
CALL JOB:STANDARD IF IG#(3)=1
CALL JOB:IRISH-LH IF IG#(3)=2
CALL JOB:IRISH-RH IF IG#(3)=3
CALL JOB:TIP-CHG IF IG#(3)=128
JUMP *START
END

Example 2

NOP
CLEAR STACK
*START
CALL JOB:TIPDRESS IF I001>=8
MOVJ P000 VJ=50.00
DIN B000 IGH#(2)
DIN B001 IGH#(6)
JUMP *SELECT IF IN#(1)=ON
JUMP *START
*SELECT
JUMP *A-SIDE IF IN#(11)=ON
JUMP *B-SIDE IF IN#(12)=ON
*A-SIDE
CALL JOB:ROTATE-B
JUMP *1 IF B008=1
CALL JOB:A-PULSE IF B001=1
*1
JUMP *START
*B-SIDE
CALL JOB:ROTATE-A
JUMP *2 IF B009=1
CALL JOB:B-PULSE IF B000=2
*2
JUMP *START
END

I have attached the Installation and wiring manual which should assist you further.
Logged
Stormtrooper
Jr. Member
**
Offline Offline

Gender: Male
Posts: 51



« Reply #2 on: July 14, 2008, 04:37:45 PM »

P.S.
If you can get hold of PETE YOUNG on the assembly line, he should be able to help you out at TMUK.
Logged
motomaniaco
Newbie
*
Offline Offline

Posts: 36


« Reply #3 on: July 15, 2008, 05:12:49 AM »

Kev,
Try this option

DIN B000 IG#(2) ... or any input group
CALL B000

With this type of program all you jobs must to have a numeric name. Using an input group you have 255 combinations for jobs.
Logged
95devils
Newbie
*
Offline Offline

Posts: 24


« Reply #4 on: July 17, 2008, 02:14:34 AM »

Another option is to turn on the user parameter (S2C) for job registration table.  The instruction would look similar to this but the jobs would not have to be named numerically.  Basically a look up table
   

DIN B000 IG#(2) ... or any input group
CALL B000 JET#(1)
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.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!