nightline
Member
Gents,
I'm trying get some SEW Movigear motors in control by a Beckhoff PLC which is TwinCAT 3.
The SEW motor is connected by EtherCAT and is configured with a NC Axis in TwinCAT.
While running the motor, we get every now and then a Encoder Overflow.
According the SEW guys, it should be possible or even needed to mask out some of the encoder data.
The encoder data coming from the motor is 32 bits, but only 30 bits are position data.
In the Axis object in the NC part, there is a encoder setting part, where I see an Encoder Mask ( 16#FFFFFFFF ) and an Encoder Sub Mask ( 16#000FFFFF ).
The first Mask value seems not to be editable, the second is.
For other motors / controllers we have mask the first one with 16#3FFFFFFF. But this seems to be impossible, so I tried it in the software code, but this didn't solve the issue.
Do any of you has experiencew with this kind of issue, and has idea's how to solve this?
Thanks in advance!
Jack
I'm trying get some SEW Movigear motors in control by a Beckhoff PLC which is TwinCAT 3.
The SEW motor is connected by EtherCAT and is configured with a NC Axis in TwinCAT.
While running the motor, we get every now and then a Encoder Overflow.
According the SEW guys, it should be possible or even needed to mask out some of the encoder data.
The encoder data coming from the motor is 32 bits, but only 30 bits are position data.
In the Axis object in the NC part, there is a encoder setting part, where I see an Encoder Mask ( 16#FFFFFFFF ) and an Encoder Sub Mask ( 16#000FFFFF ).
The first Mask value seems not to be editable, the second is.
For other motors / controllers we have mask the first one with 16#3FFFFFFF. But this seems to be impossible, so I tried it in the software code, but this didn't solve the issue.
Do any of you has experiencew with this kind of issue, and has idea's how to solve this?
Thanks in advance!
Jack