Host Engineering Forum

General Category => CTRIO and CTRIO2 => Topic started by: pj on February 02, 2009, 04:25:09 PM

Title: CTRIO
Post by: pj on February 02, 2009, 04: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 -
Title: Re: CTRIO
Post by: Greg on February 05, 2009, 10: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.