Hello, I am new to PLC programming, and I´ve been assigned this task at USP-070-B10 with UIS-WCB1, using Unilogic 1.23.25:
I have an analog angle measuring sensor, which gives current of 0-20mA( 0mA is for -45°,20mA is for 45°) , which transfers into integer value from 0 to 16383 in INT16, I need:
1) transfer the integer value to value in degrees
2) display the value in degrees on the HMI field
3) compare the value with user written value in another HMI field, and perform actions according to the comparation
I am stuck at the first part, transferring the integer value