SLC Bit Position Instruction

wags

Member
Join Date
Mar 2009
Location
Colorado
Posts
3
In GE land they have a bit pos (bit position) command. What would be the best approach for doing the same thing in a SLC 5/05?

In GE we use the bit pos to help us trouble shoot HMI commands to verify the proper command is being sent. All our commands are in the %Q file so we just do a bit position for 32 words or how ever large our command table is.

Trying to come up with a good way to duplicate this type of logic using a SLC 5/05. Commands are in a B12 file. Any suggestions or have I missed the obvious?
 
Are looking to find the bit position of the first bit in the file that is set?

If so, you could look at the FBC instruction. The drawback is that it requires a reference file of the same size as the source.

Paul
 

Similar Topics

All, Forgive my lack of attention to detail, today a student asked me why when he printed his ladder in an RSLogix 500 report, even though he had...
Replies
10
Views
1,903
Good Afternoon, I’m looking at some examples in a SLC 500 and I took notice of a Bit Shift that has the File position with a # B3:25 . What...
Replies
4
Views
1,696
Hello, i need an advice regarding a quite old system that i would like to upgrade to windows 7 (x86 or x64) It is a win XP 32bit with an IFIX...
Replies
1
Views
1,142
I have a SLC 5/05 that faulted with a S:5 minor error bit and I can't figure out what that is. It says "A minor error bit is set at the end of...
Replies
2
Views
4,383
There is any way to upload program from SLC 5/04 which is protected by oem bit...??
Replies
9
Views
4,212
Back
Top Bottom