Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

SCWin/Edlog program for 3 multiplexers


Ada Apr 20, 2016 12:11 PM

Dear all,

As a beginner I do my programs in shortcut but I will probably have to modify it so I am trying to understand how it is constructed in edlog.
My set up : 1 CR23X + 1 AM16/32 + 2 AM416. There is a sensor for every channel of the multiplexers.

My questions are very simple, is it just about the meaning of some parts of the program : I have read the manuals of each device and the software, and still there are some very basics points I don't get.

For the AM416, the loop is passing 16 times, and the measure repeated twice, every time. The input location is incremented with 2, which is logical. But why make the measure two sensors by two sensors ? Why not four by four ? Why not all the 32 at once ? (on the multiplexers, all the sensors are of the same type..)

When the thermocouple are measured (P14), the differential channel where to begin the measure (DIFF) is n°1 for the first multiplexer. Then for the second multiplexer, DIFF = 2. Is it not the identity of the first channel of the multiplexer ? Should it not be the n°1 for each multiplexer ? More disturbing, for the third multiplexer, the DIFF = 4. Why the fourth channel ?

Also, if I understand well, the idea is :
I set the port 2 high, I activate the first multiplexer
I begin the loop
I pulse the port 1
I make the thermocouple measurement
I end the loop
I set the port 2 low, I deactivate the first multiplexer.

For the second multiplexer, same scheme, but no end of the loop, no deactivation, and the third one begin directly after. What is the logic in this ?

And finally, my program is written in Mode 1. At the end, I have Mode 2 (serial out), Mode 3 (empty) and Mode 10 (99,107,0 ?). What does it mean ?

Thank you very much for your help and clarifications !

Log in or register to post/reply in the forum.