spv7hqfj

Block Compare Instruction

8 posts in this topic

Is there a Block Compare Instruction like the one in Omron PLC for Mitsubishi PLC?

If the Omron PLC is BCMP (68), then what is the name of the instruction on the Mitsubishi PLC?

I tried to use BKCMP in the Mitsubishi PLC, but the way it works is not the same as the one in Omron PLC

bcmp.png

Share this post


Link to post
Share on other sites

The above thread may help you out.
Regards,
Garry

Share this post


Link to post
Share on other sites

Which PLC are you using ?

Share this post


Link to post
Share on other sites
13 hours ago, Gambit said:

Which PLC are you using ?

Q002U

Share this post


Link to post
Share on other sites

Looks like you want to search if some data exists in Block of words.

Try the search function SER(P), DSER(P)

 

Share this post


Link to post
Share on other sites

Or just use 16 lines of code until something better comes along.

 

Simple and easy to read.

 

Share this post


Link to post
Share on other sites

Ya very simple, but if u want to use 1000 compare???

Share this post


Link to post
Share on other sites

Then make a function block or use a for-next loop?

Or use 1000 lines of code?

 

Do you want to use 1000 compares???  :)

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now