For using and manipulating signals of a speed and position source in the PacDrive system independently many times, the logical encoder was integrated in the system as “Software encoder”.
Tasks of the logical encoder:
oCoupling various encoder types to a “Standard encoder”
oCoupling multiple Log. encoder to a master encoder
oGenerating position values from the Master encoder speed value
oManipulating the master encoder speed signal
oSoftware gear (multiplication) of the speed signal
oAdding a speed signal to the speed signal of the master encoder
oSoftware coupling
oRealizing a phase displacement trough the system
oMaster position source for electronic curve (“x-axis”)
oMaster position source for cam switch
This topic contains the following subtopics:
Functional principle of the logical encoder (simplified presentation)
The speed signal of the master encoder is fed to the Log. encoder. The allocation of the master encoder is carried out with the SetMasterEncoder() function.
Possible Master Encoder:
oLXM
oVirtual encoder
oPhysical Master Encoder (SinCos)
oIncremental encoder
oLog. encoder
oSum encoder
oSum Master Encoder
oEncoder network for sync. Encoder Input
Connection “DRIVE” - “Logical encoder”
Connection “Master encoder” (P_ENC, INC_IN, SYN_DIN) - “Logical encoder”
In the simplest application, the speed generator, the phase generator, the gear, and the coupling are switched off.
The speed signal is then integrated trough the position integrator for a position value.Furthermore, the direction of rotation of the speed signal delivered by the master encoder is changed.
By specifying a period, the position signal can be kept within a range of 0 ...period value. For example, this can be used for measuring the position signal - independent of the axis period.
A second Log. encoder that is likewise fed with the speed of the master encoder, can be used as actual value source for a measurement function. The position value of this Log. encoder is reset with the IEC program, after evaluating the measurement, e.g. with the Setpos1() function.
The functionality of the logical encoder has been greatly extended over time. These new functions were divided into the following function groups:
Functional principle of the logic encoder
Adding a speed signal to the speed signal of the master encoder.
Typical application
oRegistration Correction
Favorable with a continuous position deviation of the print mark as these can be compensated using a continuous velocity overlapping.
Functional principle of the logic encoder
Functional principle of the logic encoder - velocity generator
With the OffsetVelocity parameter, the velocity to be added is specified.
To avoid that changes in the parameters OffsetVelocity lead to a leap in the velocity (parameter Velocity of the logical encoder), the changes in velocity is performed by the acceleration determined in the parameter Acceleration.
In many applications, it is necessary to know the changed in position that is generated by OffsetVelocity. This information can be read in the parameter OffsetPosition.
Adding a distance as speed signal to the speed signal of the Master encoder.
Typical application
oRegistration Correction
Favorable with correction within a machine cycle.
The missing synchronization for a master position is disadvantageous.
With the phase generator, a “virtual” motion is added in theLog. encoder to the master speed. Thus, a “time” manipulated master position is transferred to the axis connected with the Log. encoder so that the position target is reached sooner or later.
Principle of the logic encoder
Functional principle of the logic encoder - phase generator
With the PhaseEnable parameter, the phase generator is activated.
With the PhaseRedPosition parameter, the distance is specified.
With the PhaseRefVelocity, PhaseRefAcceleration, and PhaseRedDeceleration parameters, the motion profile of the phase generator (positioning) is determined. In the PhasePosition, PhaseVelocity, PhaseAcceleration, and PhaseState parameters, the actual values of the phase generator are depicted.
Multiplication of the master encoder speed signal.
Typical application:
oVelocity proportional coupling of drives.
For example, this can be used for grouping products.
Grouping products with two conveyor belts via velocity proportional coupling.
NOTE: In practice, the gearboxes (GearEnable, GearRefFactor, GearFactor, GearChangeRate parameters) are used only rarely, as the position reference is lost. If you have this task, it is better to use a solution with curves (curve-based motion flow).
Functional principle of the logic encoder
Functional principle of the logic encoder - gearbox
With the GearEnable parameter, the gearbox is activated.
With the GearRefFactor parameters, the gear factor is specified.
To avoid that changes in the parameter GearRefFactor lead to a leap in the velocity (parameter Velocity of the logical encoder), changes in the gearbox factor is performed by the rate of change determined in the parameter GearChangeRate
Engaging and disengaging the speed signal of the master encoder.
Typical application:
oControlling a slave axis when a product is missing.
The motion sequence must not be influenced when coupling out and back in again.
The relative complicated parameterization and the understanding of the complex function is inconvenient.
Missing product in the fan-type chain -> couple the pressure roller out and in
NOTE: In practice, the coupling is used only rarely as it leads to jerks during engaging and disengaging. Moreover, it is not possible to engage and disengage at any positions. If you have this task, it is better to use a solution with curves (curve-based motion flow).
Functional principle of the logic encoder
Functional principle of the logic encoder - coupling
With the EngageEnable parameter, the coupling is activated.
With the EngageStart parameter, the engaging and disengaging is controlled.
To achieve engaging and disengaging without jerks, the speed modify is controlled trough EngagePeriode and EngageCount. In the EngagePosition and EngageState parameters, the actual values of the coupling are depicted.