oh, i have 9 rules and this is the member function.
The parameter used to define membership function of dirtiness
less,medium and high are [0 0 4],[1 5 9] and [6 10 10]. Similarly
Membership function for quantity low,average and large are [ 0 0
4],[1 5 9], and [6 10 10]. Membership Function for washing time less, medium and
high are [0 0 20],[10 25 40] and [35 50 50].
so if i make this fuzzy logic in matlab application is easy. but, in my final project, i must define this membership function in structure text implemented to OMRON. so, can you help me to make the structure text program?
because, when i make the IF-THEN rule in structure text program, the OMRON can define what i mean.
the example:
1.if(dirtiness is less) and (quantity is low) then (washing time
is less).
i make it in structure text like:
IF((dirtiness<= less) AND (quantity<=low)) THEN
WashingTime:= less ;
END_IF;
"and 0 error when i compile this program"
but, in this case i can't define the membership of the value. like dirtiness less [0 0 4]. the OMRON can't known the expression of "[".
i wait for your answer. because i think you can help me to finish my final project. thank you