Search found 342 matches

by viktor_au
Wed Jan 31, 2024 4:50 am
Forum: Flowcode V8
Topic: include libraries from Arduino?
Replies: 2
Views: 301

Re: include libraries from Arduino?

I can only suggest to study the library, change it and include it as Flowcode macro.
Yes, it takes time, however you can cut down a lot of code.
If you study a datasheet you can use the library as a reference point to create one or more macros in FC8.
Please take it as a suggestion.
by viktor_au
Tue Dec 26, 2023 10:45 pm
Forum: Flowcode V8
Topic: some problems with spi data transmission
Replies: 140
Views: 5847928

Re: some problems with spi data transmission

Hi
What is the reason you constantly re-enable the interrupt?
I think you have been told:
In each iteration you enable an interrupt. This isn't necessary, it only needs to be enabled once so you should move this interrupt enable to before the loop.
by viktor_au
Sat Dec 23, 2023 2:54 am
Forum: Flowcode V8
Topic: some problems with spi data transmission
Replies: 140
Views: 5847928

Re: some problems with spi data transmission

Hi
Did you try to work without using interrupt?
by viktor_au
Thu Jun 08, 2023 1:05 am
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi A few words about SCADA. Note: I hope the more advanced users will add more info and correct me... If you have bought SCADA component for FC8, you will see, that after starting a new project as SCADA, FC8 will load the Ard SCADA component. What happens next? You create the Flowcode SCADA program,...
by viktor_au
Wed Jun 07, 2023 1:44 am
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi
I have to ask more questions:
Do you use PISudio?
Did you manage to find out what is the master?
Is it display or Arduino?
by viktor_au
Sat Jun 03, 2023 2:22 am
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi
Can you pls attach the photo of display menu?
by viktor_au
Wed May 31, 2023 7:14 am
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi, I don't think we understand each other. Please forget for a while the FC8 project. ---------------------------------- What do you think about the next videos on Youtube? WECON PI3070ig HMI Communication with Siemens PLC S7 1200 Cloud SCADA Remote Access with WECON PI3070ig HMI Arduino Mega HMI t...
by viktor_au
Mon May 29, 2023 7:29 pm
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi
Please attach your flowcode file.
by viktor_au
Thu May 25, 2023 11:21 pm
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi
Looks like the problem is solved.
All the best with your project.
You have the Modbus demos and know the master-slave relationship.
Should be no problems now.
by viktor_au
Wed May 24, 2023 11:46 pm
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi

Looks like the HMI is a Modbus Master, and Arduino is a slave. Check the:
https://forum.arduino.cc/t/modbus-ardui ... i/420215/7

Is it possible to attach the block-diagram of your project?
If Arduino is a slave, how many slaves do you plan to use?
by viktor_au
Tue May 23, 2023 11:52 pm
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi
Can you attach the manual for PI3070ig please.
You didn't answer my question:
Is Arduino a Modbus Master or Wecon display a master?
by viktor_au
Mon May 22, 2023 11:39 pm
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi

You wrote - I tried both with RS232 and with RS485...
Did you write the flowcode program?
What is the display modbus slave N?
How many registers this display use?
What model is it?
Can you please attach the display information?
by viktor_au
Sun May 21, 2023 11:11 pm
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi

Can you please attach the example flowcode file you are using?
Viktor
by viktor_au
Sat May 20, 2023 11:22 pm
Forum: Flowcode V8
Topic: modbus RTU
Replies: 22
Views: 174404

Re: modbus RTU

Hi
Can you please provide the flowcode project?
by viktor_au
Thu Apr 06, 2023 11:15 pm
Forum: Flowcode V8
Topic: PV to LiFePo4 1-2cells charger
Replies: 2
Views: 11403

Re: PV to LiFePo4 1-2cells charger

thank you
by viktor_au
Sun Apr 02, 2023 1:42 am
Forum: Flowcode V8
Topic: PV to LiFePo4 1-2cells charger
Replies: 2
Views: 11403

PV to LiFePo4 1-2cells charger

Hello I need some advice. I work on a project: a few PIR sensor(s) + LED security light power supply from PV solar panel. Thought at first to use 12v PV panel but later changed my mind for a 6v panel (to drop down the heat loss). From www: For example, if Vin – Vout is only 300 mV, then even with 3 ...
by viktor_au
Sat Mar 18, 2023 12:07 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190134

Re: Pushbutton Trigger

Is it possible John to show the front panel of your Pachinko machine?
Not a very small size picture, but a big one?
by viktor_au
Fri Mar 17, 2023 11:58 pm
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190134

Re: Pushbutton Trigger

Hello
Please pay attention to chipfryer27 note about the B0 pin state.
It need the 10k resistor (added to schematic).
You have to click on 'thank you' btn for chipfryer27.

Looks like you don't plan to use the 'butterfly' end-switches.
How do you count the win balls?

PS
Relay NO/NC contacts changed
by viktor_au
Fri Mar 17, 2023 11:10 pm
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190134

Re: Pushbutton Trigger

Hello John Re: Relay time I am not sure John. I think it is less than 10mS. Please find out: https://mechatrofice.com/arduino/relay-timer-switch Understanding Time Delay Relay Functions - https://www.macromatic.com/support/knowledge-base-articles/understanding-time-delay-relay-functions 5V Relay Mod...
by viktor_au
Fri Mar 17, 2023 8:09 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190134

Re: Pushbutton Trigger

Hello John Thank you for the information. I have attached Arduino Mega design. I have started with PIC years ago and moved to Arduino finally. It is easy for me to work with Arduino. You can change/adapt it to PIC. Have a look at the attached FC8 program 'Mega_PachinkoMod_x'. About Ard Mega design T...
by viktor_au
Wed Mar 15, 2023 6:46 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190134

Re: Pushbutton Trigger

Hello John. No, I don't have a Pachinko machine, but read about it and consider your project as a good one. An electronics + fun = a very good project. You wrote: PIC to send 3 pulse to send 3 winnings in the pachinko will dispense 45 game balls. Can you please give a bit more information. About rel...
by viktor_au
Tue Mar 14, 2023 10:57 pm
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190134

Re: Pushbutton Trigger

Hi John

Re: Button
It is not activated yet.

Re: PIC input from Coin sensor module
Does your relay has NO and NC contacts?

Question
Looks like you have the Pachinko machine.
Can I ask you what model is it?
Do you try to repair it or completely change the electronics?

Viktor
by viktor_au
Tue Mar 14, 2023 5:54 am
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 190134

Re: Pushbutton Trigger

Hi John.

Please have a look.
What happens after the program detects a coin?
by viktor_au
Mon Mar 06, 2023 10:00 am
Forum: Flowcode V8
Topic: Modbus Master reads the coil state
Replies: 1
Views: 10837

Re: Modbus Master reads the coil state

Hi

All good.
no need to help.
by viktor_au
Sat Mar 04, 2023 7:34 am
Forum: Flowcode V8
Topic: Modbus Master reads the coil state
Replies: 1
Views: 10837

Modbus Master reads the coil state

Hi
Found some demo on using VNet injector (for TCP) with Modbus slave.
Is it any FC8 examples of using Injector to test 8 coils?