CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 8 matches
CCS Forum Index
Author Message
  Topic: Modbus comm problem with a PIC24FJ1024GB610
JMH

Replies: 13
Views: 26854

PostForum: General CCS C Discussion   Posted: Sun Mar 11, 2018 2:52 pm   Subject: Modbus comm problem with a PIC24FJ1024GB610
Thanks Ttelmah, I do have a scope and logic analyzer. That's how I found out what it was doing. I have modified my program a few times since Friday. So far my test program is still running 24 hours a ...
  Topic: Modbus comm problem with a PIC24FJ1024GB610
JMH

Replies: 13
Views: 26854

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2018 7:28 pm   Subject: Modbus comm problem with a PIC24FJ1024GB610
Believe it or not it's working correctly now. Even using RS485. It looks like the issue is there has to be two stop bits in the #use statement even though it signifies the parity as 'None'.


#use ...
  Topic: Modbus comm problem with a PIC24FJ1024GB610
JMH

Replies: 13
Views: 26854

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2018 2:43 pm   Subject: Modbus comm problem with a PIC24FJ1024GB610
note...The normal protocol for the serial port on the PLC is 9600,8,N,1. Using this I get no return however if I change the PLC to 9600,8,E,1 it then starts communicating except all I get is an except ...
  Topic: Modbus comm problem with a PIC24FJ1024GB610
JMH

Replies: 13
Views: 26854

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2018 2:31 pm   Subject: Modbus comm problem with a PIC24FJ1024GB610
Well..What I am trying to do is have a PLC communicate with my interface board. I have no control over how data is sent from the PLC other than setting up the port settings. I have been using this par ...
  Topic: Modbus comm problem with a PIC24FJ1024GB610
JMH

Replies: 13
Views: 26854

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2018 1:51 pm   Subject: Modbus comm problem with a PIC24FJ1024GB610
The gap between the bytes is the only thing I see different.
This is a new PIC I started working with on the Microchip Explorer 1632 board so I believe it is a hardware UART. I am using the serial i ...
  Topic: Modbus comm problem with a PIC24FJ1024GB610
JMH

Replies: 13
Views: 26854

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2018 1:15 pm   Subject: Modbus comm problem with a PIC24FJ1024GB610
Thanks Ttelmah.. My bad.. I changed over to a MAX3232EEUE+ a few months back which is a 3.3 to 5 volt chip. I am running it at 3.3 volts. I can simulate the exact same procedure with the exact same s ...
  Topic: Modbus comm problem with a PIC24FJ1024GB610
JMH

Replies: 13
Views: 26854

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2018 1:00 pm   Subject: Modbus comm problem with a PIC24FJ1024GB610
Thanks PCM programmer.. I know what the problem is I am just stumped on how to adjust it. Using the data analyzer with the USB the gap between received bytes in a frame is 0.2083ms which works great. ...
  Topic: Modbus comm problem with a PIC24FJ1024GB610
JMH

Replies: 13
Views: 26854

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2018 11:23 am   Subject: Modbus comm problem with a PIC24FJ1024GB610
Hey guys I am new to this forum. I am kind of old school compared to you guys. Back in the day I developed many projects using the PIC16C series. All in assembly. I am semi retired now and trying to g ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group