12-12-2022 09:14 AM
Hello,
i just found a bug with the peripheral xFCx610(natvie) V2.1.2.0. When i export the program then the code will be like this.
// initialize Rexroth xFC Frequency converter (_800SA730)
// init channel 1
Peripherals._800SA730_Ch1.Par.Scaling := AtmoDriveBaseVeloUnits.revolutions_min;
Peripherals._800SA730_Ch1.Par.FeedConstant := 0;
Peripherals._800SA730_Ch1.Par.GearingRatio := 0,0199999995529652;
// add channel to terminal
Peripherals._800SA730.AddChannel(Peripherals._800SA730_Ch1);
the problem is that the gearing ratio gets a "," .
when i switch the language of Control plus Studio from german to english then it workes because i get it like this
// initialize Rexroth xFC Frequency converter (_800SA730)
// init channel 1
Peripherals._800SA730_Ch1.Par.Scaling := AtmoDriveBaseVeloUnits.revolutions_min;
Peripherals._800SA730_Ch1.Par.FeedConstant := 0;
Peripherals._800SA730_Ch1.Par.GearingRatio := 0.0199999995529652;
// add channel to terminal
Peripherals._800SA730.AddChannel(Peripherals._800SA730_Ch1);
With Control plus Studio V4.11 we didn't have this problem. Now we are using Control plus Studio V5.5.
Solved! Go to Solution.
12-12-2022 09:27 AM - edited 12-12-2022 10:58 AM
Thanks for the hint! This is a bug in the export template and will be fixed in a new version of the peripheral.
(But actually I doubt this worked with 4.11. The behavior should be the same with all versions.)