Izzybe

MrPLC Member
  • Content count

    42
  • Joined

  • Last visited

Community Reputation

13 Good

About Izzybe

  • Rank
    Sparky

Profile Information

  • Country Belgium

Recent Profile Visitors

1640 profile views
  1. are you using the correct factorytalk software version? Higher apa versions dont let you restore and open when using an older ftview program, normally you are getting warnings about missing packages (factorytalk services), and when the incorrect version is used.  If there are no warnings, go and open ftview and go to existing project --> you should see your project. (@dumdum being correct).
  2. IAI (MSEP) ETHERNET/IP

    I used IAI for a linear actuator. IAI is pretty good in support. @pcmccartney1 is making a valid point and the correct one. In your IO tree, under generic ethernet module, browse to the tag definition (online of course with the plc) and see if you are seeing any values. if you are not seeing any values, that means that you are not pointing to the correct IP address, or you messed up in your generic module definition (such as DINT, INT, SINT, ...) make sure that your generic ethernet module matches with their datasheet. It is something that most people overlook. 
  3. Thanks for your reply :) I dont have the single node version. The only way would be to open and kill your actual rslinx application within your readclick() subroutine.  Sub ReadClick()    Dim vPID as Variant    Dim UsedTopic As String      'point to your rslinx location     vPID=shell("C:\programs\rockwell automation\rslinx.exe", vbNormalFocus)      UsedTopic = Cells(1, 1)     rslinx = OpenRSLinx(UsedTopic)     'Reading code goes here     DDETerminate rslinx     'your code for terminating rslinx program from your pc.           'dim                '.... see below note what to insert             'end if    End Sub     There is a sample code on this forum on how to close notepad. Replace notepad with rslinx.exe (what is shown in your task manager as running process name) You would copy from first dim --> to end if command  and paste it to  http://www.vbaexpress.com/kb/getarticle.php?kb_id=811   keep me posted
  4. sorry for this late reply:  Yes, SpeedTec AB version are not reliable. I had customers destroy AB servo cables because they pulled the servo cables on the connector. you cannot pull them on the connector (make sure that you are pulling further away from the connector). I used Amphenol brand --> they are a lot better in reliability. Igus and some other brands have speedtec connectors - I dont know how good those cables are.
  5. Tim, There are several ways to tackle this and way to many options. It all boils down to budget and how reliable you want the system to be, how often does it need to update, etc.). The easiest way and easiest for upkeep is an HMI that is somewhere stashed away, that you know off, that is pulling the data from your plc (PLC is keeping track) - create a webbrowser  (me panelviews have viewpoint) and point the tv with a pc to that website. If more tv's need to be added in the future, you point all those TV's to the same HMI address. You can create an VB or excel application on a pc and rslinx that goes and pulls the data from the PLC. PC is connected to the TV. AdvancedHMI is another option as well in that category.  A historian like Bob mentions - in a lot of flavors as well...  Depending on the PLC, you can add an webpage card to the PLC. (1786-EWEB for example,...)     
  6. Interesting DDETerminate works while DDETerminateAll doesn't. Does DDEPoke or DDERequest work on your script?  run your code in debug mode, and step through each line. Keep your online tags short maybe one in case of troubleshooting. In your vb editor tools --> go to references. Dialog box will open and look for the missing library, the last library with a checkmark will start with missing and then its name. check the missing library and then hit ok. Otherwise you need to call it out as an Application.DDETerminateAll
  7. @electronGuru - you are correct on this. @Tarrant79 - Auto-discovery should show all your io devices (make sure that the bus is connected, cards are snapped in place etc. , also rslinx is a good way for troubleshooting those devices) - however in studio5000, some devices are not capable of online addition (you cannot do add-on of cards while you are online and it requires a download to the plc in order to get the devices added). This non-online addition device will show grey in the auto discovery and not black. There are reported windows compability issues as well (are you running windows 10?) - this is what electronGuru talks about ... . Also, you need to make sure that you have all your add on profiles installed and you need to make sure that if you are doing the auto-discovery that you are discovering on the right bus, ethernet card etc... where you normally would put your io cards in the project. also Rockwell has a technote listed for the L83E for error on auto-discovery. I worked with the L81 and L83's and for me the 7 series are more stable than the L8 series. Hope this helps.
  8. factorytalk view SE

    There are several options: SE edition is a good option 1756-eweb card on a main plc that is keeping track of production numbers - website and multiple users can access the website link to view production a pc with excel, dde and batch script to pull numbers every 15 minutes and with IIS services enabled with a website  one main ME panelview and create a viewpoint application --> multiple users can browse to it with a website link .... 
  9. you are still using V15  ... What PLC are you using, I am just curious?  A lot of the newer replacement PLC's have the tag on them, with big warnings not to flash firmware below V16.   Yes, rslogix still has different packages offered. RSLogix5000 standard is garbage in my eyes. Go for RSLogix5000 professional, rslogix5000 full edition or RSLogix5000 oem, ... those cover almost everything.   Also, Rockwell offers a lease option on their software (maybe worth to go that route). It allows you to download every version.
  10. @HuntWhenever, at first glance it looks everything is fine even with the ddeterminate command. Try changing the command to DDETerminateAll.  Some rslinx packages only offer one topic (one device) or none. Rslinx OEM and rslinx PRO handle multiple DDE's. Rslinx single node is the name says - a single device , so one dde. rslinx lite - no dde support.   Sub ReadClick()     Dim UsedTopic As String     UsedTopic = Cells(1, 1)     rslinx = OpenRSLinx(UsedTopic)     'Reading code goes here     DDETerminateAll End Sub
  11. I am trying to give you a different viewpoint on where I see it used and it can be useful. I dont even believe in the 3d software - because mechanical engineers tend to turn off those pesky interferences off as warnings on solidworks, autocad (LOL). 
  12. ViewPoint

    yes i have seen this before. This is when you forgot to publish your viewpoint displays and created a runtime straight away.  factorytalk studio --> viewpoint publishing wizard --> publish project (pick what screen viewpoint needs to start in) --> create your runtime and download new runtime to hmi. ping HMI --> are you seeing it on your network?  
  13. Do you have your input filtering enabled? Also, the encoders that I have used have a much tighter resolution than 60ppr :| (what are you using for encoder) you need to calculate your scalar and then you calculate your rpm. f.e. Ctr0CyclicRateUpdateTime = 80 CtrnScalar = 1 (you are not modifyling your raw data) --> 1000 the encoder has 60 counts per revolution, and the change in Ctr[0]. f.e. CurrentCount is 12. Scalar = 60/60  [counts/revolution] /[sec/min] = 1 (nominator is your 60 ppr) RPM = (1000x12)/ (80x1) = 150 rpm  
  14. there are different ways to handle this. if you are dealing with a machine, setup your parameters list (variables that can change) and call your "recipes" from the plc. Rockwell has sample code that would give you a good start. Also, the panelview (me edition) has a me recipe plus configuration, you just have to make sure that on a runtime download the recipes are not overwritten. I made those csv files and kept a backup just in case... 
  15. yes cross reference tag and see where it is being used. Also, sometimes I put an additional catch in there (a test tag that is a latch in front of the mov command). I know then for sure that the MOV command was executed. If the latch is not latched, that means you are working on fumes and you forgot to call out the subroutine in the main program.