Sign in to follow this  
Followers 0
denise01

High Speed Counter

6 posts in this topic

Hello,

I am trying to utilise a E6C2-CWZ5B as a high speed counter to position some outputs to activate solenoids to feed cylinders on one of our machines. I have used CTBL 882 but when I spin the encoder I get no readings at the CTBL or the relevant addresses. A270 comes on with Phase A and the three inputs show up on the MD212 so wonder if anyone can check the programme and settings and see what I am missing.

 

Regards

 

Peter

FAO Mark CTBL Latest.cxp

Share this post


Link to post
Share on other sites

Have you done PLC Setup for the MD212?

PLC Setup.jpg

Share this post


Link to post
Share on other sites

Hi Jay,

Yes I have done the settings and have altered the Data Memories and at the moment the CTBL is stuck at #30 I am getting 0 to 360 on A270. I have enclosed my latest attempt.

 

Regards

Crown CTBLV1.cxp

Share this post


Link to post
Share on other sites

 

Quote

If the PV is within more than one range when the comparison is made, the
interrupt task for the range closest to the beginning of the table will be
given priority and other interrupt tasks will be executed in following cycles.

Your ranges overlap.   Try 30-59, 60-89, etc,

Share this post


Link to post
Share on other sites

Any luck?

Share this post


Link to post
Share on other sites

The interrupt is activate only once when enter or leave the range. So, your output will be On only one plc scan. I suggest to only use a A270 in the program and compare with range. The A270 is a DINT so compare with long range fonction.

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