Hi,
I have an SC where I calculate a value representing a measured distance. My intention was/is to connect this value (Result from Expression) to an analog output in the SC and then connect that output to an analog input on the controller in the StationLogic.
I ended up with a couple of problems:
- The SC editor doesn’t allow me to connect the result from the expression to an analog output, but it’s okay to connect to a variable created in the Dynamic Property of the SC.
- In the StationLogic editor it is not possible to connect the variable in the Dynamic property of the SC to the analog input on the controller.
I also have some concerns with setting the parameters for the analog input on the controller. After some googling I found out that the Unit mapping should be set to a range of bits, I use 16-31 for 16-bit value. But how should I set up the fields from Maximum Logical Value?
I guess this is some kind of scaling function for engineering units but which field is the raw analog input and which is the measurement value? I haven’t found any examples on these settings.