2/12/2019 9:19 AM | |
Joined: 10/11/2006 Last visit: 12/11/2024 Posts: 5967 Rating: (820)
|
Hello, first of all, the two positions have nothing to do with the selected encoder. position ist the setpoint position of the axis --> Where the axis wants to move to in this motion cycle You have to home one of the two encoders with the input homing of the LAxisCtrl block. You can do a switchover to the other encoder with the MC command MC_SetEncoder. It has different modes regarding getting your homed position from the motor encoder to the external encoder. What you have to consider if you use DSC is that the motor encoder have to be the first encoder in your axis hardware interface encoder configuration. You can see the positions of the both encoders in your axis data structure or db <Axis>.StatusSensor[x].Position (x is the number of sensor regarding configuration). For more details you can have a look at the motion control manual especially chapter 3.2.5.5: If you have problems with the following error check if it continuosly increases. Then the configuration of your encoder (increments per revolution, ...) could be wrong. |
With best regards, |
|
2/12/2019 4:22 PM | |
Joined: 12/14/2011 Last visit: 12/11/2024 Posts: 168 Rating: (14) |
OK, now it is clear, many thanks. |
Follow us on