eziccc

DTO instruction

7 posts in this topic

Hi Guys! I want to pass FLOAT value to any #BFM area. What can I use DTO_M? - it is only for DINT isn't it?

Share this post


Link to post
Share on other sites

Are you using a system Q ? I would just use EMOV Floatlabel(D0) U0\G100

 

Share this post


Link to post
Share on other sites

I use FX3G... Ok, I have DEMOV . But how to write there to "d" U1\G100 ??

Edited by eziccc

Share this post


Link to post
Share on other sites

Ux is the unit number, Gy is the buffer memory number to write...

Share this post


Link to post
Share on other sites

Impossible to work with Ux\Gxxx format for FX3G ((

Share this post


Link to post
Share on other sites

I thought FX3G did, I know FX3U does.

The DTO command is for moving 32 bits, where TO is meant for 16 bits.  But in any case, the size of the transfer data is a parameter of TO, so you can do a TO and send 4 bytes.

1 person likes this

Share this post


Link to post
Share on other sites

Since you said DTO_M, i assume you are using the structured ladder, and I have never done TO/FROM in that, only used U\G addresses.  Used to use a lot of FX3Us.

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