58
1MRS750881-MUM
Remote Monitoring and Control Unit
Technical Reference Manual
REC 523
The number of entries in the LonMark POD (index+1) should be stored into the
231M200000
parameter. In case the Protocol Editing Tool is used, the number of
entries is defined in the No. of Entries tab. In such a case, the value is set to the index
of the last row defined, neglecting the possible empty rows in the end of the POD.
6.5.2.
Access to POD data
The POD can be read and written by using three principles:
1) LonTalk file transfer
File index is 48. The POD file is packed as presented in Table 6.5.2-1.
2) Protocol Editing Tool
The Protocol Editing Tool available in the CAP 505 version 2.1.0. and later can be
used for editing the LonMark POD.
The LonMark POD has two tabbed pages, LonMark and No. of Entries. The
structure of the LonMark tab is introduced in the Fig. 6.5.1.1.-1. Refer to Section
6.5.1.1. LonMark POD for further definitions of the columns.
The second tab, No. of entries, has only one item: number of defined entries. The
value for the No. of defined entries should be set to the same value as the index of
the last row defined, for example to 8 in Fig. 6.5.1.1.-1.
3) SPA table format
The SPA access can be used directly from the REC 523 SPA interface or any other
protocol supporting the transparent SPA message transfer.
The LonMark application number is 231. Table is number 1. Data category is M.
Entries are from 000 to 030.
Application Id is element 0.Value 0...65535
Table 6.5.2-1
POD file packing
Byte
Element
Comment
0
UINT16
Number of following POD entries
2
UINT16
ApplicationId (first entry)
4
UINT32
EventMask MSB
8
UINT32
EventMask LSB
12
UINT8
OutputNetworkVariableName (8)
20
UINT8
ProcessDataObjectName(8)
28
UINT16
ApplicationId (second entry)
:
:
:
The POD file must be packed, which means there must be no empty
bytes between structures or elements. The POD file elements must
be in Motorola byte order. The entries must be sorted based on the
application ID, starting from the smallest application ID number.
The entries must be sorted on the basis of the application ID, starting
from the smallest application ID number.