Anonymous
Not applicable
Dec 06, 2011
03:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 06, 2011
03:18 PM
Hello,
I have to send 3 long tipe variable form a PLC to CY8C kit001 and i tought to use the serial port from this kit, but i don't have any clue how to start. what components should i use to program it to send and recive data using the serial port. pleasssse help!
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 1
1 Solution
Anonymous
Not applicable
Dec 19, 2011
03:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 19, 2011
03:52 AM
1. First of all
I would change
int16 ch; /* Data received from the Serial port */
to
char ch; /* Data received from the Serial port */
2. What do you send from PLC, ASCII 0-9 or a byte of 0-255 ( ie an int from 0x00 to 0xffff? If you are send a binary value, you need to convert it to ascii string to display.
3. Have you use hyperterminal to check what you are sending from the PLC?
4. As I menention in my last post, have you check as what list on the steps? which step does it project failed?
13 Replies