rgraut
Member
Hello Experts,
I am working on S5 to S7 conversion project on which stucked on analog output scaling.
In S5 following logic is written for analog output coming from S5-PID(OB251).Two analog outputs are used for Course and Fine action.
L DW 48 // PID output ranging from -17980 to +17980
L 2#1111
AW
SLW 4
T QW112
L DW 48
L 2#1111111111110000
AW
T QW114
My question is how to convert this in S7. How do i scale analog outputs in S7.
Thanks
I am working on S5 to S7 conversion project on which stucked on analog output scaling.
In S5 following logic is written for analog output coming from S5-PID(OB251).Two analog outputs are used for Course and Fine action.
L DW 48 // PID output ranging from -17980 to +17980
L 2#1111
AW
SLW 4
T QW112
L DW 48
L 2#1111111111110000
AW
T QW114
My question is how to convert this in S7. How do i scale analog outputs in S7.
Thanks