SCP error?

Rob735

Member
Join Date
Jan 2011
Location
Mississauga
Posts
38
Hey guys I am new here and have had little experience with plc and less with RSLogix 500.

I work for a company that has recently told me we want to expand our controls into PLC's and i am the lucky one to head this up. As much as i am excited i am also nervous of dropping the ball on this first project.

so to the point here I have a ML1400 and I have temp sensors and pressure sensors I need to read. I was informed a SCP would be good to use to read both. Is this right?
I have programmed a pressure sensor and am getting an error reading "FILE 7 --> ERROR: Operand sizes do not match!"

I have tried to read about this but to be honest am getting a little flustered with all I have read and really just need some help here.

Any more info needed to answer this I will be more then happy to provide with direction of info needed. Thank you for taking the time to read this and in advance for any help you have to offer.
 
Welcome to the forum. You have come to the right place. I would recommend that you find the .rss (RSLogix 500) file that is giving you trouble, right click it and "Send to Compressed (Zipped) folder" then attach that zipped file to a post and we'll have a look.

Paul
 
Hey Paul thank you for the quick response sorry this took me a little while to figure out I am not all that great with computers. I am an Electrician by trade and have recently gotten out of the feild and into a more office like job. here is the file I think... hope it worked :)
 
It just doesn't like the decimal points in your scaling because youre in and out are integers. Just change them to 0, 32000, -1, 30 without the decimal.
 
Also lad 7 is not being called. You need a "JSR" ( Jump to Subroutine) instruction to run lad 7.
If you could tell us the complete catalog number of the "other" cards. ( they need to be configured )
Also the range of your inputs (0-10v, 4 to 20ma, 1 to 5v ) or?
And the engineering scaling for these inputs.
 
Last edited:
The "other" cards are:

Card 1 - 1762sc-IF8U
Card 2 - 1762sc-IF8U
Card 3 - 1762sc-IF8U
Card 4 - 1762sc-OF8

inputs are
I:1/0 - 4~20ma range is 0-150C Temp probe
I:1/1 - 4~20ma range is 0-150C Temp probe
I:1/2 - 4~20ma range is 0-150C Temp probe
I:1/3 - 4~20ma range is 0-200Amps Motor Amps
I:1/4 - 4~20ma range is 0-150C Temp probe
I:1/5 - 4~20ma range is 0-150C Temp probe
I:1/6 - 4~20ma range is 0-150C Temp probe
I:1/7 - 4~20ma range is 0-200Amps Motor Amps

I:2/0 - 4~20ma range ? level probe still waiting on info
I:2/1 - 4~20ma range is 0-150C Temp probe
I:2/2 - 4~20ma range is 0-150C Temp probe
I:2/3 - 4~20ma range is 0-150C Temp probe
I:2/4 - 4~20ma range is 0-150C Temp probe
I:2/5 - Spare
I:2/6 - Spare
I:2/7 - Spare

I:3/0 - 1~5V range is 0~50 Bar pressure transducer
I:3/1 - 1~5V range is -1~30 Bar pressure transducer
I:3/2 - 1~5V range is 0~50 Bar pressure transducer
I:3/3 - 1~5V range is 0~50 Bar pressure transducer
I:3/4 - 1~5V range is -1~30 Bar pressure transducer
I:3/5 - 1~5V range is 0~50 Bar pressure transducer
I:3/6 - Spare
I:3/7 - Spare

outputs are
O:4/0 - 4~20ma range 0~100% valve open/close
O:4/1 - 4~20ma range 900~1750 VFD speed
O:4/2 - 4~20ma range 0~100% valve open/close
O:4/3 - 4~20ma range 900~1750 VFD speed
O:4/4 - spare
O:4/5 - spare
O:4/6 - spare
O:4/7 - spare

thanks guys for all the help thus far
 
Hello Rob
Here's some info that should help get you going. I attached an updated program (example only!!) that will validate. The I/O configuration I guessed at. You will need to make sure you get your I/O configuration set up right for your system. The included bitmap files will explain this to you in detail. Good luck.
 
Last edited:
Nice pictures ddnnis. One note though, there is no need for the "return" at the end of lad 7. It will return to lad 2 on its own. But it will work with it.

Rob735
See link below for the manuals on your cards if you don't have them. You will need to set up their configuration before they will give you any data.
Chapter 3 has the info you need.

http://www.spectrumcontrols.com/ab-1762.htm
 

Similar Topics

When using 4 to 20mA I have been using 3277 to 16384 for the input min and max. We had new controls put in for a machine several years ago and...
Replies
6
Views
1,645
I have been reading past thread for this problem, but i can't find a solution to this problem. I have a MicroLogix 1400 with a 1762-OF4 AO card...
Replies
8
Views
6,105
Hello, I am replacing a pH probe that was determined to be bad in a waste water treatment system. I am replacing it with a 2-wire Aqua Metrix...
Replies
8
Views
1,454
Hi I have a PLC 5/40E which passes speeds to a number of machines via rio. Currently there is no scaling and the machines use look up tables...
Replies
2
Views
1,725
Rs logix 500 is version 12.00.00 and my SCP instruction is grayed outed. Can anyone help?
Replies
1
Views
1,308
Back
Top Bottom