Search found 106 matches

by SILVESTROS9
Mon Aug 19, 2019 9:13 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 5
Views: 71

Re: LONG TIME TIMER

medelec35,
I use external oscillator ( a crystal 16 MHz ).
about verylongdelays code ( at main ) in decision branch there is " if TimeUpFlag? "..... is this correct , or " if TimeUpFlag=1 ?
by SILVESTROS9
Mon Aug 19, 2019 1:21 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 5
Views: 71

Re: LONG TIME TIMER

Medelec35,
thanks for your answer...is there a way to test the timer without waiting days ? how to calculate and set up the clock speed of the target ? ( I'll use a PIC16F1939 ).
by SILVESTROS9
Sun Aug 18, 2019 2:42 pm
Forum: Flowcode V8
Topic: LONG TIME TIMER
Replies: 5
Views: 71

LONG TIME TIMER

Dear sirs, i would like to run a part of FC8 code for a long time ( some days to 1 month )...is it possible to do that and how ? when the code goes to that part ( a macro ) starts a timer that runs in the background...at the end of preset time, the code leave the macro and goes to a connection point...
by SILVESTROS9
Sun Aug 11, 2019 5:24 pm
Forum: Flowcode V7
Topic: FLOWCODE7 PACKS
Replies: 1
Views: 67

FLOWCODE7 PACKS

Dear sirs,
would you like to inform me how to buy the feature pack MiscA ( storage components) for FLOWCODE7 ? thanks.
by SILVESTROS9
Wed Jun 12, 2019 11:35 pm
Forum: Flowcode V7
Topic: ERROR IN PIC16F1709 CODE
Replies: 7
Views: 340

Re: ERROR IN PIC16F1709 CODE

update....after config changes (thanks medelec35), the code runs (flash test ok), but no chars on LCD....The same communication error.."invalid checksum in response "...a hardware damage at SN75176 maybe ? it seems that there is no valid response code....line10 below...response code : no s...
by SILVESTROS9
Wed Jun 12, 2019 7:30 pm
Forum: Flowcode V7
Topic: ERROR IN PIC16F1709 CODE
Replies: 7
Views: 340

Re: ERROR IN PIC16F1709 CODE

I made the flasher test...not work....Ι would like to use use INTOSC ....what is the proper fosc.? what is the proper config? the test was with HS osc.config and 16MHZ fosc.
by SILVESTROS9
Wed Jun 12, 2019 12:16 pm
Forum: Flowcode V7
Topic: ERROR IN PIC16F1709 CODE
Replies: 7
Views: 340

ERROR IN PIC16F1709 CODE

below are the schematic and the code...the project is to send chars with a Modbus master (a PLC) , to a 4x20 lcd..
by SILVESTROS9
Wed Jun 12, 2019 12:07 pm
Forum: Flowcode V7
Topic: ERROR IN PIC16F1709 CODE
Replies: 7
Views: 340

ERROR IN PIC16F1709 CODE

Hello to all.... I was loaded a working code with PIC16F1939 that displays chars on a 4x20LCD, to a smaller pcb using a PIC16F1709....the code runs, but have no chars on LCD and get an error "invalid checksum"....where is the problem? at FC7 code , or at programmer ? my programmer is PICki...
by SILVESTROS9
Thu May 30, 2019 10:48 pm
Forum: Flowcode V7
Topic: PIC16F1579 SUPPORT
Replies: 0
Views: 142

PIC16F1579 SUPPORT

I need to use PIC16F1579 for a project , but I noticed that that chip not supported by FC7...is there a possibility to add that chip in the PIC16F family to load my flowcode in the chip ?
thanks.
by SILVESTROS9
Sat Apr 13, 2019 9:34 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 715

Re: INTERRUPT FOR PIC 16F1937

I tried with an external comparator LM 393 with IOC for output pin, , and works fine....many thanks for help...
by SILVESTROS9
Mon Apr 08, 2019 9:33 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 715

Re: INTERRUPT FOR PIC 16F1937

thanks QMESAR , I know that , but I have no free inputs....I 'll try with ext. comparator (LM339 or LM393).
by SILVESTROS9
Mon Apr 08, 2019 3:23 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 715

Re: INTERRUPT FOR PIC 16F1937

good idea ...I'll test it....what if Imax must be total current IL + IH ? that's a puzzle because we need calculation therefore extra time....
by SILVESTROS9
Mon Apr 08, 2019 12:23 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 715

Re: INTERRUPT FOR PIC 16F1937

unfortunately , I have no free pins in PIC , only E.2 (ADC7) and B.5 (ADC2) ....using a small code with ADC, then when Imax set a pin to 1 , and then use the IOC for that pin, that works some times, but because the main code has many time delays , I can't have permanent monitor of current...i think ...
by SILVESTROS9
Sun Apr 07, 2019 11:45 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 715

Re: INTERRUPT FOR PIC 16F1937

thanks medelec35...I was think that , but with the desired limit of 20A resistors must be 0.25ohm/5w, large enough,with heat dissipation ...I prefer to use 3 resistors 0.03ohm/1w in parallel (smd), so for 20A I have to handle 0.2V ...there are some problems ..i need some additional circuits to isola...
by SILVESTROS9
Sun Apr 07, 2019 6:27 pm
Forum: Flowcode V7
Topic: INTERRUPT FOR PIC 16F1937
Replies: 9
Views: 715

INTERRUPT FOR PIC 16F1937

Hello to all ! I would like to monitor the total current on 2 resistors (schematic) in a project with FC7..I use ADC2 and ADC7 to measure the current with VL, VH..When Itot exceeds a imax then the flowcode will call a macro ( LOAD_OVERCURRENT1), to set off some inputs and write a warning message on ...
by SILVESTROS9
Fri Jan 25, 2019 10:45 am
Forum: Flowcode V7
Topic: VARIABLES IN FC7
Replies: 9
Views: 995

Re: VARIABLES IN FC7

Martin, many thanks for your help....yes, according to T6963 data sheet must be read the status of pin STAO, STA1 before each instruction , data or command...PORTB works as I/O between mcu and glcd....I'll make some changes and try again....in your opinion how can I test if the glcd is initialized c...
by SILVESTROS9
Thu Jan 24, 2019 11:20 am
Forum: Flowcode V7
Topic: VARIABLES IN FC7
Replies: 9
Views: 995

Re: VARIABLES IN FC7

I send you the FC7 that I've made so far..also the code that I try to convert , and some info for glcd controller T6963C....the code after a cycle stops at status sub. i think the problem is maybe at set portB as input/output....my goal is to send a text to a glcd 240x128 with T6963C controller..I'v...
by SILVESTROS9
Thu Jan 24, 2019 12:19 am
Forum: Flowcode V7
Topic: VARIABLES IN FC7
Replies: 9
Views: 995

Re: VARIABLES IN FC7

Martin , I would like to thank you, for the info... another problem with following subroutine that I try to convert to FC7. 1. busy_chk: 2. glcd_ce = 1 3. glcd_tris= %11111111 4. glcd_cd = 1 5. glcd_wr = 1 5 glcd_ce = 0 6. glcd_rd = 0 7. pauseus GL_PAUSE 8. if (glcd_sta0 <> 1) AND (glcd_sta1 <> 1) t...
by SILVESTROS9
Tue Jan 22, 2019 8:31 pm
Forum: Flowcode V7
Topic: VARIABLES IN FC7
Replies: 9
Views: 995

VARIABLES IN FC7

Hello to all ! I would like to use the following subroutine (in picbasicpro) in a FC7 code... 1. for gl_y= $1027 to $1528 step $28 2. gl_ad1= gl_y.BYTE1 3. gl_ad2= gl_y.BYTE0 4. gl_k= %11000001 5. num_1 =1 6. num_2 =1 7. gosub ln1 8. next about lines 2,3, gl_y. BYTE1 is 8bit msb , gl_y.BYTE0 is 8bit...
by SILVESTROS9
Mon Jan 21, 2019 2:52 pm
Forum: 8-Bit PIC
Topic: LOOP COMMANDS AT FC7
Replies: 2
Views: 445

Re: LOOP COMMANDS AT FC7

dear Ben, thanks for your answer... for gl_i = 1 to 240 ' Clear Graphic Screen for gl_j = 1 to 64 glcd_msb = $00 'Clear byte glcd_cmd = DATA_WR_INC 'Command gosub send_1 'Send glcd_msb followed by glcd_cmd next next 'Do it 240x64 times the above part of PBP is a loop ...the conversion to FC7 is at l...
by SILVESTROS9
Sun Jan 20, 2019 10:23 pm
Forum: 8-Bit PIC
Topic: LOOP COMMANDS AT FC7
Replies: 2
Views: 445

LOOP COMMANDS AT FC7

I try to convert a code in PICBASICPRO to FC7 code. it is a demo code to write some characters to a GLCD 240X128 with T6963 controller. I have some problems in conversion ...in some part of code must set a port of PIC16F1939 ( PORTB) as inputs to read status of some bits of GLCD.. after that must se...
by SILVESTROS9
Thu Nov 15, 2018 6:12 pm
Forum: General Programming
Topic: 8051 ASSEMBLY TRANSLATION
Replies: 0
Views: 509

8051 ASSEMBLY TRANSLATION

Hello to all !! I try to convert an .asm code to to a language that I can handle...I have no knowledge about assembly , so if someone has any idea on how to convert that code to any other language than assembly, like C, or PICBASIC, it will hepl me ...I would like to convert the code to FC7 or FC8 t...
by SILVESTROS9
Mon Oct 29, 2018 10:23 pm
Forum: 8-Bit PIC
Topic: GLCD NOT WORK
Replies: 34
Views: 4890

Re: GLCD NOT WORK

Hello to all ! I continue to find some way to drive a GLCD ...so I asked for some manufacturers to send me some info about that LCD.... one of them , send me a code in assembly for a GLCD 240x128 with T6963C controller....I would like to convert that in C , and then to FC8 to test if that works and ...
by SILVESTROS9
Mon Oct 01, 2018 2:58 pm
Forum: 8-Bit PIC
Topic: PIC16F887 DELAY TIME
Replies: 3
Views: 785

Re: PIC16F887 DELAY TIME

many thanks medelec35 and Benj for info...I use Microchip PICkit-2 to load the code to pic mcu, so I import .EXE to that programmer.Until now I have not problems for delay timing..I need relative accurate delays in the area 5-100μs. Is anything else that I can do to impove the accuracy? Instead of d...
by SILVESTROS9
Thu Sep 27, 2018 3:33 pm
Forum: 8-Bit PIC
Topic: PIC16F887 DELAY TIME
Replies: 3
Views: 785

PIC16F887 DELAY TIME

Hello to all! I made some tests with PIC16F887, to get some delays that I need for a code..I make a simple code to check the duration accuracy of delays...I note that for a delay 80μs at FC7 code the scope shows 100μs and for delay 5μs the scope shows 20μs....Is there something wrong with FC7 code c...