Could you terminate the “vset” with a carriage return character? Or some other defined separator.
Perhaps you could send something like “vset=1000\r”
Receive the string until you get the “=” character, then read the value until you get the carriage return (\r)
Search found 2067 matches
- Thu Mar 14, 2013 1:28 pm
- Forum: Flowcode V5
- Topic: Pic to Pic RS232 communication
- Replies: 5
- Views: 3647
- Thu Mar 07, 2013 5:42 pm
- Forum: Flowcode V5
- Topic: RS485 protocol
- Replies: 17
- Views: 12569
Re: RS485 protocol
The pauses between sends will not help as it is the baud rate that will be in error, but I think it should be small enough to not cause you any problems.
- Thu Mar 07, 2013 11:57 am
- Forum: Flowcode V5
- Topic: RS485 protocol
- Replies: 17
- Views: 12569
Re: RS485 protocol
The byte that is actually sent can be represented in quite a variety of different ways. The \r in a string gets converted to a single byte carriage return character that can be represented as 0x0d (hexadecimal) or 13 (decimal) If you put 13 in the string it would get sent as two characters ‘1’ and ‘...
- Thu Mar 07, 2013 9:37 am
- Forum: Flowcode V5
- Topic: RS485 protocol
- Replies: 17
- Views: 12569
Re: RS485 protocol
Yes you are right, looks like you need %PVAL:0000<CR> to %PVAL:0CE1<CR> (without the 0x)
or as string "%PVAL:0CE1\r"
Just configure the component for 8 data bits, the stop bit will be appended automatically.
or as string "%PVAL:0CE1\r"
Just configure the component for 8 data bits, the stop bit will be appended automatically.
- Mon Feb 11, 2013 1:31 pm
- Forum: Forums d'aide en français
- Topic: EB023 communication avec PC
- Replies: 12
- Views: 10264
Re: EB023 communication avec PC
Bonjour Jacques, Pouvez-vous vérifier les Flowcode projet "Connexions" pour le composant serveur Web? Interrompre PORTC 0 CS PORTC 1 Cordialement Leigh Hello Jacques, Can you check the Flowcode project “Connections” for the Web Server component? Interrupt PORTC 0 CS PORTC 1 Regards Leigh
- Fri Feb 08, 2013 10:43 am
- Forum: Flowcode V5
- Topic: programming for HD44780 16x2 OLED?
- Replies: 48
- Views: 41013
Re: programming for HD44780 16x2 OLED?
Hi I also have had a quick look and agree with Ben that it looks from the datasheets that you should be able to use the Flowcode LCD component with a little customisation. The 4 bit data mode plus RS and E should work. You will need to customise the Start macro as the commands are different. Have a ...
- Thu Feb 07, 2013 11:59 am
- Forum: Forums d'aide en français
- Topic: EB023 communication avec PC
- Replies: 12
- Views: 10264
Re: EB023 communication avec PC
Hello Jacques, Thanks for the photos. There is a possibility that the problems you are experiencing are due to an issue with WIZ810 REV1.2 The manufacturers of the Wiznet module have changed an internal pull-down resistor value that normally disables the SPI interface. We have a pull-up resistor of ...
- Thu Jan 31, 2013 10:19 am
- Forum: Forums d'aide en français
- Topic: RS232 Send TX et Receive RX??
- Replies: 3
- Views: 4250
Re: RS232 Send TX et Receive RX??
Pouvez-vous poster votre schéma? Utilisez-vous de décalage de niveau RS-232 à deux extrémités? Pourriez-vous tester Rx et Tx séparément à l'aide d'un PC avec émulateur de terminal? Can you post your schematic? Are you using RS232 level shifters at both ends? Could you test Rx and Tx separately using...
- Thu Jan 31, 2013 9:33 am
- Forum: MIAC
- Topic: MIAC powered with 24V
- Replies: 1
- Views: 3375
Re: MIAC powered with 24V
Using 24V is not advised. The MIAC will probably not blow, but you might have long term reliability issues, depending on how it is used, ambient temperature, etc. It would be best to provide a separate supply, either stepped down from 24V or AC adapter, for the MIAC supply, which nominally consumes ...
- Wed Jan 30, 2013 11:15 am
- Forum: Forums d'aide en français
- Topic: EB023 communication avec PC
- Replies: 12
- Views: 10264
Re: EB023 communication avec PC
Hello, Some other things to check, and questions ... Have you selected jumper "A" on the EB023? Are the EB023 WIZnet RJ45 socket Green and Amber LEDs on? What revision of WIZnet WIZ810 do you have? (REV1.0, REV1.1 or REV1.2 printed near the RJ45 socket) Regards, Leigh Bonjour, Quelques autres choses...
- Tue Jan 29, 2013 3:19 pm
- Forum: Flowcode V5
- Topic: How to toggle an output with a pushbutton?
- Replies: 3
- Views: 2920
Re: How to toggle an output with a pushbutton?
here's an example
... looks like Ben got there first :O)
... looks like Ben got there first :O)
- Tue Jan 29, 2013 12:27 pm
- Forum: MIAC
- Topic: MIAC based temperature controller
- Replies: 111
- Views: 78849
Re: MIAC based temperature controller
Hi Dylan
The help can be invoked from within Flowcode.
In the Properties panel, select the GSM Component and you will see Ext Properties, Connections, Custom Code and Help
Regards,
Leigh
The help can be invoked from within Flowcode.
In the Properties panel, select the GSM Component and you will see Ext Properties, Connections, Custom Code and Help
Regards,
Leigh
- Tue Jan 29, 2013 10:01 am
- Forum: MIAC
- Topic: MIAC based temperature controller
- Replies: 111
- Views: 78849
Re: MIAC based temperature controller
Hi Dylan Yes you can use the CheckForIncoming macro to detect that a text message has been received. Then use the ReadString macro and check for a particular text string (such as ON and OFF) and switch an output accordingly. Have a look at the GSM component help file for further information. Regards...
- Mon Jan 28, 2013 1:19 pm
- Forum: Forums d'aide en français
- Topic: EB023 communication avec PC
- Replies: 12
- Views: 10264
- Mon Jan 28, 2013 1:10 pm
- Forum: Forums d'aide en français
- Topic: EB023 communication avec PC
- Replies: 12
- Views: 10264
Re: EB023 communication avec PC
Which version of EB023 do you have? Does it use WIZ810 module? Have you selected the correct Hardware Version in the Flowcode Component Properties dialog? (EB023-1 NM7010A or EB023-2 WIZ810MJ) Are the EB023 WIZnet RJ45 socket Green and Amber LEDs on? If you have WIZnet WIZ810, what revision is it? (...
- Mon Jan 28, 2013 10:10 am
- Forum: MIAC
- Topic: MIAC based temperature controller
- Replies: 111
- Views: 78849
Re: MIAC based temperature controller
Hi You can send a text message by using the three macros of the GSM component: Initialize CheckNetworkStatus SendTextMessage First call the Initialize macro, then loop, including a 1 second delay, waiting for the CheckNetworkStatus macro to return a value of 1 to indicate that the network has connec...
- Mon Jan 28, 2013 9:51 am
- Forum: Forums d'aide en français
- Topic: EB023 communication avec PC
- Replies: 12
- Views: 10264
Re: EB023 communication avec PC
Hello Did you use an RJ45 cross-over cable between the PC and the EB023? If you do not have a cross-over cable, then connect your PC and EB023 via a hub or router. Also check that you have connected +V from EB006 to +V on EB023, and +14V from EB006 to VPWR on EB023. Regards, Leigh Bonjour Avez-vous ...
- Tue Jan 08, 2013 4:32 pm
- Forum: Flowcode V4
- Topic: Problem on 24FJ256GA106 and PWM
- Replies: 9
- Views: 6415
Re: Problem on 24FJ256GA106 and PWM
Hi
You need to set it to 12 hex,, i.e. 0x12 or 18 decimal.
Regards,
Leigh
You need to set it to 12 hex,, i.e. 0x12 or 18 decimal.
Regards,
Leigh
Code: Select all
RPOR1bits.RP2R = 0x12;
- Mon Jan 07, 2013 10:48 am
- Forum: MIAC
- Topic: CAN2 communication Miac module
- Replies: 2
- Views: 4700
Re: CAN2 communication Miac module
Sorry, looks like we have a bug in our CAN2 code, please use the attached updated file FC5_PIC_CAN2.c
Replace the existing version in your component code directory (e.g. C:\Program Files (x86)\Flowcode\v5\Components)
Regards,
Leigh
Replace the existing version in your component code directory (e.g. C:\Program Files (x86)\Flowcode\v5\Components)
Regards,
Leigh
- Fri Jan 04, 2013 5:07 pm
- Forum: MIAC
- Topic: Questions about a MIAC school project
- Replies: 1
- Views: 3164
Re: Questions about a MIAC school project
Hello
Yes you can use a MIAC to output to servos.
It can drive up to 4 servos, on outputs A,B,C and D
If you need more you could expand that with MIAC Expansion modules, such as the Basic Module.
(to give an additional 8 servo channels per expansion module)
Regards,
Leigh
Yes you can use a MIAC to output to servos.
It can drive up to 4 servos, on outputs A,B,C and D
If you need more you could expand that with MIAC Expansion modules, such as the Basic Module.
(to give an additional 8 servo channels per expansion module)
Regards,
Leigh
- Fri Dec 21, 2012 1:53 pm
- Forum: Flowcode V5
- Topic: Webserver and HTTP to RS232
- Replies: 8
- Views: 6135
Re: Webserver and HTTP to RS232
Hello,
I have done a customized Webserver for the WIZ Internet board, based on the WLAN parameter read feature, the code is posted in this topic...
http://www.matrixmultimedia.com/mmforum ... 40&t=11679
I have done a customized Webserver for the WIZ Internet board, based on the WLAN parameter read feature, the code is posted in this topic...
http://www.matrixmultimedia.com/mmforum ... 40&t=11679
- Fri Dec 21, 2012 1:46 pm
- Forum: Deutsch Support-Forum
- Topic: webserver
- Replies: 3
- Views: 11148
Re: webserver
Attached is a customised WebServer that has similar functionality copied from the WLAN component. Make a backup of the previous version for safety and copy the new FC5_PIC_WebServer_2.c into the components directory, e.g. C:\Program Files (x86)\Flowcode\v5\Components See that attached Flowcode examp...
- Thu Dec 20, 2012 1:27 pm
- Forum: MIAC
- Topic: MIAC based temperature controller
- Replies: 111
- Views: 78849
Re: MIAC based temperature controller
Hi Dylan Your program looks good. Only one small thing missing: You need to go to the “Connections” and select “MIAC(0)” for each PWM component. (You need this extra step because your project setting is “MIAC System” rather than “MIAC”, so with MIAC System the PWM component could be attached to an E...
- Thu Dec 20, 2012 11:30 am
- Forum: MIAC
- Topic: MIAC based temperature controller
- Replies: 111
- Views: 78849
Re: MIAC based temperature controller
January- I will be in touch in the new year
- Thu Dec 20, 2012 10:18 am
- Forum: MIAC
- Topic: MIAC based temperature controller
- Replies: 111
- Views: 78849
Re: MIAC based temperature controller
PWM is a hardware feature, which is only available on A and C