Jump to content

Recommended Posts

Hello all,

I have an application with length measuring using encoder and HSC on V130-TR20.  A want to drive(activate) a servo motor (paper cutting knife) always on counter reload for which  I'm using _Interrupt HSC 2,3. But VisiLogic does not let me use PTO blocks inside interrupt (illegal element on interrupt subroutine)  and do not let me call a subroutine (illegal element on interrupt subroutine). Any suggestions how to activate PTO in the same time while counter reload occurs? 

Link to comment
Share on other sites

Hi Nicolche,

Yes, VisiLogic does not allow to use PTO in an Interrupt Routine.

What are requirements for servo (do you mean stepper control by PTO?):

-Is a knife movement one direction, or both directions?

-Does knife, one time activated, cut and return to initial position, or it should be returned by opposite direction movement?

-How long knife may stay at end position?

-Can you use "High Speed Outputs (Stepper Control)" from Hardware Communication settings?

You can send all details to support@unitronics.com.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...