Search found 21 matches

by markkkk
Thu Oct 01, 2015 11:25 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

Hi Martin That shows me heaps of how to do quite a lot of things. This is what I was after to help me understand the sequencing and how to actually write the anding functions. The simulation crashes flowcode completely after about 1or 2 mins or so but it works and I see the mechanism you are using t...
by markkkk
Thu Oct 01, 2015 10:34 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

Hi Martin Sorry I misunderstood. The trigger and trigger1 variables are momentary pushbuttons they are the open and close push buttons on the dash of the car. I dont have any way easily of making sure the bonnet is open or closed but I can add of course on the spare inputs another microswitch to det...
by markkkk
Thu Oct 01, 2015 9:20 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

Hi Martin I understand the types and differences of the variables no problem but Boolean has always screwed with my head for some stupid reason All the rams have internal limit switches which stop it at the positions fully open and fully closed as you want them to as sort of a electrical/mechanical ...
by markkkk
Thu Oct 01, 2015 5:48 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

Hi Martin I have been trying to get the boolean to work for a couple of days now...buggered if I know what I am doing wrong...just cant seem to get my head around the sequence of what you said. I am looking through the examples to see if I can find something similar to help understand it properly. O...
by markkkk
Tue Sep 29, 2015 8:47 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

Hi Martin Thanks for the help on the interrupt. I have decided to go another way using the internal limits in the actuators to effect the stopping of the rams. I have tested this and it seems to work ok rather than trying to count the pulses as it makes life easier. I have got the sequencing right n...
by markkkk
Tue Sep 08, 2015 4:18 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

Thanks again Martin Yes that has cured the problem. I have loaded the program into my Miac but it doesnt work. The motor doesnt run and also the pwm output level does not change when you vary the pot. It is wired exactly as per the diagram above. It is like the pwm duty cycle is not reading. The onl...
by markkkk
Mon Sep 07, 2015 1:44 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

Thanks again Martin yes it now works as I intended Just another trick I have to learn. The issue with the Motor5 example have you looked at that at all. I need to use the ISR to read a opto for use with this but the example I can not get it to work at all. There must be something wrong with the exam...
by markkkk
Sun Sep 06, 2015 9:35 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

Here is my current working file but it just works the motor backward and forwards when holding the green or Red buttons
by markkkk
Sun Sep 06, 2015 9:32 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

here is the original file
by markkkk
Sun Sep 06, 2015 9:31 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

I found a example called motor5 which if you look at the JPG which is pretty much perfect although I wont be using the PWM for the motors but I do have a opto output from the actuators so I can measure the distance I am just using the ABCD ports as a H bridge which works well now. The interrupt for ...
by markkkk
Sun Sep 06, 2015 3:47 am
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

Hi Martin

Thanks for that. It worked as I thought it should now. Beginner mistake of course as now I see it it makes sense totally. Now to add a few more things to it and see how it goes. Thanks for the fast response too


Mark
by markkkk
Sat Sep 05, 2015 12:17 pm
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Re: Can someone tell me where I have gone wrong

You will see this is a work in progress by the variable list. If I am having trouble with this imagine when I try to do the isr
by markkkk
Sat Sep 05, 2015 12:14 pm
Forum: MIAC
Topic: Can someone tell me where I have gone wrong
Replies: 21
Views: 27580

Can someone tell me where I have gone wrong

I am trying to get the Miac green and red buttons to operate a dc motor in forward and reverse using A and B like a H bridge. I cant get the red and green buttons to work on the simulator either. Obviously I am not reading the buttons correctly. Some guidance would be appreciated please
'
by markkkk
Thu Jul 09, 2015 11:49 pm
Forum: MIAC
Topic: MIac and controlling linear actuator
Replies: 0
Views: 4642

MIac and controlling linear actuator

Does anyone have any code for controlling linear actuators for use with a Miac ?. I am struggling with even getting going on setting out the flowchart. The actuators I have should be able to hook up to the motor output ports on the Miac directly these actuators have opto pulse out for position infor...
by markkkk
Wed Jul 01, 2015 2:21 am
Forum: MIAC
Topic: Miac and FC6
Replies: 3
Views: 6812

Re: Miac and FC6

I have been using some of the example files I have found but they are older FC format and when loaded into FC6 and you go to run them the program does not get past the initializing of the Miac. Attached is the Miac original file and when it gets imported into FC6 it gets saved as the .fcfx file
by markkkk
Thu Jun 25, 2015 3:57 am
Forum: MIAC
Topic: Miac and FC6
Replies: 3
Views: 6812

Miac and FC6

I have just got a Miac and want to do a project with linear actuators. I downloaded FC6 but it doesnt seem to be able to do anything with it. What version of Flowcode is the best to use for the latest Miac and can someone post a link for it please regards Mark Ok have been playing a bit more with it...
by markkkk
Thu Aug 14, 2008 11:05 pm
Forum: Programming Tips & Tricks
Topic: Multiple Servo Control
Replies: 12
Views: 17891

Re: Multiple Servo Control

excellent example this is a great way to learn
by markkkk
Wed Aug 16, 2006 12:07 pm
Forum: Flowcode V2 & V3
Topic: Flowcode maths problem help please
Replies: 6
Views: 7613

OK maybe I am not as smart as I think I am. :(..I have looked all over the microchip website looking for the appnote on the lookup table in assembler. Cant seem to find what I think I am looking for. There are bits on lookup tables but it doesnt seem to fit what I want to do. Also I couldnt find any...
by markkkk
Mon Aug 14, 2006 10:02 am
Forum: Flowcode V2 & V3
Topic: Flowcode maths problem help please
Replies: 6
Views: 7613

Steve...just to let you know what I am using...I am using the 16F88 supplied with my V3 development board. I then will have outputs through the strip connector on the V3 to control the AD9851 DDS chip to start all this programming. The next step after getting the frequency data programming and scann...
by markkkk
Mon Aug 14, 2006 9:54 am
Forum: Flowcode V2 & V3
Topic: Flowcode maths problem help please
Replies: 6
Views: 7613

Hi Steve...thanks for the quick reply. I know what a lookup table is but I will need some help to get it started then I am sure I can do the rest. I can calculate all of the necessary binary words but wasnt sure whether It would be too big. There is a 16F84 program that programs the same DDS I want ...
by markkkk
Sun Aug 13, 2006 10:31 am
Forum: Flowcode V2 & V3
Topic: Flowcode maths problem help please
Replies: 6
Views: 7613

Flowcode maths problem help please

I am a new user of Flowcode and I am enjoying learning it and its works just great. But I have a problem doing some maths with it. I have no idea how to solve this. First of all I am sending address data to a DDS chip which will determine the output frequency of the DDS chip. It is parallel loaded w...