Search found 126 matches

by Ferla
Thu Nov 22, 2018 8:17 am
Forum: Flowcode V8
Topic: Clarification of industrial regulations
Replies: 2
Views: 2161

Clarification of industrial regulations

Hi Matrix Staff I do not know if it's the correct section for my question. In addition to complimenting the work you are doing these days I saw a new SCADA job that I immediately appreciated informing me. You often speak of the industrial world and I see the PLC Miac and now SCADA, which are proper ...
by Ferla
Tue Oct 16, 2018 7:59 am
Forum: Flowcode V7
Topic: String Visi Component [SOLVED]
Replies: 0
Views: 3765

String Visi Component [SOLVED]

Hi guys How can I do to make a string appear using Visi Component ? I find several examples in the forum that Explore VisiWriteObject but nothing that uses VisiStringObject. I want to send a simple string on the display as is usually done with 16x2 display etc. Using the 4DSystem Tool "Workshop 4"> ...
by Ferla
Wed Sep 26, 2018 4:32 pm
Forum: Flowcode V7
Topic: Encoder impulse control time
Replies: 6
Views: 4044

Re: Encoder impulse control time

Thanks, I'll check your project tonight. It is with these suggestions that I appreciate from day to day FC and all those who are part of it.
Ferla
by Ferla
Mon Sep 24, 2018 1:56 pm
Forum: Flowcode V7
Topic: Encoder impulse control time
Replies: 6
Views: 4044

Re: Encoder impulse control time

Thanks Benj
You have to offer me a simple example please, I do not ask you to make me the program :wink:
Use anything at your convenience, then I adjust my project
Thank you
Ferla
by Ferla
Wed Sep 19, 2018 9:37 am
Forum: Flowcode V7
Topic: Encoder impulse control time
Replies: 6
Views: 4044

Re: Encoder impulse control time

Sorry I thought the correct suggestions section.
Correct, I use FC7
Thank you
by Ferla
Wed Sep 19, 2018 7:32 am
Forum: Flowcode V7
Topic: Encoder impulse control time
Replies: 6
Views: 4044

Encoder impulse control time

Hello guys I ask you for a suggestion. I want to drive a motor in Dc or Stepper this and connected to an encoder how do I perform a check in ms on the encoder pulses so that if the motor gets stuck it disconnects the supply of power to the motor? I want to make an electronic lock for a security door...
by Ferla
Sun Sep 09, 2018 3:18 pm
Forum: General Programming
Topic: Mathematic Symbol Switch case
Replies: 2
Views: 2581

Re: Mathematic Symbol Switch case

Thans Kersing
very clear answer
by Ferla
Sun Sep 09, 2018 2:28 pm
Forum: General Programming
Topic: Mathematic Symbol Switch case
Replies: 2
Views: 2581

Mathematic Symbol Switch case

Hello
you can help me understand the best way
in the swith case the possibility to insert the < and > symbols mathematicians.
I have to indicate:
case 1
x <10 displays on lcd string "0"
case 2
x <100 displays on lcd string "00"
otherwise x = 0
Thanks
Ferla
by Ferla
Tue Sep 04, 2018 8:36 pm
Forum: General Programming
Topic: Optimize rx bytes
Replies: 6
Views: 4758

Re: Optimize rx bytes

Hi Martin Sorry for the delay, maybe I found the mistake. It was a delay of 100ms in the macro. I do not know yet why I inserted it maybe a mistake or maybe when I was simulating in FC. However, now it works well, I pushed the Uart transmission up to 80ms and did not give any problems. Speed that I ...
by Ferla
Wed Aug 29, 2018 8:02 am
Forum: General Programming
Topic: Optimize rx bytes
Replies: 6
Views: 4758

Re: Optimize rx bytes

Hi Martin
I notice a strange thing, when I empty the Flush Buffer the rest and remains the final character ">" why?
This could cause problems in rereading the new string? What do you think about it?
This evening I do further tests and I'll let you know what Uart is.

A greeting
Ferla
by Ferla
Fri Aug 24, 2018 6:06 pm
Forum: General Programming
Topic: Optimize rx bytes
Replies: 6
Views: 4758

Re: Optimize rx bytes

Hi Martin dear friend I knew I counted on you. Maybe I expressed myself badly. Send the same string every 500ms.The string is as follows "<A022005255000000>." After checking the initial "<" and the final ">" character inside the flowcode step. To the macro I attached last time, I assign as per your ...
by Ferla
Sun Aug 19, 2018 5:42 pm
Forum: General Programming
Topic: Optimize rx bytes
Replies: 6
Views: 4758

Optimize rx bytes

Hello guys Perhaps you can help me to obtain and improve the following macro. Occasionally I encounter a problem on my flow code and I think it's the following macro. Very simple, I receive string Uart that I manage through buffer then the whole thing goes to the following macro that manages the ass...
by Ferla
Fri Jun 15, 2018 7:07 am
Forum: Programming Tips & Tricks
Topic: Control many wireless receivers
Replies: 7
Views: 6180

Re: Control many wireless receivers

Hi Benj
Use FC 7.3.0 with module EB023-00-3.
The simple project is attached.
Thanks Ferla
by Ferla
Thu Jun 14, 2018 3:48 pm
Forum: Programming Tips & Tricks
Topic: Control many wireless receivers
Replies: 7
Views: 6180

Re: Control many wireless receivers

OK Thanks...
since you are very present, I can open it by asking you a question I asked you for another post.
very simple project led flashing in loop, when I initialize EB023 using ECIO40P16 this stops working. Why?
by Ferla
Thu Jun 14, 2018 12:07 pm
Forum: Programming Tips & Tricks
Topic: Control many wireless receivers
Replies: 7
Views: 6180

Re: Control many wireless receivers

:shock: WOW ..... Benj spectacular..
I did not know the sleep mode on the Zigbee, if I would like to replace the pic16f1937 with someone else who consumes less what would you recommend?
by Ferla
Thu Jun 14, 2018 8:21 am
Forum: Programming Tips & Tricks
Topic: Control many wireless receivers
Replies: 7
Views: 6180

Control many wireless receivers

Hello guys I ask for your opinion. I have to realize number 300 receivers each with a led powered by battery (eg CR2032-CR2450 or 27A 12V) each receiver must have its own assignment code so that the single LED associated with it can be switched on with the transmitter. To be clearer imagine a beehiv...
by Ferla
Thu Jun 07, 2018 9:51 pm
Forum: General Programming
Topic: USB Protocol Analyser
Replies: 3
Views: 4659

Re: USB Protocol Analyser

Hi I use Seleae and I feel good.
Ferla
by Ferla
Sat May 26, 2018 8:16 pm
Forum: General Programming
Topic: Uart Rx Byte to Variable
Replies: 30
Views: 14162

Re: Uart Rx Byte to Variable

Martin does not work, does not advance in reading the string, always stays in the ip [x] hooked to position 0. The StringIP [index]
it is read but not progressing, the calculation is crossed over
by Ferla
Sat May 26, 2018 9:57 am
Forum: General Programming
Topic: Uart Rx Byte to Variable
Replies: 30
Views: 14162

Re: Uart Rx Byte to Variable

If I remember correctly I tried but it does not work. As soon as I come back, I'll let you know
Thanks
ferla
by Ferla
Sat May 26, 2018 9:03 am
Forum: General Programming
Topic: Uart Rx Byte to Variable
Replies: 30
Views: 14162

Re: Uart Rx Byte to Variable

Hi Martin
I did a lot of tests and I came to a conclusion. The problem is in the loop icon. I do not know why but it can not do this
( StringIP >='0' AND StringIP <='9' ). I found a solution and it works great. Maybe you can improve, if you have any suggestions I appreciate.
Ferla
by Ferla
Wed May 23, 2018 12:03 pm
Forum: General Programming
Topic: Uart Rx Byte to Variable
Replies: 30
Views: 14162

Re: Uart Rx Byte to Variable

StringIp = "" // Deleted StringIP[index]='\0' // added as per your suggestion inserting your project on top of the Ass_IP macro, assigning an input string = "12.34.56.78" when I try to display on the display what happens inside the cycle x = 4 cycles, on the display appears 002540 to display it I us...
by Ferla
Wed May 23, 2018 11:32 am
Forum: General Programming
Topic: Uart Rx Byte to Variable
Replies: 30
Views: 14162

Re: Uart Rx Byte to Variable

I'm trying without success ... :cry:
Ferla
by Ferla
Wed May 23, 2018 10:02 am
Forum: General Programming
Topic: Uart Rx Byte to Variable
Replies: 30
Views: 14162

Re: Uart Rx Byte to Variable

Hi Martin,
I'm happy to hear from you.
When you talk about a terminator (\0), do I have to add it in the flowcode or when I send the string via UDP?
I turned it on to try your suggestion
by Ferla
Mon May 21, 2018 8:09 pm
Forum: General Programming
Topic: Uart Rx Byte to Variable
Replies: 30
Views: 14162

Re: Uart Rx Byte to Variable

Thanks, Martin the project is composed of the first part where I transform the received bytes into string array,afterwards I visualize if all the string has been correctly received (only for test purpose then inhibited), another step and try to manipulate the string by visualizing the blocks on the ...
by Ferla
Mon May 21, 2018 5:02 pm
Forum: General Programming
Topic: Uart Rx Byte to Variable
Replies: 30
Views: 14162

Re: Uart Rx Byte to Variable

Hi Martin I just can not find the way to pull out the 4 variables from the string. The received bytes turn them into a string as you want, then I use your last ip.fcfx project and something happens to them that I can not understand. For test I use an LCD display that allows me to check what happens ...