TwinCAT NC & Drive limit error reaction issue
TwinCAT NC & Drive limit error reaction issue
By advan @20200408[Description]
Some customer use drive limit input to protect machine , This combination usually will cause NC axis error(eg 0x4650)
or lose ready flag while hit the limit sensor , In this case master is no longer to control the motor anymore
or drive the motor away limit sensor.
Or some customer use the limit sensor for calibration purpose , For this issues, This document is reference material
to avoid the error situation & achive the functionality.
In case on CoE drive , usually this issue usually been find on TC3 not TC2 .
In case on CoE drive , usually this issue usually been find on TC3 not TC2 .
most people don’t have this issue before . But problem occur only by change from TC2 to TC3.
In case on SoE drive(AX5000) ,Both TC2 & TC3 will check S-0-0135 bit 3 , So if TwinCAT NC controlling
AX5000 hit drive limit sensor , Both TC2 & TC3 will yield an error.
How to avoid the NC axis error?
https://infosys.beckhoff.com/content/1033/tcplclib_tc2_mc2/9007201474834955.html?id=8780871053429658676
See also bit 8 of the ControlDWord in AXIS_REF.
How to get limit sensor state
How to avoid the NC axis error?
https://infosys.beckhoff.com/content/1033/tcplclib_tc2_mc2/9007201474834955.html?id=8780871053429658676
See also bit 8 of the ControlDWord in AXIS_REF.
How to get limit sensor state
[SoE Drive](AX5000) P-0-0801
This 16 bit register map drive Input0 ~7
This 16 bit register map drive Input0 ~7
[Note]
Before use drive limit input, make sure NC & drive have same direction cognition , and don’t use Invert direction on controller side
i. See each drive manual. Define by each manufacturer.
ii. CoE drive OD 0x607E(Polarity) = Set 0 as default define, 224 as invent the motor direction.
Data description:
The binary representation of the object value and its corresponding meaning is as follows:
iii. SoE drive IDN S-0-0055(Position polarity parameters)
Whan using MC_SetAcceptBlockedDriveSignal function , Master must get limit sensor state(See page2 2. How to get limit sensor state) do further implement to avoid further error.
[Appendix]
CoE Drive define
Reference ETG.6010 D(R) V1.10
https://www.ethercat.org/en/downloads/downloads_733ABB98E11545EA901D80D9A4CA7F80.htm
SoE Drive S-0-0135 define
https://infosys.beckhoff.com/content/1033/ax5000_idn_description/18014399478646667.html?id=8506185538073089992
x
Before use drive limit input, make sure NC & drive have same direction cognition , and don’t use Invert direction on controller side
i. See each drive manual. Define by each manufacturer.
ii. CoE drive OD 0x607E(Polarity) = Set 0 as default define, 224 as invent the motor direction.
Data description:
The binary representation of the object value and its corresponding meaning is as follows:
iii. SoE drive IDN S-0-0055(Position polarity parameters)
Whan using MC_SetAcceptBlockedDriveSignal function , Master must get limit sensor state(See page2 2. How to get limit sensor state) do further implement to avoid further error.
[Appendix]
CoE Drive define
Reference ETG.6010 D(R) V1.10
https://www.ethercat.org/en/downloads/downloads_733ABB98E11545EA901D80D9A4CA7F80.htm
SoE Drive S-0-0135 define
https://infosys.beckhoff.com/content/1033/ax5000_idn_description/18014399478646667.html?id=8506185538073089992
x
留言
張貼留言