Jump to content
Kane

TCP/IP data logging

Recommended Posts

Goal: Create a path to translate a triggered photo eye to a web server to count results.

Results: Unitronics V130 with ethernet card. TCP functions to send messages to a PHP socket server. Have the messages evaluated and send back acknowledgement. I used two Ethernet sockets one to send and one to receive. Noticed that using one socket may cause collusions if socket is busy. Once trigger messages were created added more features such line control from web interface. Interface currently, controls 4 productions lines that can easily produce 4800 parts an hour.

With data in the web server tracking can be manipulated and viewed in real-time.

Used external web server because the integrated web server is too slow and only allows one client connection at a time.

Share this post


Link to post
Share on other sites

I am in the horticulture business so the data recorded is plant material that is finished and set down a conveyor. The data is the used to show amount produced, rate, and estimated completion time. It is important information for line managers to know where they are at to meet expected goals.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...