By Yamini , 7 July, 2025 Forums DLMSDirector Hi I want to Know while reading data from meter do we need to apply the scalers to the meter data separately or else gurux will automatically apply scalers to the meter data. Please clarify this doubt. Thanks Yamini You need to apply the… You need to apply the scalers to the meter data separately. Consider following example: int addRegisterObject() { const unsigned char ln[6] = { 1, 1, 21, 25, 0, 255 }; cosem_init2((gxObject*)&activePowerL1.base, DLMS_OBJECT_TYPE_REGISTER, ln); //10 ^ 3 = 1000 activePowerL1.scaler = 3; activePowerL1.unit = 30; return 0; } Hi, Scalers are used… Hi, Scalers are used automatically if they are set to the register objects. You can set the scalers or read them from the meter. BR, Mikko
You need to apply the… You need to apply the scalers to the meter data separately. Consider following example: int addRegisterObject() { const unsigned char ln[6] = { 1, 1, 21, 25, 0, 255 }; cosem_init2((gxObject*)&activePowerL1.base, DLMS_OBJECT_TYPE_REGISTER, ln); //10 ^ 3 = 1000 activePowerL1.scaler = 3; activePowerL1.unit = 30; return 0; }
Hi, Scalers are used… Hi, Scalers are used automatically if they are set to the register objects. You can set the scalers or read them from the meter. BR, Mikko
You need to apply the…
You need to apply the scalers to the meter data separately.
Consider following example:
int addRegisterObject()
{
const unsigned char ln[6] = { 1, 1, 21, 25, 0, 255 };
cosem_init2((gxObject*)&activePowerL1.base, DLMS_OBJECT_TYPE_REGISTER, ln);
//10 ^ 3 = 1000
activePowerL1.scaler = 3;
activePowerL1.unit = 30;
return 0;
}
Hi, Scalers are used…
Hi,
Scalers are used automatically if they are set to the register objects.
You can set the scalers or read them from the meter.
BR,
Mikko