PLUS+1 User Forum

PLUS+1 Tools => PLUS+1 GUIDE => Topic started by: MNewberry on March 09, 2011, 12:01:43 AM

Title: BOOL Error on NV Memory Component
Post by: MNewberry on March 09, 2011, 12:01:43 AM
I'm getting a Compile Error when wiring a Non-volatile Memory component to analog functions (>, <, Scale, etc.).  Examples include: *** ERROR 22 ***  [CHPARGU2]   ILLEGAL TYPE: BOOL ON COMPONENT: Greater, ENTRY A2

Can anyone tell me what I'm doing wrong?

Thanks,
Matt
Title: Re: BOOL Error on NV Memory Component
Post by: Slashe on March 09, 2011, 06:34:03 AM
You have to change NV memory datatype. Now you most propably have Boolean value connected to component which requires integer signal (U8, U16, S16… for example)
Title: Re: BOOL Error on NV Memory Component
Post by: MNewberry on March 09, 2011, 01:58:37 PM
That's what I don't get- I have it set to U16.
Title: Re: BOOL Error on NV Memory Component
Post by: MNewberry on March 09, 2011, 02:15:25 PM
The "In1" is wired directly from a multifunction input AnIn Parameter.

(https://docs.google.com/uc?id=0B9UmKWtSAUH3OTU3NTAxODEtMGY3ZS00MzYyLTk2YTItOGUwZGM0N2QwZTA2&export=download&hl=en)

(https://lh5.googleusercontent.com/3i5KFjtXq7fBYwB0Sa8o390qCC7UIRkEfUJoCwsU3wVmhip1CPtcye8Ty9HfuMmM0z61QEZC7DKymXPuXqCvSKGwUA=s512)
Title: Re: BOOL Error on NV Memory Component
Post by: Volker on March 09, 2011, 02:56:25 PM
You have routed the boolean output of the compare Block to the input of the second compare Block.
Thats your Fault.
Title: Re: BOOL Error on NV Memory Component
Post by: MNewberry on March 09, 2011, 03:06:41 PM
Thank you!