simonongsk

FX3U 80m Counter Interrupt

2 posts in this topic

Hi:

       I urgently need a simple sample Counter Interrupt Program to study and implement with my machine. I am using GX Work 2 My Problem is inconsistent start stop of roller conveyor after pulse count (OUT_C_32, with cc235, using CC235 to stop a conveyor.) I have to try interrupt, but the manual sample is suck!

 

Please help

 

Tks

 

Share this post


Link to post
Share on other sites

Okay If I understand you correctly. You have th high speed counter working but you want to start and stop the conveyer at a certain point.

You do not need to program an interrupt as  there a a few instruction which work outside of the normal scan program. Check your manual for High speed processing. (HSCS,HSCR,HCZ...)

So you can program something Like this:

DHSCS K25000 C235 Y0 This will set Y0 immediately when C235 reaches 25000

 

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