iknowsomeplc
Member
Hello experts,
I have used PICO 5 years ago, now dont remember many commands. I need to write a small logic to compare IA01 and write QA01 value. something like this.
If IA01 < 100, then QA01 = 0
If IA01>500, then QA01=1000
else QA01 = IA01*2
After going through manuals, i got confused. I am really struggling with CP and Arithmetic comparators. Anybody used similar ligic ? Can you help me?
I have used PICO 5 years ago, now dont remember many commands. I need to write a small logic to compare IA01 and write QA01 value. something like this.
If IA01 < 100, then QA01 = 0
If IA01>500, then QA01=1000
else QA01 = IA01*2
After going through manuals, i got confused. I am really struggling with CP and Arithmetic comparators. Anybody used similar ligic ? Can you help me?