Scaling and offset mode
The procedure for creating an offset or scaling can be defined via the ScalingOffsetMode parameter:
- direct: Direct acceptance of scaling and offset
- rampIn: Compensating movement for including scaling and offset values
Relevant parameters/settings for the example:
|
Parameter |
Data type |
Setting |
|---|---|---|
|
ScalingOffsetMode |
L_MC2P_ScalingOffsetMode |
L_MC2P_ScalingOffsetMode.rampIn |
|
MasterOffset |
LREAL |
180 |
|
SlaveOffset |
LREAL |
0 |
|
VelocityDiff |
LREAL |
100 |
|
Acceleration |
LREAL |
1000 |
|
Deceleration |
LREAL |
1000 |
|
Jerk |
LREAL |
10000 |
|
|
Example of compensating movement for including scaling and offset values (ScalingOffsetMode = rampIn)
Scaling
Relevant parameters/settings for the example:
|
Parameter |
Data type |
Setting |
|---|---|---|
|
MasterScaling |
LREAL |
0.5 |
|
SlaveScaling |
LREAL |
2.0 |
|
|
Scaling example
Offset
Relevant parameters/settings for the example:
|
Parameter |
Data type |
Setting |
|---|---|---|
|
MasterOffset |
LREAL |
180 |
|
SlaveOffset |
LREAL |
0 |
|
|
Offset example