Hi all, i am trying my first FBD in plc ide with a Opta.
I have a PT100 that goes in to a singnal converter that is setup -30-120C to 0-10V.
The analog resolution is 16bit so now i have to convert 0 - 65536 to -30-120C in plc ide.
In codesys you have a scale function block ready to go but i cant find any for plc ide.
i am trying to make my own scale function block with ST but its not going so well.
Anyone have a suggestion how i should do this ?
(had it working in a sketch with map() in normal ide but want to try FBD in plc ide)
I can't tell if there is a block already ready to be used
However, we cannot help you with your own scale function since you didn't share anything with us about it
What are the languages that you can use to do it? Only ST?
i am really a beginner to all this, but i tried to make one from a post on another forum(think its for codesys) and i tried to change it to work, i made a new function with ST as language becouse it was the only way that looked simular.