Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/18/09 20:59
Read: times


 
#170949 - do you not know what a PLC is
Responding to: ???'s previous message
I'm thinking about using only 8 bits because I wanted to start of start with one or two input and one output. If that works I can proced to 16 bits or more.
are you planning to have the PC connected permanently?

if you look at a ladder diagram, you see outputs that are engergized IF an input or an output (relay simulation) is on or off; how will you handle that in one byte? What about timers? What about switches in series/parallel

What is Control blocks?
example:
byte 1: action type
byte 2: for action type x pin to test, for action type y: ... for action type z: ....
byte 3: for action type x where to go if pin is on
byte 4: for action type x where to go if pin is off
byte 5: ...
byte 6: ...
bytes 7 & 8: expansion (you will find you missed something in your initial design)

Erik

PS do not let the uC pins out of the box, at least BUFFER THEM, optoisolation is better, other means are even better

List of 12 messages in thread
TopicAuthorDate
PLC using 89S52            01/01/70 00:00      
   BEWARE industrial PLC can take an awful lot of abuse            01/01/70 00:00      
      reply            01/01/70 00:00      
         do you not know what a PLC is            01/01/70 00:00      
            Why not byte-coded?            01/01/70 00:00      
            Reply            01/01/70 00:00      
               think it through            01/01/70 00:00      
                  Reply            01/01/70 00:00      
                     C# programming            01/01/70 00:00      
   RE: I'm not sure if this is the correct way for starting...            01/01/70 00:00      
   I tried to build one...            01/01/70 00:00      
      Reply            01/01/70 00:00      

Back to Subject List