Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

PLC and PC Connection 2

Status
Not open for further replies.

farzad89

Mechanical
May 9, 2014
23
I am searching for a connection way between a PLC of CNC machines and a PC(laptop). I need to record the real-time feed rate from machine. One of the ways that I've found is CP5611 communication board that should be connected to the CNC from PC, and another way is OPC server communication software. Which way is true? How can I record PLC data?

Respectfully
 
Replies continue below

Recommended for you

But you didn't think it relevant to even mention the actual brand and model of the PLC?

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529


Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
There is a homework forum hosted by engineering.com:
 
IRstuff, Thank you for your reply. Siemens S7 PLCs are my target. What is the difference between the CP5611 communication and the OPC server communication software? How can I get the Velocity of every axis in a 3-axis machine?
 
Shouldn't your talk to your Siemens applications engineer for this?

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529


Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
There is a homework forum hosted by engineering.com:
 
I am asking about communication ways between a PLC and a PC. What is the difference between the CP5611 communication and the OPC server communication software?
 
I believe that the CP5611 is a Network Interface Card, NIC or a piece of hardware which is used to connect a computer to an Ethernet network. OPC communication software is software running on a computer which might use a NIC to connect and talk to a PLC.
 
Hi farzad89:
In reading this string of replies, I was disappointed IRstuff's reply to you. [shadessad] I thought oh, if you give him brand, he can answer. Then you gave him brand and just replied [ask Siemens, not me]. I thought if he is spending time replying, he might offer us some insight and looking forward to learning from him. As you probably did too.

Disclaimer: I have not worked with CNCs for over a decade. [dazed]

djs is correct, the CP5611 is the PROFIBUS network communication card. The short answer to your question is you want to do the velocity monitoring in PC (CNC) not PLC. So OPC would be easiest if you needed to record history of velocity, but you will have sample frequency rate limitations (network and read/write delays) in this kind of high speed monitoring. Script writing directly NC to grab sample, max/min and avg would allow a more high speed sample rate, and I would think siemens already has that diagnostics built in.

If you are just wanting to optimize the speed and velocity controller of the selected machine axis and not so much record history of velocity, you can use built in software/screens.

You lookup in your particular Siemens CNC model commissioning manual. Like MD32810 $MA_EQUIV_SPEEDCTRL_TIME (Or call Siemens as IRstuff puts it, if you want to go the more complicated and higher frequency velocity monitoring rate.) As there is a lot of machine data points in a CNC, the exact details of what you want to do and why; will dictate complicity. for example you may be wanting data directly from encoders, or may want MD34070 $MA_REFP_VELO_POS (reference point positioning velocity), MD34070 $MA REFP_VELO_POS (target point positioning velocity), you may have to account for backlash if movement points in different directs, etc. etc.

Go to manual section on Axis monitoring functions (dynamic)", also reference Function Manual, Basic Functions; Velocities.
To monitor live "Diagnostics" operating area → Menu forward key → "Axis diagnostics" → "Service axis"

Hope this gives you a little more to go on, or helps is some little way.

Don
BIN Industrial & PLC Training
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor