Mortoch

Mortoch

6 posts in this topic

How to perform INT and DINT functions in an FX3u using GXDeveloper? Such as creating a int or dint and then using the individual aspects of the instance to perform a task. IE. I need to turn on 8 outputs depending upon a number input from a HMI such as 200 which will be turned into a binary which will turn on the outputs depending on whether the individual bit of the binary is 1 or 0. AB RS5000 makes it simple, I am trying to get a handle on the Mitsubishi and any help would be appreciated.

Share this post


Link to post
Share on other sites

IN and DINT are not needed in GX Developer only in GX IEC Developer and GX Works structured mode

Share this post


Link to post
Share on other sites

if i am understanding you correctly you want to use a word or double word to turn on or off outputs ?

 

1 person likes this

Share this post


Link to post
Share on other sites

I think All you want to do is MOV D0 K2Y0. This will put the binary value of D0 to Y0-Y7.
If you want that the value of D0 is the out then look at the ENCO DECO instrcutions

Edited by Gambit
2 people like this

Share this post


Link to post
Share on other sites

yes TheUns exactly. Thank you Gambit I will try that.

Share this post


Link to post
Share on other sites

Definite success. That worked as advertised, you  have my most sincere thanks.

1 person likes this

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