Move value to analoge output. How? AX521
In codesys, how do I assign a value to an anloge output? What blocks to use? I can't figure out how to assign the actual value in numbers...
The condition is:
Variable 1 TRUE -> variable 2 TRUE -> send 12mA to analoge output 1 which is a valve, the ABB module I am using is AX521.
Do i have to use MOVE block?
Yes, I'm using control builder. And I have assigned the variable in the module correctly.
But I still don't know where to put the value to send to the channel... Earlier I have used MOVE blocks, is this what to use? It is a fixed value.
If someone can please post a screenshot it would be great.
Set channel 0 of AX521 to 4-20mA:
Assign Variable AO_Value to channel 0 (AO_Value is the name of variable - example):
Somewhere in application you should write:
if Variable_1 and Variable_2 then
AO_Value:=13824; (*13824 = 27648 / 2 or 50% of AO value*)
AO_Value:=27648; (*this value will be written to the output if Variable_1<>true or Variable_2<>true *)