Selecting A Unit Of Measure - Siemens SIMOCODE pro Programming And Operating Manual

Industrial controls, function block library simocode pro
Hide thumbs Also See for SIMOCODE pro:
Table of Contents

Advertisement

Description of the blocks
4.7 MMRevDhl motor block
4.7.24

Selecting a unit of measure

Customer-specific units
It is possible to use the units which differ from the IEC 611582 standard. User can define
units in the range 1 to 199 in an XML file. The name of the XML should be
'APLCustomerUnits.xml' and should be placed in the project path in the folder "GraCS" on
both server and client. An example to describe the content of the XML file
'APLCustomerUnits.xml' is shown below:
<?xml version="1.0" encoding="utf-8"?>
<UserDefinedUnits> <!-- Root node start -->
<!-- Define the first unit for different languages -->
<Unit id="1"> <!-- first node with unit ID 1 start -->
<Name lcid="1031">German1</Name> <!-- unit value (e.g. German1)
in German -->
<Name lcid="1033">English1</Name> <!-- unit value (e.g. English1)
in English -->
<Name lcid="1034">Spanish1</Name> <!-- unit value (e.g. Spanish1)
in Spanish -->
<Name lcid="1036">French1</Name> <!-- unit value (e.g. French1)
in French -->
<Name lcid="1040">Italian1</Name> <!-- unit value (e.g. Italian1)
in Italian -->
<Name lcid="1041">Japanese1</Name> <!-- unit value (e.g. Japanese1)
in Japanese -->
<Name lcid="2052">Chinese1</Name> <!-- unit value (e.g. Chinese1)
in Chinese -->
</Unit> <!-- first node with unit ID 1 end -->
<!-- Define the second unit for different languages -->
<Unit id="2">
<Name lcid="1031">German2</Name> <!-- lcid="1031" is for
German -->
<Name lcid="1033">English2</Name> <!-- lcid="1033" is for
English -->
<Name lcid="1034">Spanish2</Name> <!-- lcid="1034" is for
Spanish -->
<Name lcid="1036">French2</Name> <!-- lcid="1036" is for
French -->
<Name lcid="1040">Italian2</Name> <!-- lcid="1040" is for
Italian -->
<Name lcid="1041">Japanese2</Name> <!-- lcid="1041" is for
Japanese -->
<Name lcid="2052">Chinese2</Name> <!-- lcid="2052" is for
Chinese -->
</Unit>
The "Unit id" value should be given to XXX_Unit parameter in the function blocks.
Note
The XML is read only once when WinCC runtime is activated. If any changes are done in the
XML later, user must deactivate, close, and activate the WinCC runtime again to reflect the
changes.
222
Programming and Operating Manual, 06/2017, A5E40899442002A/RS-AA/001
SIMOCODE pro PCS 7 Library V9.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simocode pro pcs 7

Table of Contents