Hi,
Stepper motor
Mach 3 tells card to send for example 80 pulses (5v?) to the encoder an each puls rotates one value of degree. Mach 3 remembers how many pulses it has send and can calculate the position of the steppermotor. And of course also calculate the position, I get that.
This is close to correct, this is a bit confusing: "pulses (5v?) to the encoder an each puls rotates one value of degree". The pulse is
sent to the
stepper drive.....not the
encoder.....in fact steppers don't have encoders.
Servo motor
Mach 3 tells card to send 1-10v to the encoder and the voltage represent a speed? The servodriver returns pulses to mach 3, telling the position of the servoengine? Then I guess some extra card is needed to control the process?
That is true for old school analogue servo drives. That extra card that converts Machs step/direction commands and monitors
the servo encoder is required and expensive. You don't need it.
I think I have AC-servos and all connectors are connected. The "Profibus" cable is connected to the current motioncard
Are you sure that its Profibus?. Yaskawa is strongly committed to Ethercat and was not aware that they ever produced a Profibus
capable servo drive.
Even if it is Profibus or Ethercat what you need to determine is if you can change the mode of operation to step/direction
which is native to Mach. I would guess it is possible. Some manufacturers produced servo drives that could
ONLY be
operated in the manufacturers preferred bus communication protocol, Ethercat in the case of Yaskawa, but the norm is to
have the servo drive be bus
AND step/direction
AND analogue voltage input capable for maximum market
appeal. If that is the case then you can remode your servo drives to step/direction and use Mach (3 or 4) and a step/direction
buffered motion controller like the ESS, the UC300 or if you want real cheap Mach3's humble parallel port.
Craig