Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 10:14:30 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  Pport inputs in binary with Brains?
Pages: 1   Go Down
Print
Author Topic: Pport inputs in binary with Brains?  (Read 719 times)
0 Members and 1 Guest are viewing this topic.
DennisCNC
Active Member

Offline Offline

Posts: 184


View Profile
« on: April 22, 2008, 09:26:03 PM »

Any one use brains to read four  inputs as binary from a Pport and decoding it to act as 10 or so inputs?

I'm just thinking of using the Pport instead of adding a PLC. 
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Online Online

Posts: 770


Briceville, TN, USA



View Profile WWW
« Reply #1 on: April 23, 2008, 09:46:02 AM »

Hey Dennis,

   I have enclosed and example Brain that does what you want, it will look at the four OEM Inputs 1-4, and then depending on thier states 0 or 1, then by using passthough or inverts and an And block it will turn on an Output (you can put what you want here instead). Being it is 4 bits your max will be 16 combinations).
They key to it, is the order and number of passthroughs and inverts that you use.

both the Brain and screen shot is enclosed.

Scott


* 4BitBrainDecoder.png (61.36 KB, 1143x365 - viewed 119 times.)
* 4BitCodeBrain.brn (5.2 KB - downloaded 24 times.)
Logged

All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!