News:

  • May 17, 2024, 02:13:13 AM

Login with username, password and session length

Author Topic: CTRIO2 _Out0.OutputVelocity polarity?  (Read 22632 times)

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 5996
  • Yes Pinky, Do-more will control the world!
Re: CTRIO2 _Out0.OutputVelocity polarity?
« Reply #45 on: August 14, 2013, 12:01:20 AM »
Very glad to hear that it's working well, and thank for the kind words on Do-more!
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

ERokc

  • Hero Member
  • *****
  • Posts: 118
Re: CTRIO2 _Out0.OutputVelocity polarity?
« Reply #46 on: August 14, 2013, 08:06:34 PM »
Today I started troubleshooting Bernie's control.  I need to know what the source is for PositionIn.  I have encoder on input 1 so is it $CTRIO_000_C1F1.iReg1 like I've been using? 
If that's correct then I would substitute $CTRIO_000_C1F1.iReg1 for PositionIn.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 5996
  • Yes Pinky, Do-more will control the world!
Re: CTRIO2 _Out0.OutputVelocity polarity?
« Reply #47 on: August 14, 2013, 10:07:33 PM »
PositionIn is a D location, and could be substituted for the encoder value directly or keep the D as an intermediate value and copy to it from the encoder. I like the latter personally, because I like keeping a layer between the program and the actual I/O.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO