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 3 matches
CCS Forum Index
Author Message
  Topic: Modbus RTU with pic
vietnh

Replies: 6
Views: 21527

PostForum: General CCS C Discussion   Posted: Thu Jul 02, 2015 5:08 pm   Subject: Modbus RTU with pic
I don't think it's important, the_slave_address or modbus_address is defined as constant. I checked the modbus library, as RF_Developer said, the slave address and modbus address are not used in the m ...
  Topic: Modbus RTU with pic
vietnh

Replies: 6
Views: 21527

PostForum: General CCS C Discussion   Posted: Thu Jul 02, 2015 3:29 am   Subject: Modbus RTU with pic
My hardware has no problem. I used it to send and receive data to computer by using Hercule.
I am using the version CCS 5.015 and I read the library, it had to define MODBUS_SLAVE_ADDRESS, didn't us ...
  Topic: Modbus RTU with pic
vietnh

Replies: 6
Views: 21527

PostForum: General CCS C Discussion   Posted: Thu Jul 02, 2015 2:21 am   Subject: Modbus RTU with pic
I tried to send data from pic to computer using modbus RTU, I used modbus poll and I can't receive anything.
My code is simple


#include <main.h>
#define MODBUS_PROTOCOL MODBUS_PROTOCOL_SE ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group