SdInReal ParError and AEError
I have created my own library and inside library created functin block name AI_SD for him I used SDnReal function block. After donload I have Par and AE error.
Below is configuration:
PI_101.Latch := true;
PI_101.LevelHH := 16.0;
PI_101.AEClass := 500;
ParError is set, when any of your input value is out of range. Please check the input values.
AEError appears, when the internal status of the alarm module is negative, which means erroneous. Thus, the alarm/event is not generated because of some reason, it could be event queue is full. You can find some entries in online help.
For ParError :- Check whether, LevelHH/LevelH/LevelLL/LeveL are within Input (In.Parameters.Max/Min) range.
AEConfigErr is within range of 1-4.
For AEError: Check for internal status code for Alarm and event generator module.
It could be either because of full queue, for status -11.
It could be because of invalid character being used in a string (like, using space), for status -30.
It could be your SourceName and ConditionName are not unique, if status is -710.