GX Works2 FBC? Compare range of bits?

PDBRider

Member
Join Date
Sep 2012
Location
Michigan
Posts
7
I am trying to setup a Fault Active bit in my logic.
I have a range of faults roughly 0 to 500 (bits). I would like to have one instruction to compare/add all the results. If all bits are not equal to zero or all them added together is not equal to zero I know I have a fault on.

I do this in RSlogix via FBC however that instruction has a Found ouput (FD). Is there anything like that in GX Works?

Thanks
 
I dont have 500 bits to watch, but I use this method.



This will move the status of 32 bits at a time.

You will need to do this 16 times with 500 alarms, there may be an easier way. This is just one suggestion.

Hope this helps,

Dave

example.jpg
 
Last edited:

Similar Topics

I have a FX3U clone that I am failing to get a simple Structured Text example working on and would really appreciate some help. I created a...
Replies
30
Views
978
I'm starting learning ladder programming. I bought the FX3U kit + coolmay HMI from aliexpress. I'm doing basic testing and uploading codes. I...
Replies
57
Views
3,914
Hello to all, is my first post on the forum, I searched everywhere, but I could not find an answer to this problem; I am quite experienced in...
Replies
13
Views
977
hello, I'm trying to set up communications between two Mitsubishi L series PLCs using the built in Ethernet port. All of the information I can...
Replies
6
Views
1,877
Hello Friends, I am trying to index M Bits, however GX Works2 is not allowing it with following message. https://ibb.co/zPcqj6M...
Replies
3
Views
1,380
Back
Top Bottom