Jump to content


  • Posts

  • Joined

  • Last visited

About Kane

  • Birthday 05/15/1989

Profile Information

  • Gender

Recent Profile Visitors

2,278 profile views

Kane's Achievements


Newbie (1/4)



  1. I have an issue where the high voltage appears to be inducing noise on my 24vdc to power the JAZZ 2. I am going to scope it next week to see how bad the noise is. The noise is very apparent when a frequency drive starts because I lose the USB connection and can not re-establish it. Today, I tried adding a ferrite ring to the incoming power and it appears to be night a day. When its not installed I have an issue when it is there, no problem. Has anyone else added a ring to their setup to cut down on noise or found connection issues with the USB port? Also, a wild question could too much noise cause a glitch in the PLC program? Every so often the PLC misses a math function from a positive transition. Any thoughts?
  2. I am using a JZ20-R31. I have been using a program I wrote that monitors a HSC then adds a value to the HSC and saves it into a different MI. What I have noticed is that the system works great as long as the HSC is a positive number. When it overflows to a negative it will randomly not execute the math function. I am thinking that this a limitation of the controller having a 3 to 4ms scan time. Any thoughts on this issue?
  3. 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.
  4. 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.
  5. I am currently working a program that is similar to a counter. It takes the photo eye pulses sends the TCP packet to a server. The server then interprets the message depending on which line the pulse is from the message will be different. Then updates a database. I am currently testing this program between two V130s. The socket connects it sends the information. It gets a successful bit back from the tcp layer. The problem I have is that the FB Scan just gives me a -1 in the index of message. From what the help says is an invalid format or message to be received. Review PLC master TCP/IP port 5000 makes the connection to PLC slave TCP/IP port 5000 Sends all the messages RX on slave socket accumulate correct number of sent messages FB scan function on slave gives me -1 on index of messages. Also to make the connect tcp work I must give it a true to false transition for it to connect is this correct. It works flawlessly as is but not sure why itd be set up that way?
  6. I don't like being called a n00b!

  7. Well after doing some reading and research. I came up with a way to integrate AJAX and refresh the operands without refreshing the page like the enhanced web server.pdf wants you to do with a <meta> command. It works pretty well sometimes a little slow. I am looking to see if I can make it more stable and responsive. I believe I read some where on the forums that if i separate the JavaScript into its own file it may work better. Hope this helps others that are looking to do a similar application. Also still looking for tips and tricks for improvements or if anyone has any questions let me know. <Header> <script type="text/javascript"> var auto_refresh = setInterval( function () { $('#Content').load('/Web/Start.htm #Content').fadeIn("slow"); }, 200); // refresh every 200 milliseconds </script> </Header> <body> <Div data-role="content" id="Content"> [MI3,1,0] </DIV>
  8. Well I found my own solution for the jquery issue. Since for some reason I was not able to figure out the source link to grab the jquery files locally. I went the CDN-hosted route. Several websites claim that this is the way to go and no one should ever host it locally. Idk. The webpage is loading very quickly operands loading just fine. Now if any one has any feed back on AJAX that will be helpful and of course if I make any progress I will be happy to share. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" /> <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script>
  9. I am using a V130 series OPLC and I am working on an Advanced Web Server that will be mobile friendly. I like the simplicity of jquery and the power of ajax. I am currently only able to get the HTML to display from the web server. I am referencing the jquery files that are placed under Web on the SD card but they do not seem to load and the browser will hang for a bit before it loads the html without the jquery style sheets and structure. Any ideas? Comments? Also I am looking for examples of users updating operands with AJAX. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>AgriNomix Production Management</title> <link href="jquery.mobile.theme-1.0.min.css" rel="stylesheet" type="text/css"/> <link href="jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css"/> <script src="jquery-1.6.4.min.js" type="text/javascript"></script> <script src="jquery.mobile-1.0.min.js" type="text/javascript"></script> </head> <body> <div data-role="page" id="page"> <div data-role="header" data-theme="a"> <h1>AgriNomix Production Management System</h1> </div> <div data-role="content" data-theme="c"> <ul data-role="listview" data-split-icon="plus"> <li><a href="#Live">Live Feed</a></li> </ul> </div> <div data-role="footer"> <h4>For Questions Please Contact AgriNomix at </h4> </div> </div> <div data-role="page" id="Live"> <div data-role="header"> <h1>Live Feed</h1> </div> <div data-role="content"> [MI3,0,1,0] </div> <div data-role="footer"> <h4>For Questions Please Contact AgriNomix at </h4> </div> </div> </body> </html> Its just a stripped version of what the code looks like but you should be able to get the picture. Thanks.
  • Create New...