Attached is sample drive configuration and Codesys program for Compax3 T30 / T40 for analog position.
This allows standalone operation of the Compax3 with external analog command signal of 0-10vdc, or +10 to -10vdc to position a servo motor.
By default, 0-10vdc corresponds to the full stroke of the motor. The Compax3's variable array list (row01_column01) sets the maximum distance. By default this is set to 50mm. For program details, see the README comments in the Codeys program.
This also has an optional analog monitor output, scaled to the absolute position of the motor.
One such common application would be for valve positioning:
Note a multi-turn absolute encoder can be used with the Compax3 so homing wouldn't be necessary on power-on.
The Compax3 can also be supplied with M21 option for analog current inputs (0-20mA or 4-20mA). Here's sample program, template (see readme) and sample drive configuration:
5/21/13jh
1/15jh update with M21