...I get a warning scp instructions are only valid for ml1200 series c fun 6 or higher. Mine is a ser c fw 14. I have changed the series in the adv configuration but still no luck clearing the error. Any ideas out there?
1) It appears that that does not make sense as you have described it.
That said, I have found that processors
do not care about what the manual says or what makes sense,
they can only do what they are programmed to do, so believing a manual instead of the available software and trying to act as if your 1200 ser c fw 14 could somehow accept the SCP, when the software says it cannot,
will probably be futile.
2) Is that an error or a warning?
2.1) Also, is it about SCP instructions in general, or is it about the data types, INT vs. REAL, of operands to the instruction?
2.3) If it's a warning, then perhaps it can be ignored cf. this thread:
http://www.plctalk.net/qanda/showthread.php?t=52165. It is straightforward to create a couple of test rungs to determine what will work.
3) If that does not work, I would suggest replacing the SCP instructions with a series of SUB/MUL/DIV instructions, using REAL operaands, that accomplish the same thing; see below.
3.1) Also note that the expressions [(y1-y0)/(x1-x0)] and [y0-(x0*(y1-y0)/(x1-x0))] can be replaced by constants that you can calculate outside the program, so the it will only take two instructions, a MULtiply and an ADD, to replace each SCP instruction.