Author |
Message |
Topic: Modbus RTU/TCP Gateway on CCS Ethernet Proto please help |
gomond
Replies: 1
Views: 4896
|
Forum: General CCS C Discussion Posted: Tue Feb 18, 2014 5:08 pm Subject: Received examples, now down to it. |
Thanks CCS for sending me the TCP examples,
Now its just a matter of mapping and working out the arbitration issues.
I guess it's probably just a matter of queueing and re-transmitting. |
Topic: Modbus RTU/TCP Gateway on CCS Ethernet Proto please help |
gomond
Replies: 1
Views: 4896
|
Forum: General CCS C Discussion Posted: Sun Feb 16, 2014 9:10 pm Subject: Modbus RTU/TCP Gateway on CCS Ethernet Proto please help |
Hello I am attempting to create some MODBUS RTU -> TCP gateways or converters for my home automation project, as MODBUS seems to be the way to go.
I am using a Mitsubishi FX3GE PLC as the main co ... |
Topic: CCS equivalent or correct declaration |
gomond
Replies: 1
Views: 4634
|
Forum: General CCS C Discussion Posted: Fri May 25, 2012 4:40 am Subject: CCS equivalent or correct declaration |
Hi I am attempting to port some code that has been given to me in Hitech C format and I am unfamiliar with structures and unions, as I am a newbie.
I have fixed the structures by redefining the dat ... |
Topic: Power Monitoring with ADE7756 or similar. |
gomond
Replies: 2
Views: 8267
|
Forum: General CCS C Discussion Posted: Thu Oct 15, 2009 3:13 am Subject: Power Monitoring with ADE7756 or similar. |
This Microchip ASM code could be converted to CCS:
http://www.analog.com/static/imported-files/application_notes/317740795RMS_CODE.txt
Converting it to use CCS functions would greatly reduce t ... |
Topic: Power Monitoring with ADE7756 or similar. |
gomond
Replies: 2
Views: 8267
|
Forum: General CCS C Discussion Posted: Tue Oct 13, 2009 2:12 am Subject: Power Monitoring with ADE7756 or similar. |
Hi
I am building a Data Logger, with an 18f8722, SD-Card... and ADE7756 Energy metering IC (SPI interface).
And I was wondering if anyone had ay experience in this area, as I am a little green.
... |
Topic: 10 bit Analog CSV into buffer properly to write to SDCARD |
gomond
Replies: 6
Views: 8050
|
Forum: General CCS C Discussion Posted: Sat Sep 26, 2009 11:54 pm Subject: 10 bit Analog CSV into buffer properly to write to SDCARD |
I have copied the logging_start(), logging_stop() and OpenDataFile() functions over to the Sample FAT.c example.
and I am using logger_start(); to open the file and leaving it open until logger_stop( ... |
Topic: 10 bit Analog CSV into buffer properly to write to SDCARD |
gomond
Replies: 6
Views: 8050
|
Forum: General CCS C Discussion Posted: Sat Sep 26, 2009 11:27 pm Subject: 10 bit Analog CSV into buffer properly to write to SDCARD |
Hi Andrew same result.
blank line (0c)
_11 NULLS_1023,1,4,2,21
1023,1,4,2,21
1023,1,4,1,21
1023,1,4,1,21
1023,1,4,2,21
1023,1,4,2,21
1023,1,4,1,21
1023,1,4,2,21
1023,1,4,1,21
1023,1,4,2 ... |
Topic: 10 bit Analog CSV into buffer properly to write to SDCARD |
gomond
Replies: 6
Views: 8050
|
Forum: General CCS C Discussion Posted: Sat Sep 26, 2009 9:59 pm Subject: 10 bit Analog CSV into buffer properly to write to SDCARD |
Thanks Andrew that worked, though at the start of the file there is a series of chars that pad the start for some obscure reason.
in HexEdit They are:
(0x0C 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0 ... |
Topic: 10 bit Analog CSV into buffer properly to write to SDCARD |
gomond
Replies: 6
Views: 8050
|
Forum: General CCS C Discussion Posted: Sat Sep 26, 2009 6:27 pm Subject: 10 bit Analog CSV into buffer properly to write to SDCARD |
I am attempting to write AN0-->AN4 into a buffer and then out to an SD_CARD using f_write() (BE sd card library).
Is it possible to use fprintf() with the BE_SD library as I noticed that in the ... |
Topic: CCS LCD Drvr wont Co Exist with Brush Electr SDCARD Driver |
gomond
Replies: 8
Views: 10107
|
Forum: General CCS C Discussion Posted: Fri Sep 25, 2009 7:17 pm Subject: 2 hours this morning rounding up sheep fixed it. |
I'm a dill...
The First issue was the order in which I placed the defines.
The constants were not parsed before the lcd.c was processed
(obvious later).
#ifdef ETBASE_8722
#include <LCD ... |
Topic: CCS LCD Drvr wont Co Exist with Brush Electr SDCARD Driver |
gomond
Replies: 8
Views: 10107
|
Forum: General CCS C Discussion Posted: Fri Sep 25, 2009 3:41 am Subject: CCS LCD Drvr wont Co Exist with Brush Electr SDCARD Driver |
Andrew
I have been placing debug printfs into LCD.C and found that the hang occurs after the first iteration of lcd_send_byte(0,LCD_INIT_STRING[i]);
Which would have me thinking that it is faili ... |
Topic: CCS LCD Drvr wont Co Exist with Brush Electr SDCARD Driver |
gomond
Replies: 8
Views: 10107
|
Forum: General CCS C Discussion Posted: Fri Sep 25, 2009 2:36 am Subject: CCS LCD Drvr wont Co Exist with Brush Electr SDCARD Driver |
I thought that this would be correct?
///////////////////////////////////////////////////////////////////////////
// void init_pic(void)
//
// Initialise the hardware defaults
///////////////// ... |
Topic: CCS LCD Drvr wont Co Exist with Brush Electr SDCARD Driver |
gomond
Replies: 8
Views: 10107
|
Forum: General CCS C Discussion Posted: Fri Sep 25, 2009 1:10 am Subject: CCS LCD Drvr wont Co Exist with Brush Electr SDCARD Driver |
Thanks Andrew
I have emailed you the schematics as I am unsure how to attach them here.
I have the LCD on PORT H in nibble mode, and the SDCARD on PORT C entirely, CS as well on C2.
The level ... |
Topic: CCS LCD Drvr wont Co Exist with Brush Electr SDCARD Driver |
gomond
Replies: 8
Views: 10107
|
Forum: General CCS C Discussion Posted: Thu Sep 24, 2009 5:25 am Subject: CCS LCD Drvr wont Co Exist with Brush Electr SDCARD Driver |
Hi I'm a bit of a newbie and I am using the Brush SD Driver to build a solar datalogger and I am trying to use the supplied CCS LCD driver and the Brush Electronics SD Card driver together on a Futurl ... |
Topic: Is there any Coating Thickness Measurement Sensor? |
gomond
Replies: 8
Views: 11365
|
Forum: General CCS C Discussion Posted: Wed Sep 23, 2009 2:38 pm Subject: Possble option. |
Hi bideshm
I am just leaving for work but I read your latest message.
Please have a look at:
http://www.migatron.com/products/rps-412a-v-1/index.htm
This sensor has similar characteristics ... |
|