No rules are specified to use the information described in the BLOCK_MEMORY part and BLOCK_PARAM part headers to create CSP+ machine ObjectType.
Elements having preset labels in the BLOCK_MEMORY part and BLOCK_PARAM part are mapped not to CSP+ machine ObjectType but to a machine Object with the CSP+ machine ObjectType instantiated.
Some of elements having preset labels in the BLOCK_MEMORY part and BLOCK_PARAM part are mapped to Attributes and Properties of DataVariables as mapping destination for the elements specified in the COMM_IF_CONFIGURATION as its reference source, and others are mapped to return values for the Services (Read, Publish, Republish) to be executed for the DataVariables. Table 73 shows the mapping specifications.
Table 73 – Mapping Specifications for BLOCK_MEMORY Part and BLOCK_PARAM Part CSPP Elements
No. |
LABEL name of CSPP element (mapping source) |
Mapping destination |
Rule |
1. |
P_Value |
Value Attribute of the DataVariable |
Maps the value acquired from the machine to the Attribute value. However, when MIN_INC item has been defined in P_Value element or its reference source element, a value acquired from the machine is converted depending on the MIN_INC item value and mapped to the Attribute value. |
2. |
P_NA |
Severity field (bit 30 and bit 31) of the statusCode element of a value as DataValue DataType*1 from the Service return values |
When the value acquired from the machine is 0 (not missing), the Severity should be "00" (Good Success). When the value acquired is 1 (missing), the Severity should be "10" (Bad Failure). |
3. |
P_Accuracy |
Maps a value acquired from the machine (BLOCK_MEMORY part) or an element DATA item value (BLOCK_PARAM part) to a Value Attribute value of a Property. |
|
4. |
P_ChangeDate |
"sourceTimestamp" member of a value as DataValue DataType*1 from the Service return values |
Maps the item value acquired from the machine to the member value. |
5. |
P_MeasurementDate |
"serverTimestamp" element of a value as DataValue DataType*1 from the Service return values |
Maps the item value acquired from the machine to the element value. |
6. |
P_Period |
Converts the value acquired from the machine (the unit is specified by the ENG_UNIT item value for the element) in millisecond unit and maps to the Attribute value of the Property. |
|
7. |
P_Cycle |
Maps DATA item value of the element to the Attribute value. |
*1: For a Read Service, the results[] value corresponds to the DataValue DataType. For a Publish or Republish Service, the Value element of the notificationData[] element in the notificationMessage value corresponds to the DataValue DataType.
No rules are specified to use the information for the elements other than the preset label in the BLOCK_MEMORY part and BLOCK_PARAM part to create CSP+ machine ObjectType.