Search found 10 matches

Return

by SILVESTROS9
Tue Jan 03, 2017 4:15 pm
Jump to forum
Jump to topic

Re: PIC AS MODBUS SLAVE

Hello Benj, Happy New Year to you and to Matrix stuff . I would like to thank you for support. For us who we are new in programming, it's not easy to learn quickly the FLOWCODE neither to avoid mistakes , but we continue to try . The new code works better , I think it's a good start for some project...
by SILVESTROS9
Wed Feb 15, 2017 10:23 pm
Jump to forum
Jump to topic

Re: PIC AS MODBUS SLAVE

Thanks Benj ,
I'll make some tests to confirm .
by SILVESTROS9
Mon Mar 27, 2017 3:42 pm
Jump to forum
Jump to topic

Re: PIC AS MODBUS SLAVE

Thanks EtsDriver, I forgot to setup component properties. After that, I have no errors in command's responses. Now I'll continue to make some tests with I/O .
by SILVESTROS9
Mon Apr 24, 2017 3:27 pm
Jump to forum
Jump to topic

Re: PIC AS MODBUS SLAVE

Hi Benj, The command byte is 0F (WriteMultipleCoils or ForceMultipleCoils) and refers to Modbus Function 15. In some Modbus Master emulators you can select to see the data in decimal format, as it seems in my previous snaps .In the raw data you can see the real format, so the command is correct. Als...
by SILVESTROS9
Wed Apr 26, 2017 11:42 am
Jump to forum
Jump to topic

Re: PIC AS MODBUS SLAVE

Thanks Benj for your help . I'll make some tests playing with Modbus Master code for PLC, and give you info about results.
by SILVESTROS9
Fri Jun 09, 2017 12:57 am
Jump to forum
Jump to topic

Re: PIC AS MODBUS SLAVE

Dear Benj, The demo code works fine so far.These days I make some tests to control I/O data. Working about transfer characters to LCD 4X20, I noticed that modbus command 16 sends data in 2 pairs (hi-low)hex number. As it seems in the snap I send 5 characters that use only low side of data. To consum...
by SILVESTROS9
Mon Jun 26, 2017 3:20 pm
Jump to forum
Jump to topic

Re: PIC as MODBUS slave

Hello,
I made a modification to demo code , so now the slave code reads both of 2 bytes and displays at LCD 2 characters for 1x16bit memory location .Below is the code as modified so far. Thanks Benj for your very important help!
by SILVESTROS9
Thu Aug 17, 2017 7:59 pm
Jump to forum
Jump to topic

Re: PIC as MODBUS slave

I connect a pull-up resistor 10K between pin1 and VDD , so the mcu works fine . Many thanks Ben !
by SILVESTROS9
Tue Apr 03, 2018 1:53 pm
Jump to forum
Jump to topic

Re: GLCD NOT WORK

Thanks Ben for info. You can see at http://en.radzio.dxp.pl/t6963/, that has some code samples for this controller. These are for ATMEL MCU, I hope it helps to make a component for PIC. Below are some info for interfacing of T6963C. Thanks.
by SILVESTROS9
Thu May 17, 2018 8:05 pm
Jump to forum
Jump to topic

Re: PWM NOT WORK ON PIC16F1939

Thanks Ben , with corrected definition file for PIC16F1939 all PWM work fine....