question
stringlengths 19
6.88k
| answer
stringlengths 38
33.3k
|
---|---|
Problem Statement: Aspen SCM is installed with no problems by an Windows Administrator user, and the SLM license is correctly configured, but SCM starts only when run by that user. All other users, including those with administrator privileges, get this license manager error message:
Module Name:Database [ID:112}. LM Message:
Unable to obtain the license for Database. Please check the event viewer for additional information!
The corresponding Event Viewer message is:
Module Name:Database [ID:112], LM Message:
Unable to obtain the license for Database. Please check the event viewer for additional information!, Unable to create instance, Status is E_ACCESSDENIED. | Solution: The problem can be caused by insufficient access privileges to the DCOM component used for licensing by SCM. Setting proper access permissions to DCOM component oopascms.exe fixes the problem.
See the attached document for details on checking and setting access permissions to DCOM components.
Note: It is important that your experienced IT specialists do this operation. Only they should do this because it may impact the working of all other DCOM components.
Keywords: LICENSING
ERROR
ACCOUNT
WINDOWS USERS
DCOM
References: None |
Problem Statement: I get the error message: No core memory. Not enough memory to set up simulator. | Solution: This problem is caused by the date format in the system start not matching the date format in the control options. Set the formats to match and this will alleviate the problem
Keywords:
References: None |
Problem Statement: You need to have the row and column headers that are visible in Aspen Supply Chain Management (SCM) Configurable Application (i.e. Plant Scheduler, Demand Manager, etc.) export with the field data to a spreadsheet. | Solution: 1. Open a SCM case.
2. Select Options > System from the menu bar.
3. Select Editors tab.
4. Select Include Headers in the Copy/Paste field.
5. Click Ok.
6. Save the case.
After the saving the case, check the registry under HKEY_CURRENT_USER\Software\AspenTech\mimi\Editor to ensure CopyHead=DWORD:0x00000000 (0) was set.
Keywords: Header
Spreadsheet
References: None |
Problem Statement: You are attempting to run a batch script which calls BATCH command within Supply Chain Management (SCM). The script will run to completion, but you do not notice any log files being generated. The following screen shot shows the files created when you run $BATCH from command line in SCM: | Solution: You must ensure the FTMFDEF table is configured properly.
Open up the table and review the settings for the log file locations. Notice in this screen shot, it does not have an absolute path defined.
Therefore, the log files will be generated in the directory you have mimias.exe installed (most likely the /mimi/bin/ directory).
Modify the table to point to a path where would you like to see the log files, apply the changes to the table, save the case, and rerun the script.
You will now see the files.
Keywords: None
References: None |
Problem Statement: After upgrading SCM to V7.2,Business Process Explorer (BPE ) gives an error when trying to retrieve a file.
Your end user was running version 2006.1. Uninstalled it and installed the latest SCM version V7.2 along with Business Process Explorer.
Afterwards the end user cannot retrieve case files from Business Process Explorer. The problem is isolated to BPE only as you can open the case files from SCM without any problem.
Your end user tried rebooting, reinstalling etc, but still has the same problem. Below is a screen shot of the error: | Solution: If you look at Program Files\Aspentech\BPE you will see that there are quite a few .dll files in that folder. You should create a batch script and re-register each with regsvr32 <dll name> in DOS in the directories under C:\Program Files\Aspentech\BPE. After this, reboot your computer. This will resolve the problem.
Keywords: None
References: None |
Problem Statement: Instruction on how to create a new instance on Oracle for CF installation. | Solution: 1. Turn-off or disable the service of the first instance or database from Start --> Settings --> Control Panel --> Administrative Tools --> Services. Only one instance of the Oracle database service can start at a time.
2. Navigate to Start --> Programs --> Oracle9.2 --> Configuration and Migration Tools --> Database Configuration Assistant.
3. Click Next.
4. Select General Purpose (default), then click Next.
5. Enter the Global Database name and SID as you would when entering the an instance for the first time. (This will create another database instance)
6. Follow the rest of the Oracle's database configuration setting as instructed in the CF installation documentation.
Keywords: None
References: None |
Problem Statement: Error P0088:TDAI: actual exceeds max count at PRO(1) (get TDAT) in a scheduling case | Solution: This error appears when some elements of set PRO are not mapped in table TYPE, column TYI. In other words some product inventory types are missing in column TYI of table TYPE. This is not allowed.
You can spot these configuration problems by running M CHECK.
Keywords: Scheduling
Errors
P0088
TYPE
References: None |
Problem Statement: Availability Matrix for installing Aspen Collaborative Forecasting with MS SQL Server Database or Oracle. | Solution: CF Availability Matrix:
Oracle 8.1 to 9.2
MS SQL Server 2000
CF 2006
Yes
No
CF 2004.3
Yes
No
CF 2004.2.x
Yes
Yes
Notes:
1. Only up to CF 2004.2x is MS SQL Server 2000 supported. However, it is on the road map for future CF versions.
2. MS SQL Server 2000 is not supported in versions 2004.3 and version 2006.
Keywords: CF
SQL SERVER 2000
ORACLE 9.2
DATABASE
References: None |
Problem Statement: How do I return the values of mimias.exe and mimi.exe? | Solution: Please follow these steps:
1) Locate the installation directory for SCM. Most likely it is C:\Program Files\AspenTech\aspenmimi\Bin
2) Find file named mimias.exe
a. Right click the file
b. Choose properties
c. Click on Version Tab
d. Repeat the exact same steps for file named mimi.exe.
e. Return the values to Support
Keywords: None
References: None |
Problem Statement: The title of the INFO table can not be changed after running M CHANGE. | Solution: If a user modifies the title of INFO that is created by the command M PLAN (displays the current schedule) and then executes the command M CHANGE (to apply the modification), the error window table is displayed with error P0115: INFO table does not contain schedule produced by M PLAN.
The title of INFO that is created by M PLAN must be named SCHEDULE. The user can not change the title name.
Keywords: None
References: None |
Problem Statement: Aspen SCM dongle troubleshooting tips | Solution: Solution 120607 explains how to install the dongle, but if you are still having problem installing the dongle or the license can not be found, you may want to review the following suggestions:
Installing the Sentinel driver might fix the problem. You can download this driver from Sentinel Technical Support (http://www.safenet-inc.com/support/tech/sentinel.asp). Once the web page is loaded, select Other Hardware Keys and then click on the Download Driver link located under the Step 1 - Driver Update heading.
NOTE: The driver is also attached to thisSolution.
It is possible that you lost track of which dongle belongs to which license file or system. If this is a potential issue, then followSolution 120523 which describes how to match the dongle to the correct license file.
Once SLM has located the correct dongle and license file, you are ready to install the Aspen SCM products.
Note: The Administrative DVD is where the SLM software is located and DVD #4 is where the Aspen SCM products are located. In addition,Solution 119592 describes how to get a copy of the SCM Installation Guide.
Keywords: dongle
install
sentinel driver
References: None |
Problem Statement: Licensing error when installing Aspen SCM.
Examples of possible errors that can occur when installing Aspen SCM:
1. <<lservrc_100_25E51DF2.SLF>> <<License Error on Install - Rob Laptop 07-14-06.doc>>
2. No Aspen products can be selected inside the field box during the installation process. | Solution: Before installing SLM and SCM again clean the temporary folder.
1. Open the Window Explorer session and go to the temporary folder (type %tmp% in the address field and it will automatically go to the temporary folder).
2. Search and delete any files named lservrc and strgxi2.dll found at the temporary folder and sub-folders.
3. Navigate to c:\Program Files\Common Files\Hyprotech\Shared and verify that the license file exit.
4. Install the licensing software called Aspen SLM. The SLM Configuration Wizard will help ensure the license file is installed properly.
5. Install Aspen SCM.
Keywords: INSTALLATION
References: None |
Problem Statement: How much free space should I have on my C: drive in order to run MIMI efficiently? | Solution: According to our Hardware Requirements, it is recommended that you have at least 300 MB of free space on your hard drive. However, if you are running a large model (greater than 50 MB) that number will be higher. If your case is over 100 MB then Customer Support recommends about 1 GIG of free space.
For additional help, see the latest version of the MIMI Hardware Requirements by clicking the Documentation link on this web site.
Keywords:
References: None |
Problem Statement: How to toggle between different foreign languages within Aspen SCM. | Solution: The following example will demonstrate how to change Aspen SCM from English to Russian, but can be substituted for any of the other languages offered including Chinese (simplified), English (US), English-UK, French, German, Italian, Japanese, and Spanish.
1. Exit out of Aspen SCM.
2. Go to directory \Program Files\AspenTech\aspenmimi\Bin and look for a file called converttorussianapp.bat. Execute this file.
3. When the file is done running, go to the Control Panel | Regional and Language Options | Advanced tab. In the pull down menu for the language version to be used with non-unicode programs, select Russian and then reboot.
4. Once rebooted, start Aspen SCM and the characters should now appear in Russian as desired. (Note: The help files remain in English.)
5. If you wish to return to English, simply run the converttoenglishapp.bat file to set it back.
Keywords: localization
foreign languages
convert
References: None |
Problem Statement: Is Aspen SCM and configured applications supported for the Windows 7 operating system? | Solution: Aspen SCM versions prior to the release of V7.2 have not been tested on Windows 7 operating system and are therefore not supported.
It is Aspen Tech's policy (see KB Article 115885) that if a product has not been tested on a certain product/platform, then it is not officially supported on that product/platform. Proper functioning of AspenTech software on non-supported platforms cannot be guaranteed. As such, then installation of AspenTech software on a non-supported platform will be considered to be a use at your own risk configuration.
If you wish to install Aspen SCM software on a Windows 7 operating system you will need to select the correct compatibility mode for your version of software during set up.
? Right click on setup1.exe
Select Properties from the dropdown menu
Select the Compatibility tab
Select the ?Run the program in compatibility mode for: checkbox
From the dropdown menu, select the operation system that is compatible with the version of Aspen SCM that you are trying to load. The required operating system information can be found in the System Requirements section of the SCM Installation Guide. In the example below Windows 2000 was chosen.
Click OK.
Double click setup1.exe to start the installation.
Keywords: Windows 7
Installation
CAPs
Supply Planner Installation
Plant Scheduler Installation
Demand Manager Installation
References: None |
Problem Statement: Exporting a table into an Access database using Batch Insert mode does not export all the rows in the table. Why?
For example:
- a case file contains a table TSAMP01 containing 7077 rows
- you have set up your ODBC Data Source (with a Microsoft Access Driver) and you have called it FMT_TES
- you want to export your table to your Access database table called DATA
- from your SCM case you run the following commands to do your export in Batch Insert mode:
(a batch size of 500 is selected)
SQL DATAEXPORT BATCH 500
SQL QTEST
where the SCM SQL set QTEST contains:
CONNECT FMT_TES BY mimi/mimi;
DELETE FROM DATA ;
INSERT INTO DATA
VALUES TSAMP01(*,1) ,
TSAMP01(*,2) ,
TSAMP01(*,3) ,
TSAMP01(*,4) ;
DISCONNECT ;
- only a small percentage of your rows are exported (0.21% in this example)
- instead, if you export using Standard Insert mode (batch off):
SQL DATAEXPORT BATCH OFF
SQL QTEST
- all the 7077 rows of your table are correctly inserted into the Access table: | Solution: First, a reminder of what SCM's Batch Insert mode and Standard Insert mode are (see the online help for details).
Standard Insert mode moves data from SCM to the database server one record at a time.
Batch Insert mode allows exporting a large volume of data to databases across the network quickly using SCM SQL commands. It transfers data to the database server in batches, which is much faster.
SCM operates in Standard Insert mode by default. If you want to use Batch Insert mode, you must enable it by executing the SQL DATAEXPORT BATCH command.
1. The issue described above is actually a problem with the Access ODBC driver. If you do a batch export using for example a Oracle database (this uses the Oracle ODBC driver), all the rows are always inserted correctly.
The Access ODBC driver does not support batch insert.
The purpose to use batch insert is saving the cost of transferring data over the network. If your data source is an Access database, you usually access the data file locally. So, there is no evident need for the drivers to support the batch insert for Access.
Based on this, the suggestion is to not turn on the batch switch if the target database is Access.
2. Why are, in the example above, only 15 of the 7077 rows transferred when doing the batch insert with the Access driver?
If you turn on the Batch switch, SCM will try to export the data with the Batch Insert logic. In other words, SCM will write out the data to the database one batch each time, instead of one record each time. It is up to the driver to decide how to process each batch. The driver for Access only writes one record to the database for each batch.
If you look carefully, you will see that when batch size is 500, the rows exported to Access are rows #1, #501, #1001, #1501, etc. If the batch size was 200, rows #1, #201, #401, #601, etc. would be exported.
The exact formulas
- The size of each batch is either b or MOD(n, b) where n is the number of rows (e.g. 7077) and b is the batch size (e.g. 500).
- The number of batches is therefore only records will be exported in this case.
In the example reported here the SCM table to be exported has 7077 rows and you set the batch size to 500, then the number of rows that can actually be written to the Access file is
Keywords: ACCESS
ORACLE
BATCH INSERT
References: None |
Problem Statement: When running a case in batch mode we got the following message (File mismatch)
Is this a configuration issue, or can we ignore it? | Solution: This is an obsolete error message and can be ignored. The next release of SCM will no longer check the versions.
Keywords: mimias.exe
Batch
File Mismatch
References: None |
Problem Statement: Is there a variable that can be used during a silent install for the SCM Name Server?
A customer may wish to use a silent installation procedure so that the Aspen SCM install can be done over the network or simply without the interaction of end users. To do this, an xml file can be created; however, during the installation process a prompt requesting the SCM Name Server appears. (This is used to set several of the Aspen SCM environment variables.) What can be used in this field for the installation of multiple users? | Solution: If a single installation is being completed, then the computer name can be entered. However in most cases, the installer would like to use one xml file for all users. As a result, the word localhost can be used in place of the computer name. Using localhost will automatically recognize the name of the specific machine being installed upon and allow Aspen SCM to complete the install and start successfully on all machines.
Keywords: installation
batch install
References: None |
Problem Statement: What does it mean if a Session Control Switch is set to a value of 2 or higher? | Solution: If the value of the YES/NO session control switches are set to a number greater than zero, it will be the same as if the value were 1.
For example, if switch[1] is set to 2 than it should invoke the NODISP mode just as if it were set to 1.
To indicate:
YES: Type Y, YES, or 1
NO: Type N, NO, or 0
All fields require a YES or NO setting, with the following exceptions:
1. Feedback At Enter
4. User level
11. Date Format
12. Paging Algorithm
14. Paging Stats Scheme
17. Command Log Activation
18. Default Sleep Duration.
Keywords: session control switches
options
values
References: None |
Problem Statement: Running setup.exe from aspenONE Admin DVD is generating error 1311. | Solution: Avoid installing from a zip file. Make sure that you unzip any file first and save it on the hard disk of your computer then install.
Navigate to \aspenone2006admdvd\SLM\SLM Tools\core\SLM_Client_Tools and change cab name from LSAPIW~2.cab to LSAPIW~1.cab within that folder.
Keywords: SLM
SOURCE FILE NOT FOUND
LSAPIW
LSAPIW1, LSAPIW2
CAB1, CAB~1
CAB2, CAB~2
References: None |
Problem Statement: Correct NLF expressions such as the following:
(2414 / ((LOG FLI / LOG 10) + 6.1188)) - 230.56
will occasionally return the error NLF function argument error: (2414 / ((LOG FLI / LOG 10) + 6.1188)) - 230.56.
Also, the behavior is slightly different in the various MIMI versions. For example:
- v. 7.0: The calculation result is blank and the above error message appears in the ERROR table.
- v. 2004.1: The calculation is not done and result is left blank, but no error appears. | Solution: An easy change in the model can work around this problem. By modifying the NLF formula to add some parentheses, all versions will provide the correct results of the calculation.
In fact it is not good to define a possibly ambiguous expression that NLF would not know how to calculate. The expression above could indeed have different interpretations and Aspen SCM could get confused by this.
1. (2414 / (( (LOG FLI) / (LOG 10) ) + 6.1188)) - 230.56
2. (2414 / (( LOG (FLI / (LOG 10)) ) + 6.1188)) - 230.56
TheSolution is to use parentheses, placed according to the expression you want, for example:
a. (2414 / (( (LOG FLI) / (LOG 10) ) + 6.1188)) - 230.56
or
b. (2414 / (( LOG(FLI) / LOG(10) ) + 6.1188)) - 230.56
There have been some changes to the way to report NLF error messages since 6.2. This is probably the reason why the behavior is slightly different in the different versions, but the parsing logic for NLF expressions has not been changed.
? Performing mathematical calculations in Aspen SCM using the NLF set
You can define mathematical expressions in the NLF set.
The Code portion of each NLF set entry is the name of the expression. The Description defines the expression, using a combination of table names, table entries, numbers, other NLF entries, arithmetic operations (+, -, *, /), other mathematical functions, conditional statements.
You perform the calculations defined in NLF by executing the VALUE command or the CALC command.
You can perform the NLF function within a loop to evaluate the expression for each entry in a set.
Keywords: NLF
CALCULATION OF MATHEMATICAL EXPRESSIONS
LOGARITHM
References: None |
Problem Statement: GEN generates unexpected results after changing a code width, or MAXCT of one set that is used in COLS table | Solution: When strange behavior like what is mentioned above happens, e.g., changing MAXCT alters GEN results, one should consider checking if the Catalog is corrupted. One way to find this out is to see if a SET has a BLANK name (or no name) in the Catalog as shown below (list the catalog by Ascending, and then Descending to double check it).
If indeed there is a SET that has no name, rename it with any name. Then use XREF command to find out if it is being used anywhere. Possible references may include: ROWSET, COLSET, SUBSET or an after or before procedure/macro. All occurrences need to be validated. Rectify any corruptions. Once the problem is corrected, please GEN again to make sure GEN generates the right results.
Keywords: Corrupted Case
Windows Catalog
GEN
Blank named SET
References: None |
Problem Statement: New columns needed in table MAKF starting from version 2004 | Solution: ThisSolution will be useful to you if you are using M SIMW in your scheduling models.
Because of some SIMW enhancements, starting from version 2004, M SIMW requires LS, PT, ST, AS, JITB, LT, SU, YF, PS and AE columns. The first 8 columns of MAKF are truly positional, while the PS column and AE column are interchangeable.
Please be sure that these columns are inside HKF (the column set of MAKF) in the order indicated when you upgrade to version 2004:
LT (LT) Lead Time
SU (SU) Setup Time
YF (YF) Yield Factor
PS (PS) Process Start Time
AE (AE) Actual End Time
An enhancement to M CHECK is going to be implemented in one of the next releases (target release: 2006) to report missing MAKF columns as stated, when CMAN(SIMW) = YES
Some questions and answers:
Q. What will be the symptoms if the YF, PS & AE columns are not present in MAKF when M SIMW is run?
A. If you do not have some of the columns, the nearby memory within MAKF table itself would be trashed, causing unpredictable results or causing crash, depending on the options SIMW runs in. Some of the old models run OK without even the SU column, only because the model did not cross the paths that need the extra columns for some SIMW options. So it does not always cause problems, but to be on the safe side for sure, you definitely need to have each and every of these columns in place.
Q. Do I need these columns if I don't upgrade to v.2004?
A. If users do not upgrade software, they need not to know the latest changes to SIMW. If they do upgrade, then they ought to go through each and every cumulative CQs for potential model change requests anyway, and SIMW is surely one of them that they need to pay attention when they upgrade.
Q. Can the addition of these new columns be automated?
A. Yes, you might think of writing a macro that, respecting the restrictions indicated above, makes sure that you have all the necessary entries in your HKF set. You can see an example below. Please be warned that it is given only as a suggestion, and that you will need to write your own code, depending on the current HKF in your case file.
NODISP
APPENDIF HKF YF Yield Factor
APPENDIF HKF PS Process Start
APPENDIF HKF AE Actual End Time
GETCAT $1 = HKF COUNT
MODIFY HKF MAXCOUNT $1
Keywords: MJ
Scheduling
SIMW
MAKF
HKF
References: None |
Problem Statement: The SCM (MIMI) request broker server stops functioning and I have to reboot the server. This can be caused by a couple of problems with the request broker:
1. The service has crashed.
2. The service is locked up. | Solution: 1. If the service has crashed, then stop and restart the service.
2. If the service has locked up, and the only thing you can do is reboot the server, try the following:
The request broker is probably sharing a port with another application. Have a network administrator determine what port the broker is using, and change it to a number higher than 10000. This is because most port numbers less than 4000 are used by common applications and the operating system. By increasing it beyond 10000, you are utilizing a port number rarely used. Afterwards, reboot the machine and start the broker. This will alleviate your problem.
Keywords: None
References: None |
Problem Statement: What V7.2 disk do I use to install Aspen Supply Chain Management (SCM) software? | Solution: First you need to determine type of license, standalone or network, that is installed at your company.
If you are using a perpetual standalone license - install SCM software from the Aspen Manufacturing and Supply Chain DVD 2 (see figure 1).
Figure 1
If you are using a network license - Check with your administrator to determine if your company is using, token-based or perpetual license.
Perpetual - install SCM software from the Aspen Manufacturing and Supply Chain DVD 2 (see figure 1).
Token-based - install SCM software from the Aspen Manufacturing and Supply Chain DVD 2T (see figure 2).
Figure 2
Keywords: Install
DVD
Token
References: None |
Problem Statement: Is there a command to compare 2 text tables in SCM? | Solution: There is no command in SCM to compare 2 text tables, however there is a simple way to get around this.
1. Create 2 copies of the case INITIAL. (INITIAL1.CAS AND INITIAL2.CAS)
2. Copy the tables to be compared into each, one in INITIAL1.CAS and the other in INITIAL2.CAS.
3. Make sure that both tables have the same name in each.
4. Finally, use the DIFFCASE command to compare both cases. Since the cases are identical other than those 2 tables, it will give you the desired results.
See the SCM On-Line Help Files for additional information on DIFFCASE.
Keywords: None
References: None |
Problem Statement: M CHECK found errors on many FAC related tables | Solution: M CHECK reports errors when any new table name(s) is the same as system required table name(s). This is designed to cope with backward compatibility issues for facility typing and facility level tracking.
Since naming conflicts are inevitable and unforeseeable from case to case, it was decided to let M CHECK report these conflicts so as to remind modelers to take some actions, e.g., rename their model table name(s) to be something else to avoid system table names. M CHECK also checks the integrity for data structures of facility typing and level tracking, i.e., if one or more of the following tables exist, then all of them should exist and all of them are now system tables:
FDAT
FDAI
FDAF
FTYP
FACTYPE
FACLEV
FACPRO
FACDATA
It also ensures that entries LEVCALC, LEVMIN, LEVMAX, SDTYPE and CAPTYPE are in the set of HFD.
For example, if FACTYPE exists in a case, then M CHECK will suggest that the rest of the data tables listed above are required as well. This is because FACTYPE is a system table. Otherwise, FACTYPE should be renamed to something else and references to FACTYPE should be changed accordingly.
Keywords: M CHECK
FDAT
FDAI
FDAF
FTYP
FACTYPE
FACLEV
FACPRO
FACDATA
References: None |
Problem Statement: It may happen that you see different durations in the Activity Editor for two activities having same Start and End time. Why?
For example, the Planning Board below displays an activity on Reactor 1 having duration 04h 00' and an activity on Reactor 2 having duration 03h 58'. But both activities have the same Actual Start time and the same Actual End time. | Solution: This is not a bug in the Aspen SCM code.
Indeed, if you check carefully, you will realize that this visualization problem happens when two activities do not actually have the same start and end time. This can be proved by changing the format for MAKF for example to F2.5.
Since those two activities do not have the same start and end time, obviously, the durations should not be the same. The Activity Editor displayed the correct duration for both activities.
The MAKF format does not control the display on the Activity Editor.
In this case, the Activity Editor can only display the time up to minutes. As the time difference between those two activities are in seconds, you cannot see the difference.
If you want to see the time in seconds, and then see the difference in the start and end times, you can add a DISPS switch to table CMAN - i.e. CMAN(DISPS) - and set this switch to YES.
Keywords: ACTIVITY EDITOR
DURATION
STARTING TIME
ENDING TIME
References: None |
Problem Statement: How to generate the CPLEX log file ? | Solution: One table has to be considered: CCPLEX (or CLPS).
The CLPS or CCPLEX table contains information which controls SCM Linear Programming and CPLEX performance. Historically, when only the CPLEX solver was available as an external optimizer, the CLPS table contained parameters to control performance of the GEN and OPT commands and other related LP issues. There was no need to segregate controls of the SCM model generator and the CPLEX solver. When SCM became linked to OSL and XPRESS-MP solvers, the control was done through the COSL and CXPRESS tables.
To make the SCM interface consistent with external solvers, the new CCPLEX table has been added to control CPLEX performance. If the CCPLEX table exists, then all the related CPLEX parameters in the CLPS table are ignored and optimization control is directed by parameters in the CCPLEX table; the CLPS table is responsible only for generation control. If the CCPLEX table does not exist, then the CLPS table works as in earlier SCM/LP versions.
In table CCPLEX (or CLPS), turn parameter CLOG = FILE. CLOG is a parameter in the CLPS table that is related to the CPLEX optimization log. This will generate file MIMILOPT.LOG that is located in the same directory as the cases directory. Notice that If CLOG parameter is not present in table CCPLEX (or CLPS), user will have to add it by editing the row set of CCPLEX or CLPS.
In table CCPLEX (or CLPS), turn parameter CMSG = to one of the following values: NO (default, do not retrieve any messages). ERR (retrieve error messages). WAR (retrieve error and warning messages). ALL (retrieve error, warning and result messages). CMSG is a parameter in the CLPS table that specifies different types of CPLEX messages to be retrieved. Notice that If CMSG parameter is not present in table CCPLEX (or CLPS), user will have to add it by editing the row set of CCPLEX or CLPS.
Run GEN and OPT commands from the SCM command line.
Check the CPLEX log file by editing MIMILOPT.LOG file located in MIMI\CASES
Additional information can be found in the SCM online HELP.
Keywords: None
References: None |
Problem Statement: UNEXPECTED ERROR IN SOLVE.M occurs when opening an Aspen SCM case. | Solution: Error message also includes the explanation and how to fix it.
**** Error !!! **** Max col count exceeded; increase MAC set max count
Follow these steps how to increase the maxcount of MAC and subsequently MAR:
1. Open the case
2. Press F3 to bring up the command line.
3. Type EDIT MAC at the command line.
4. Right click on the MAC set and choose Set Attributes.
5. Locate the Max Allowed field and increase it to a number higher than whatever it is currently set to and click OK to accept those changes.
6. Repeat the step 2 to 5, but this time edit the MAR set.
7. Save the case, then try opening the case. The error message should not occur.
NOTE: If the error message continues, you may not have increased the maxcount of MAC and MAR to a high enough number. If so, go through the steps above again, increasing the Max Allowed field in step 5 to a higher value.
Keywords: MAC
MAR
EDIT
References: None |
Problem Statement: How to hide the Inventory Profile window on the Gantt chart. | Solution: Set CNTLS(GFAC) to 12 or bigger until the Inventory Profile window will be hidden.
NOTE: Depending on your operating system, you may also need to set both GFAC and ROWS in CNTLS to some very large number like 99 in order to get the desired results.
Keywords: Planning Board
Gantt Chart
Inventory Profile
CNTLS
References: None |
Problem Statement: This knowledge base article describes how to run SCM in Batch mode from Command Prompt window. | Solution: To run Aspen SCM in Batch mode from a Command Prompt window:
1. Display Command Prompt window Start | Programs | Accessories | Command Prompt.
2. Execute the command below.
Syntax:
mimias -cfullpathcasename -b[batchmacro]
ยท -c: Indicates that the string following -c is an SCM case name.
ยท fullpathcasename: The full patch of the case that you would like to run in Batch mode.
ยท -b: Indicates that you would like to run SCM in Batch mode. If you do not include a batch macro name, SCM runs the default macro, $BATCH.
Example:
mimias -cc:\programfiles\aspentech\aspenmimi\cases\juice.cas -b
Keywords: None
References: None |
Problem Statement: After what appeared to be a successful installation of MIMI on my Windows 2000 laptop, the following error message was received whenever MIMI was started:
mimi.exe - Entry Point Not Found. The procedure entry point ??_U@YAPAXI@Z could not be located in the dynamic link library MSVCRT.dll. | Solution: After investigation of the standard Microsoft Visual C Runtime dynamic link library (MSVCRT.DLL) which was installed on the Windows 2000 machine, it was discovered that the dll was an older version, installed by a third-party program.
The correct version of the MSVCRT.DLL was installed with the installation of the Windows 2000 Service Pack 4. After the service pack upgrade of the operating system, no further problems were encountered when running MIMI.
Keywords: MSVCRT.dll
Entry Point Not Found
dynamic link library
Windows 2000 SP4
References: None |
Problem Statement: This knowledge base article describes how to read data from an external file into an SCM variable. | Solution: The READ command can be used to move data from an external file into variables. It can be a single & variable /$ variable or series of variables.
Syntax:
READ+ variable1 [variable2โฆ]
+: The optional plus sign instructs SCM to continue reading record the next time READ is executed. Without + SCM automatically moves to the next record the next time you execute READ.
Variable1: The first variable into which you would like to read data.
Variable2: The second variable into which you would like to read data. This variable is optional. You can specify up to eight variables.
Note that there is no space between READ and +.
Example:
READ+ &1 &2 &3
Keywords: None
References: None |
Problem Statement: SCM 2006.1 with BPE is installed on a PC. MSOffice 2003 is also installed. When loading a profile in BPE, the MS Office Installer runs and BPE crashes. | Solution: Reinstalling the software via DVD adds the necessary files and will stop the MS Office installer from running.
The issue is that certain files were not installed during the initial install. These files which didn't get installed were in C:\program files\common files\VBA and C:\program files\Microsoft Shared\Office.
Keywords: BPE
MS OFFICE
VBA
MS OFFICE INSTALLER
References: None |
Problem Statement: We have seen cases where the use of PutOnCOS records can cause a memory leak for the OPC20ifix.exe process of the iFix 4.5 OPC Server.
The PutOnCOS records does a cancel/undeclare operation on the taglist and then declares the list with each COS activation. It looks like the iFix OPC Server cannot handle this properly. | Solution: Use the regular PUT records (i.e. IoPUTDef) instead which you can activate with a COSActDef or a SQL Plus query.
Keywords: IoPutOnCosDef,
IOLongTagPOCDef
memory leak
IOLLTagPOCDef
References: None |
Problem Statement: What is the Enable Predicate Unification (UNIF) parameter in the CNTLE set? How is it used? | Solution: The Enable Predicate Unification (UNIF) parameter in CNTLE enables the Predicate Unification feature.
Predicate Unification uses rule processing logic that enables Aspen SCM to learn when a predicate is fired and find it in the $PRED set more quickly than with standard rule execution. This feature improves the execution speed of most rules.
Possible Values
NO: (Default) Disable Predicate Unification.
YES: Enable Predicate Unification.
Note: The Predicate Unification feature has special requirements for predicate structure. For details, see Predicate Structure with the Predicate Unification Feature in the Online Help Files.
To enable Predicate Unification:
1. Execute the CHECK PRED command to check your case for near-duplicate predicates.
Near-duplicate predicates are predicates that are identical except for the arguments passed through the predicate, where at least one of the predicates has a variable as at least one of its arguments.
Note: You can also execute the CHECK ALL command, which checks for near-duplicate predicates in addition to the other checks.
2. If CHECK PRED finds any near-duplicate predicates, use the strategies listed in Predicate Structure with the Predicate Unification Feature to eliminate them.
3. Set the Enable Predicate Unification (UNIF) parameter in CNTLE to YES.
Keywords: PREDICATES
RULES
ERULES
COLLECT
LINK
References: None |
Problem Statement: How do I resolve the error message Application failed to initialize properly when starting Aspen SCM? | Solution: This problem is caused by Aspen SCM needing to access certain dll's located in the subdirectory WINNT/system32 and the user not having the correct permissions. If you login as administrator, this will not happen as an administrative login id will, by default, have access to the system32 subdirectory, but a regular user may not. To fix the problem, give authorized Aspen SCM users their correct permissions to the system32 directory. The users will need only read, write and execute permissions to alleviate this problem.
Keywords: configuration, permissions
References: None |
Problem Statement: When running multiple scenarios in Planning Board, there are times when the warning messages become redundant and not desired. How can you turn the user turn the warning messages off? | Solution: In CNTLS table, there is an entry called QUIET. This indicates whether you want to display informational message when the planning board is displayed. The possible values are: YES (Display most messages), NO(default) and LOUD (Display every possible message).
If user does not want see this message, they can set CNTLS(QUIET) to YES.
Keywords: CNTRLS
Warning Messages
QUIET
References: None |
Problem Statement: You would like to use cmprcase, but are unsure the syntax. | Solution: The command compresses a case, eliminating wasted space that accumulates in case files. Execute from your operating system command prompt.
CMPRCASE does the following:
Compresses the case into a temporary file named .SCRATCH
Copies the compressed version back to the original case name.
Note: The cas2dat command also eliminates wasted space in a case. Thus, if you use cas2dat, you do not need to execute cmprcase.
Viewing the Amount of Wasted Space
When you execute the LOAD or SAVE commands, SCM displays the amount of wasted space in the INFO table.
Syntax
start CMPRCASE [case] [-S[{+|-}]number] [-T[{+|-}]number] [-f{n|a}]
Examples
start CMPRCASE tools.cas -S1000 -T1000
start CMPRCASE sched.cas -fn
start CMPRCASE sched.cas -fa
Description of Arguments
case: (Required) The name of the case you want to compress.
-S[{+|-}] number: (Optional) Changes the maximum number of sets in the case by either:
Adding to or subtracting from the existing maximum. For example, start CMPRCASE TOOLS.CASE -S+25
Specifying a new number. For example, start CMPRCASE TOOLS.CASE -S600
-T[{+|-}]
number: (Optional) Changes the maximum number of tables in the case by either:
Adding to or subtracting from the existing maximum.
For example, start CMPRCASE TOOLS.CASE -T-50
Specifying a new number.
For example, start CMPRCASE TOOLS.CASE -T1000
Note: CMPRCASE can reset the maximum count of sets and tables in an SCM case up to 8,000 by using the -S or -T option. Also, SCM is able to load a case with the maximum count of sets and tables set up to 8,000.
-f{n|a}: (Optional) Removes invisible characters from sets and Character and String tables. Can be one of the following:
-fn: Removes null terminators and new line characters.
-fa: Removes all invisible characters, including null terminators and new line characters.
Note: Specify either -fn or -fa, not both.
Keywords: None
References: None |
Problem Statement: How to configure the Planning Board Activity tips? (Available in Aspen SCM 2004.2 and higher)
A Planning Board Activity Tip is a small rectangular window that displays information about an activity. The Activity Tip appears when you place your cursor over an activity on the Planning Board. You can configure the information that appears in the Activity Tip. Activity Tips display only if they have been configured in the application.
To display an Activity Tip:
Place your cursor over the activity for which you want to display the Activity Tip.
The Activity Tip opens and remains displayed until you move the cursor away from the activity, or until the display time limit is exceeded. | Solution: CONFIGURING ACTIVITY TIPS
You can configure the information that displays in Activity Tips by creating a control set. Each row in the control set displays one piece of data in the Activity Tip. Entries appear in Activity Tips in the same order in which they appear in the control set.
You can create one Activity Tip control set for all activities, or different control sets for each product, operation type, facility, or facility type.
Maximum Activity Tip Width
The maximum length for each Activity tip is 256 characters. If an Activity Tip exceeds 256 characters, SCM truncates the excess characters.
Notes:
Configuring Activity Tips is similar to configuring the Activity Editor.
Before processing the entries in an Activity Tip control set, SCM sets the indexes of the related sets. This works the same as setting indexes when selecting an activity, except the activity is not selected and highlighted on the Planning Board. The @ sign in rules or macros will then use the indexes for calculation. After processing the entries in the control set, SCM immediately sets the indexes back to their original values.
To create one Activity Tip control set for all activities:
1. Create a new set to be the Activity Tip control set.
2. Populate the control set as follows:
Code - Control set keyword
Description - Label that you want to display in the Activity Tip
Note: The Activity Tip information displays all on one line unless you insert line breaks using the *NEXT keyword.
3. Specify the set name for the Activity Tips Control Set or Table (ATIPSCTL) parameter in CNTLS.
4. If desired, specify one or both of the following:
To specify the delay between when the user places the cursor over the activity and when the Activity Tip displays, specify a value for the Activity Tips Delay (ATIPSDLY) parameter in CNTLS.
To specify the amount of time for which the Activity Tip will display, specify a value for the Activity Tips Duration (ATIPSDUR) parameter in CNTLS.
To create Activity Tip control sets by product, operation type, facility, or facility type:
1. Create control sets for products, operation types, facilities, or facility types.
2. Populate each control set as follows:
Code - Control set keyword
Description - Label that you want to display in the Activity Tip
Note: The Activity Tip information displays all on one line unless you insert line breaks using the *NEXT keyword.
3. Create a Character or String table as follows:
Control sets by product - PRO x 1
Control sets by operation type - TYI x 1
Control sets by facility - FAC x 1
Control sets by facility type - FYI x 1
4. Populate each row in the table with the name of the Activity Tip control set you created for that product, operation type, facility, or facility type.
5. Specify the table name for the Activity Tips Control Set or Table (ATIPSCTL) parameter in CNTLS.
6. If desired, specify one or both of the following:
To specify the delay between when the user places the cursor over the activity and when the Activity Tip displays, specify a value for the Activity Tips Delay (ATIPSDLY) parameter in CNTLS.
To specify the amount of time for which the Activity Tip will display, specify a value for the Activity Tips Duration (ATIPSDUR) parameter in CNTLS.
To disable Activity Tips:
Set the Activity Tips Duration (ATIPSDUR) parameter in CNTLS to 0.
or
Leave the Activity Tips Control Set or Table (ATIPSCTL) parameter in CNTLS blank.
Keywords: tool tips
tooltips
mouse over reports
References: None |
Problem Statement: One of the enhancements that were introduced in V8 CP2 was the implementation of a Filter Icon, which would appear on the top of the tab whenever the data in the screen was a subset of the actual data. This icon can also be included in your custom screen, if you want to use it for some other purposes.
This | Solution: explains how to add the Filter icon to your custom screen. ThisSolution is written for SCM Modelers with basic knowledge of XML.
Solution
The Filter icon can be added through the XML configuration. The following attribute needs to be added to the View section:
IsFilteredSource=โIsFilterPropertyโ
This attribute needs to be added along with the header of the screen, like in:
<CONFIG>
<!--COV Analysis View-->
<COV_VIEW Header==LNGDLG(CCOV_HEADER,@)
IsFilteredSource=IsFilterProperty
ViewModelID=:COV_VM>
<View
The corresponding View Model node, which in this case is called โIsFIlterPropertyโ, needs to be added in the appropriate State Group. For example, in the Standard CAP, it is added to the Advanced Filter panel State Group.
The IsFIlterProperty should be declared as a Boolean and should point to either a Value or a ValueSource - TRUE/ FALSE turns on/off the Icon.
<IsFilterProperty
Type=Bool
ValueSource=CDVCTL(ISFILTER,1)
StateGroup=ScreenData />
Keywords: Filter
XML
Icon
References: None |
Problem Statement: In Windows 64-bit environments, the OC25.DLL is copied to the root drive after installing Aspen SCM. Since the DLL is linked to Aspen SCM, is it possible to move the DLL to a more appropriate folder location? | Solution: The OC25.DLL is part of the Aspen SCM Windows Installer installation msi file. Every time Aspen SCM starts, the Windows Installer service checks to see if all component files are actually installed on the machine. Since the file was originally installed to the root of the drive, the Windows Installer service checks to see if the file is still there. If the file is moved to any other location, the Windows Installer service will detect that it is missing and run a repair on the Aspen SCM installation media which will install any missing files. Thus, even if the DLL is moved, it will immediately be put back to the root location.
The root cause is a Microsoft redistributable merge module that AspenTech uses which includes this DLL. Since the 64-bit operating systems do not have a system sub directory for 16-bit programs, this causes the OC25.DLL to be installed to the root of the drive. This is a Microsoft redistributable which AspenTech can not change directly. As a result, the OC25.DLL cannot be moved to another folder location.
Keywords: installation
microsoft
DLL
References: None |
Problem Statement: Installation is successful, but Aspen SCM (version 2004 and above) is slow to start. | Solution: One possible cause of this problem is the incorrect SLM configuration on your client machine. Run the SLM Configuration Wizard and correct the client parameters configured on the client where Aspen SCM is slow to start.
Aspen SCM will start slowly if it cannot find the license. For example, if you have a local (Standalone) license locked to Preferred Network (i.e. Lock Mask = 0x80400) but you have configured locking mechanism Default (i.e. Lock Mask = 0x0) then, in order to make Aspen SCM find the local license, correct the Lock Mask parameter to 0x80400; don't forget also to verify all the check boxes in the other pages of the SLM Configuration Wizard. When you restart Aspen SCM after these changes, you will see that it starts up in a short time as normal.
Keywords: SLOW
LONG TIME
LICENSING
References: None |
Problem Statement: Does Aspen Supply Chain Management (SCM) offer support for the XPRESS Parallel Solver? | Solution: Yes, this is a built in feature for SCM.
Keywords: None
References: None |
Problem Statement: How can you fill a table with important Planning Board data such as the fill number, quantity, start and end times and calculated duration? | Solution: M PLAN reports can be used to display the current schedule for the following:
An individual facility or product
A subset of facilities or products
The entire plant.
The PLAN report can be customized by selecting and organizing the data. In addition to schedule data, it can present relevant data in any table. Viewing the M PLAN report can be done via the INFO screen or a web browser.
Syntax:
M PLAN [{fac|pro}] [btim [etim]] [control_set] [{SFMT|PFMT}]
fac | pro: Code of a facility or a product or a subset of facilities or products. If omitted, all the activities in the schedule will be displayed in facility format.
btim: Time period Code from the TIM set or a Floating Point day from the system start time. If this option is specified and is an entry of TIM, the report will begin at this time period. If the option is not an entry of TIM, it is taken as a Floating Point day from the system start time and the report will begin at the time specified by the option. If the option is not specified, the report will start at the first time period. See note below.
etim: Time period Code or a Floating Point day from the system start time. It can only be used with [btim]. If this option is specified and is an entry of TIM, the report will end after this time period. If the option is not an entry of TIM, it is taken as a Floating Point day from the system start time and the report will end at the time specified by the option. If this option is not specified, the report will continue to the end of the model. See note below.
control_set: Name of the set that defines the contents and order of information displayed in the PLAN report. Default control sets are:
- PPLAN for product format reports
- FPLAN for facility format reports.
- SFMT | PFMT: Determines the format of the output table (INFO table). If you omit this argument, the table format defaults to Panel.
- SFMT: String table. Use this option to display the Plan Report in the configurable Workspace.
- PFMT: (Default) Panel table. This format is required to modify the report and run the M CHANGE command to modify the schedule.
Keywords: Planning Board
export reports
References: None |
Problem Statement: CPLEX Optimizer is not available after installing Aspen SCM
The optimizer is not included in the license file.
The error displays OPT NOT AVAILABLE when running OPT either from the command line or rule. | Solution: How to include or update an Aspen SCM license?
1. Go to http://support.aspentech.com web page and submit an incident.
2. Request a new license with the SLM_ilogcplexopt included in the license file.
3. Attach the license file with the .lic extension located at \Program Files\Common Files\Hyprotech\Shared.
4. Once you have received the new license, replace the old license located at \Program Files\Common Files\Hyprotech\Shared then test the OPT command.
5. Open a DOS prompt and run the following command: regsvr32 C:\Program File\Common Files\Hyprotech\Shared\strgxi2.dll
6. Click on Start --> Programs --> AspenTech --> Common Utilities --> Configuration Wizard Utilities and click on Config button. Check to see if the new license file name is registered. Then, click OK.
7. Open the case to see if the optimizer is now working.
Keywords: INSTALLATION
OPT
OPTIMIZER
References: None |
Problem Statement: I start Aspen SCM and the splash screen starts and then disappears rapidly. | Solution: This can be caused by one of two things:
1. Aspen SCM was installed over an old instance of Aspen SCM, such as installing SCM 5.0 over an older version of Aspen SCM without uninstalling the old instance.
2. Aspen SCM is not licensed correctly.
In the first situation, uninstall the old version of Aspen SCM before installing the new version. This can be done by either 1) go to start, programs, AspenTech, and choose uninstall SCM, or 2) go to start, settings, control panel and choose install/remove programs and follow the directions from that point on. Deleting the Aspen SCM directory will not solve the problem as there are registry entries for Aspen SCM and they will persist unless an uninstall is performed.
Keywords: None
References: None |
Problem Statement: SYS command does not work when being invoked via a Citrix client. | Solution: Using the SYS command to execute a remote (i.e. - located on another server in the network) batch or executable file does not work when it is being launched from a machine connecting via Citrix. Simply calling the name of the server is not sufficient for the SYS command to execute. In order for this to work properly, the machine must be mapped to the drive where the application being launched resides.
For example, the following command WILL NOT work:
SYS \\mimiserver\mimi\apps\notepad.exe
Instead, you must map the drive and execute a command similar to the following:
SYS H:\mimi\apps\notepad.exe
Keywords: batch file
system command
executables
References: None |
Problem Statement: The user has installed and run SCM on a laptop using a Dongle. The application subsequently fails to open while the user is traveling.
The following error message displays: ?Licensing information required to run Aspen SCM is not available. Module: Database [ID:112], LM Message: Unable to obtain the license for Database.? | Solution: The user unplugged the Dongle in order to travel. When the Dongle was reinserted, the system did not recognize the Dongle number because a different Dongle was used.
The error message indicates that the license is not being read. SCM has runtime licensing and the system cannot find the license for the first module, the Database.
To confirm that the Dongle and the License File match:
Open the license file in Notepad.
- To locate a Standalone license, go to: C:\Program Files\ Common Files\ Hyprotech\ Shared
- To locate a Network license, go to: C:\Program Files\ Rainbow Technologies\ Sentinel LM 7.2.0.1 Server\ English
Go to the Key Serial Number in the header and compare the number to the number on the Dongle.
Make sure both numbers are the same.
Keywords: SLM License
Installation
References: None |
Problem Statement: How do I increase the number of sets/tables in MIMI on Windows?
How do I increase the size of SCAT and TCAT? | Solution: Sets and tables are increased in MIMI on Windows by using:
- the CMPRCASE command from a DOS prompt
(at the DOS prompt change the directory to \MIMI\bin\ and type out the CMPRCASE statement)
or
- The Case Compression utility from the Start menu
(Programs | AspenTech | Aspen Supply Chain Suite | Aspen SCM Utilities | Case Compression Utility)
Example 1
cmprcase GTEST.CAS -S+100 -T+100
This will add 100 new sets and tables (each) to the GTEST case.
Example 2
cmprcase GTEST.CAS -S3800 -T2950
This will set the maximum number of sets to 3800 and the maximum number of tables to 2950 for the GTEST case.
Keywords: SCAT
TCAT
References: None |
Problem Statement: What is Process Greenness Report? | Solution: Process Greenness Report is an Excel report created by Aspen Batch Process Developer, which reports the calculated Greenness index and Completeness Index by taking into various key environmental, health and safety parameters.
Starting Aspen Batch Process Developer V7.1, user can now generate the Process Greenness Report via Results | Excel Reports | Process Greenness Report. Greenness report is Process based. One report is created per project. The report name is Process_Greenness_Report.xls. It is created in the same folder where user has created the project files.
It uses following step and process parameters to estimate the Greenness Index and Completeness.
Step Parameter
Process Parameter
Solvent Rating
Solvent Rating
Solvent Recovery
Solvent Recovery
Liquid Waste
Liquid Waste
Solid Waste
Solid Waste
Emission Potential
Emission Potential
Gas/Vapor Risk Category
Gas/Vapor Risk Category
# Transformations
# Transformations
# Isolations
# Isolations
Step Molar Yield
Step Molar Yield
# Listed Reagents
# Listed Reagents
Dust Explosion Potential
Dust Explosion Potential
Process Hazards Category
Process Hazards Category
Environmental Risk
Environmental Risk
Worker Exposure Risk
Worker Exposure Risk
Intermediates Ratio
# Telescopes
Overall Process Yield
Keywords: Greenness Index, Greenness Report, Greenness, Completeness, Excel report, Process Greenness Report.
References: None |
Problem Statement: After converting from Unix to Window, the user tries to open a .doc file (i.e. Rundate.Doc) through SCM and gets the error message: M0951 D:\DATA\RUNDATE.DOC file not found or access was denied.
The file does open when accessed through Explorer.
As part of testing for the conversion, the user copied this file from Unix to the PC?s hard drive and tried several upper/lowercase combinations without success. | Solution: When converting from Unix to Windows, the data files need to meet the following criteria:
A text file in ASCII format
Have Read permission
Have the correct file path.
In this example, the file path and permissions were correct. When the documents file extension was changed from .dat which is used by Unix to a .txt extension, the file was accessed through SCM and opened.
Keywords: Unix
Permissions
References: None |
Problem Statement: User will receive an error message ** CASE VERSION IS NOT 02 ** when attempting to run cas2dat on a VERNO03 case file. | Solution: If you attempt to run a cas2dat on a case file for a CAP (Configured Application), you will receive this error as the case files for CAPS are in VERNO03 format.
First, attempt to run the cas2dat on any one of the CAP files. For this particular example, the the DAL_2006-0.CAS file will be used.
To run cas2dat, click on Start | Programs | AspenTech | Aspen Supply Chain Suite | Aspen SCM Utilities | CAS2DAT Conversion.
Enter DAL_2006-0.CAS as the case file to converted and for this example, test.dat is the name of the data file.
The following will occur when this is ran:
In order to get around this problem, you must use the -N option when running cas2dat on CAPS files. It is the only way to successfully fun the cas2dat and dat2cas conversion utilities on CAPS files. This requires the utility to be executed from the DOS command prompt, as opposed to the Windows Start button. See below for the path location and syntax.
Keywords: VERNO03
CAS2DAT
CAPS
CONFIGURED APPLICATIONS
References: None |
Problem Statement: Is there a limitation as to how many levels of menus there can be within MIMI? | Solution: Yes. One cannot have more than 24 levels of menus and each menu level can only have a maximum 20 menu items. Once you exceed these limits, any additional menu options will be grayed out and cannot be used.
Keywords: MENU
MENUS
DROP DOWN
MINIMUM
MAXIMUM
References: None |
Problem Statement: What are the requirements for using VPN to access Aspen SCM? | Solution: When using VPN, please check your firewall for network traffic on ports 5093 and 5094. These ports need to be open in the Firewall exceptions list:
5093 tcp
5094 tcp
5093 udp
5094 udp
Keywords: VPN, firewall, ports, network, exceptions, tcp, udp
References: None |
Problem Statement: Adding a new set or table in a model that has the same name as an existing set or table can lead to conflicts such as overwriting previous values and/or corrupting tables that are dimensioned by the new sets.
This could potentially happen after upgrading from one Aspen SCM CAP version to a more recent one as Aspen SCM may have added new sets or tables to improve or enhance features. | Solution: The Aspen SCM Online Help contains a list of reserved words that includes SCM command names and system set and table names. This list can be accessed by typing Reserved Words in the Index of SCM help.
NOTE: The Reserved Words list does not include CAPs sets and tables because this would be very time-consuming to maintain such a list for the CAPs as there are many more sets and tables used by the CAPs than there are Aspen SCM Reserved Names.
What AspenTech suggests to Implementation Teams is to use a special identifier when adding new sets or tables in a CAPs model such as the symbol _ (i.e. _SET1, _SET2, _TABLE1, ...). This ensures that Implementation Teams will not run into a situation where the CAP or Aspen SCM uses the same set or table name in a new release.
Keywords: RESERVED WORDS
CAPS
SCm
SET
TABLE
References: None |
Problem Statement: Where are the Model Parameter settings in Aspen SCM V7.3.1? In the old UI (V7.3 and below) they were located at Plan Generation > Generate Plan. | Solution: The Model Parameter tab that was located at Plan Generation > Generate Plan in the old UI is now located under Modeling in the Navigation pane in the new UI (V7.3.1). The Inventory, Demand, Capacity, Production and Advance Controls are located underSolution Controls menu. Please see the screen shots below.
Inventory Controls
Demand Controls
Capacity Controls
Production Controls
Advance Controls
Keywords: Demand Parameters
Capacity Control
Inventory Parameters
Model Parameters
References: None |
Problem Statement: The customer needs to decide which file option to select for their back-up software. They are installing Aspen SCM on a Citrix server and have two options for the Symantec (veritas) backup agent:
1. backs up files that are opened (in use) and
2. backs up up closed files.
Question: When the users are done running their Aspen SCM models and are logged off the system, are there any files left open overnight? | Solution: Aspen SCM will work with either the Closed Files or Opened Files option for a back-up agent.
If the users are done running their models and logged off the system, there are no SCM files left open overnight.
Keywords: BACK-UP AGENT
BACKUP
ARCHIVE
References: None |
Problem Statement: Unable to delete comment types within the File | Preferences menu of my model and the program issues an error saying that a particular comment type cannot be deleted because it is used by the model. How do I find where these comments are entered? | Solution: If there are comments entered in project previously, then Aspen Batch Process Developer will not let you delete that particular comment type. To delete the desired comment type from project file, then check the following 2 situations.
1. If you have multiple steps in the process or you may have multiple processes in the project, generate the MS Word documents for all steps and see if there are comments in any step in your file. this can be done from Results | MS Word Comments.
2. This is difficult to find, but here is one possibility: If there were comments entered and then deleted under the comment type of interest, but if the previous delete left over some tab spacing's or space bar spacing (even one space bar spacing will make the program think there are comments), then that particular comment type will be highlighted as used in that operation. So it is tough to find which operation this could be, unless one goes to check each individual operation. Please see the screenshot, in which you can see the Analytical method comments type is highlighted in bold even though there are no comments, but there a one space bar space.
To find if this is an issue in your project as mentioned in situation 2 above, open blank MS Word, go to Word Options | Display, check the box for Always Show These Formatting Marks on the Screen for Spaces. Then click OK and close all word documents.
Now go to your project file and generate a word comments document and if there are any operations with empty spacing, that will be identified and reported with a ... (dot) under the operation name. Once you identify the operation, go to that operation and make sure you delete the spacing's using the back space or delete buttons on the keyboard and save your file. Now you should be able to delete a particular comment type from File | Preferences.
Note: Once this is done, make sure you revert the changes made in Word.
Keywords: Comments type, Delete, Operation
References: None |
Problem Statement: How do I modify the Activity Editor description fields (Planning Board)? | Solution: Selecting an activity in the Planning Board results in opening the Window Activity Editor, that contains description fields (i.e. Operation, Description, Facility, Start Time,...). Some are modifiable (an entry can be typed in, Type Input Ports) or not modifiable (Non Type Input Ports), all can be removed.
To access the Activity Editor fields:
1. Bring up the Planning Board Control Window (OPTIONS/CONTROL) then select the Accessories tab. You will read the name of the Control Set that is specified in the Activity Editor Control Set (SPLAN) entry.
2. Open the Control Set of the Activity Editor (i.e. in DEMO case, it is set SPLANT). It contains sets that define the fields for each facility of the Planning Board. These fields are represented in the set by a keyword (code) and a field name (description).
The following table lists all keywords for the Control Set of Activity Editor than can be modified or not:
MODIFIABLE:
*FAC, *CODE, *PROD, *STARTS, *PSTART, *LEAD, *DURATN, *ELPROC, *BATCH, *HIER, *INDEX, *QUANC, *QUAN, *YFACTOR, *YIELD, *THRUPT
NOT MODIFIABLE:
*PDESCR, *DESCR, *STARTA, *ENDS, *ENDA, *SETUP, *ELSETUP, *IND, *CHAN, *COST, *DMND, *LEVEL, *CONSUM
Keywords: None
References: None |
Problem Statement: Under certain circumstances, Aspen SCM generates an error message intermittently as follows:
This can occur when user attempts to modify the Planning Board creating new activities, deleting or moving existing ones.
Clicking on the OK button may even lead to multiple instances of this error message.
When all error messages have been acknowledged, the Planning Board may appear empty. | Solution: In most of the cases, this error message means that some errors exist in the schedule. First of all you have to run command M CHECK to list and then fix all the schedule related errors.
The typical causes of the message are:
$SIM$ or $SIMEND$ returns an error
The rules or macros in $PBAFT/$PBBEF return an error
The rules or macros in the control set of the activity editor or control set of the label return an error
An enhancement request (CQ00312646) is currently logged to replace the generic message Failed to intialize /MJ variables with more detailed and specific messages.
Keywords: PLANNING BOARD
MACROS
RULES
MJ
References: None |
Problem Statement: Cannot refresh changes in a set automatically. One must close the set and reopen it to see the changes. For example,
1. open MAC set
2. Type mac = null on the mimi command line
3. close the mac set and reopen to see the changes - the set does not null automatically. | Solution: 1. Open MIMI5.0
2. Type switch 22 = on on the MIMI command line.
3. Click on the Options from the MIMI toolbar.
4. From the pull down menu choose Control.
5. Mimi Session Control Option dialogs opens
6. Make sure that number 22 is checked which is called switch 22.
7. Do the test example to see if it worked. a. Open the mac set by typing mac on mimi command line b. Type mac = null on the mimi command line
*See the magic works -- the set is automatically nulled.
Keywords: To change Switch 22, type this on the command line: SWITCH 22 = ON
References: None |
Problem Statement: PKTMP files build up in the temporary directory. Can the files be removed without incident? | Solution: Occasionally, pktmp files are found in the WINNT/System32 folder and the file type is ASPEN SCM CASE. Generally speaking these files can be deleted without any harm to Aspen SCM; however if the user should verify that the SLM does not point to the temp file before doing so. Below are the steps for verification on Windows XP:
1. Click on Start | Programs | Aspentech | Common Utilities | SLM Configuration Wizard
2. Once this opens, look for the box that asks Will you be connecting to an SLM server over the network? Check YES or NO as appropriate and click on the CONFIG button.
3. Scroll to the second half of the page.
4. Look for the path for License Source Directory. It should not end with the temp directory. If it does, do not delete the files. If the License Source Directory points somewhere other than temp, it is OK to delete the PKTMP files.
Key Words
PKTMP
License Source Directory
SLM Configuration Wizard
Keywords: None
References: None |
Problem Statement: This knowledge base article explains why OPCProperties.exe may take a long time to launch the Configuration dialog box when you click the Configure OPC Servers command button. | Solution: The Aspen Cim-IO server node has a registry entry for the OPC server nodes to which it automatically connects while launching the OPCServer Configuration dialog box. This node list is stored in the following registry key.
HKEY_LOCAL_MACHINE | SOFTWARE | AspenTech | CIM -IO to OPC Interface | AutoBrowse
OPCProperties.exe attempts to connect with all nodes (local and remote which are stored in this registry key) when you click on Configure OPC Server command button. If any of the nodes are not reachable on the network while you invoke the configure OPC Servers command it will take a long time to open the configuration window because the network connection to the unavailable server must time out. The administrator of the server can manually remove the node name entries which are not reachable on the network from the registry location mentioned above.
Keywords: OPCProperties
Configure
References: None |
Problem Statement: This knowledge base article explains why Aspen Cim-IO for OPC may appear to return different results for null values when comparing the Honeywell TPS OPC server and the Honeywell Experion OPC server. | Solution: The Honeywell TPS OPC server will return NaN (Not a Number) for both 32 bit and 64 bit numbers when null values are requested from an OPC client such as Aspen Cim-IO for OPC. However the Honeywell Experion OPC server does not return NaN for the null value when data is requested through Get records created within Aspen InfoPlus.21. This is due to differences in the way these two Honeywell OPC servers are written.
Keywords:
References: None |
Problem Statement: This knowledge base article describes the meaning of the message in the CIMIO_OPC.DEF file which reads
STATUS_EUEXCEEDED, 77109; Engineering Units Exceeded
The same message appears as an error which is reported in the IO_DATA_STATUS_DESCRIPTION of several Aspen Cim-IO records as
Facility: 77, error: 77109 | Solution: The error corresponds to the standard OPC quality status flags per the OPC specification. Aspen Cim-IO for OPC internally maps the statuses sent from the OPC server to either Good, Suspect or Bad according to the OPC specification. Then when a value from the OPC server is BAD or UNCERTAIN, this value gets translated to just BAD or SUSPECT respectively in the data records of the Aspen InfoPlus.21 database.
Specifically when an engineering unit RANGE has been exceeded in the Distributed Control System (DCS), the value is transmitted into the Aspen InfoPlus.21 database and causes an engineering units exceeded alarm to generate the code Facility 77, Error 77109 with the associated BAD or SUSPECT status.
Keywords: Facility 77, Error 77109
Engineering Unit
BAD
SUSPECT
References: None |
Problem Statement: How do I change the units of measure for quick results? | Solution: Step units of measure overrides the Process units of measure , which override the Preferences units of measure .
Therefore if one wants the Quick Results to be in their chosen units of measure, then be sure to define the Input and Output units of measure on the edit a step/version window under Step | Information | Required window.
Upon changing this units of measure, run the step and view the quick results to see the results in desired units of measure.
Keywords: units, units of measure, UOM, quick results
References: None |
Problem Statement: How do I perform flash calculations in Aspen Batch Process Developer? | Solution: Aspen Batch Process Developer allows optional flash calculations in most of the unit operations so that the components in vapor phase and liquid phase can be redistributed under isothermal equilibrium conditions. You can turn on the flash calculations by going to Tools/Options/Simulation Batch. There is a check box called Enable Flash Calculation. The only limitation is that only mass balance is considered in current flash calculations and flash only simulates Ideal gas behavior. If your contents include a non-ideal liquid, the flash results might not be correct.
Keywords: Flash, isothermal
References: None |
Problem Statement: What is the meaning of the simulate batch options - Just-In-Time & Auto-Parallel? | Solution: The just in time strategy tries to remove any gaps in the batch schedule, delaying the start of operations, as long as it does not result in an increase of cycle time.
The auto-parallel option is used to automatically determine which operations can occur in parallel during the batch.
You can see more details and an illustration of the different options in the Aspen Batch Process Developer User Manual | Projects | Scheduling | Overview - Scheduling.
Please see below topic on the Online Help.
Keywords: Simulate Batch Options, Just-In-Time, Auto-Parallel
References: None |
Problem Statement: What does this message in a cimio_msg.log 'CIMIO_?_?. Facility: 8, Error: 8124' mean? | Solution: ThisSolution is assuming that the referenced device is no longer in use and the references to it had only been partially cleaned up.
1) Check the entries in OPC Properties, logical device file, and services file and see if they are correct and match respectively.
2) Validate in the cimio_msg.log the device name that the error message is being reported against. Is it referenced in OPC Properties, logical device file, and services file?
a) if it is referenced then delete the information for this device.
b) If it is not referenced then, proceed to 3.
3) Check the autostart.bat file for entries that reference this device.
a) if there is references then delete this information for this device.
b) if it is not referenced then proceed to 4.
4) Next check the management folder in Program Files\AspenTech\CIM-IO or Program Files (x86)\AspenTech\CIM-IO folder for a file with the naming convention of <devicename>.csd. This is created when the I/O Wizard is used for configuration of the interface.
5) Check within the Aspen InfoPlus.21 Administrator under I/O to see if there is an entry for the device. If it is not referenced then you will need to stop the Aspen CIM-IO Manager and Aspen CIM-IO for OPC Interface services, then deleted the file in the management folder, and then restarted the services.
The log file should now show a clean startup.
Keywords: 8124
Management folder
References: None |
Problem Statement: Run-time error '380': Invalid Property value error dialog box is shown when executing OPCPROPERTIES.EXE. | Solution: OPCPROPERTIES.EXE has to be executed with computer administrator type user account. If you use a non-administrator user account you will get the Run-time error 380: Invalid property value error message.
If you used an account with administrator privileges and still got same error message on a non-English operating system, please refer to followingSolutions:
1. For version 2004, 2004.1, 2004.2:Solution 118186: Aspen Cim-IO for OPC 2004, 2004.1 Patch (CIOPC060315A.NTI)
2. For version 7.1:Solution 127308: Aspen Cim-IO for OPC V7.1 ER CIOOPCAPI0900921D - CQ00380482
Keywords: Run-time error 380
OPCPROPERTIES
computer administrator
limited user account type
References: None |
Problem Statement: This knowledge base article explains how many asyncdlgp process are expected to run on the Aspen Cim-IO server node when multiple Aspen Cim-IO clients connect to the server. | Solution: Aspen Cim-IO for OPC creates only one asyncdlgp process for each OPC server with which it communicates, irrespective of the number of Aspen Cim-IO clients that connect to the server.
Assume, if you have a setup of one Aspen Cim-IO for OPC server connected with multiple Aspen Cim-IO clients (e.g., one Aspen Infoplus.21 client and one Aspen DMCplus client ) then Aspen Cim-IO for OPC creates only one instance of the asyncdlgp process, not two instances. The number of asyncdlgp process is only dependent upon the number of OPC servers to which the Aspen Cim-IO server connects.
Keywords: None
References: None |
Problem Statement: CIM-IO client is unable to read values when connecting to a new OPC server. The reads never return. Other OPC clients are able to read values from the OPC server without problems. | Solution: Run the OPC properties application (default location C:\Program Files\AspenTech\CIM-IO\io\cio_opc_api\OPCProperties.exe) and check the Yes box next to Perform Initial Synchronous CACHE Read?.
This tells CIM-IO for OPC not to do an inital DEVICE read which seems to cause problems with some OPC servers.
Keywords:
References: None |
Problem Statement: When adding a new Logical device from the Infoplus.21 Administrator using the I/O wizard, you can either create it using Aspen CIM-IO for OPC and browse the OPC Server or Import the server from the configuration file and enter manually the OPC Server name.
When using the first option, you might get the following error:
Canot get list of OPC servers | Solution: Infoplus.21 uses OPCEnum to browse the OPC Server(s) in case they are installed remotely, there are some DCOM considerations when the OPC Server is remote, in case the OPC Server is running on another not trusted domain or workgroup, you will need to add the Infoplus.21 System account in the CIM-IO Server as a local account with the same password and add this account to the OPCEnum DCOM object. Please refer toSolution 108885 for details
Keywords: Logical Device
List of OPC Servers
References: None |
Problem Statement: What is the difference between Generic Plant and Generic Laboratory facility? | Solution: Generic Plant consists sample pilot-scale and full-scale units from each equipment class. It contains more than 150 equipment units in total
On the other hand,There are about 60 lab-scale equipment units, such as beakers, test tubes and flasks etc available in generic laboratory. Both facility contains a set of standard, generic equipment units so you can get started quickly.
Keywords: Generic, Beaker, pilot plant
References: None |
Problem Statement: Can Aspen Cim-IO for OPC talk with multiple OPC servers with Store and Forward enabled on both the OPC Servers?
What is the configuration required for such a setup? | Solution: Yes! Aspen Cim-IO Server can connect to two (or more) OPC servers simultaneously with Store and Forward enabled for both the devices.
Below is the typical configuration required for above setup. There are two devices, named IOSIMUL and IOSIMUL2, used in the example.
1. Register both opc servers through OPCProperties.exe
2. Add two sets of scan, store and forward process entries in the Services file as follows:
3. Add two sets of entries in the cimio_auto_start.bat file and cimio_auto_stop.bat files so that while starting the Aspen CIM-IO services through the Services Snap-in, required processed will be automatically started and stopped.
After configuration of the above, restarting of Aspen CIM-IO Services is required.
You can see two sets of Scan processes, Store processes and Forward processes and two sets of Asyncdlgp processes as well as two sets of CIM-IO Client tasks and Async tasks as shown below.
With the above setup you can have a successful configuration of CIM-IO with multiple OPC Servers with Store and Forward enabled.
Keywords: store and forward
store
scan
forward
s&f
cimio
References: None |
Problem Statement: Some OPC server vendors require the installation of a utility on remote client systems to allow a successful connection. this | Solution: describes the requirements for a DeltaV OPC server remote client connection.Solution
DeltaV OPC Remote Client Establishment
This document is to help the customer remotely establish a client connection to DeltaV OPC server. In most of the case, an OPC client should be able to connect to DeltaV OPC server remotely after the OPC Remote Installation is run on the client machine. This document details the system requirement for the client machine, and files that are installed by the OPC Remote Installation.
An OPC client that runs locally on a DeltaV system should encounter no problem as the configuration for local connection is set up by the DeltaV installation. The DeltaV may not be installed correctly on the workstation if local OPC client does not run correctly.
General DeltaV OPC Client Requirements
A DeltaV OPC client should have the following security set up.
Grant access permission to DeltaVAdmin account
Authentication level: RPC_C_AUTHN_LEVEL_CONNECT
Impersonation level: RPC_C_IMP_LEVEL_IMPERSONATE
A client application can set this up by calling CoInitializeSecurity(); A client application without CoInitializeSecurity() will use default settings, which can by set by running dcomcnfg.exe.
Security requirements for communications
OPC uses Microsoft DCOM technology. Any two machines configured for DCOM communication can be configured to run DeltaV OPC client/server. The machine can be an isolated system, within an NT workgroup, or within an NT domain. The connection can be normal office network, telephone line, or via satellite. In summary, we don't care what the wiring is, as long as NT has a valid link to the client box.
NOTE:
The client machine must have the DeltaVAdmin account with the same password as in the server machine for unsolicited callbacks to work. As the DeltaV OPC server is running as DeltaVAdmin on the server machine. This account is automatically set up by the DeltaV OPC remote installation.
DeltaV OPC Remote Client Installation
Please use an account with Administrator privilege to run DeltaV OPC remote installation, which will automatically set up all necessary configurations on the client machine. The following files are copied and registered by the installation. You should not need the procedure.
NOTE:
After you have run install on a Win95 system, you must also run Dcomcnfg.exe to allow OPC server's callback coming in. This includes enabling DCOM and allowing access permission to the DeltaVAdmin account on the server machine.
1. Install OPC required files: OPCProxy.dll, OPCDisp.tlb
2. Install DeltaV required files: OPCHandler.dll, OPCTHandler.dll, OPCDvExtProxy.dll,
OPCRegister.exe, NTSetup.exe, NTSecurity.dll
3. Install OPC testing tools: OPCPing.exe, OPCWatchit.exe, OPCBrowser.dll
File Name: OPCProxy.dll
Description: Proxy/stub DLL file for OPC version 1 interfaces
To Register: Regsvr32 OPCProxy.dll
To Unregister: NA
File Name: OPCDisp.tlb
Description: Type library for OPC version 1 automation interfaces
To Register: Run OPCRegister
To Unregister: NA
File Name: OPCHandler.dll
Description: DeltaV OPC server custom marshalling DLL
To Register: Regsvr32 OPCHandler.dll
To Unregister: Regsvr32 /u OPCHandler.dll
File Name: OPCTHandler.dll
Description: DeltaV OPC server custom marshalling DLL
To Register: Regsvr32 OPCTHandler.dll
To Unregister: Regsvr32 /u OPCTHandler.dll
File Name: OPCDvExtProxy.dll
Description: Proxy/stub DLL file for DeltaV OPC server extended interfaces
To Register: Regsvr32 OPCDvExtProxy.dll
To Unregister: NA
File Name: OPCRegister.exe
Description: DeltaV OPC assistant registration application
To Register: OPCRegister /Register;
OPCRegister /Client [ServerMachine]
To Unregister: OPCRegister /Unregister
File Name: NTSetup.exe
Description: Application to create DeltaVAdmin account
To Register: NA
To Unregister: NA
File Name: NTSecurity.dll
Description: Used by NTSetup.exe
To Register: NA
To Unregister: NA
File Name: OPCPing.exe
Description: An OPC client that only calls CoCreateInstance()
to connect to an OPC server.
To Register: NA
To Unregister: NA
File Name: OPCWatchit.exe
Description: An OPC client that can browse items, read/write data,
and receive unsolicited callbacks.
To Register: NA
To Unregister: NA
File Name: OPCBrowser.dll
Description: A DeltaV help DLL used by OPCWatchit.exe to browse items
To Register: Regsvr32 OPCBrowser.dll
To Unregister: Regsvr32 /u OPCBrowser.dll
Keywords: None
References: None |
Problem Statement: This article describes how to convert the error message CIMIO_?_?, Facility: 77, Error: into something intelligible. | Solution: CIMIO_?_?, Facility: 77, Error: xxxxx messages are related to a remote server connection, but are not translating into something meaningful in the message viewer.
The Facility: 77 indicates that this error message is coming from an Aspen Cim-IO for OPC connection.
The error number after Error: is a decimal number and can be either:
1) a local message - translation can typically be found by searching for the error code in %CIMIODEF%\cimio_opc.def (usually found in C:\Program Files\AspenTech\CIM-IO\etc), or
2) a remote message - pass-through message from the DCS vendor's OPC server. The message code will have to be looked up in the remote connections documentation (for instance, Honeywell's TPN Server User's Guide). Note that sometimes the error code has to be converted from decimal to hex in order to find it in the remote vendor's documentation. To convert to hex, the negative sign has to be included. To test your decimal-to-hex conversion, the decimal number -499048395 should convert to FFFFFFFFE2412035 (then usually the leading F's are dropped).
To get a better idea of what the problem is with the Cim-IO connection, look at the cimio_msg.log file from the machine where the Cim-IO to OPC interface is running.
To have the message viewer automatically translate local messages, add the line cimio_opc.def to %CIMIODEF%\cimio_errors.def file. Also, ensure that the same directory has a file named cimio_opc.def. This should fill in the blanks in the cryptic error message CIMIO_?_?, Facility: 77, Error: xxxxx with meaningful text, which will help in diagnosing future communication problems.
Keywords: None
References: None |
Problem Statement: Invalid Tag returned when using Smart Data Types. | Solution: Current versions of Aspen Cim-IO for OPC use the OPC Properties for defining Smart Data Types.
According to the Aspen Cim-IO for OPC User's guide, the description and engineering unit names should contain the appropriate delimiter.
Example:
description and engineering unit name: /DESC, .DESC or /EU , .EU
tag name: 16FC481/PV , 16FC481.PV
If the delimiter is not included in the name then the first character on the description and engineering unit name will be interpreted as the delimiter resulting in an Invalid Tag.
Keywords: None
References: None |
Problem Statement: When the Aspen CIM-IO for OPC interface starts, it is possible that it will start another instance of the OPC server, instead of connecting to the current instance of the OPC server. This may be undesired behaviour. | Solution: To prevent Aspen CIM-IO for OPC interface from starting another instance, you have to change a DCOM setting. With this setting, it will connect to a running instance of the OPC Server. But if the OPC Server is not running, it will be started.
Below are the steps to make the required DCOM changes:
1. run dcomcnfg from a run prompt;
2. Via Component Services | Computers | My Computer, browse to DCOM Config;
3. Locate your OPC Server in the list of components;
4. Right-click on it and select 'Properties';
5. Select the Identity tab and select 'This User' and specify an account. It is preferable to use the same account as you use to start the Aspen CIM-IO for OPC service or (Aspen) CIM-IO Manager service (depending on how you start the interface).
Keywords: process
second
References: None |
Problem Statement: Quality status information on an OPC server is composed of several parts. The low 8 bits of the quality flags are currently defined in the form of three bit fields; Quality, Substatus and Limit status. The 8 quality bits are arranged as follows:
QQSSSSLL
This knowledge base article explains which part of the quality status is passed to Aspen Cim-IO for OPC | Solution: Aspen Cim-IO for OPC internally maps the status sent from the OPC server to either Good, Suspect or Bad according to the OPC specifications. There is not a way to change this mapping within Aspen Cim-IO for OPC or Aspen InfoPlus.21. The other statuses that you see in the QUALITY-STATUSES selector record will not be correlated to the substatus sent from the OPC server. Therefore, when the data point is viewed in Aspen InfoPlus.21 history only the main quality (QQ from the status flag shown above) will have been transferred. This will appear as Good, Bad or Suspect.
Some DCS/OPC systems allow you to change what constitutes a 'bad' data point. For example, your OPC server may allow you to configue the Clamped Lo, Clamped Hi, or Out Range (which typically constitute a bad status) to a good status on the OPC server. Aspen Cim-IO for OPC would subsequently pick up the good status.
The OPC substatus (SSSS in the OPC status flag shown above) will not be stored in Aspen InfoPlus.21 history. However, the OPC substatus will be translated to an Aspen Cim-IO for OPC driver status which can be used to troubleshoot problems transferring the data point. The Aspen Cim-IO for OPC driver status will be returned to the Aspen Cim-IO test API (cimio_t_api.exe) and it will be returned to the transfer record's IO_STATUS_DESC field.
Keywords: None
References: None |
Problem Statement: After changing the OPC server name, Cim-IO for OPC cannot get value from the OPC server because of the Get request timeout. | Solution: Changing OPC Sever name caused to return the COM security setting of the OPC server to default.
And, Cim-IO for OPC connection request to the OPC server was refused.
Modify the COM security settings OPC server to allow the connection from OPC clients, and Cim-IO for OPC can access the OPC server.
Keywords: COM Security
DCOM
References: None |
Problem Statement: Tips on how to use the StartStop utility with Aspen CIM-IO for OPC interface. | Solution: When the Cim-IO for OPC Interface service starts, it starts all the Aspen Cim-IO for OPC Servers that are configured
to start automatically. When the service stops, it stops all the Aspen Cim-IO for OPC Servers that were running. In order for the utility to have any affect, the Aspen Cim-IO for OPC Interface service must be running.
If you wish to start or stop one particular server, you will need to use the StartStop utility. This utility is located
in Program Files\Aspentech\CIM-IO\io\cio_opc_api\ and is named StartStop.exe. When executed the user is presented with this display:
To start an OPC interface that is local to the CIM-IO server then the TCP Service Name and the OPC Server Name will need to be populated with the associated information that you will find on the startup command for AsynDlgp.exe parameters.
To start an OPC interface that is rermote to the CIM-IO server then the TCP Service Name, the OPC Server Name, and the Node Name of the remote OPC Server will need to be populated with the associated information that you will find on the startup command for AsynDlgp.exe parameters.
To stop an OPC interface you only need to populate the TCP Service Name.
Possible errors that you may receive in the cimio_msg.log and explanation of how to correct them are:
message -
07-MAY-2009 14:23:06.019, Logged by CIOINSIGHTOPCSE on node CIOUTIL-EVAL: Could not create server Insight.OPCServerDA.1 on Node DCS553 on try number 1, error is = Access is denied.
corrective action - Check the account that is attempting to start the communications. It will need to be a local Administator account with appropriate DCOM permissions.
message -
07-MAY-2009 14:24:03.395, Logged by CIOINSIGHTOPCSE on node CIOUTIL-EVAL:
Could not create server INSIGHT.OPCSERVERDA.1 on Node (null) on try number 1, error is = Invalid class string.
corrective action - This can occur if the node name of the remote OPC server is not supplied.
Or you might receive this error message: Error sending Start/Stop request. To correct this you should verify that the Aspen CIM-IO for OPC Interface service is running.
Keywords: StartStop.exe
remote OPC server
References: None |
Problem Statement: Cim-IO for OPC interface is installed on the same machine as the OPC server. However starting the interface, it fails to connect to the OPC server and the following error messages can be seen in the CIMIO_MSG.LOG file as shown in the screenshot below. | Solution: This is likely due to the proxy stub for OPC Data Access not being registered or does not exist on the system.
1. Browse to C:\Windows\System32\ to determine that opcproxy.dll exist in the directory.
2. Open a command prompt and browse to the directory by issuing the following command in the command prompt.
cd C:\Windows\System32
3. Register the DLL with the following command.
regsvr32 opcproxy.dll
In the event that the opcproxy.dll cannot be found in the machine, visit the OPC Foundation website http://www.opcfoundation.org/ to download the OPC Core Components SDK. However do note that it will always be the latest that is available for download and may not be compatible with the OPC server you are using. In this case, please approach your OPC server vendor for advice.
Keywords: None
References: None |
Problem Statement: When attempting to connect to a Merlin OPC Server using the AsyncDlgp started by the Aspen Cim-IO Manager service, the following error is recorded in the CIMIO_MSG.LOG file:
02-JAN-2007 10:10:00.548, Logged by CIOMERLIN1 on node CIMIO_SERVER:
AsyncDlgp (PID 3000) - Connecting to server iXDataLink on node CIMIO_SERVER
02-JAN-2007 10:10:33.204, Logged by CIOMERLIN1 on node CIMIO_SERVER:
Could not create server iXDataLink on Node CIMIO_SERVER on try number 1, error is = Server execution failed | Solution: The Merlin OPC Server will not work with an OPC client started in a different process (e.g. a service) so a workaround is needed.
One option is to start the iXDataLink.exe via the cimio_autostart.bat file and then start the asyncdlgp and S/F processes via the I/O Wizard.
Use a call to pskill (from sysinternals.org) in the cimio_autostop.bat file to kill the opc server when the Aspen Cim-IO Manager service is stopped.
Additionally, data acquisition fails if the AsyncDlgp attempts to connect before the OPC Server is fully initialized. To workaround this issue, use OPC Properties to add a 30 sec delay to the AsyncDlgp startup.
Keywords: Merlin
iXDataLink
server execution failed
References: None |
Problem Statement: Got
77025 Failed to Connect Sink, the Dadvise Method Failed error and
HRESULT Code -2147220990
and failed to connect to Hitachi EX7000 OPC server using DCOM | Solution: HRESULT Code -2147220990 means DCOM Callback failure
following user account has to be created on the machine where CIMIO for OPC(asyncdlgp.,exe) is running
user name: ex
password: admin
User Group: Administrators
This user account is used on Hitachi EX7000 OPC server to run the OPC server process.
Keywords: Hitachi
EX7000
77025
Dadvise
-2147220990
References: None |
Problem Statement: Error message located in the CIMIO message log file on the CIMIO server side: not available for this send. In the transfer records, the error message is Wait for Async. The cause of the error message is that the CIMIO server cannot determine where to send the data. The configuration path from the CIMIO server to the CIMIO client (InfoPlus.21 server) has been modified. Also, the Forward process will not stay running because the process dies after 2-3 secs. | Solution: The cause of the problem typically has to do with the node name being changed from the fully qualified nodename to the short node name. The new short node name will not be recognized by the CIMIO Forward process because in the CIMIO configuration files, the node name still refers to the fully qualified node name. This node name mismatch is the cause of the error message in the CIMIO server message log file.
Change the node name from the fully qualified node name to the short node name in the logical devices.def file and in the device record.
FollowSolution 103176 to remove wait for async error mssage if it is still present in the transfer records.
Keywords: node name
fully qualified
available
References: None |
Problem Statement: After installing the CIM-IO for OPC Interface onto a Honeywell APP node running an Hci.TPNServer OPC Server, starting the interface gives the following error in the CIMIO_MSG.LOG file:
Could not create server Hci.TPNServer on Node (null) on try number 1, error is = No such interface supported
This error will be repeated several times and the interface will not successfully connect to the OPC Server. | Solution: According to Honeywell Support, the error is caused when an OPC Client which uses opcenum as part of making the DCOM connection, is the first OPC client to connect with the OPC Server. CIM-IO for OPC does utilize opcenum when establishing the DCOM connection.
TheSolution offered by Honeywell Support suggests using a utility named opctest.exe to connect to the OPC Server.
Go to www.opcconnect.com, and under free stuff, select the Rockwell client using the link provided. This will take you to Rockwell's site, where you can download Rockwell's free RSI Sample OPC Client, opctest.exe (300 kb executable).
Use the opctest.exe utility to connect to Honeywell's OPC server - Hci.TPNServer. Set up a group and add an item. It should immediately begin updating the tag with current information from the DCS.
At this point, the CIM-IO for OPC interface should be able to connect and collect data from the Hci.TPNServer.
Running opctest.exe (actually making a connection without using opcenum and starting the scan of one tag) forces Hci.TPNServer, Honeywell's OPC server, to do some internal initializations that didn't occur during installation for whatever reason. After those initializations have occurred, Honeywell's OPC server will then work with any third party client.
Keywords: opcenum
opctest.exe
References: None |
Problem Statement: CIMIO_T_API and IP.21 are not showing updated values from FOXAPI interface. FOXIA DCS interface can show these value changes.
These values are typically very small e.g. 0.04151 and 0.03241.
Other environment properties are:
- IP.21 and CIMIO_T_API do not show any collection or CIMIO errors.
- IP.21 IoGetDef or IoGetHistDef are not configured to utilize deadband features.
- IP.21 tag is not configured to with DC Significance.
- Bigger tag values do not exhibit this behavior.
- In CIMIO_FOXIA_CONFIG.DAT, RDELTA has a default value of 0.01. | Solution: Adjust RDELTA value to match the significance required. For example, if you want to capture the changing tag values from 0.031x to 0.032x, RDELTA needs to have a value of 0.001. If you want to capture the changing tag value from 0.03x to 0.04x, then RDELTA needs to have a value of 0.01.
After changing any values in CIMIO_FOXIA_CONFIG.DAT, the foxapi interface needs to be restarted.
Keywords: FOXIA
References: None |
Problem Statement: How is the material balance calculated for the moisture content when the wet cake of a filter is washed or when multiple batches of material are filtered? | Solution: The Filter operation involves feeding a batch to a filter continuously and filtering the batch. Mother liquor is sent to a receiver, and the cake is left in the filter. The user can specify the moisture content in the wet cake on a mass basis as a percentage of the total mass (wet + dry).
In multiple filter or wash-cake operations, additional liquid is poured over the cake in the filter. Batch Plus assumes it's a slurry wash, i.e., all the liquid in the vessel completely mix. The basis for the material balance is the total amount of liquid in the filter during that operation. Batch Plus calculates a liquid reduction ratio, the ratio of the moisture left in the wet cake (specified) to the total amount of liquid which passes through the filter for the given operation. This reduction ratio is then multiplied by the amount of each liquid component which passes through the filter in this operation to calculate the amount of each liquid component in the wet cake.
For example, assume that there is a wet cake in a filter unit from a previous filter operation. The dry cake mass is 60 kg and the moisture content on a mass basis is 40 kg or 40% (40/[40+60]). The three components of the moisture are Ethyl Acetate 70 wt%, Methanol 15% and Water 15%. The mass of each of the liquids in the initial wet cake are 28 kg, 6kg and 6kg, respectively. Now the wet cake is exposed to another filter or wash cake operation of 400 kg of the Ethyl Acetate-Methanol-Water mixture at 50 wt%, 25%, 25%, respectively and no solids. The wet cake moisture content is specified to remain at 40%. The total liquid amount passing through the filter for this operation is 400 + 40 kg and the final liquid amount is 40 kg to satisfy the 40% moisture content spec. (Remember that there are no additional solids being added to the filter in this operation.) So the liquid reduction ratio is 40/440 = 0.0909. If we multiply this factor by the amount of each liquid material that passes through the filter in this operation, it will give us the amount of liquid in the wet cake at the end of the operation. The ethyl acetate would be 0.0909 *(28 + 200) = 20.72 kg. Methanol and Water would each be 0.0909 *(6 + 100) = 9.64 kg. Then 20.72 + 9.64 + 9.64 = 40 kg.
The table below is copied from actual Batch Plus results for the following operations. Note that X is the solid component being filtered.
2. Filtration
2.1. Filter the batch from unit A-101 in filter F-1. The mother liquor is sent to A-103. The filter separates 100% of all solids. The moisture content in the final cake is 40%. Emissions from F-1 are sent to Condenser1. Emissions from A-101 are sent to Condenser2. Emissions from A-103 are sent to Condenser2. The transfer time of the slurry is 2 h.
2.2. Charge A-101 with 200 kg of ETHYL-ACETATE. The charge time is 0.25 h. Charge A-101 with 100 kg of METHANOL. Charge A-101 with 100 kg of WATER. Emissions from A-101 are sent to Condenser2.
2.3. Filter the batch from unit A-101 in filter F-1. The mother liquor is sent to A-103. The filter separates 100% of all solids. The moisture content in the final cake is 40%. Emissions from F-1 are sent to Condenser1. Emissions from A-101 are sent to Condenser2. Emissions from A-103 are sent to Condenser2. The transfer time of the slurry is 1 h.
Results:
Operation
2.1. Filter
2.3. Filter
2.3. Filter
Time (min)
315.00
330.00
390.00
Mass - (kg)
Mol Wt
Total
100.0000
100.0000
100.000
METHANOL
32.04
6.0000
6.0000
9.6364
ETHYL-ACETATE
88.11
28.0000
28.0000
20.7273
WATER
18.02
6.0000
6.0000
9.6364
X
301.34
60.0000
60.0000
60.0000
Keywords: Filter, Wash-Cake, Moisture Content, Wet Cake
References: None |
Problem Statement: How does PPIMS calculate material balance including inventory? | Solution: This is the derivation of the material balance equation in PPIMS for Material MAT
For Period 1:
- ProdMAT1 - OpenInvMAT1 + ConsumptionMAT1 + CloseInvMAT1 = 0
=> - ProdMAT1 + ConsumptionMAT1 = OpenInvMAT1 - CloseInvMAT 1
Also:
CloseInvMAT 1 = TargetMAT1 +IEXCMAT1 - IDEFMAT1
Where:
TargetMAT1 = Target Inventory
IEXCMAT1 = Excess of Inventory above Target
IDEFMAT1 = Deficit of Inventory below Target
Note that either IEXCMAT1or IDEFMAT1 can have activity at a given time, not both.
=> - ProdMAT1 + ConsumptionMAT1 = OpenInvMAT1 - (TargetMAT1 +IEXCMAT1 - IDEFMAT1)
=> - ProdMAT1 - IDEFMAT1 + ConsumptionMAT1 +IEXCMAT1 = OpenInvMAT1 - TargetMAT1
For period p:
- ProdMATp - IDEFMATp + ConsumptionMATp +IEXCMATp = OpenInvMATp - TargetMATp
As
OpenInvMATp = Close InvMATp-1
= TargetMATp-1 +IEXCMATp-1 - IDEFMATp-1
Replacing:
- ProdMATp - IDEFMATp + ConsumptionMATp +IEXCMATp
= TargetMATp-1 +IEXCMATp-1 - IDEFMATp-1 - TargetMATp
=> - ProdMATp - IDEFMATp - IEXCMATp-1 + ConsumptionMATp +IEXCMATp + IDEFMATp-1
= TargetMATp-1 - TargetMATp
Because the balance is carried in Units/day, we need to divide some term by the length. The variables are per day variables, only the Inventory and Target vectors are divided by the Length.
Keywords: Material Balance
inventory
PPIMS
Excess
Deficit
target
period
References: None |
Problem Statement: If I buy a machine with dual processor, can one of the processors be used to dedicate to Aspen SCM while the other for other tasks? | Solution: To temporarily achieve this:
Go into the Task Manager and click the Processes tab. Right click on your process and choose Set Affinity. Clear either CPU0 or CPU1.
To permanently set the processor affinity for mimi.exe use:
imagecfg -a 0xn mimi.exe
where 0xn is the affinity mask and maps to a CPU as follows:
CPU
Mask
0
0x1
1
0x2
2
0x4
3
0x8
4
0x10
5
0x20
Before executing this command, remember to keep a copy of the original mimi.exe, mimias.exe, mimids.exe and mimiis.exe. Note that imagecfg.exe can be found in the \support\debug\i386 folder on a Windows 2000 Server Resource Kit Supplement. You can also buy a third party software that sets the affinity of a proccess from the command line.
Keywords: DUAL PROCESSOR PC
MULTI PROCESSOR PC
AFFINITY
IMAGECFG.EXE
References: None |
Problem Statement: Get and Put records are handled by synchronous or asynchronous OPC reads and writes, not by subscription. For Get records with an update rate of 0 and for all Put records, a disabled group with an update rate of 0 is created and all transfers are performed using OPC_DEVICE as the source.
Because OPC_DEVICE takes precedence over whether the group is active or not, such commands should always succeed. If, however, an OPC server is not correctly written, this action may fail. This would not be the fault of Cim-IO for OPC or a transfer record configuration issue. Instead such behavior would be the fault of the OPC server's lack of conformity to the OPC specification.
Honeywell's Experion server is an example of one OPC server that appears to fail when an update rate of zero is used. Attempting to connect to this OPC server using an asynchronous request results in an error generated by the OPC server.
hresult is -1073479668 (The output driver does not support dynamic configuration.)
The Cim-IO request will fail with messages of the following form.
CIMIO_OPC_REGISTER_FAILED, The Register function Failed
CIMIO_OPC_ADDGROUP_FAILED, The AddGroup Method Failed | Solution: To ensure that a synchronous read request is made, use a non zero IO_FREQUENCY setting in the GET transfer records for the OPC server.
Keywords: -1073479668
hresult
connection
References: None |
Problem Statement: Here is a list of DeltaV OPC Server error codes | Solution: The following are error codes that likely occur during client connection establishment and possibleSolutions.
1. 0x80080005(Server execution failed): make sure the server machine is setup correctly by running an OPC client on the server machine.
2. 0x80070005(General access denied error): If OPCPing works, make sure the client is a DeltaV account. Otherwise, check from step 1 in above section.
3. 0x80004005(Unspecified error): make sure the client has appropriate privilege in the DeltaV system
4. 4. 0x80070776(The object exporter specified was not found): This happens mostly when you try to connect two DeltaV systems in which DCOM doesn't know which network card to use for client/server communication. First make sure the system has at least NT 4.0 with service pack 3, and 4 hot fixes from Microsoft. The hot fixes are already included in DeltaV install image. Then make sure the network card for the client/server connection is the first in the network binding. Verify this by double click Network in the control panel. Select bindings tab, select all protocols, click on the above mentioned network adapter in each category and move it up to the first place. Reboot after the prompt. Apply this to both the client and server machines.
The following are additional error codes that may be returned from DeltaV OPC server.
1. 0xC0040001: An invalid handle was passed.
2. 0xC0040002: A duplicate parameter was passed where one is not allowed.
3. 0xC0040003: The server does not support the specified locale id.
4. 0xC0040004: The server cannot convert between the passed or requested data type and the canonical type.
5. 0xC0040005: The requested operation cannot be done on a public group.
6. 0xC0040006: The item's AccessRights do not allow the operation.
7. 0xC0040007: The item definition does not exist within the servers address space.
8. 0xC0040008: The item definition does not conform to the server's syntax.
9. 0xC0040009: The filter string is not valid.
10. 0xC004000A: The item's access path is not known to the server.
11. 0xC004000B: The value passed to WRITE was out of range.
12. 0xC004000C: A group with a duplicate name already exists in the server.
13. 0x0004000D: The server does not support the requested rate, but will use the closest available.
14. 0x0004000E: A value passed to WRITE was accepted, but was clamped.
15. 0xC0040800: The server cannot currently communicate to the device requested.
16. 0x00040801: The server cannot currently communicate to the device requested, but the item was added.
17. 0xC0040802: The Function block has indicated a mode discrepancy.
18. 0xC0040803: The server could not open the database for browsing.
19. 0xC0040804: There are no branches to browse down.
20. 0xC0040805: The name supplied is not a valid branch name.
21. 0xC0040806: WRITE operations are not allowed on the item.
22. 0xC0040807: The DeltaV controller software revision does not match the workstation.
23. 0xC0040808: No device with the supplied name could be found.
24. 0xC0040809: No device with the supplied ID could be found.
25. 0xC004080A: There is no actual device associated with this object anymore.
26. 0xC004080B: Exceeded OPC Server license limit. Item not added.
27. 0x0004080C: The call succeeded but there are no devices connected to this instance.
28. 0xC0040864: The handler is inconsistent.
29. 0xC0040865: The group is not in the handler.
30. 0xC0040866: The item is not in the handler.
31. 0xC0040867: The handler's counter overflows.
32. 0xC0040868: There is no interface pointer to the remote object.
33. 0xC0040869: Can not find a real connection from the client.
34. 0xC004086A: This is a solitary group.
35. 0xC004086B: This is a solitary item.
36. 0xC004086C: Can not find transaction for this ID.
37. 0x0004086D: The client sink does not provide the entry point of callback.
Troubleshooting tips
Most of the time, the remote client should be able to run after OPC Remote installation is done. The following steps help isolate problem:
1. Make sure OPC client runs locally on the server machine. A possible way is to run OPCWatchit.exe on the server machine, connect to a data item that changes, uncheck the sync check box in OPCWatchit.exe, and see if the value in OPCWatchit.exe also changes. If you have problem while running OPCWatchit.exe, try running RegAll.exe /Register under DeltaV system directory and then try OPCWatchit.exe again. If DeltaV OPC is correctly setup locally, go to next steps for remote connection.
2. Make sure the client account (including account name and password) on the client machine is a valid account and also a valid DeltaV account on the server machine; make sure DeltaVAdmin account (including account name and password) on the server machine is a valid account on the client machine. Run NTSetup.exe again if DeltaVAdmin account is not created on the client machine. The log on user has to have Administrator privilege to run NTSetup.exe. Without DeltaVAdmin account on the client machine, the data value read from cash will be invalid, and it may cause memory leak in the client application.
3. Check DCOM settings. Run Microsoft dcomcnfg.exe to verify DCOM configuration. Enable DCOM on both machines. Check on the client machine if there is an entry for DeltaV OPC Server. The entry should point to the server machine. If the OPC client does not call CoInitializeSecurity(), set up the default security on the client machine as described in the above General DeltaV OPC Client Requirements section.
4. Verify basic network connection. Run Microsoft ping.exe. Ping back and forth between two machines (Ping by name).
5. Make sure all relevant files are registered. Run OPCRegister.exe, run Regsvr32.exe on OPCProxy.dll, OPCHandler.dll, OPCTHandler.dll, OPCDvExtProxy.dll, and OPCBrowser.dll.
6. Make sure the OPCHandler.dll and OPCTHandler.dll are the same on both client and server machines.
7. Run OpcPing.exe. This is for testing OPC server connection
8. Run OpcWatchit.exe. Browse a changing value. See if the value changes in OpcWatchit. This is for testing callbacks.
9. For the case where the client and server belongs to different domains/workgroups, make sure DCOM connection is set up between two machines before trouble shooting DeltaV OPC problem. Most of the time the administrator (either local or group or domain) passwords should match.
Keywords:
References: None |
Problem Statement: Does AspenTech offer any interface to allow for the collection and storage of data generated by a third-party OPC for Alarm and Events (OPC-AE) server? | Solution: No it doesn't. Currently, AspenTech only supports OPC DA and we have no current plans to support this interface in future releases.
Keywords: OPC AE
OPC DA
References: None |
Problem Statement: OPC?T?[?o?O?I?`?
The AsyncWrite Function Failed
cimio_msg.log?E?L?^???e?e?B | Solution: AsyncWrite()SO???IOPC?T?[?o?ISO???A???o?????AZi?X?IOPC?T?[?o??Z??s???e?????????????eZe???U???B???I?a`e?I?????o?????A?A??Su?`?CIMIO for OPC?@?E? ?e?U???B
To enable synchronous writes run OPCProperties.exe, which can be found in the following folder:
??Su?`?OPCProperties.exe??ZA?s???U???B
Program Files\AspenTech\CIM-IO\io\cio_opc_api
Z??E, ?E???EZ|???????E?A'Perform Synchronous Writes' ?I?v?V?????E?`?F?b?N?}?[?N???u?e?U???B
?????ECIMIO for OPC ?T?[?r?X???A?N?????Aasyncdlgp.exe???A?N?????U???BCIMIO for OPC?T?[?r?X???aZ~????Zz?E ?????A?Iasyncdlgp.exe???aZ~???A???e??????Sm?F???A?-???????B?a???A?^?X?N?}?l?[?W?????E`??Y???U?????c?A?-???I???????A?-???????B?>?I???ACIMIO for OPC?T?[?r?X???N?????A?Aasyncdlgp.exe???N???????U???B
Keywords: Sync
Async
Put
Fail
JP-Solutinos
References: None |
Problem Statement: Aspen Cim-IO for OPC ์๋ฌ ๋ฉ์์ง
Declare Failed - Invalid Tag
Metso MaxDNA OPC ์๋ฒ์ ์ฐ๊ฒฐํ์์๋ Unsolicited transfer record ์ IO_DECLARE_STATUS ์์ ๊ฐ์ ์๋ฌ ๋ฐ์. Declared tag๋ ๋ฐ์ดํฐ๋ฅผ ๋ฌธ์ ์์ด ๊ฐ์ง๊ณ ์ฌ์ ์์ผ๋ declare ๋์ง ์์ tag๋ ๋ฐ์ดํฐ๋ฅผ ๊ฐ์ง๊ณ ์ฌ์ ์์. | Solution: ์ด ๋ฌธ์ ๋ Mesto MaxDNS OPC์๋ฒ์ ์ฐ๊ฒฐ ํฌ์ธํธ์๊ฐ 2000์ผ๋ก ์ ํ๋์ฌ ์๊ธฐ์ ๋ฐ์. ์์ธํ ๋ด์ฉ์ ์๋์ ์ฌ์ดํธ์์ ํ์ธํ ์ ์์ต๋๋ค.
http://www.metsoservices.com/support/archive/DocLibrary/Manuals/OPC/OPC_Ch01_Introduction.pdf
Configuring OPC-Getting Started๏ผํ์ด์ง 7๏ผ
์ฐ๊ฒฐ ํฌ์ธํธ์ ์ ํ์ ํน์ฑ:
1) OPC ์๋ฒ๋ Metso MaxDNA
2) Declare Tag ์๋ ๋ณ๊ฒฝ ์์,ํ์ง๋ง ๋๋จธ์ง tag๋ 'Declare Failed' ์ํ.
3) Aspen InfoPlus.21 ์ CIM-IO์๋ฒ์์ CIMIO_T_API ๋ฅผ ์คํํ๋ฉด 'Bad Tag' ์ํ
4) 'Bad Tag' ์ํ์ธ Tag๋ฅผ ์๋์ ๊ฐ์ ์์
์คํ:
Stop Device processing (IO_DEVICE_PROCESSING)
๊ด๋ จ๋ ์์
TSK_A, TSK_M ๊ณผ TSK_U ๋ค์์์.
Aspen InfoPlus.21 ๊ณผ CIM-IO servers ์์ CIMIO_T_API ์คํ.
์คํ ๊ฒฐ๊ณผ๋ 'Good' ์ํ
5) OPC ์๋ฒ ๋๊ตฌ๋ฅผ ์คํํ์ฌ ์ฐ๊ฒฐ ํฌ์ธํธ์๋ฅผ ํ์ธ.
TestAPI๋ฅผ ์๋ฃํ๋ฉด ๋์ ์ฐ๊ฒฐ๋ ํฌ์ธํธ์๊ฐ x-1๋ก ์ถ์
OPC client ์ฐ๊ฒฐ์ ๋์ผ๋ฉด ๋์ ์ฐ๊ฒฐ๋ ํฌ์ธํธ์๊ฐ 1 ๊ฐ์
Dvice processing(IO_DEVICE_PROCESSING) ์์ํ๊ณ CIM-IO Client task๋ฅผ ๋ค์ ์์ํ๋ฉด ๋์ ์ฐ๊ฒฐ๋ ํฌ์ธํธ์๊ฐ ์ฆ๊ฐ.
Keyword:
Metso MaxDNA
Declare Failed
Invalid Tag
KR-Solution
Keywords: None
References: None |
Problem Statement: When doing a numeric comparison in my MIMI rule, such as greater than (> or GT), less than (< or LT), or equal to (== or EQ), I get an unexpected result. For example, the numeric comparison (0.000001 < 0.0) resolves to be False, even though it should be True. | Solution: The numeric comparison being performed is most likely a character string comparison. A new Expert System control parameter was added into MIMI from version 7.1 to control the type of comparison being performed, as stated in the MIMI 7.1 Release Notes on page 5:
New Expert System Switch Specifies the Type of Comparison to Perform: (CQ 105251 - MIMI 7.1) A new parameter has been added to the Expert System Control Table (CNTLE) - String Comparison Mode (SCMPM). This parameter specifies how arguments are evaluated in rule comparisons when both the left and right hand side are character strings.
Note: As with other CNTLE parameters, the Expert System only checks this parameter before it starts processing. If you change this parameter's setting during rule processing, the Expert System does not pick up the new setting.
The String Comparison Mode parameter (SCMPM) specifies how arguments are evaluated in rule comparisons when both the left and right hand side are character strings.
Possible Values
NUMLIM - (Default) Evaluates the character string as a numeric if the total number of digits, including leading and trailing zeros, is less than or equal to seven. Evaluates as a string if the total number of digits is greater than seven.
NUMERIC - Forces a numeric comparison regardless of the number of digits.
STRING - Forces a string comparison.
Note: NUMLIM converts (double quotes with nothing in between), (double quotes with a blank space in between), the BLANK keyword and 0 to 0.0. If both sides are converted to 0.0, a string comparison is performed instead of a numeric comparison.
Example 1
This example performs the following comparison: 92.75 < 255277.00
If SCMPM is set to NUMLIM, this comparison evaluates as False. Both sides evaluate as strings, because the right hand side has more than seven digits.
If SCMPM is set to NUMERIC, the comparison evaluates as True.
If SCMPM is set to STRING, the comparison evaluates as False. First characters are compared: 9 > 2.
Example 2
This example performs the following comparison: 92.75 < 255277.0
If SCMPM is set to NUMLIM, this comparison evaluates as True. Evaluates as numeric, since both sides consists of seven digits or less.
If SCMPM is set to NUMERIC, the comparison evaluates as True.
If SCMPM is set to STRING, the comparison evaluates as False. First characters are compared: 9 > 2.
Example 3
This example performs the following comparison: 00123 == 123
If SCMPM is set to NUMLIM, this comparison evaluates as True. Evaluates as numeric, since both sides consists of seven digits or less
If SCMPM is set to NUMERIC, the comparison evaluates as True. 123.0 = 123.0
If SCMPM is set to STRING, the comparison evaluates as False. First characters are compared: 0 is not equal to 1
Example 4
This example performs the following comparison: == 0.0
If SCMPM is set to NUMLIM, this comparison evaluates as False. Evaluates as strings (see Note above).
If SCMPM is set to NUMERIC, the comparison evaluates as True. is converted to 0.0.
If SCMPM is set to STRING, the comparison evaluates as False. First characters are compared: Blank is not equal to 0.
If you are using a case created on an earlier version of MIMI, the Expert System control paramater table, CNTLE, probably does not have the sting comparison mode paramaeter, SCMPM, listed. In this situation, MIMI 7.1 and above is using the default value of NUMLIM for SCMPM, which could cause the unexpected comparison results, as explained above. If this is the case, you need to edit the SCNTLE rowset and add in the SCMPM parameter. After adding the SCMPM parameter to the SCNTLE rowset, set the mode of the string comparison parameter in the CNTLE table to either NUMLIM, NUMERIC or STRING, as desired.
Keywords: Expert System rules
numeric comparison
string comparison
CNTLE
SCMPM
NUMLIM
NUMERIC
STRING
References: None |
Problem Statement: How can I read a windup status for Aspen DMCplus from Yokogawa EXAOPC? | Solution: 1. Configure Yokogawa EXAOPC to use Control Type definition for quality code. Or, windup status is set to always good.
2. Using Configure Smart Data Types window of OPCProperties, add Smart Data Type association
3. Address format for EXAOPC is as follows
Tagname.Itemname.CBAW
Example
T131.MV.CBAW
Keywords: None
References: None |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.