Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

PLC and PC Connection

PLC and PC Connection

PLC and PC Connection

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?


RE: PLC and PC Connection

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

FAQ731-376: Eng-Tips.com Forum Policies
[IMG http://tinyurl.com/7ofakss]
Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers

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: http://www.engineering.com/AskForum/aff/32.aspx

RE: PLC and PC Connection

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?

RE: PLC and PC Connection

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?

RE: PLC and PC Connection

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.

RE: PLC and PC Connection

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.

BIN Industrial & PLC Training

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close