Question details

AC500 Analog Input & Output linking

Dear friends, i have an Analog Input & Analog Output . For AI 4-20 mA stands for 0-250 for AO 4-20mA stands for 0-1000. When AI is 250 AO should be 1000 , when AI is 200 AO should be 800 & when AI is 150 AO should be 600. I understand scaling of 0-27648 counts for AI & AO, but how to make the logic. Im new to Ac500. Kindly help.

That also possible....else create a FB for AI input (X) in each band output(Y) will be in each step....
as below..
IF x<x1 THEN
y:=y1;
ELSE IF( X1<= X AND X < X2) THEN
y:=y2;
ELSE IF X2<=X AND X <X3 THEN
y:=y3;
ELSE IF X2<=X AND X<X3 THEN
y:=y4;
END_IF
END_IF
END_IF
END_IF

Answers

0

Use the following code to create a function, and call it according to the attached screen shot. I do not know the physical address of the Analog I/O you are using, so you would replace them with yours.