easy-forum
English Support - Hardware => easy topics (general) => Thema gestartet von: behemoth am September 25, 2005, 13:36:26 Nachmittag
-
Hello
I have problem with programming MFD.
I have 3 single modes of working.I also have 2 bit (M01 M02) witch exact described mode in witch actual system are.
1.Auto M01=1 M02=0
2.Manual M01=0 M02=1
3.Stop M01=0 M02=0
In every mode I set the value MW (MW6 MW7 MW8) value witch further will set the analog output value.
My problem is:
That in every single mode I want to write to analog output value of MW connected with mode witch is actual.
So I don't know how to do it.
regards:
jazz
-
Hi Behemont
Have a solution to your problem. To show it in the simulation I used I1 and I2 instead of M01 and M02. I also used three analog inputs instead of MW’s. In this case it can be tester with the analog sliders.
You need three “data function blocs”. In the Data inputs you set the MW’s and in the data outputs the analogoutput. The enable of the “data function blocs” will be activated by the Marker M01 or M02. The trigger is necessary to refresh the Datas.
See the program attached to this answer.
Lot of success
KerssSwiss