The total operating hours [h] over lifecycle of the drive unit
const onPowerOnTimeChange = (value: number, timestamp?: Date) => {
console.log(value, timestamp);
};
COBI.motor.powerOnTime.read(onPowerOnTimeChange); // Instantly get the current value
COBI.motor.powerOnTime.subscribe(onPowerOnTimeChange);
COBI.motor.powerOnTime.unsubscribe(onPowerOnTimeChange);
const onPowerOnTimeChange = (value, timestamp) => {
console.log(value, timestamp);
};
COBI.motor.powerOnTime.read(onPowerOnTimeChange); // Instantly get the current value
COBI.motor.powerOnTime.subscribe(onPowerOnTimeChange);
COBI.motor.powerOnTime.unsubscribe(onPowerOnTimeChange);