Niszky

I need some help in data storing

4 posts in this topic

Posted (edited)

Hi everyone, I need some help and ideas.

PLC Type: CJ2M

In my system, I have to track 3 palettes with sensors. A palette is defined by 3 bits. Then I need to identify the route the palettes have entered, learn this route, and recognize the color and workmanship we've produced. After all, I have to play back the process. How can I solve to store the bits of identified palettes and read back these bits later.

I attached the palette turth.

5cd6f6e9ce75f_truthtable.JPG.abf575978d2

Thank you for your help.

 

Edited by Niszky
wrong picture attach and i want remove it

Share this post


Link to post
Share on other sites

you only presented 3-bit value for color

where are the tables with patterns for route, workmanship etc?

Share this post


Link to post
Share on other sites

I have 3 different route to the different color chambers and plus 1 route to the pretreated part. I can solve the palette tracking, but I didn't know where and how I could store the 3 * 3 bits.

Share this post


Link to post
Share on other sites

You can store those bits in retain area H (Hbit) so that the data stays there and doesn't get erased after powering off the machine.

You can have H10.00, H10.01 and H10.02 for the first object, then start at H11.00 for the second and H12.00 for the third and so on.

Just SET or RSET those H bits based on your parameters and you can later use them as conditions in your program.

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