slc 5/04 div instruction problems

eastkodakguy

Member
Join Date
May 2002
Location
Fayetteville, Arkansas
Posts
96
I had a wierd problem today while using a brand new (a few weeks old) slc 5/04. Well I was trying to us the divide instruction to get the the speed in percent that the motor was running so that I could transfer it to a PV. Well this is what I did
Source A F15:0 with a value of 2638.06
Source B value of 3450 (constant variable)
Dest: F15:80

Well what my actual problem was I tried using this instruction just like it is in something like Lad 9- PV and it would not work. my destination would have a value of zero. I copied the rung then deleted it and placed it in Lad-2 Main and it works perfect. My first guess was that I was trying to overwrite it thinking maybe it was already in use which it was not in use, but then It worked when i put it in the first Lad. Seems pretty wierd to me maybe some of you could shed some light on this for me as to possibilies as to why this wouldnt work in one Lad but then work in another.
thanks
Dallas
 
Yes, but is the JSR being called? Unless it's unconditional, check that the rung is true...

Other 'stuff' to look for: Jumps, MCR instructions, or whatever else might be causing your DIV rung (or the JSR rung in File 2) to get skipped.

beerchug

-Eric
 
I have done it once........

Could it be possible that the rung you added to file 9 was after the "return" or "end" instruction

This mistake won't give you an error message.

I have done this once.... :D
 

Similar Topics

I’m attempting to send a temperature from a SLC-5/02 to an EZiMarquee display. The vendor said to use a MSG instruction to send the data to the...
Replies
1
Views
86
Hello all. I have a few SLCs in my plant and of late we've seen a weird issue: The system will be running normally and then randomly the outputs...
Replies
2
Views
100
I am working on setting up a Prosoft Datalogger model PLX51-DLplus-232. This unit will be collecting data from a SLC 5/05 on the DB9 port set to...
Replies
3
Views
103
I have a redundant ControlLogix being set up. This program reads a value from a remote site which happens to be SLC PLC. Rockwell mentions SLC...
Replies
2
Views
96
Hello, I have a ControlLogix redundant controller being set up. The program reads a value from a remote site which hosts a SLC PLC. Rockwell...
Replies
0
Views
80
Back
Top Bottom