Author |
Message |
Topic: using ex_modbus_slave.c |
hugo_br
Replies: 15
Views: 27418
|
Forum: General CCS C Discussion Posted: Mon Sep 09, 2013 10:08 am Subject: using ex_modbus_slave.c |
I'm using CCS version 5, but the Modbus library is version 4, since the drive Modbus version 5 did not compile at all.
I'll do some tests by sending and receiving something directly on the micropro ... |
Topic: using ex_modbus_slave.c |
hugo_br
Replies: 15
Views: 27418
|
Forum: General CCS C Discussion Posted: Mon Sep 09, 2013 8:27 am Subject: using ex_modbus_slave.c |
Good morning Ttelmah
I did a routine with the same hardware running as Master. And when sending commands it returns normally. I used the slave Modbus Poll to see if the data was coming and everythi ... |
Topic: using ex_modbus_slave.c |
hugo_br
Replies: 15
Views: 27418
|
Forum: General CCS C Discussion Posted: Mon Sep 09, 2013 7:47 am Subject: using ex_modbus_slave.c |
I'm using Modbus slave routine example for testing, but it does not work. I'm using the PC Modbus Poll. The PC transmits and not get anything back. The PC program only sends and PIC returns nothing.
... |
Topic: Help with MODBUS SLAVE! |
hugo_br
Replies: 1
Views: 3834
|
Forum: General CCS C Discussion Posted: Thu Sep 05, 2013 2:24 pm Subject: Help with MODBUS SLAVE! |
Good afternoon.
What I could see in the routine of Slave she lock in "while (! Modbus_kbhit ());" Don`t go out of this condition. Sending data however, gets nothing. If this part of the r ... |
Topic: Help with MODBUS SLAVE! |
hugo_br
Replies: 1
Views: 3834
|
Forum: General CCS C Discussion Posted: Wed Sep 04, 2013 2:28 pm Subject: Help with MODBUS SLAVE! |
Good afternoon!
For some time I have been trying to use the examples of Modbus that come with the CCS. The ex_modbus_master until it is working fine, however the ex_modbus_slave not work at all. The ... |
Topic: modbus master PC program |
hugo_br
Replies: 3
Views: 6418
|
Forum: General CCS C Discussion Posted: Mon Aug 26, 2013 12:38 pm Subject: modbus master PC program |
I am also using this program to communicate with a PIC board running Modbus Slave, however I have no answer. Have you done any Slave plate communicating with the PC? I need to send an analog channel t ... |
Topic: Problem if MODBUS.C if PIC16F1938. |
hugo_br
Replies: 6
Views: 11221
|
Forum: General CCS C Discussion Posted: Mon Aug 19, 2013 12:45 pm Subject: Problem if MODBUS.C if PIC16F1938. |
Good afternoon PCM programmer.
I managed to compile.
I deleted all CCS from my PC and reinstalled my old CCS 4114. A routine compiled normally, without problems.
I apologize for not answered ... |
Topic: Problem if MODBUS.C if PIC16F1938. |
hugo_br
Replies: 6
Views: 11221
|
Forum: General CCS C Discussion Posted: Fri Aug 16, 2013 1:13 pm Subject: Problem if MODBUS.C if PIC16F1938. |
Good afternoon again.
I'm not really lucky in this beginning of project. I uninstalled all the CCS, reinstalled again, I got to completely erase the directory PICC. I copied the routine exactly as ... |
Topic: Problem if MODBUS.C if PIC16F1938. |
hugo_br
Replies: 6
Views: 11221
|
Forum: General CCS C Discussion Posted: Fri Aug 16, 2013 11:35 am Subject: Problem if MODBUS.C if PIC16F1938. |
Good afternoon PCM programmer.
I did exactly as in the example and it still fails, error also occurs. Compiled to use the PIC16F877. I did not put anything out of order and still does not compile. ... |
Topic: Problem if MODBUS.C if PIC16F1938. |
hugo_br
Replies: 6
Views: 11221
|
Forum: General CCS C Discussion Posted: Fri Aug 16, 2013 10:19 am Subject: Problem if MODBUS.C if PIC16F1938. |
Good morning.
I'm trying to implement a Modbus / RS485 routine to control an inverter LS. However I am having several problems with the drive modbus.c that comes with CCS v5.011. I would simply cal ... |
Topic: ModBus RS485 |
hugo_br
Replies: 2
Views: 5820
|
Forum: General CCS C Discussion Posted: Thu Aug 15, 2013 7:24 pm Subject: ModBus RS485 |
Estou tentando utilizar um PIC16F1938 para fazer comunicação RS485 por modbus com inversores. Comecei utilizando o exemplo da CCS, porem não compila a rotina. Vc tem alguma dia para ajudar?
Desd ... |
Topic: Migrating PIC16F876A to the PIC16F1938! |
hugo_br
Replies: 7
Views: 9238
|
Forum: General CCS C Discussion Posted: Mon May 28, 2012 8:33 am Subject: Migrating PIC16F876A to the PIC16F1938! |
The getenv version should supply the F000 address. Remember the difference between words and bytes (what is 1E000/2?)....
Realistically the getenv route is the best, since you can just move between p ... |
Topic: Migrating PIC16F876A to the PIC16F1938! |
hugo_br
Replies: 7
Views: 9238
|
Forum: General CCS C Discussion Posted: Mon May 28, 2012 8:12 am Subject: Migrating PIC16F876A to the PIC16F1938! |
Good morning.
I've found an easier method of finding the data processor.
I was on "VIEW" -> "Special Registers = Device Table Editor" -> "MCU Parts" -> &qu ... |
Topic: Migrating PIC16F876A to the PIC16F1938! |
hugo_br
Replies: 7
Views: 9238
|
Forum: General CCS C Discussion Posted: Mon May 28, 2012 6:02 am Subject: Migrating PIC16F876A to the PIC16F1938! |
Good morning everyone.
I'm upgrading PIC16F876A to the PIC16F1938 to use the internal oscillator.
I have many problems with crystals due to mechanical vibration.
I am having trouble migrating ... |
Topic: Reading 4 Channel AD Simultaneous with DMA in DSPIC! HELP! |
hugo_br
Replies: 0
Views: 3100
|
Forum: General CCS C Discussion Posted: Fri Feb 10, 2012 1:19 pm Subject: Reading 4 Channel AD Simultaneous with DMA in DSPIC! HELP! |
Good Afternoon for all.
I like to read 4 AD channels simultaneous using DMA in DSPIC33FJ256GP506? I can not do read the four at once at all. I read one after another after another! I used the exa ... |
|