Search found 36 matches

by radist73
Wed Sep 21, 2016 7:16 am
Forum: Fixed bugs
Topic: MCP23017 Flowcode 7 problem
Replies: 3
Views: 6764

Re: MCP23017 Flowcode 7 problem

Hello,
With updated ModbusMaster component http://www.matrixtsl.com/mmforums/viewt ... bus#p73930 my project with Modbus and I2C MCP23017 works fine on Flowcode v6.
In Flowcode v7 MCP23017 not working.
Any ideas? Thanks!
by radist73
Tue Sep 20, 2016 4:00 pm
Forum: Fixed bugs
Topic: MCP23017 Flowcode 7 problem
Replies: 3
Views: 6764

MCP23017 Flowcode 7 problem

Hello, Please help, mcp23017 test program works fine on Flowcode v5 and v6, but hasnt work on v7, Program stop working after I2C master component macro TransmitByte. Simulation in console show that all ok. I use PIC18F2620, v6 program works fine. New patch for Flowcode7 today installed, no result fo...
by radist73
Sun Sep 18, 2016 12:40 am
Forum: Flowcode V7
Topic: problem with Modbus Master in Flowcode v7
Replies: 11
Views: 8214

Re: problem with Modbus Master in Flowcode v7

Hello,
I found working example
http://www.matrixtsl.com/mmforums/viewt ... bus#p76164 Example3 and understand, but my logic understanding was wrong :)
Thank you!
by radist73
Fri Sep 16, 2016 10:54 am
Forum: Flowcode V7
Topic: problem with Modbus Master in Flowcode v7
Replies: 11
Views: 8214

Re: problem with Modbus Master in Flowcode v7

Hello, I has checked all Read from slave functions (ReadHoldingRegister, ReadInputStatus, ReadCoilStatus) and I hasnt it working. Locally in slave ReadCoilStatus works fine, but all remote read functions not work.... The same Master program on Flowcode 6 works, but veeery slowly, one TX per 4sec :) ...
by radist73
Wed Sep 14, 2016 1:29 pm
Forum: Flowcode V7
Topic: problem with Modbus Master in Flowcode v7
Replies: 11
Views: 8214

Re: problem with Modbus Master in Flowcode v7

Hello, set to 1 not working too... Master just havent read a Holding register values. I just tried to put a fixed value 0x1f to Holding register address 0 in Slave side. No change, output zero Master side translate address 0 to 40001, 1 to 40002 etc... As the slave side do the same? In ModbusSlave p...
by radist73
Wed Sep 14, 2016 10:09 am
Forum: Flowcode V7
Topic: problem with Modbus Master in Flowcode v7
Replies: 11
Views: 8214

Re: problem with Modbus Master in Flowcode v7

Sorry, but have problem with adc.... my test program steps: --read analog value adc0 --write to register SetHoldingRegister addr0, In ModbusSlave parameters Register aadresses starts with 0 Master side: --ReadHoldingRegister slave id28, register address0, count0 And answer zero.... Maybe any problem...
by radist73
Tue Sep 13, 2016 2:22 pm
Forum: Flowcode V7
Topic: problem with Modbus Master in Flowcode v7
Replies: 11
Views: 8214

Re: problem with Modbus Master in Flowcode v7

Thanks! Now example Master-Slave works fine. But I am confused with reading analog input... What way is ok? 1. --Use ADC component and read adc value adc0_read. --Write this value to holding register with SetHoldingRegister with address 1 and value adc0_read. --Master read the register state (slave ...
by radist73
Tue Sep 13, 2016 9:44 am
Forum: Flowcode V7
Topic: problem with Modbus Master in Flowcode v7
Replies: 11
Views: 8214

problem with Modbus Master in Flowcode v7

Hello, I have some expirience with Fc v6 and just purchaced Flowcode v7 because need to make devices with Modbus connectivity. Question, have Modbus component any restrictions for choosing PIC microcontrollers? In attachement my small flowchart for testing Modbus master component, my testboard have ...
by radist73
Thu Jul 21, 2016 7:08 am
Forum: Programming Tips & Tricks
Topic: RS485 Communications
Replies: 10
Views: 23267

Re: RS485 Communications

Hi, Sorry for this question, but I cant understand, how works logical operations with HEX. https://courses.engr.illinois.edu/ece390/books/artofasm/CH01/CH01-2.html was helpful, but.... MasterNode send address 0x101 and 0x000, in SlaveNode1 I see (RxVal AND 0x100), after this Address check (RxVal AND...
by radist73
Tue Dec 23, 2014 12:49 pm
Forum: Flowcode V5
Topic: delays in Flowcode
Replies: 4
Views: 5954

Re: delays in Flowcode

Thank you answer! I have Flowcode v5 My project attached, backled control made as separate macro poweron_sw. AC_DC_check macro is a logic for testing and choosing supply input. It give too additional delay 500ms to main program. If it is possible, main program will work without this delay. System lo...
by radist73
Mon Dec 22, 2014 10:37 pm
Forum: Flowcode V5
Topic: delays in Flowcode
Replies: 4
Views: 5954

delays in Flowcode

Hi all, Sorry for my poor English, I am new Flowcode user. I need to make a power supply control unit with 4 adc for voltage measurement, lcd display to show voltages and any logic for switcing load to power sources. ADCs, and lcd works good, but I have problem with any additional functions. They lo...