The ptopc_config.xml file includes three basic sections.
Note: The following sample file includes more lines than are required. The descriptions on the next pages identify required lines from optional lines.
1 |
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
2 |
<config> |
|||
|
3 |
|
<projects> |
||
4 |
|
|
<ATLSIM> |
||
|
5 |
|
|
|
<ptcom_prog_id>PtComOpc</ptcom_prog_id> |
|
6 |
|
|
|
<opc_prog_id>NDI.OPCATLSimSvr.1</opc_prog_id> |
|
7 |
|
|
|
<opc_server_node_name>NodeName.1</opc_server_node_name> |
|
8 |
|
|
|
<dcom_timeout>10000</dcom_timeout> |
|
9 |
|
|
|
<dcom_threshold>20000</dcom_threshold> |
|
10 |
|
|
|
<ping_interval>15000</ping_interval> |
|
11 |
|
|
|
<reconnect_interval>15000</reconnect_interval> |
|
12 |
|
|
|
<hang_protection_timeout>120000</hang_protection_timeout> |
|
13 |
|
|
</ATLSIM> |
|
|
14 |
|
|
<CIMPOPC> |
|
|
15 |
|
|
|
<ptcom_prog_id>PtComOpc</ptcom_prog_id> |
|
16 |
|
|
|
<opc_prog_id>NDI.OPCATLSimSvr.1</opc_prog_id> |
|
17 |
|
|
</CIMPOPC> |
|
|
18 |
|
|
<KEPLOCAL> |
|
|
19 |
|
|
<ptcom_prog_id>PtComOpc</ptcom_prog_id> |
|
|
20 |
|
|
<opc_prog_id>NDI.OPCATLSimSvr.1</opc_prog_id> |
|
|
21 |
|
|
|
< opc_server_node_name>NODE3< /opc_server_node_name> |
|
22 |
|
|
</KEPLOCAL> |
|
23 |
|
</projects> |
|||
24 |
|
<client_name>CimView</client_name> |
|||
|
25 |
|
<default_update_rate>1000</default_update_rate> |
||
|
26 |
|
<update_rates> |
||
|
27 |
|
|
<_MY2SECGROUP>2000< _MY2SECGROUP> |
|
|
28 |
|
|
<_MY3SECGROUP>3000<_MY3SECGROUP> |
|
|
29 |
|
</update_rates> |
||
|
30 |
|
<max_string_length>80</max_string_length> |
||
|
31 |
|
<max_array_string_length>80</max_array_string_length> |
||
|
32 |
|
<property_id_display_format>5003</property_id_display_format> |
||
|
33 |
|
<trace_flags>0</trace_flags> |
||
34 |
</config> |
Ptopc_config.xml file: Framework |
|
Ptopc_config.xml file: Project definitions |
|
Ptopc_config.xml file: Global specifications |
Step 1.2. Enter specifications in the ptopc_config.xml file. |