adccommunitymod (AutomationDirect) asked a question.

CTRIO with Profile Pulse and 2 Stages

Created Date: August 15,2012

Created By: rumrunner

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I need help with programming example using DL260 and H2-CTRIO. I want to setup a home stage, then have this transfer to a 'run ' stage. In the 'run ' stage, I want to use the CTRLDPR Ibox using a Dynamic Pulse Profile, to change locations. The device will be pick and place, so initially the unit will move to Home Search Pulse Profile in stage 1; this part I have figured out. In the next stage, I want to setup the Ibox for dynamic movement, where I can load different values from Cmore recipe. So once device gets home in stage 1, the program advances to stage 2 (after 50ms delay), using set bit for stage2 and resetting the bit for stage1 (stage 1 off)... but something is keeping the CTRIO from firing in stage 2... I loaded the dynamic position using LD and OUT (V2030), and then set the GOTO Position bit (C241). It works when I use C247 to process, but the output exceeds the pulse count loaded. So I tried LDD and OUTD, and it makes no difference. Looking for suggestion!


  • adccommunitymod (AutomationDirect)

    Created Date: August 16,2012

    Created by: scott.lawrence

    have a read through this thread.....

    http://forum.automationdirect.com/showthread.php?t=9557

    In post #9, I attached a 'work in progress ' of a program I used a while back. Now, the current program looks nothing like this, but should be able to get you started in the right direction. In this set-up, all values for position are from the HMI.

    Give it a read, then post any questions you may have....

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 15,2012

    Created by: rumrunner

    I need help with programming example using DL260 and H2-CTRIO. I want to setup a home stage, then have this transfer to a 'run ' stage. In the 'run ' stage, I want to use the CTRLDPR Ibox using a Dynamic Pulse Profile, to change locations. The device will be pick and place, so initially the unit will move to Home Search Pulse Profile in stage 1; this part I have figured out. In the next stage, I want to setup the Ibox for dynamic movement, where I can load different values from Cmore recipe. So once device gets home in stage 1, the program advances to stage 2 (after 50ms delay), using set bit for stage2 and resetting the bit for stage1 (stage 1 off)... but something is keeping the CTRIO from firing in stage 2... I loaded the dynamic position using LD and OUT (V2030), and then set the GOTO Position bit (C241). It works when I use C247 to process, but the output exceeds the pulse count loaded. So I tried LDD and OUTD, and it makes no difference. Looking for suggestion!

    Expand Post