Servo feeder with measuring wheel.
Good to hear from you. You shoule put the EtherCAT drive into CSV (speed mode) then it is possible to combine the EtherCAT axis with the encoder wheel as feedback.
BASE(wheel)
ATYPE = 44 ' (servo axis type)
UNITS = UNITS AXIS(ecat_servo)
DAC_SCALE = 0
ADD_DAC(wheel) AXIS(ecat_servo)
ADDAX(ecat_servo) AXIS(wheel)
When you want to use the wheel, set this:
DAC_SCALE AXIS(wheel) = 1
DAC_SCALE AXIS(ecat_servo) = 0
When you want to use the motor'd encoder, set this:
DAC_SCALE AXIS(wheel) = 0
DAC_SCALE AXIS(ecat_servo) = 1
Your P_GAIN and VFF_GAIN for each axis will need to be tuned and set up. They will be different values because the counts from the encoder for each mm will be different for each feedback source.
Related Articles
Analogue drive and Ethercat encoders
We are considering to install an Ethercat card to the Analog drive only for speed control. Question… Can we close the posisition the loop of an ethercat drive with an external encoder? Can we use an ADD_DAC function for that? Answer: Yes it can be ...
Closed loop with an external encoder
To make this work, both axes must be CSV servo type. The Delta ASDA-A2 can be set to CSV with DRIVE_MODE AXIS(0) = 2. DRIVE_PROFILE can be 0 or 1. The encoder is the tricky part. You must also make that a servo axis, so I suggest you create an ...
MC4N Sync Encoder
The encoder axis in the MC4N will automatically set itself up. With no EtherCAT axes it will be axis 0 and the ATYPE will show as either 44 (servo) or 76 (incremental encoder). You can connect an encoder and it will count the pulses straight away. ...
DAC scale factor
As DAC is an axis parameter, it is a 32 bit signed number. What the range of values means depends on the drive. Some use RPM, so DAC_OUT value 1000 = 1000 RPM. Drives use a lot of different scale factors. Some might be 2^31 = 3000 RPM for example. ...
Torque and speed control over EtherCAT
For most servo drives, set DRIVE_MODE in the MC_CONFIG. On EtherCAT startup, the Trio Master will set up the drive for the selected mode and set the ATYPE automatically. Some drives can change mode after EtherCAT startup. In the PDO you will see the ...