(which uses URCP) and see if that makes any difference. If you are on
C1.1+ firmware you are stuck with V.6, if you are on B2.2+ firmware then
you can try the V.5. I have escalated this problem to Scott as a
compiler bug.
DLC
minghui1984 wrote:
> --- In oopic@yahoogroups.com, Ian Drennan <ianid@...> wrote:
>
>> minghui1984 wrote:
>>
>>> SO anyone knows whats is wrong with the Iopack specifications? i
>>> specified iopack 5 but it would not work. Other IOPacks also do
>>>
> not
>
>>> apply
>>>
>>> Minghui
>>> --- In oopic@yahoogroups.com, "minghui1984" <minghui1984@> wrote:
>>>
>>>
>>>> Dim A As New oStepper
>>>> Dim B As New oStepper
>>>>
>>>>
>>>> Sub Main()
>>>>
>>>> A.IOPack = 1
>>>> B.IOPack = 5
>>>> A.Rate = 10
>>>> B.Rate = 10
>>>> A.Operate = 1
>>>> B.Operate = 1
>>>> Do
>>>> A.Distance = 100
>>>> B.Distance = 30
>>>> Wait Until A.NonZero = 0
>>>> Wait Until B.NonZero = 0
>>>> ooPIC.Delay = 1000
>>>> A.Distance = -100
>>>> B.Distance = -30
>>>> Wait Until A.NonZero = 0
>>>> Wait Until B.NonZero = 0
>>>> ooPIC.Delay = 1000
>>>> Loop
>>>>
>>>> End Sub
>>>>
>>>>
>>>>
>> Minghui
>>
>> I have just checked your code on my Oopic B 2.2+ chip on a S board
>>
> and
>
>> it is working as expected.
>> Have you checked the actual outputs of Pack1 and pack2 with a meter
>>
> or a
>
>> scope?
>> If you are reading a pulsed output (5 volts) on your Oopic on the
>> relative Pack outputs, then your problem lies in the wiring to or
>>
> from
>
>> your Motor Driver hardware.
>>
>> Ian
>>
>>
>
>
> I have checked the outputs for pack 1 and its working, but for the
> pins on pack 5 its not.... i measured using a multimeter, there is no
> pulse from the pin 13-15 but there is one on pin 12 ... The pack 5
> consists of pin 12-15
>
> Minghui
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
>
--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/oopic/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/oopic/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
No comments:
Post a Comment