Is it possible to modulate the analogue output to create a sinusoidal curve?
Step-by-step guide
command sequence:
ANALOG SET X ANALOG_TRACK_CMD_VEL 10 OUTPUT X, 0, 0, 10 ' or the Analog Track use. Both commands are not needed at the same time.
ANALOG TRACK X, 0, 3, SCALE 0.33 ' Note: the feedback will be read as encoder counts and not in primary units.
OSCILLATE X 10 1 5
Virtual axis drives and on a real analogue output of a drive the velocity depending voltage is set:
ANALOG SET U ANALOG_TRACK_CMD_VEL 10 OUTPUT X, 0, 0, 10 ' This command is almost the same as above, but the Analogue set axis changes but not the Output axis.
OSCILLATE U 10 1 5 ' the virtual axis must drive the way.
Related articles