suke

Omron dmpx instruction

4 posts in this topic

Would someone like to explain to me in plain English how the DMPX instruction works please

Share this post


Link to post
Share on other sites

Did you read the explanations in the programming manual?

Share this post


Link to post
Share on other sites

Yep didn't make any sense what so ever. 

Share this post


Link to post
Share on other sites

Well ... I think I have figured out what they (MLPX, DMPX) do. The MLPX instruction sets a bit in the result word(s) based on a hex value in the source word. The DMPX sets a hex value in the result word based on a bit in the source word(s). Here's a very simple example:

 

MLPX_DMPX.jpg

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