nhlanhla

Data Movement between PLC memory and Counters

6 posts in this topic

I would like to know how i can transfer data from 3 consecutive memory addresses to three consecutive counters, such that if say i have, value 3, 5, 9 in addresses D100, D101, D103, these would be transfered to Set Points of counters C1, C2, C3...I know how to do it in Omron CJ2m PLC but i am failing to get it right with Mitsubishi Q series PLCs.

Share this post


Link to post
Share on other sites

BMOV D100 C1 K3

 

Share this post


Link to post
Share on other sites

BMOV D100 C1 K3

Wouldn't that move the values in D100-D102 to the counter values rather than the Set Points of the Counters?

 

 

Share this post


Link to post
Share on other sites

Oops Sorry I thought that was what he wanted to do set up the counter with start-up values.

But you are right then just make counter like C1 D100 instead of C0 K1234

Edited by Gambit
1 person likes this

Share this post


Link to post
Share on other sites

Without testing it, it would change the presets not the accumulated values but they would have to be reset to 0 before the BMOV or the new values would be ignored.

Share this post


Link to post
Share on other sites
22 hours ago, Gambit said:

Oops Sorry I thought that was what he wanted to do set up the counter with start-up values.

But you are right then just make counter like C1 D100 instead of C0 K1234

Ok Thanks. Lemme try it out

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