I am trying to use PLClibrary to resolve some control issues and the result of the decisions leaves me with three options each calling for a positional servo outcome.
PLC library does not of itself offer analog variable processing other than analogue read , PWM and Servo outputs.
All would be fine if only a single value needed to be passed to the Servo library ...however making a selection of one of three variables does not seem possible precluding a degree of automation.
PLC library relies on scanVariable whose content is valid immediately after the evaluation of the "rung".
I have tried saving content of the scanVariable immediately post the evaluation with no joy,