Sign in to follow this  
Followers 0
richko

dm channel

5 posts in this topic

Hello everybody iam having a omron plc cj1m with a program for synchronisation with encoders situation now synchronisation is okay but like to move the timing forwards or backwards this can now be done by filling in a value in the display that write the value in a DM channel what i like to do is not using the display but ussing 1 input for up and 1 input for down that then for each time the input is high it add up a x value in that dm channel and when we press down we decrease that value is there anybody that can give me some instructions to use tried todo it with @--b and the @++b but doesn't work thanks for helping
1 person likes this

Share this post


Link to post
Share on other sites
try @++ and @-- - increment and decrement. @ is a rising edge trigger.
1 person likes this

Share this post


Link to post
Share on other sites
Thanks, bob
1 person likes this

Share this post


Link to post
Share on other sites
Did you get it working? It always works for me.

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
Sign in to follow this  
Followers 0