Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 12:25:48 PM
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
| |-+  Yaskawa Motoman Robot Forum (Moderators: Fabian Munoz, Napierian)
| | |-+  external job select on ERC
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: external job select on ERC  (Read 502 times)
JG
Jr. Member
**
Offline Offline

Posts: 64


« on: November 30, 2011, 06:51:11 PM »

Hi all,

I need to have my ERC controller run one of several jobs based on the outputs of a PLC (each output of the PLC will be assigned a diffenet JOB).  There will likely have to be 4 to 6 jobs.  I see an IO board in the controller, but there's much I don't know.  What voltage to use for my signals (I assume 24V), NPN or PNP (negatave or positive inputs to the IO board), and my biggest obstacle is how to make the controller know what to do with the inputs.

I know this is a way outdated controller, but it's what we have.  I appreciate any help anyone can offer.
Logged
Pcarbines
Full Member
***
Offline Offline

Gender: Male
Posts: 135



WWW
« Reply #1 on: December 01, 2011, 06:21:26 AM »

hello JG, although your  ERC is old & has earlier software (inform1) a lot of instruction sets etc are similar to later models & software versions (inform 2 & 3).
one method--
**You can use the instruction "CALL" in conjunction with IF comand. therefor a series of instructions as follows written into a "Master Job" &  Connect your input wiring as follows
Input one -- terminals 7TB-1  & common 0v 01C-47 ( computer inputs use internal supply 24v unless other- wise arranged)
Input two -- terminals 7TB-2  & common 0v 01C-47
Input three -- terminals 7TB-3  & common 0v 01C-47
Input four -- terminals 7TB-4  & common 0v 01C-47
Input five -- terminals 7TB-5  & common 0v 01C-47
---------You need to write a master job simular to --
NOP
MOV          (teach "safe" physical position for robot for all jobs your running, my personnel preference)
Call Job xxxx If input 001 = on  (or 1)
Call Job xxxx If input 002 = on  (or 1)
Call Job xxxx If input 003 = on  (or 1)
Call Job xxxx If input 004 = on  (or 1)
Call Job xxxx If input 005 = on  (or 1)
XXX (instructions for counters /end effector maintenance jobs etc . fit these types of details at end of
the master job if you need to , but don't turn "output "relays" off and on as they will self destruct with cycle loop with this simple master job instruction set.)
End                ( make sure job is registered and in auto and job will cycle back to start & re scan)
Two method . Master job is simular.
** connect your inputs into a block and use Binary or BCD and jump to that job number direct (larger numbers needed to justify doing that (99) or (255) as examples. Still a very popular way even with DX100s
**Create alternative master job using intermediary Job numbers ie.
If you still haven't any manuals on wiring I/O connection please advise and I can send you some split from larger files.
Logged
JG
Jr. Member
**
Offline Offline

Posts: 64


« Reply #2 on: December 05, 2011, 05:43:12 PM »

Thanks friend, I'll give that a try (hopefully sooner rather than later).  I do have some manuals to refer to as well.  I assume when you say common 0v, that means that the inputs are PNP (+24 VDC)?  I can check the manual as well, but at the very least you've given me something to work with.

Thanks Aagain
Logged
Pcarbines
Full Member
***
Offline Offline

Gender: Male
Posts: 135



WWW
« Reply #3 on: December 06, 2011, 07:21:39 AM »

Please switch the 0volt wire from 0v terminal into input 7TB- x , this means NPN.
Logged
JG
Jr. Member
**
Offline Offline

Posts: 64


« Reply #4 on: December 12, 2011, 02:33:47 PM »

Ah, I see.  Thanks again.
Logged
Pcarbines
Full Member
***
Offline Offline

Gender: Male
Posts: 135



WWW
« Reply #5 on: December 12, 2011, 10:22:18 PM »

Please e-mail me and I will send ERC maintanence manual , it shows I/O better than I can explain it.
Logged
JG
Jr. Member
**
Offline Offline

Posts: 64


« Reply #6 on: December 13, 2011, 01:37:31 PM »

I already have it.  In fact I think it was you who e-mail it to me last year.  You're a great help
Logged
JG
Jr. Member
**
Offline Offline

Posts: 64


« Reply #7 on: January 20, 2012, 05:24:28 PM »

Thanks again for all the help.  I managed to make it select which job to run based on which input is on (7tb-x).  Unfortunately, I may yet need to switch outputs on and off, and you previous told me "... don't turn "output "relays" off and on as they will self destruct with cycle loop with this simple master job instruction set".

why would that be?  Is there any way around it, or am I SOL?
Logged
Pcarbines
Full Member
***
Offline Offline

Gender: Male
Posts: 135



WWW
« Reply #8 on: January 20, 2012, 09:29:01 PM »

Hello JG,    ( for those readers on the Forum ,wondering why all this ?-" ERC does not have a inbuilt "Reserved start "option as in-- MRC -XRC- NX100 & DX100 , you write your own and register it as a Master Job)
** the reasons I warn against turning "Relay - outputs" Off & On is for two reasons
One - In the region after the last line in the example below (xxxxx) , it would mean that when this program is running and it's not called to a selected job , it runs in a loop at the scan rate of the computer which is mili secs. Any relay output included in this "uncalled" area will be turned On & Off at this scan rate and self destruct after a period of time, "Note !! I said "Relay" output (reason two) not solid state".
There is no reason you cannot include any outputs in your  "called" jobs , OR "include another job" that Carry's out your On & Off functions ,when called by a counter (see below) , such as every time a job is called you increment a counter , which in turn is scanned and when a number is reached you call a tip cleaning job (welding robot)

NOP
MOV          (teach "safe" physical position for robot for all jobs your running, my personnel preference)
Call Job xxxx If input 001 = on  (or 1)  ( increment counter x)
Call Job xxxx If input 002 = on  (or 1)
Call Job xxxx If input 003 = on  (or 1)  ( increment counter x)
Call Job xxxx If input 004 = on  (or 1)
Call Job xxxx If input 005 = on  (or 1)  ( increment counter x)
xxxxxxxxxxx
Call Job "tip clean"  if  counter X =< 13 (equal to or greater than 13)(on final line reset counter to Zero)

Just make sure where ever you put Outputs you are not in the uncontrolled loop OR  they are part of a soundly designed control function , normal practice.

The Motoman controllers have a vast array of logic options and you can write any number of control functions . Hope this goes some way to answering your question.
« Last Edit: January 20, 2012, 10:10:57 PM by Pcarbines » Logged
JG
Jr. Member
**
Offline Offline

Posts: 64


« Reply #9 on: January 23, 2012, 02:05:12 PM »

Ok, I understand now.  As it happens, the called jobs are where I need the relay outs.  So, in a sense, the master job is like a continuous loop with no exit condition (sorry, I'm more of computer programmer).  That's good enough for me.  Thanks again
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!