18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Communication with Other Devices<br />

You must actually create the class with enough members to accomodate the elements of the<br />

array item on the server. If there are not enough members, then elements will be lost. Class<br />

members cannot be created during runtime.<br />

Scenario 4: The project tag is both a class and an array<br />

If the class member ends with a number, then it is handled the same as in Scenario 3 above,<br />

regardless of the fact that the tag is also an array.<br />

If the class member does not end with a number, then it is handled the same as in Scenario 1<br />

above.<br />

Examples of tags that are both classes and arrays<br />

When Tag Name is configured<br />

as…<br />

…the values of the array element are written to the following members:<br />

MyArrayClass.Member MyArrayClass[0].Member, MyArrayClass[1].Member,<br />

MyArrayClass[2].Member<br />

MyArrayClass[3].Member MyArrayClass[3].Member, MyArrayClass[4].Member,<br />

MyArrayClass[5].Member<br />

MyArrayClass[3].Member1 MyArrayClass[3].Member1, MyArrayClass[3].Member2,<br />

MyArrayClass[3].Member3<br />

MyArrayClass[3].Member3 MyArrayClass[3].Member3, MyArrayClass[3].Member4,<br />

MyArrayClass[3].Member5<br />

MyArrayClass[3].Member001 MyArrayClass[3].Member001, MyArrayClass[3].Member002,<br />

MyArrayClass[3].Member003<br />

Note: This functionality is not supported in projects running on Windows Mobile or Windows<br />

Embedded Compact.<br />

OPC Troubleshooting<br />

When you are using OPC and have problems establishing communication, you should first verify the<br />

messages in the LogWin.<br />

If you are running the project on a Windows Embedded target system, there are two ways to check the log:<br />

1. Remote LogWin<br />

2. Local Log<br />

For information about using these logs, please refer to Using the LogWin task.<br />

If you find error messages in the log, look them up in this manual/help system, and follow the documented<br />

steps for solving the problems. (Use + F to find them in the manual; use the Index to find them in the<br />

context sensitive help system.)<br />

If you feel that you need to contact your distributor for technical support, make sure that you provide them<br />

with the following information:<br />

1. Log file<br />

2. Software vendor and product name of the OPC Server/Client that you are using<br />

3. If possible, a copy or an evaluation version of the OPC Server for testing purposes<br />

4. The contact information for your OPC Server/Client technical support<br />

Three possible errors and their resolutions are listed below…<br />

Security<br />

Error Code: 0x80070005 or -2147024891<br />

Reason for error: When the OPC Client tries to connect to the OPC Server, the DCOM layer usually requires<br />

authentication. The computer that is running the OPC Server needs to recognize the user logged on to the<br />

OPC Client computer, and such a user needs to have privileges to access the OPC Server.<br />

<strong>InduSoft</strong> Web Studio Page 339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!