Search found 16 matches

by walbeek
Thu Mar 28, 2024 7:40 am
Forum: General
Topic: E-Blocks 2 settings
Replies: 4
Views: 644

Re: E-Blocks 2 settings

Hi there, Yesterday I have tried to post an update but it seems to be disappeared. I read about the debounce only be available with the Component Macro's. So I did change the buttons macro to that. In the attachment are the old (V001 - Input) and new (V002 - Macro) versions. However, I still have mi...
by walbeek
Wed Mar 27, 2024 9:22 am
Forum: General
Topic: E-Blocks 2 settings
Replies: 4
Views: 644

E-Blocks 2 settings

Hi there, I have made a counter program with interupts on the inputs. In simulation modes the program works well. When programmed in the e-blocks BL0080 programmer, the switches don't work very well. When pushed once, the counter changes with more than one in most cases. The debounce of the switches...
by walbeek
Mon Jan 08, 2024 9:03 am
Forum: General
Topic: Modbus CRC problems
Replies: 5
Views: 2750

Re: Modbus CRC problems

Hi there,

Any news on the Modbus CRC problem?
Thanks for your tips and ideas on this.

RInie
by walbeek
Thu Dec 21, 2023 10:29 am
Forum: General
Topic: Modbus CRC problems
Replies: 5
Views: 2750

Re: Modbus CRC problems

Hi there, Another post about this problem. I'm trying to read one holdingregister with the ReadHoldingRegister function. I think that I'm using the function the wrong way. I have SlaveID 1, RegAddress 3 (40004), this is all clear. The next line is RegCount and I assumed that this was the Variable wh...
by walbeek
Thu Dec 21, 2023 8:37 am
Forum: General
Topic: Modbus CRC problems
Replies: 5
Views: 2750

Re: Modbus CRC problems

Hi there, I have done some more testing. I have connected the RS485 port to my laptop with a USB to serial converter. When I use the "write" function (software posted above) there is communicatio. Register 40001 of slave 01 changes every second. Flowcode still gives a CRC error. When I use the "read...
by walbeek
Wed Dec 20, 2023 9:39 am
Forum: General
Topic: Modbus CRC problems
Replies: 5
Views: 2750

Re: Modbus CRC problems

Hello Ben, Thanks for your reply. I have downloaded the Modbus V6 file but this gives the same result. I have made a Flowcode program that writes a holding register 40001. Every second, 1 is added and send again, This works well to the PLC. File Modbus 1 shows the PLC's memory, the red number is cha...
by walbeek
Thu Dec 14, 2023 1:34 pm
Forum: General
Topic: Modbus CRC problems
Replies: 5
Views: 2750

Modbus CRC problems

Hi there, I'm testing the Modbus Master RTU program on RS485. I have connected a BRX PLC to the serial port. When I write a register (setholdingregister), the value in the PLC register changes. However, there is a CRC error in the Modbus answhere. The PLC is a Modbus slave, so no settings are nessec...
by walbeek
Tue Dec 05, 2023 4:02 pm
Forum: General
Topic: Switch function don't work in Flowcode
Replies: 5
Views: 5927

Re: Switch function don't work in Flowcode

Hi there,

I have just installed a net FC10 update.
In this update the push-button switch simulation doen's work again.
With debounce at 0 (zero) it works well.
I will replace the file again as shown before.
The new file is not included in the update.

RInie
by walbeek
Tue Dec 05, 2023 1:13 pm
Forum: General
Topic: Switch function don't work in Flowcode
Replies: 5
Views: 5927

Re: Switch function don't work in Flowcode

Seems to work well now, thanks for your help on this!

RInie
by walbeek
Tue Dec 05, 2023 9:50 am
Forum: General
Topic: Switch function don't work in Flowcode
Replies: 5
Views: 5927

Switch function don't work in Flowcode

Hi there, I have made a counter program with a Graphical LCD on I2C. The start works Oke and it's counting. I have made a menu to make some settings. When I press the button (switch_push_button2) the menu shows. From this point on, all 3 buttons don't work anymore. I first made a version with a 7-se...