Search found 200 matches

by tiny
Sat Oct 14, 2017 3:29 pm
Forum: Flowcode V7
Topic: Solved! Please help, limited string length in GSM component
Replies: 4
Views: 2881

Solved! Please help, limited string length in GSM component

I am using FC 7.2, dsPIC33 ECIO with SIM900 module. I would like to send status and warning messages from my pool control via email, since SMS is limited to 160 characters. After I have expanded the control, I see that mail texts (body) longer than 250 characters are not sent. With SIM900 and termin...
by tiny
Thu Aug 17, 2017 11:47 am
Forum: Flowcode V7
Topic: [Solved] Macro return string longer than 20 characters
Replies: 10
Views: 6331

Re: Macro return string longer than 20 characters

Thank you, now I understand it! I have created an additional input, declare it as not a local copy, and pass the result at the end of this input string. This keeps the original string unchanged and it also works with the simulation.

Christina
by tiny
Wed Aug 16, 2017 8:22 pm
Forum: Flowcode V7
Topic: [Solved] Macro return string longer than 20 characters
Replies: 10
Views: 6331

Re: Macro return string longer than 20 characters

Thanks for the quick reply!
Could you please show me how this works with parameter transfer? I have simple tools, which I always need again, packed into a component macro. Attached is a small example with the Replace function, but only works with short strings.

Thanks
Christina
StringTools.fcfx
(11.91 KiB) Downloaded 250 times
by tiny
Wed Aug 16, 2017 2:37 pm
Forum: Flowcode V7
Topic: [Solved] Macro return string longer than 20 characters
Replies: 10
Views: 6331

[Solved] Macro return string longer than 20 characters

Is it possible to set a return string of a macro longer than 20 characters? I am using Flowcode 7, latest version. Example: Search and Replace a Character in a String. I would like to use this function with some other string manipulations in a component macro. If I now want to edit strings longer 20...
by tiny
Thu Jun 29, 2017 10:54 am
Forum: Flowcode V7
Topic: RS232 Limited string length when sending / receiving dat
Replies: 5
Views: 5351

Re: RS232 Limited string length when sending / receiving dat

Hi
Many thanks to LeighM and Benj for the quick solution! It works wonderfully!

Christina
by tiny
Wed Jun 28, 2017 6:21 pm
Forum: Flowcode V7
Topic: RS232 Limited string length when sending / receiving dat
Replies: 5
Views: 5351

Re: RS232 Limited string length when sending / receiving dat

Hi I am using FC 7.2, dsPIC33 ECIO. What I intend is that I send between 200 and 400 characters long strings over Wlan (ESP8266) from the PC to the MCU (and vice versa), which are then stored in the serial EEprom (parameters and texts). Attached is a transmission protocol and a short testroutine, wh...
by tiny
Tue Jun 27, 2017 8:58 pm
Forum: Flowcode V7
Topic: RS232 Limited string length when sending / receiving dat
Replies: 5
Views: 5351

RS232 Limited string length when sending / receiving dat

Is it possible to send or receive a string with 400 byte or more via the RS232 (Wlan) interface?
I need this function to parameterize my circuit without having to split these strings.
Perhaps there is a simple way to realize this?

Christina
by tiny
Fri May 05, 2017 7:55 pm
Forum: Flowcode V7
Topic: Macro with a return string up to 250 characters
Replies: 3
Views: 2940

Re: Macro with a return string up to 250 characters

Thanks Ben for the quick reply.
I use the ECIO40P16, do not know whether it only occurs in the simulation. In my program I use for passing global variables since I had in the simulation of this problem.
Only 20 characters are possible in the Simulation.

Christina
by tiny
Fri May 05, 2017 4:24 pm
Forum: Flowcode V7
Topic: Macro with a return string up to 250 characters
Replies: 3
Views: 2940

Macro with a return string up to 250 characters

Is it possible to create a macro with a return string up to 250 characters?
This function would be very important!

Christina
by tiny
Fri Mar 17, 2017 6:15 pm
Forum: Flowcode V7
Topic: Prob. ECIO40P16 and timer larger timer 1 in macros [Solved]
Replies: 11
Views: 7717

Re: Problem with ECIO40P16 and timer larger timer 1 in macro

Thank you Ben for the many work, but the timer 5 works now! But my program still needs to be considered. In the function Chk_Switch, I activate the timer 5 and then I go to the keystroke. If the routine immediately enters the keystroke, the timer is not activated. If I disable the keystroke then it ...
by tiny
Thu Mar 09, 2017 3:15 pm
Forum: Flowcode V7
Topic: Prob. ECIO40P16 and timer larger timer 1 in macros [Solved]
Replies: 11
Views: 7717

Re: Problem with ECIO40P16 and timer larger timer 1 in macro

Thank you Benj for the work. With the timer interrupts in the main program I have no problem, which runs without problems. The example that I have sent shows that a button is interrogated in the Chk_Switch macro (via Interrupt IOC port) and whenever the button is pressed, the status of port 1 is cha...
by tiny
Tue Mar 07, 2017 5:49 pm
Forum: Flowcode V7
Topic: Prob. ECIO40P16 and timer larger timer 1 in macros [Solved]
Replies: 11
Views: 7717

Prob. ECIO40P16 and timer larger timer 1 in macros [Solved]

I use for my circuit an ECIO40P16, control and display of the periphery via a Nextion display and additionally print buttons for port on / off. Nextion and buttons are controlled by interrupt. Timer 1 accepts the cyclic tasks (polling the ports, switching date and time, etc.) If an override is to be...
by tiny
Sat Feb 04, 2017 2:35 pm
Forum: General Programming
Topic: Something strange with I2C and AT24C32
Replies: 4
Views: 5138

Re: Something strange with I2C and AT24C32

I use the same module, the address of the AT24C32 is at 0xAC and 0xAD (A0-A2 are connected via resistors to VCC). So it runs with me without problems.
Enclosed is a section of an I2C tracer.

Christina
24C32.pdf
(1.99 KiB) Downloaded 348 times
by tiny
Thu Jan 12, 2017 11:20 am
Forum: Flowcode V7
Topic: Questions about ECIO dsPIC33
Replies: 5
Views: 4873

Re: Questions about ECIO dsPIC33

Thanks Ben!
by tiny
Wed Jan 11, 2017 7:29 pm
Forum: Flowcode V7
Topic: Questions about ECIO dsPIC33
Replies: 5
Views: 4873

Re: Questions about ECIO dsPIC33

One more question:
To which pins of the ECIO I2C is connected?
The Uart pins are remappable, but I2C have a fixed assignment (according to the data sheet of the controller).

Thanks!
Christina
by tiny
Wed Jan 11, 2017 4:42 pm
Forum: Flowcode V7
Topic: Questions about ECIO dsPIC33
Replies: 5
Views: 4873

Re: Questions about ECIO dsPIC33

Hello Benj,
Thanks for the quick and comprehensive response. I can then connect everything (GSM, Wlan, RTC) to 3.3V, for the Nextion display I take a level shifter.
Should I need an external I2C connection, then also over level shifter.

Christina
by tiny
Tue Jan 10, 2017 11:09 pm
Forum: Flowcode V7
Topic: Questions about ECIO dsPIC33
Replies: 5
Views: 4873

Questions about ECIO dsPIC33

I have questions about ECIO dsPIC33.
Is it possible to get a dimension drawing from the PCB?
Are the pins 5V tolerant or only 3.3 V?
Can the MCU be programmed via ICSP with Pickit 3 or only via USB?
Can all Eblocks be used (LCD, Wlan, GSM ...)?

Thanks in advance for the answers!
Christina
by tiny
Thu Dec 22, 2016 11:09 pm
Forum: Flowcode V7
Topic: Please help with RXINT0
Replies: 7
Views: 6964

Re: Please help with RXINT0

Thank you Benj for the answer! It would really help if this function can be realized. It is much easier to check the routines on the PC under real conditions and then program the MCU.
I will first create a workaround to complete my program.

Christina
by tiny
Thu Dec 22, 2016 7:51 pm
Forum: Flowcode V7
Topic: Please help with RXINT0
Replies: 7
Views: 6964

Re: Please help with RXINT0

After I got no answer to my post, here again the question in short form:
Does RXINT work in simulation?
by tiny
Wed Dec 21, 2016 11:58 am
Forum: Flowcode V7
Topic: Please help with RXINT0
Replies: 7
Views: 6964

Re: Please help with RXINT0

Perhaps someone can tell me whether in the simulation the Interrupt RXINT0 of the RS232 interface with Injector functions. This would be very helpful, I do not know whether I should continue to try to configure the interrupt according to data sheet.
by tiny
Tue Dec 20, 2016 10:49 pm
Forum: Flowcode V7
Topic: Please help with RXINT0
Replies: 7
Views: 6964

Re: Please help with RXINT0

The baud rate works with Nextion up to 115200. I have set 38400 Bd. With Bauds=38400 the transmission rate is permanently adjusted, runs fine. Sleep = 0 is needed because I have 3 minutes Auto Sleep. The 3x \xff \xff \xff are the end signal of a command via the serial interface. The functions of the...
by tiny
Tue Dec 20, 2016 6:40 pm
Forum: Flowcode V7
Topic: Please help with RXINT0
Replies: 7
Views: 6964

Please help with RXINT0

I connected a Nextion touch screen to Com Port 1, the display is programmed so that every 5 seconds a query is made for changed data. In order not to reprogram the MCU every time, I have connected the display on the Com Port (USB) of my PC. Now I want to jump over the serial interrupt into my routin...
by tiny
Mon Oct 31, 2016 11:42 am
Forum: Flowcode V7
Topic: How to create a component with multiple return values
Replies: 4
Views: 3720

Re: How to create a component with multiple return values

Thanks for the reply, Kersing!
Then I continue with macros.

Christina
by tiny
Sun Oct 30, 2016 10:31 pm
Forum: Flowcode V7
Topic: How to create a component with multiple return values
Replies: 4
Views: 3720

Re: How to create a component with multiple return values

Thanks for the answer! I've looked at everything I've found about component creation. I need a function, where I can pass parameters in the flowchart (as with a display or RS232 or similar), this example does not seem to work. The calculation is made when you enter it in the Properties window. The e...
by tiny
Sun Oct 30, 2016 3:37 pm
Forum: Flowcode V7
Topic: How to create a component with multiple return values
Replies: 4
Views: 3720

How to create a component with multiple return values

I need a specific function for a project that creates a string of decimal or hex values from a delimited string and outputs the number of separators. Is it possible to create a component that returns these two values? I always get only a "return value". Has anyone ever tried this and can give me som...