Forum Replies Created
I’m just trying to wrap my head around exactly what it is you’re trying to do? I think what you’re asking or suggesting is that you want to have two identical controllers independent of each other running exactly the same logic in perfect synchronicity. You goal is this, in the event one controller fails, there’s an automatic fail-over to the second controller without any kind of interruption. Am I correct?
I don’t believe there is any official support for the Micrologix 1100 starter kit (free version) on Win 10. There’s actually a pretty detailed article here. The free starter kit versions only supports up to firmware version 10 too I believe so depending on your specific controller you may be out of luck. Of course just because there is no official support for Win 10 you could always try it, I’ve had pretty good success with RSLogix500 and 5000 that don’t show “official” support in their compatibility matrix…so you could always just try it. If not use a VM running Win 7.
I’ve heard of people using FreeOpcUA Client on the pi side. Then use RSLinx OPC server to map and pull tags. I’m not sure if linx support OPC-UA or just OPC-DA but this may be the easiest way to pull data using a pi.
I dont think I’m going to be too much help but I am interested in following this thread. From your post it sounds like you performed all logical steps to try to troubleshoot it.
A couple things that are interesting. The issue only is experienced on legacy panel views…I assume you’re referring to the Panelview line that runs the old Panelbuilder32 software. The thing that’s interesting is that when you put an unmanaged switch the problem goes away. That would indicate to me a Cisco configuration issue/mismatch somewhere…but why effecting only the old Panelviews???
Interesting problem. Please do update when you find a solution. Hopefully some of the network gurus here can offer more!
Not exactly sure but I’ll give it a go. Typically when in the requirements gathering phase of a project you would like to break the large problem into smaller, more bite size type problems that you can code out. I’m guessing here, but if I had to code a large machine, I may be inclined to break that down into logical blocks or portions (or phases) and then each phase would have its own sequence.
If you’re referring to a PLC programming type paradigm, or style such as FBD, Ladder or SFC, I’m not familiar with phase or sequence.
When you refer to P&ID, I assume you are referring to Piping & Instrumentation Diagrams and not PID (Proportional Integral Derivative)…there is a difference. Assuming that’s clear, I are you required to show the actual IO points in the P&ID? Typically these are more abstract type drawings that do go right down to the IO. Could you not just show the controller and then have a note beside?
Now that would truly be magical! If you find something that will do that please share. I know Rockwell provides conversion tools for their PLC5, SLC500 to go to Logix but automagically converting a Siemens program to a Logix program…I’m not aware. Hmmm…I wonder how big a market there would be for a piece of software like that? I’m guessing there is one and it would be large! On the other hand, we can’t automate our own jobs 🙂
Hey this is great stuff…thanks alot titus!
I’ve not experienced your issue but I’m struggling with the OIT acronym…I’m guessing here…Operator Interface Terminal??? Interesting thread and potential bug, hopefully we can generate some activity around this!
LOL. You’re a fan I see…well done!
Yes, I get your concern. One way to ensure this won’t happen, and while I usually try not to in most cases, is to abstract the critical pieces of code that you don’t want altered or touched and lock it down with source protection. If the code abstraction is done with care and it is tried and true (it needs to be bullet-proof) then there really should be no reason anyone would need access or to alter it. If modifications are needed, they will need to call you to make them.
I know there’s nothing worse than opening a program and seeing source protected code, however, if done right it can be leveraged to protect intellectual property and prevent “fat-fingered” or mindless changes. It really should be a non-issue, especially for what you’re looking to do.
I suspect that you would be limited as these attributes, fields, variables, or members (whatever you want to call them) are at the object/class level (if you’re familiar with OOP). Rockwell uses the GSV, SSV to provide controlled access to these “protected” field members. I don’t think Kepware provides a mechanism to access them directly…maybe I’m wrong? If you figure out a way to do it be sure to share!
The bit mappings for this “Status1” word can be found in the builtin Studio 5000 help file. I’ve created a little PDF for your convenience attached here. A value of 61 Hex is equal to the following binary 0110 0001. So you have three flags set in this status word: bit 0, bit 5 and bit 6. Looks like its a configuration problem with your Setpoint Limits. The information for the Status1 word information starts on Page 7.
Hope that helps!
Attachments:You must be logged in to view attached files.
I think the problem is you’re overwriting the Totalwellprev with the updated information before computing the new total. When you are computing the “Totalwellyesterday” you are subtracting “Totalwellprev” which at this point you’ve overwritten with “Totalwell” information. Essentially, it looks to me like you are subtracting “Totalwell” from “Totalwell” to compute your “Totalwellyesterday”.
Hope that helps.
It is difficult to say from your post here without seeing your script etc. Have you considered doing the math in the controller? Basically create three integer words, i.e., Flow_Old, Flow_New and then a Flow_Result that will store the result of the subtraction between Flow_Old and Flow_New. Then just send the result to inTouch which you say is working no problem.
Probably not the answer you’re looking for but maybe a work-around until you get your script sorted out.
Hey PLC Bros,
You can check out Emersons ControlWave Express units. I’ve seen these units deployed in some waster water facilities I’ve worked in. I don’t have direct experience with these units myself, but you may want to give it a look to see if it suits your needs. You can view cut sheet here.
That did the trick! Had to uninstall and downloaded the latest version from the link you provided.