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

Modbus TCP - SOLVED!!!
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Oct 10, 2013 2:51 pm     Reply with quote

Gabriel reports that the CCS provided examples have solved his problem.
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Thu Oct 10, 2013 3:05 pm     Reply with quote

I haven't compiled the provided drivers yet... Im currently at work.

I am SUPER excited to have the drivers as they make me think there's light at the end of the tunnel.

I can confirm CCS did provide the drivers, and continue to provide great customer service, For Which i am deeply thank full....


I had not made any comments directly on the forum since I did not run the example yet... and cant really make any comments whether it worked or not..

i will report back as soon as i have a go at it tonight.

thanks for your help, again.

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Thu Oct 10, 2013 5:21 pm     Reply with quote

Im getting a ton of errors still...

however i noticed that the changes i do, do not get changed in the actual file...

its strange.. I make a change on "hardware.h" (part of the stack) since i had to include my hardware profile and compile...

it tells me there is an error on line x.. i click on the error which brings up the file in question... and my prior changes are there.. BUT when i go into my hardrive from windows directly and open as TXT the file.. the changes are not there...

something is not right.


g.
_________________
CCS PCM 5.078 & CCS PCH 5.093
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Thu Oct 10, 2013 5:54 pm     Reply with quote

Never mind... i just made a copy of the stack in my project folder the above problem went away...

Still getting a massive amount of errors... not compiling...

All errors are related to the stack though... at least thats what im getting....

sigh... the battle continues..
_________________
CCS PCM 5.078 & CCS PCH 5.093
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Oct 10, 2013 6:38 pm     Reply with quote

Why not contact Darren and ask him for instructions on how to compile
the Modbus TCPIP example files that he gave you ?
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Fri Oct 11, 2013 7:58 am     Reply with quote

He gave me the instructions.. and i followed them..

anyways ill be writing him an email...

thanks for your help.

G
_________________
CCS PCM 5.078 & CCS PCH 5.093
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Fri Oct 11, 2013 11:29 am     Reply with quote

SUCCESS!!!!

The driver compiled... still not tested if it works.

The problem was the Stack.
Richard from CCS was kind enough to send me the Stack files used to create the driver and that made all problems go away immediately.

I'll be developing a hardware profile for my Olimex board and submiting it to CCS so that they can include it in the release drivers.


thanks,

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
kmp84



Joined: 02 Feb 2010
Posts: 345

View user's profile Send private message

PostPosted: Wed Nov 19, 2014 2:38 am     Reply with quote

Gabriel wrote:
SUCCESS!!!!

The driver compiled... still not tested if it works.

The problem was the Stack.
Richard from CCS was kind enough to send me the Stack files used to create the driver and that made all problems go away immediately.

I'll be developing a hardware profile for my Olimex board and submiting it to CCS so that they can include it in the release drivers.


thanks,

G.

Can you share "MODBUS TCP" driver with us..?
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Wed Nov 19, 2014 3:32 pm     Reply with quote

I did manage to get a working version of this driver, and tested it with 2 Modbus programs like "modbus poll"

However, the amount of files needed that i got from CCS was quite large.
I don't know if i can distribute the drivers here (or anywhere else) as its part of the forum rules.

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group