TcOpen
TcOpen copied to clipboard
[BUG] Implicit conversion from one enumeration type to another in TcoDrivesBeckhoff
Not a bug per se, but more of an annoyance. There are four implicit conversions in the TcoDrivesBeckhoff library:
Warning Implicit conversion from one enumeration type (EDIRECTION (tcodrivesbeckhoff, 0.11.0.73 (vortex.library))) to another (MC_DIRECTION (tc2_mc2, 3.3.48.0 (beckhoff automation gmbh))) [tcodrivesbeckhoff, 0.11.0.73 (vortex.library)] HomeTask.OnStart 42
Warning Implicit conversion from one enumeration type (EDIRECTION (tcodrivesbeckhoff, 0.11.0.73 (vortex.library))) to another (MC_DIRECTION (tc2_mc2, 3.3.48.0 (beckhoff automation gmbh))) [tcodrivesbeckhoff, 0.11.0.73 (vortex.library)] HomeTask.OnStart 44
Warning Implicit conversion from one enumeration type (EENCODERREFERENCEMODE (tcodrivesbeckhoff, 0.11.0.73 (vortex.library))) to another (E_ENCODERREFERENCEMODE (tc2_mc2, 3.3.48.0 (beckhoff automation gmbh))) [tcodrivesbeckhoff, 0.11.0.73 (vortex.library)] HomeTask.OnStart 46
Warning Implicit conversion from one enumeration type (EJOGMODE (tcodrivesbeckhoff, 0.11.0.73 (vortex.library))) to another (E_JOGMODE (tc2_mc2, 3.3.48.0 (beckhoff automation gmbh))) [tcodrivesbeckhoff, 0.11.0.73 (vortex.library)] Jog 72
The conversion functions are already there, it seems, for example Tc2MC2_TO_Tco_Direction.
Hi , this was done to provide controls in visualisiation( combox ...)