Compact logix to fanuc controller communications

There is easy ways to do this?

When using any Robot, whether it be fanuc , motoman , abb
or whatever . The easiest way to gain total control from panelview is to create a master program within say the fanuc robot .. This program will have no move statements what so ever.
or i should say it doesnt have to have any ... it is possible
but not good programming.....

you should check things like is air on , water on ,
things that concern the operation of the end of arm tooling .

most generally when using this setup .. you also have a plc that will be acting as the master and the robot will be the slave.

at this point you will need to loop your master program once all safety checks have been verified..

loop is achieve by jump labels ????? for those who are not familiar????

then you will need to look at your group inputs.. most genarally
you will use 8 bits to accomplish this..

if the binary equivalent of the data that is sent is greater than <0
then call job
if not continue to loop...

what this will do is enable you to call numerous programs
to handle different routines based on the data conditions of the plc..

becareful though.. when using subroutines from actual pns programs.. when you stack programs . all programs have to finish and return from the program from which it came .. there are ways around this.. but it would just be to dangerous to try and do ... lol


so if you are picking and placing for instance?
create a program that picks .. then one that places . and then one that does what ever your other operations or process has to do to get done ..

the plc should be programmed to call each one of these operations . based on where it is at in logic..

so you will need some handshaking involved
for instance: the plc calls program 5 which is pick?
once master has called pick? you will need to have some i/o that will send signals back to plc and will verify that it is in program 5 .you dont have to verify it . but it is good practice when using descrete i/o .the reason why is? say you called program 5 which is a binary output from plc . and input to the robot.. what do you think would happen if you lost an output..well you would get a bogus number . which might be a valid program . but would be the wrong sub to run causing the robot to crash.. and possibly severly...

so i always verify that i am in the right program before i allow continuation of the process to occur. then you will obviously need info like are there parts or is it clear.
these should always be considered ..

and then the notorious home from any where ?
this can be accomplished through basic programing inside the robot itself..

what i typically do is assign registers within the robot to handle coordinate positions.
meaning :say i am in an area that i will call area 1
if i want to call home from area 1
then inside my path i have the robot program set say register 20 to equal 1
and then for how many different areas i have that need a path home ? i assign them different numbers.say i have 7 different locations in the process . thus i create one home program
with 7 different ways home . based on register data r20=1-7
and then 7 individual if statements all based on r20 inside the home routine..but in order to actually call it you have to either call it when the robot is done with a certain program and back in master . or you will need to send a pause and then an abort signal and then send home program number and then run signal . which is the best way to do it . take control..

thanks for listening .... lol
 
You can call a different program from a PLC by using one of the following methods.
1. PNS program number select (up to 255 different programs0
2. RSR robot service request (limited to 8 different programs?)
Commonly used method is PNS. Calls PNS0001 to PNS0255. Then from each PNS program you can call different jobs for the robot.

I have posted a working RSlogix program in the following link. We have used hardwired signals to control the robot in this application. All you have to do is to replace the hard wired inputs/outputs with your ethernet signals. I can send you a Controllogix interface in a couple days time if you are desperate. We usualy map 16bytes in/16 bytes/out between the robot and the PLC. If you need any help regarding the PLC or the robot send me an email.


http://www.plctalk.net/qanda/showthread.php?t=33507

Using the ethernet instead of the hard wired I/O What would I send over the Port.. Teh actuakl program name or ???

Thanks
 
kentuckytech are you palletising boxes or sacks?
How many infeeds? how many stacking stations?
I have done this many times as i too want to keep operators away from the teach pendant. I will then post on here how did one project recently using siemens to Abb 6400R robot using ethernet from the plant scada to the PLC then profibus to the robot. Palletising data sent to robot via PLC. robot controlled from HMI.
 
We are stacking bags of various sizes (from 15 lb to 50 lb) and we have one infeed station and one stacking station. We have about 40 different unitloads to select from. I guess the information i need to know is which register to write to for unit load, pause, pallet complete,abort, and move to perch position. none of the register files have documentation as to what they are in the teach pendent. Thanks for any information you can supply
 

Similar Topics

Hello Everyone, I have a issue with communication between two different PLCs. So here is the facts, The Master PLC is Guard Logix 5069 with IP...
Replies
4
Views
101
gents, I am trying to configure communication with EMERSON PK300 controller through port A1 using generic ethernet communication module . I could...
Replies
0
Views
115
I've blown the Output Transistor on the Output Card of a Compact Logix 1769-L24ER-QBFC1B It says J378. Does anyone know the replacement part...
Replies
3
Views
205
I am having trouble with getting no control of my analog output signal. I am using the SCL function block to control my analog output. The logic...
Replies
11
Views
255
I was wanting to see if anyone had any information on setting up a cub5 meter and getting the data to a Allen bradley PLC. I think i have the set...
Replies
0
Views
139
Back
Top Bottom