PLUS+1 Software > General controls

Getting errors when adding a second S42 EDC template.

(1/1)

ET:
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: ---*** 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]:
---

--- End code ---

ET:
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:
Hi,
I got same error, thank you very much.
Regards
Mimmo.

Navigation

[0] Message Index

Go to full version