Help Programming AB to EZplc

Oh fun, I was able to load CCW and the file you sent (thanks) I see what you are talking about with the errors.

I am even having displaying issues, cells overlap. I am figuring out how to change the properties some are not staying.

I guess given my limited knowledge using the import and fixing it may be the best option. Trying to rebuild everything for me will be a huge uphill battle. But it looks like I am most likely going with CCW and something like the Micro820.
 
What is the best, cheapest, fastest way to migrate from the SLC 500 to a micro 820?

Seriously, since you are asking the question after you some of the surveying is done and you have a roadmap, then I suspect the answer is to open your wallet and hire someone.

TL;DR

Caveat: these are all opinions and WAGs, probably ignorant.

My hourly rates are too high and I am only a hobbyist in this industry, but here is how I would do it.

  1. The SLC to MicroLogix conversion was straightforward, so start there
    1. Compare the SLC and MicroLogix PDFs visually, 1-2h
      1. If it is the same, assume (we have to start somewhere) the MicroLogix will perform identically to the original working SLC;
      2. I.e. the MicroLogix code is now the baseline for process control
    2. Understand the process via discussion with owner, 4-8h
    3. Write a process simulator and digital HMI, e.g. using AdvancedHMI, 10-30h
      1. It is supposed to be a simple machine
      2. Add input map to MicroLogix code so it can be controlled from either physical inputs or E/IP from HMI/Simulator.
        1. Input map may be necessary anyway as SLC and MicroLogix have, I think, I/O scan synchronous with program scan, and Micro820 may not.
        2. Input tags I:0.0/9, and others, are referenced several times in the current program; it is not worth the time assessing the cases where they change value mid-scan.
    4. Test the MicroLogix against the simulator 4-16h
      1. Includes more discussion with OP about proscess and operation
      2. Develop some test scenarios
        1. E.g. push this button, set that dial, get result X
      3. This will probably result in fixes to the simulator, 4h
  2. Now that there is a working system, port to the Micro820.
    1. Code already exists, but has errors; resolve them, 8h
    2. Port process simulation to Micro820, 4h
    3. Test scenarios from MicroLogix, 8h
    4. Fix bugs, [?]h.
Total is 43-80h, plus an unknown amount of debugging; double that and add 6 because those are all WAGs. There is still the physical I/O to deal with, but I assume that would be on the owner.

I would bid this hourly with a cap of not less than 20k$, but again I am a hobbyist and my professional rates are probably out of line with this industry. It might come out less (I have a fair bit experience writing simulators), but there are no guarantees. Half of the work is for the MicroLogix case which gets discarded after generating the test scenarios, but going directly to CCW means the code has no benchmark, which will be paid for via more extensive discussions with the owner and the risk of problems, possibly safety-, injury-, or death-related, down the line. I would definitely review my business insurance policy, and consider my inexperience and that risk, before taking such a job.

An alternative to the simulator would be for the owner to hook up a MicroLogix (few hundred dollars off of eBay), and see if it can run the process and generate test scenarios, and do the same with the Micro820 later.

Compared to someone with experience, I suspect my 20k$ is maybe an order of magnitude or more too high, and they would probably be right, so you should be able find someone to do it for less, but this is not a few hundred dollar job.

Other approaches

  • Start with the owner discussions and code from scratch.
  • Convert 5-10 rungs (maybe?) an hour manually from the SLC PDF to Micro820; there are ~70 rungs so this will still be up to ~15h.
    • This assumes the SLC PDF, from the less experienced person at the manufacturer, is correct.
Going back to Post #1, a grand for cables and software to keep the SLC alive doesn't seem so bad, eh? Anyway, my point is that the PLC hardware, whether EZ PLC or Micro820, is probably the smallest part of any conversion cost, unless labor is free.
 
SLC and MicroLogix have, I think, I/O scan synchronous with program scan,
This is my understanding as well.

and Micro820 may not.
The Micro820 User Manual at least seems to suggest it is synchronous as well:

"A Micro800 cycle or scan consists of reading inputs, executing programs in
sequential order, updating outputs and performing housekeeping (data log,
recipe, communications)."
 
This is my understanding as well.

The Micro820 User Manual at least seems to suggest it is synchronous as well:

"A Micro800 cycle or scan consists of reading inputs, executing programs in
sequential order, updating outputs and performing housekeeping (data log,
recipe, communications)."

Excellent; thanks.

Micro800 program scan interrupts come from STI, EII(?), HSC, PTO (motion-related, not in Micro820), and communication data packets. None of those are present in the original program.

If an HMI/Simulator was created for testing, then that might add the need for an input map.
 
better, cheaper, faster: you can always have any two out of three.

I wondered how fast that reply would come back lol.

Seriously, since you are asking the question after you some of the surveying is done and you have a roadmap, then I suspect the answer is to open your wallet and hire someone.

Yeah, I guess I was asking if it would be better/faster to rebuild entirely or try to find errors and fix them.


OK, so I did a deep dive into it today and am seeing that there are some errors related to t[4]5:base being a REAL and CCW does not appear to like that data type in the timer function. I have tried to redefine the :BASE to TIME(R) but it does not seem to want to be modified in the converted file.

That and the watchdog timers need to be rebuilt.

Thank you all for your continued support!!
 

Similar Topics

Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
20
Views
874
Hi can you help, have a book stitching machine with collates pages in 8 stages. I have installed a camera system that will give an input to...
Replies
24
Views
1,889
I don't have much experience in programming. I can do simple configuration. it is like this. i want to add something to the existing ladder...
Replies
39
Views
6,179
Hello there, I'm practically new to the PLC world, I'm quite familiar with Siemens TIA Portal but I'm currently tasked to program Schneider PLCs...
Replies
5
Views
1,860
Hi all I have a program question what is the best way to go around the following, i have a micrologix 1400 and I have a mixer that I would...
Replies
13
Views
2,700
Back
Top Bottom