Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2012, 07:47:03 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: CTRIO  (Read 1108 times)
pj
Newbie
*
Posts: 1


« on: February 02, 2009, 05:25:09 pm »

I am positioning a pan & tilt unit with stepper motors and a DL06 in mode 30 and a H0-CTRIO fot the second motor.

Can I read the present position count of the CTRIO like looking at ct174 of the DL06 mode 30,
Is there an example program.

Can I change the value of the CTRIO counter, Is ther an example .

Thanks for any help

- pj -
Logged
Greg
HOS†ech
Host Moderator
*****
Posts: 320


Hmmm...


WWW
« Reply #1 on: February 05, 2009, 11:40:41 am »

I don't know much about CT174 and Mode 30, but as far as reading the present position count of the CTRIO, yes, this is possible. If you are using a Dynamic Positioning Pulse Profile to move to positions, then a CTRIO System Function (0x01 - Real all registers) is possible. It will give you the current position of:

CTRIO Output 0: Offset 0x92 through 0x95
CTRIO Output 1: Offset 0x96 through 0x99
CTRIO Output 2: Offset 0x9A through 0x9D
CTRIO Output 3: Offset 0x9E through 0xA1

See CTRIO manual as to how to do a CTRIO System Function.
Logged

"You have to believe in free will. You have no choice." -Isaac Bashevis-Singer
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM