Posted 21 Dec 2016 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
Posted 22 Dec 2016 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
Posted 22 Dec 2016 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
Posted 22 Dec 2016 (edited) 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 22 Dec 2016 by Gambit 2 people like this Share this post Link to post Share on other sites
Posted 22 Dec 2016 yes TheUns exactly. Thank you Gambit I will try that. Share this post Link to post Share on other sites
Posted 22 Dec 2016 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