AdvaSoft 1.3/3 problems usin SDP protocol to sent values to AC110
A description of this resolution:
- AdvaSoft 1.3/3 problems usin SDP protocol to sent values to AC110
"AdvaSoft 1.3/3 problems usin SDP protocol to sent values to AC110" resolves the following:
- AdvaSoft problems usin SDP protocol to sent values to AC110
Application area: Steel
We are using AdvaSoft for Windows connected via AF100 to AC110 to controll process. To send reference values to AC110 from AdvaSoft we utilize Service Data Protokol (SDP). Sometimes, after changing value in AdvaSoft and trying to send it to AC110, we got error message on screen - "Cannot write to this field!" cca after 5 sec. As a result, value in AC110 is not received. Once this problem appears, it is continuous until INIT/CLEAR pushbutton on AC110 is used and new application program is loaded. Also we have to restart PC. For testing we have used simple application program with one sending DSP and tried to write one value from AdvaSoft using SDP protocol. After loading application, it is possible few times to change value from AdvaSoft, but once we receive error message mentioned in following error.log AC110 'hooks' and no writes are possible to any values and we have to restart both AdvaSoft and AC110. Therefore I need to know an exact description and reason of message 'Controller has no resources for handling AdvaSoft station', because it is not possible to find any description in any manuals concerning AC110, AdvaSoft or AF100 User guides. AdvaSoft's AF100 interface program knows object's address, because few writes are successfull. Also preload of all object's is done when AdvaSoft starts. Reprograming application programs and displays to use DSP protocol to send data to AC110 is at this moment not aaceptable for us.
More detailed description of configuration
- AC110 Base SW 2.2/0 with apropriate versions of Extended PC elements and Even Handling CI626 - AF100 Koax interface, only local S600 I/O's AC110 system load cca 50% with customer application and cca 15% with testig application program AMPL Control Configuration 1.6 Coils are generated with Bus Configuration Builder for AdvaSoft- version 3.11 PC Compaq, Pentium II, 300MHz, 64MB RAM, Microsoft Windows for Workgroups 3.11, (but we have tried also slowest, fastest and with more RAM but nothing helped) AdvaSoft for Windows 1.3/3 and 1.3/2 (both tested) During tests display with one value only used
I'm also enclosing answers from Support Line Subject: SE92013 - AdvaSoft problems
Are you sure of the version of the AC110 because there was a such problem in version 2.0 described in the Status Report SR 8004.
Other question : Have you been working with different versions of BCB (Bus Configuration Builder) to generate the coil files? Which version(s)?
Some more information I could find in my notes :
You are trying to write a value to an object in a sending DSP while the object has not yet been resolved (the AF100 program could find the object’s address on the CI52x board).
This could be because you have an application writing down the value without having first made a subscription to the object. This is possible but one must then ‘preload’ the object to the memory which then resolve the object reference on the CI52x board.
Normally you shouldn’t see this problem when using AdvaCommand because a picture always first send out a subscription which then resolve the object but when writing an own User API application or use DDE, then it can happen the first time you access the object.
Solution : Always make a ‘preload’ of all objects when you startup AdvaSoft (read AF100SYMB.DTA to the memory). This can be done as follows : In the file advasoft.ini, section AF100Profile, add the following line : QuickLoad=ON (see AF100 User’s Guide, Appendix A)
Also, if you wan to be sure to not have such problem, I would recommend you to use the DSP method instead of SDP.