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 15 matches
CCS Forum Index
Author Message
  Topic: Encoder Test
magnus

Replies: 10
Views: 11432

PostForum: General CCS C Discussion   Posted: Mon Jun 10, 2013 12:27 pm   Subject: Encoder Test
Thanks All, You really help!!!

I like The Lord Of The Rings Reference
one PIC "to rule them all" (sinister laugh). Surprised
  Topic: Encoder Test
magnus

Replies: 10
Views: 11432

PostForum: General CCS C Discussion   Posted: Mon Jun 10, 2013 10:42 am   Subject: Encoder Test
Thanks all!
Very Happy
I want just know if the signals are coming correctly, to know if there isn't a broken wire or some channel is damaged. I don't found any IC which take,at least, the channels A, ...
  Topic: Encoder Test
magnus

Replies: 10
Views: 11432

PostForum: General CCS C Discussion   Posted: Mon Jun 10, 2013 6:40 am   Subject: Encoder Test
It's Dynapar HS 35 incremental encoder
5V - 1024 ppr
  Topic: Encoder Test
magnus

Replies: 10
Views: 11432

PostForum: General CCS C Discussion   Posted: Mon Jun 10, 2013 5:58 am   Subject: Encoder Test
Hello Guys!!!
Does anybody know a circuit, program, equipment or example of six channels encoder test???
I need do the test of A, B, Z and A' B' and Z' and set any digital output or relay... If some ...
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Wed May 29, 2013 5:16 am   Subject: PIC MODBUS
Thank You! Very Happy
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Tue May 28, 2013 9:46 am   Subject: PIC MODBUS
Hello again.
Now I'm testing with a internal software and It presents the message: Check Sum error.
What error is it?
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Wed May 22, 2013 7:45 am   Subject: PIC MODBUS
Do You recommend some Modbus master simulator?
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Tue May 21, 2013 12:45 pm   Subject: PIC MODBUS
I'm using 4.078 version.
But if I change word "ERROR" to "ERRORS" it works.
thanks for the tips, they really help me Very Happy
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Tue May 21, 2013 7:49 am   Subject: PIC MODBUS
Thank you RFD.
But I have more one problem...
when I put MODBUS_INT_RDA like MODBUS_SERIAL_INT_SOURCE appears the following error:

***Error 100"C:\Program Files\PICC\drivers\modbus.c" ...
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Mon May 20, 2013 6:58 am   Subject: PIC MODBUS
Like this:
But i didn't put the pull-up resistor in RE/DE.
And I am using RB0 and RB1 pins to RX and TX like example code.
http://static.electro-tech-online.com/imgcache/7814-rs485.gif

Am I righ ...
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Thu May 16, 2013 12:08 pm   Subject: PIC MODBUS
Hello again
My pic isn't enabling MAX 485. How do I should put in program?
This way:
#define MODBUS_SERIAL_ENABLE_PIN PIN_B2
#define MODBUS_SERIAL_RX_ENABLE 0
or this:
#define MODBUS_SER ...
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Wed May 15, 2013 7:38 am   Subject: PIC MODBUS
Hello,
For RS-485 communication, do I need put the control pins here?

#define MODBUS_SERIAL_ENABLE_PIN X
#define MODBUS_SERIAL_RX_ENABLE X

Can be any pin or there is a specific pin?
so ...
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Fri May 10, 2013 6:32 am   Subject: PIC MODBUS
Hey, sorry about my ignorance. I never did anything about modbus and I'm lost. Really really sorry.
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Fri May 10, 2013 5:40 am   Subject: PIC MODBUS
hmmm, thank you. To send a value to slave, do I need write registers? To read the result do I need read registers???
Do you can show me an example?
  Topic: PIC MODBUS
magnus

Replies: 23
Views: 65941

PostForum: General CCS C Discussion   Posted: Thu May 09, 2013 11:13 am   Subject: PIC MODBUS
Hello guys.
I need to communicate a microcontroller PIC 16F877A with my PC via modbus RTU/485. My PC send a data to my PIC, pic make a calc and then return a value to my PIC. Can you help me???? :que ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group