Clear Logix 5000 FBC.IN bit

bulletin blues

Lifetime Supporting Member
Join Date
Mar 2003
Location
out there
Posts
223
I was messing around with the FBC function in logix 5000 last night. I want to compare until I find a match and then continue on the array using ladder logic.

I figured I would just MOVE "0" to My_FBC_Control.IN(terupt) and let it continue comparing.

I got compile errors saying "incorrect data type."

The help file says you must CLEAR the ".IN" bit to continue the compare.

I tried setting MY_TAG as a boolean and setting it to zero and MOVING it into the My_FBC_Control.IN.

Still says I'm using the incorrect data type.

Heck, I even tried the CLR function since the helpful help file says I need to CLEAR the bit to continue.

Works O.K. if I just toggle the bit in the tag monitor. Confused about the setting it up in the ladder with the "incorrect data type error."

Ugh, I feel like an idiot.

I figure I'll get it figured out tonight (time permitting) but I'm looking for a hint, while I'm at home, trying not to think about work.

Thanx
 
Simple mistake to make - hope you got it now....

MOV, CLR : for numerical data
OTE, OTL, OTU : for individual bit states

Another observation -
I figured I would just MOVE "0" to My_FBC_Control.IN(terupt)
The correct name for the .IN bit in the FBC Control is "Inhibit", not "Interrupt". If it was a typo - I apologise.
 

Similar Topics

What is the simplest method of clearing an array of integers in RSLogix 5000? I could make a zero array of the same size and copy it, but that...
Replies
3
Views
4,764
Hi, I have program where naturally comes I/O data. Now if I plug out I/O, stays last I/O data on controller. How can I clear I/O data if...
Replies
6
Views
2,135
Is there any instruction or way to do this on a bool array. I want to zero out all the bits in a bool array in my program. Thanks:beerchug:
Replies
37
Views
40,423
Hi, I'm developing a routine to detect and clear a watchdog major fault in a ContolLogix PLC. The software has three tasks and six programs...
Replies
3
Views
2,443
Good Afternoon , I am working on a project on the desk , and I am getting DC Bus Voltage , Current , and Fault Codes from my PowerFlex 525 to...
Replies
4
Views
6,622
Back
Top Bottom