Author Topic: Getting errors when adding a second S42 EDC template.  (Read 3517 times)

ET

  • Guest
Getting errors when adding a second S42 EDC template.
« on: June 21, 2012, 07:33:29 PM »
Added a second template, so I could simulate running two different pumps.
They're named S42_EDC_1 and S42_EDC_2, so I don't think they should be running into namespace issues.
However, I get the following errors, even before hooking the S42_EDC_2 to any pins/buses.
Anyone know what these mean?

Code: [Select]
*** ERROR 66 ***  [glink]   MULTI DEFINED ALIAS: {A_EE_Thld}, FILE1: {MC50_10T_MC50_12T.EXR}, SIGNAL1: {_NVINT[NVBase_MAINTASK+6]}, FILE2: {MC50_10T_MC50_12T.EXR} SIGNAL2: {_NVINT[NVBase_MAINTASK+0]}
---
Search results for: _NVINT[NVBase_MAINTASK+6]:
---
---
Search results for: _NVINT[NVBase_MAINTASK+0]:
---

*** ERROR 66 ***  [glink]   MULTI DEFINED ALIAS: {A_EE_EndCrnt}, FILE1: {MC50_10T_MC50_12T.EXR}, SIGNAL1: {_NVINT[NVBase_MAINTASK+7]}, FILE2: {MC50_10T_MC50_12T.EXR} SIGNAL2: {_NVINT[NVBase_MAINTASK+1]}
---
Search results for: _NVINT[NVBase_MAINTASK+7]:
---
---
Search results for: _NVINT[NVBase_MAINTASK+1]:
---

*** ERROR 66 ***  [glink]   MULTI DEFINED ALIAS: {A_EE_CalFlg}, FILE1: {MC50_10T_MC50_12T.EXR}, SIGNAL1: {_NVINT[NVBase_MAINTASK+8]}, FILE2: {MC50_10T_MC50_12T.EXR} SIGNAL2: {_NVINT[NVBase_MAINTASK+2]}
---
Search results for: _NVINT[NVBase_MAINTASK+8]:
---
---
Search results for: _NVINT[NVBase_MAINTASK+2]:
---

*** ERROR 66 ***  [glink]   MULTI DEFINED ALIAS: {B_EE_Thld}, FILE1: {MC50_10T_MC50_12T.EXR}, SIGNAL1: {_NVINT[NVBase_MAINTASK+9]}, FILE2: {MC50_10T_MC50_12T.EXR} SIGNAL2: {_NVINT[NVBase_MAINTASK+3]}
---
Search results for: _NVINT[NVBase_MAINTASK+9]:
---
---
Search results for: _NVINT[NVBase_MAINTASK+3]:
---

*** ERROR 66 ***  [glink]   MULTI DEFINED ALIAS: {B_EE_EndCrnt}, FILE1: {MC50_10T_MC50_12T.EXR}, SIGNAL1: {_NVINT[NVBase_MAINTASK+10]}, FILE2: {MC50_10T_MC50_12T.EXR} SIGNAL2: {_NVINT[NVBase_MAINTASK+4]}
---
Search results for: _NVINT[NVBase_MAINTASK+10]:
---
---
Search results for: _NVINT[NVBase_MAINTASK+4]:
---

*** ERROR 66 ***  [glink]   MULTI DEFINED ALIAS: {B_EE_CalFlg}, FILE1: {MC50_10T_MC50_12T.EXR}, SIGNAL1: {_NVINT[NVBase_MAINTASK+11]}, FILE2: {MC50_10T_MC50_12T.EXR} SIGNAL2: {_NVINT[NVBase_MAINTASK+5]}
---
Search results for: _NVINT[NVBase_MAINTASK+11]:
---
---
Search results for: _NVINT[NVBase_MAINTASK+5]:
---

ET

  • Guest
Re: Getting errors when adding a second S42 EDC template.
« Reply #1 on: June 21, 2012, 09:16:05 PM »
Figured it out:
The name space of a function block is independent from the name of that function block.
This is a fairly obtuse tripping point, since most programming languages / environments separate variables from each other based on obects, and objects must have unique identifiers.
i.e. If you have lists A and B, A.first_item is automatically separate from B.first_item.

MimmoA

  • Guest
Re: Getting errors when adding a second S42 EDC template.
« Reply #2 on: December 02, 2013, 11:37:17 AM »
Hi,
I got same error, thank you very much.
Regards
Mimmo.