Communicate with FANUC CNC machine

4 次查看(过去 30 天)
Dear All,
I'm trying to communicate with a FANUC CNC machine using TCP/IP by MATLAB. I have to read the current value of X-axis, Y-axis of the machine which are can be done by reading macro variables such as: #500, #501. But I don't how to start, what kind of knowledge I should have to do that. So my questions are:
1) Can Matlab do this works.
2) Can you give me some hints, links, tutorials to do that?
3) What kinds of knowledge should I have to that?
Please help me and thank you so much.

采纳的回答

Salaheddin Hosseinzadeh
Hi
You can definitely do this with MATLAB.
You need to have the IP address of your CNC device, if you don't know it refer to it's manual or somehow manually you should be able to see the IP address on the device. you need to create a TCP/IP session this link will help you how to do it with matlab, you need the IP address in this step.
Then you can send commands and receive the messages and information.
Hope this helps.
Good Luck!

更多回答(1 个)

Hienbn
Hienbn 2014-8-17
Yes, Thank you so much for your answer, I would try it out soon.

类别

Help CenterFile Exchange 中查找有关 Application Deployment 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by