Strange behavior of RSLogix CPT instruction

kolyur

Lifetime Supporting Member + Moderator
Join Date
Oct 2004
Location
Wooster, Ohio
Posts
1,602
I was pleasantly surprised to learn that the Micrologix 1400 has the Compute (CPT) instruction available. But my problem is this: The two instructions in the screenshot have mathematically identical expressions, however the first one compiles and the second one doesn't. The second one produces a "Operand sizes don't match" error. Any ideas?

cptinst.JPG
 
Interesting... were you configured for a Micro 1400 series B?

I don't have RSLogix in front of me right now but I'll mess around with it again tomorrow.
 
I was pleasantly surprised to learn that the Micrologix 1400 has the Compute (CPT) instruction available. But my problem is this: The two instructions in the screenshot have mathematically identical expressions, however the first one compiles and the second one doesn't. The second one produces a "Operand sizes don't match" error. Any ideas?

Interesting... were you configured for a Micro 1400 series B?

I don't have RSLogix in front of me right now but I'll mess around with it again tomorrow.

I'm using 8.10.00 (CPR 9) which only allows me to select an ML1400 series A. How large is you L10 data file?
 
The reason ask about the size of the data file is I can get the same error "Operand sizes don't match" if I fail to make the data file large enough to include the elements you use in your ladder.
 
It appears to be some sort of nesting limit.

If I enter
( ( L9:1 * 10 ) * 10 )

it is fine, but if you do another
( ( L9:1 * 10 ) * 10 ) * 10

it gives the Operand size error again.

So yeah, it is either a bug or a restriction that appears to be undocumented.
 

Similar Topics

Hello all, I am facing an issue with my Commander SK that I cannot solve on my own, I am struggling on it since several days :confused: The...
Replies
9
Views
1,056
I have a small system controlled by a Siemens S7-1200 PLC. I created a totalizer function block (TIA v17), where I'm counting total revolutions...
Replies
16
Views
3,144
Hi, I'm experiencing a very strange issue with the functionality of an AOI after upgrading to firmware V32. Bit of background: CPU is a CLX...
Replies
9
Views
3,307
Our CNC machine's spindle has a speed feedback encoder connected to it via a belt. The feedback rpm is displayed on the operator screen. When we...
Replies
4
Views
2,193
I have two output cards sitting next to each other in a rack: 1746-OW16 1746-OW16 (Octal) output 13 in the first card triggers a solenoid. When...
Replies
2
Views
2,209
Back
Top Bottom