0

[UDM problem] USER DEFINED MACHINE MODEL "TA" NOT ACCESSIBLE

I created a UDM "AA", but I get an error as shown below twice.

BUS 1 [NAME] MC 1 USER DEFINED MACHINE MODEL "TA" NOT ACCESSIBLE BUS 1 [NAME] MC 1 USER DEFINED MACHINE MODEL "TA" NOT ACCESSIBLE

Do you know what is problem?

I also got an error during compilation like below, but the .dll was created.

Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384 Copyright (C) Microsoft Corporation. All rights reserved. Creating C:\Users\ex.pssenvmgr\YCKim_GFM.res C:\Users\ex.pssenvmgr\TA.rc(16) : fatal error RC1015: cannot open include file 'afxres.h'. Using codepage 949 as default

ERROR compiling resource file C:\Users\ex.pssenvmgr\TA.rc. Version will not be added to DLL.

Is this a problem?

DLL is loaded correctly, and if I initialize it without loading it, I get an error message like the one below.

BUS 1 [NAME] MC 1 USER DEFINED MACHINE MODEL "TA" NOT ACCESSIBLE BUS 1 [NAME] MC 1 USER DEFINED MACHINE MODEL "TA" NOT ACCESSIBLE BUS 1 [NAME] MC 1 USER DEFINED MACHINE MODEL "AA" NOT ACCESSIBLE

What's wrong?

KYC_Korea's avatar
13
KYC_Korea
asked 2024-06-19 11:01:20 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

You have defined the model to be current injection model (IT=1) or a metering model (IT=2).

This means that the model shall also be called from CONET/TBLCNT. For this, a secondary entry point is needed in the code where the first letter is replaced with "T", i.e. in your case model "AA" needs an entry point called "TA".

See POM, Chapter Model Writing - "Coordinated Call Models" and "Writing a Basic Load Model".

perolofl's avatar
3.8k
perolofl
answered 2024-06-20 02:39:51 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you. I tried ENTRY TA(MC,ISLOT) and it worked fine. Have a great day

KYC_Korea's avatar KYC_Korea (2024-06-21 22:19:55 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer