simonongsk

Copy or Move Bits to Word or Bit Count

8 posts in this topic

Hi:

    How can I copy multiple bits example, M2000 to M2015 to D10 (I am using FX3U) ?

 

Thanks

 

Share this post


Link to post
Share on other sites

MOV K4M2000 D10

Every Kx is four bits 

K1-4
K2- 8
K3- 12
K4-16

 

So in this example M2000 M2015 are moved to D10

 

Edited by Gambit
typo

Share this post


Link to post
Share on other sites

Thanks!. On a side note In Omron/AB/Siemens, I am able to sub divide the program in many section, it is nice and easy to read , GX Work program is in 1 Main program (with notes and statements) , which is a bit hard to organize. Any idea I am able to sub divide the program?

 

Thanks

Share this post


Link to post
Share on other sites

You can't add more than one file in the FX-series when using simple ladder. Structured ladder can have multiple POU's. The L/Q series (modular) can have many files.

Share this post


Link to post
Share on other sites

Compare Structured ladder to Simple Ladder, which one will take up more memory?

Share this post


Link to post
Share on other sites

Structured ladder gets compiled. Same size.

Share this post


Link to post
Share on other sites

Thanks ! Structured Ladder look more organized. By the way, I am using FX3U 80 I/O, with Fast Counter, in GX Developer, It used a coil output (example C235 with K10 for counting 10 pulse, and using RST command to reset the counter) in Structured Ladder which command should I used?

Share this post


Link to post
Share on other sites

What about the instruction "COUNTER_M"?

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