-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0iF controller #6
Comments
Does the control have a FOCAS or FOCAS2 option? If so, then there is a good possibility that it does. |
Yes it has FOCAS2. I have already setup it on the controller. I need to know how to setup the agent in my pc to connect to the controller via FOCAS2. Thanks in advance. |
Firstly, have you configured your machine using the Once you have the configurator open, you may want to select the 30i family for this controller since it has FOCAS2. Enter the IP address, manufacturer, model, serial and description for your machine and click Add. The Software adapter service will start automatically. Next, you need to try and hit the agent that comes with the Fanuc MTConnect Agent. Try visiting http://localhost:5000/current in your web browser. If you are seeing your machine and it's current data then everything is working. If that does not work,
|
Both the Fanuc MTConnect Agent service as well as the adapter service are running on my PC. The agent port number in the agent.cfg file is 5000 and adapter port number is 7879. I have set my FOCAS2 IP = 192.168.0.100 and Port Number = 8193 on my controller. On debugging the adapter, I found that the adapter gives the result=-16 while trying to connect to the machine at 192.168.0.100 port 8193. PFA - Command Prompt snippet for the same. |
I'm assuming you are trying to connect over Ethernet? If memory serves me correctly, (-16) is a Ethernet connection error returned from the Focas libs. Make sure your pc has the same subnet mask(ex. 255.255.255.000). I had this issue at one point and manually setting my pc's ip and subnet solved the issue for me. |
Hi, I am having the same Issue, |
Hi, |
Hi, just found this. Maybe you find it helpfull: |
Can I connect to a Fanuc 0iF controller using this agent? If yes, then please guide me how to connect?
The text was updated successfully, but these errors were encountered: