Syntax Difficulies

PLC Pie Guy

Member
Join Date
Jun 2013
Location
Halifax
Posts
1,144
Hey all.
I am working on a project in FTV ME V.7.
I am having some difficulties with the syntax s.
Every thing I have used a syntax for doesn't work. (Visibility)
Example: {[offline]Pastry.Mixer_Safe}=1 AND {[offline]}Flasher}=1

The editor made this and says its valid. It does not work. Why?
It seems simple enough. If mixer is safe and flasher is on then visible. Right?
I have also tried without the =1 at the end of the tags but the same result.

Does anybody see an issue with this syntax?


Thank you.
 
"=" means "set"
"==" means "equal to"

e.g.:
"Tag_1 = False" means "set Tag_1 to be false"
"Tag_1 == False" is a condition, meaning "if Tag_1 is false, then..."

Plus, as Keith spotted, you have an extra "}" out of place there :)
 
Actually I knew about the extra "}" it was a typo as I was entering the syntax in my post. I guess my real issue was using the = sign. For some reason I was typing "Equal" with the keyboard instead of using the editor. I'v done this type of work at least a few dozen times now but I'm not sure why I started hitting that = key instead.
Oh well, life is good, project looks good!

Thanks for the advice!
 

Similar Topics

Hi all. I'm building my first Grafcet using Logix, but I started from another project. From what we usually do with other PLC's, I was expecting...
Replies
3
Views
154
Hi. I'm struggling over some basic stuff here. 41001 I is a 16 bits integer that I'm able to read with InTouch. What I need to do is to read...
Replies
1
Views
94
Hello, Im new to Studio 5000 View Designer and i try to make a popup reusable screen. So i create a user-defined screen with 2...
Replies
2
Views
246
When using the Siemens S7-1200 Symbolic Addressing driver, there is no Offset Tag or Index Option I wish to be able to read an array tag for...
Replies
0
Views
693
Hello, Which syntax I need to use for write on value on a “local tag” that have “Machine” as scope? Thanks
Replies
0
Views
441
Back
Top Bottom