Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - UART send / receive control variable

(you are viewing a thread; or go back to list of threads)

UART send / receive control variable (by Daniel Lavieri)
Hi, Jonathan.

First of all, congratulations for your effort in making a free-vendor PLC program.

My question is: is it possible send/receive a single character variable to a DTE via UART when a PIC input is fired? I´m using a interface card with Microchip PIC16F877A and I wish to make a very simple interactive alarm system controlled by a remote PC, using RS-232 port.

Do you have any .ld example of this? Thank you so much!!
Tue Jun 7 2011, 15:15:15
UART send / receive control variable (by Daniel Lavieri)
Hi, all. I found the answer by myself. I´m using a Data acquisition board (Flexis PIC CLP by SmartRadio) with a MAX232 and PIC16F877A.

My goal is to create a simple supervisory (SCADA) system for this PIC project specifically (very likely to hyperterminal).

Here´s an example of an alarm system that sends characters when a digital input is fired.
Wed Jun 29 2011, 10:14:52, download attachment tcc2temp.ld
(no subject) (by Géza Macska)
Between 2 pieces of pic how?
Thank you!
Géza
Wed Aug 17 2011, 12:02:00
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):