Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IEC60870_5_104_MAX_ASDU_LENGTH (Questions) #7

Open
serumhyb opened this issue Feb 19, 2019 · 1 comment
Open

IEC60870_5_104_MAX_ASDU_LENGTH (Questions) #7

serumhyb opened this issue Feb 19, 2019 · 1 comment
Labels

Comments

@serumhyb
Copy link

// send information objects
var signalAsdu = new ASDU(parameters, cot, isTest, isNegative, oa, ca, isSequence);

        foreach (var rtuSignal in rtuSignals)
        {
            signalAsdu.AddInformationObject(new MeasuredValueNormalized(rtuSignal.IOA, scaleValue(rtuSignal), new QualityDescriptor()));            
        }

        return signalAsdu;

Please see above code. We have created an ASDU unit and trying to add information objects to the unit. We have around 45 Signals to be embedded into the unit object. But the AddInformationObject will not go over 40 because there is no space left due to max length of IEC60870_5_104_MAX_ASDU_LENGTH =249. Is there anyway to go over this limit or we have to send with 2 ASDU unit?

Thanks a lot in advance.

@mzillgith
Copy link
Contributor

The 249 bytes is a hard limit. If you have more data you have to create additional ASDU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants