Been programming robots, PLC and CNC since 1998, but somehow I managed to never making a complete project with FANUC since then.
I've only finished a program for a customer whose roboticist left the company and all the setup was done.
I've seen/know how to define TCPs and User frames.
I've seen how to call routines stored in different files.
But I have a few questions:
- Let's say I create the PROG_1 TP program, how can I define that this is the MAIN routine (the program entry point for that robot)? (like Main is in ABB robots).
- Is it possible to call a function passing parameters to it? and can a function return a value? (could you tell me where could I get information about it?) (or pasting a small example).
- Of course I will need inputs and outputs. I know there are the DI[x] and DO[x]... and how to use them, but... How do I tell the system how many of them exist? I mean, seen the maintenance manual, but not seen how to define the signals available... Are they simply present when IO cards are connected? and what happens when you connect IOs from a fieldbus?
- When I had to finish that cell in the past, they did not explained anything to me and I ended up using a USB stick to send the programs to the robot controller... Is there any way I can connect my laptop to it using an ethernet cable? Is there any manual that explains where should I connect (port), the IP addresses needed, if it must be an FTP connection... ?
Thank you very much in advance!