Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

TELL command GETOLDVAL or ESL action GETOLDVAL start the reading of all the configured load profiles on the station. The time interval with data is always read by the parameters of TELL command or ESL action from the load profile.

Example: I/O tag with address::

  • class_id = 7
  • attribute_index = 2
  • logical_name = 1-0:P.1.0

After the tell command GETOLDVAL B.ELMER_125 "06-07-2020 00:00:00" "06-07-2020 01:00:00", the KOM process queries a list of objects in a profile (by reading attribute 3):

09:44:39.558 06-07-2020|D|DLMS> Composing getRequest for LN ClassID=0007 InstanceID=1-0:P.1.0 AttributeId 3, InvokeID 65

and displays a list of received objects:

09:44:40.710 06-07-2020|D|DLMS> Received capture_objects attribute for I/O tag 'M.ELMERY_T125_1_25_PROFILE' (class_id=7, logical_name=1-0:P.1.0, attribute_index=3) are:
09:44:40.710 06-07-2020|D|DLMS> 1. logical_name=0-0:1.0.0, class_id=8, attribute_index=2
09:44:40.710 06-07-2020|D|DLMS> 2. logical_name=0-0:C.10.1, class_id=1, attribute_index=2
09:44:40.710 06-07-2020|D|DLMS> 3. logical_name=1-0:1.5.0, class_id=4, attribute_index=2
09:44:40.710 06-07-2020|D|DLMS> 4. logical_name=1-0:2.5.0, class_id=4, attribute_index=2
09:44:40.710 06-07-2020|D|DLMS> 5. logical_name=1-0:32.7.0, class_id=3, attribute_index=2
09:44:40.711 06-07-2020|D|DLMS> 6. logical_name=1-0:3.5.0, class_id=4, attribute_index=2
09:44:40.711 06-07-2020|D|DLMS> 7. logical_name=1-0:4.5.0, class_id=4, attribute_index=2
09:44:40.711 06-07-2020|D|DLMS> 8. logical_name=1-0:52.7.0, class_id=3, attribute_index=2
09:44:40.711 06-07-2020|D|DLMS> 9. logical_name=1-0:72.7.0, class_id=3, attribute_index=2

this reading is performed only once and the result is cached. Subsequently, data blocks containing historical values are read:

09:44:42.924 06-07-2020|D|DLMS> Block 1 complete, reading next
09:44:42.925 06-07-2020|D|DLMS> Composing Get-Request-Next for block-number 2
..
09:44:51.203 06-07-2020|D|DLMS> Get-Data-Block-Result: raw-data [0], length 88:
09:44:51.203 06-07-2020|D|DLMS> Last Block complete, going to parse 1614 bytes

The values are parsed and assigned to the I/O tags. If the  I/O tag with the required address does not exist, a warning is displayed:

09:44:51.205 06-07-2020|D|DLMS> > Old value for I/O tag 'M.ELMERY_T125_1_25_APm_15p', (double_long_unsigned) 992660, Re=99266, Tm=06-07-2020 00:00:00 Local
09:44:51.205 06-07-2020|D|DLMS> > Old value for I/O tag 'M.ELMERY_T125_1_25_APm_15m', (double_long_unsigned) 0, Re=0, Tm=06-07-2020 00:00:00 Local
09:44:51.205 06-07-2020|W|DLMS> Cannot find I/O tag logical_name=1-0:32.7.0, class_id=3, attribute_index=2 to assign profile data!
09:44:51.205 06-07-2020|W|DLMS> Cannot find I/O tag logical_name=1-0:3.5.0, class_id=4, attribute_index=2 to assign profile data!

Note: it is necessary to configure a non-zero delay in the time parameters of the station, otherwise the reading of profiles will never get to the run (periodic reading has a higher priority). If there are several stations on the line, the delay must be higher than the duration of the periodic reading of the values of at all the stations.


Kotva
typy_hodnot_atributov
typy_hodnot_atributov
Supported value types of class attributes

...