Search found 14 matches
- Mon Sep 27, 2010 8:51 am
- Forum: General / Misc
- Topic: downloading to pic
- Replies: 1
- Views: 8785
downloading to pic
Hi All, I have written a flowcode program which works perfectly, however, when I compile to hex and use the hex file in MPlab i get runnung screens of errors, mainly about bank bits etc. and finally a build successful msg. I have configured the chip to use the internal oscillator. When I put the pic...
- Fri Apr 16, 2010 7:13 am
- Forum: General / Misc
- Topic: KEYPAD TO LCD ENTRY
- Replies: 10
- Views: 15716
Re: KEYPAD TO LCD ENTRY
Hi Medelec, You are a scholar and a gentleman,sir!!!!!!! Many thanks I will upgrade to Flowcode v 4 shortly.
Best regards
Les
Best regards
Les
- Thu Apr 15, 2010 3:48 pm
- Forum: General / Misc
- Topic: KEYPAD TO LCD ENTRY
- Replies: 10
- Views: 15716
Re: KEYPAD TO LCD ENTRY
Hi Medelec, me again. I forgot to give you an example. Suppose I need to make a gearwheel with 30 teeth. I would divide 360 by 30 to get the degrees per tooth, in this case 12. If my hardware takes 100 steps to move 1 degree I would multiply the 12 degrees by 100 which would give me a number of 1200...
- Thu Apr 15, 2010 3:31 pm
- Forum: General / Misc
- Topic: KEYPAD TO LCD ENTRY
- Replies: 10
- Views: 15716
Re: KEYPAD TO LCD ENTRY
Hello Medelec, Thanks for your reply, The device I want to control is used on a milling machine to machine equally spaced cuts on a workpiece. Something like a gear wheel. As you have seen, I am having difficulty entering a 3 digit number, displaying it, and then doing some maths on it. This consist...
- Wed Apr 14, 2010 8:51 pm
- Forum: General / Misc
- Topic: KEYPAD TO LCD ENTRY
- Replies: 10
- Views: 15716
Re: KEYPAD TO LCD ENTRY
Hi medelec, Thanks for your reply, I have almost reached my goal but have the following problem. I can enter the 3 keys ok but the maths seems to be a random thing. The output pulsing is working fine but the calculation to convert the number of divisions to degrees ( I need to be able to go to about...
- Tue Apr 13, 2010 4:28 pm
- Forum: General / Misc
- Topic: KEYPAD TO LCD ENTRY
- Replies: 10
- Views: 15716
KEYPAD TO LCD ENTRY
Hi, I am wanting to write code to enter 3 digits to lcd and then do some calculations on the resulting number. The aim is to enter a number of divisions for a dividing head and then calculate how many steps tp output to a single pin. I have the maths figured and just need to get the three digits ent...
- Thu Sep 03, 2009 12:29 pm
- Forum: General Programming
- Topic: stepper output
- Replies: 3
- Views: 4002
Re: stepper output
Hi Benj, Sorry about all the missing info! :oops: My stepper is a bipolar 3 amp model. I have an enable at the beginning of the code and have configured the oscillator as HS (external crystal of 8meg with PLL) The code runs perfectly in forward and reverse and responsds to the step input pin (I have...
- Tue Sep 01, 2009 8:06 pm
- Forum: General Programming
- Topic: stepper output
- Replies: 3
- Views: 4002
stepper output
Hi All, When using the stepper component do you have to tell flowcode to output to the specified pins? When stepping through the code the icon shows the correct movement but the pins on the pic icon do nothing, I also am getting no output on these pins.(portB pins 0,1,2 and 3)
many thanks
Les
many thanks
Les
- Sun Mar 29, 2009 1:06 pm
- Forum: Components (Other)
- Topic: stepper driver
- Replies: 0
- Views: 3277
stepper driver
Hi All, I am building a stepper motor driver board using a pic 16f876a and so far have written a flowcode chart which steps the stepper icon and reverses direction via a toggle switch. This will of course be the direction signal from the mach3 software. I can step through the program using F8 and al...
- Thu Jan 29, 2009 7:34 pm
- Forum: General / Misc
- Topic: port monitoring
- Replies: 2
- Views: 3629
Re: port monitoring
Hi Benj, many thanks for your quick reply, it should help somewhat. I don't need the freq count just the pulse count but I should be able to hack my way through it. The MPG that I'm building will be based on a stepper motor which will give me the detents that will match my 200 count code. (a bit of ...
- Thu Jan 29, 2009 9:09 am
- Forum: Flowcode V2 & V3
- Topic: Reading encoder
- Replies: 2
- Views: 3252
Re: Reading encoder
Hello Jan, It looks like you are building the same thing as me! My project is a manual pulse generator for a cnc milling machine. I am using a stepper motor to provide the detents (you will be able to vary the detent strength by applying some power to the stepper via a resistor) and the encoder is a...
- Wed Jan 28, 2009 8:03 pm
- Forum: General / Misc
- Topic: port monitoring
- Replies: 2
- Views: 3629
port monitoring
Hi Guys, I am busy with my first flowcode project and need a bit of assistance. I am building a manual pulse generator for my cnc mill using a shaft encoder. I have got the pulse output sorted(reads 5 input pulses and outputs a measured pulse to port B pin 0) This gives me 200 pulses from a 1000 pul...
- Fri Nov 21, 2008 4:16 pm
- Forum: Flowcode V2 & V3
- Topic: stepper controller
- Replies: 3
- Views: 3831
Re: stepper controller
Hi Ben, Thanks for the very prompt reply. I will download and play with it shortly! I have been hacking at the asm file I down loaded from Microchip and have got it stepping through the code O/K now I just have to program the pic and see if anything goes up in smoke..... I it works O/k can I save it...
- Thu Nov 20, 2008 7:37 pm
- Forum: Flowcode V2 & V3
- Topic: stepper controller
- Replies: 3
- Views: 3831
stepper controller
Hi all, has anyone done a flowchart to drive a stepper motor with microstepping? I have built an H-bridge driver that should be capable of driving up to 10 amps. I have loaded the asm code from microchips AN906 which I got to work after fiddling about a bit.No expert am I, so fiddling is the right w...