Direct logic analog mux


Thread Starter

Thad Seeberger

I am trying to mux analog signals using an external mux controlled by the plc. Three digital out lines are used to address the mux.
1. Set mux address using immediate out
2. Read in analog channels (16) and store in temp space
3. Based upon mux value move data to storage area by calculating offset.

For some reason the analog data does not syncronize with the mux. What is wrong with this?
Also how do you get the plc to pause. I would like to see if its a timing problem.

Enclosed is a zip of current program.