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 - Ldmicro/uzam PLC

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

Ldmicro/uzam PLC (by Joao Pereira)
hello Jonathan Westhues.

I wonder if you have any idea how to use LDmicro with this PLC

http://host.nigde.edu.tr/muzam/UZAM_PLC_with_PIC16F648A_main_brd.JPG
Tue Nov 17 2009, 06:33:38
(no subject) (by Jonathan Westhues)
Not very practical. The '648A could be replaced with a pin-compatible '628A, which is supported; but they use a 74-series shift register as a GPIO expander, which would be rather awkward.

It would be better to use a microcontroller with the desired number of I/O pins, and wire things directly to the micro.
Tue Nov 17 2009, 11:55:47
(no subject) (by Joao Pereira)
"but they use a 74-series shift register as a GPIO expander, which would be rather awkward."

but if you look, it opens the window to create a PLC with the possibility of expansion.
makes it possible to use a uP with 16 I / O in one with a high number of I / O

Instead of 16f648 could be any other.
For example could make a PLC with 16 I / O plus 4 analogue inputs expandable up to your liking. This is an advantage.
Tue Nov 17 2009, 17:00:27
(no subject) (by David R)
I would use A ATMEGA128.
It would be much easer to program and there is so many pins to use and there is less chips so solder on the board.
And you can link more processers together with UART for remote IO if you want.

I think using 74-series shift register as a GPIO expander is not good and dates back to when chips were to small to do the job.
Tue Nov 17 2009, 17:10:22
(no subject) (by Joao Pereira)
hello Jonathan Westhues.

The idea is to build a PLC, for example, the PIC16F886 with the chance to expand modules with inputs and outputs.
And with I2C using TCA6408A of Texas for example.
Is it possible to have a function in I2C LDmicro.
Fri Nov 20 2009, 13:06:19
(no subject) (by Evan Raftery)
I too would use the Atmega128 for a PLC because the program memory on the 16F886 is quite limited if it is to be used for anything other than a basic controller for 1 or 2 functions.
Fri Nov 20 2009, 14:49:20
(no subject) (by Jonathan Westhues)
The problem with any scheme to expand a processor's I/O is that there's too many ways to do it. So the range of additional hardware that LDmicro would have to support is very large. It's also much less straightforward, since the user would have to indicate more about the way that they had connected their hardware.

If someone wanted to, then they could build a PLC with whatever hardware they wanted, and write an interpreter for the bytecode target.
Fri Nov 20 2009, 14:53:54
(no subject) (by Joao Pereira)
Is it possible to have a function I2C on LDmicro?
Fri Nov 20 2009, 17:32:03
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):