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 - drum controller statement...

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

drum controller statement... (by mark hodsman)
Wonder if anyone talented coder would consider adding drum controller or sequencer into what is a great little app.

The idea is that a variable from a list is passed (on a rung true condition) directly to a port. The list pointer is then incremented.

Say we have a list {0x01,0xFF,0x80} etc then output PORTA receives on:

position 1 - 0b00000001
" 2 0b11111111
" 3 0b10000000

and then loops around. This makes neat light sequencer etc.

Extending the idea it could apply to input ports also so on a certain input port condition we check 8 inputs all at once.
Allen Bradley has something SFC (sequential function charts) I believe but its been many years since I played with them.
Mon Nov 14 2011, 18:40:30
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):