TcOpen icon indicating copy to clipboard operation
TcOpen copied to clipboard

[BUG] Implicit conversion from one enumeration type to another in TcoDrivesBeckhoff

Open rruiter87 opened this issue 1 year ago • 1 comments

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.

rruiter87 avatar Jun 17 '24 12:06 rruiter87

Hi , this was done to provide controls in visualisiation( combox ...)

peterbarancek avatar Jun 25 '24 08:06 peterbarancek