Search found 7 matches

by Skeels
Mon Sep 09, 2013 3:26 am
Forum: Scripting
Topic: Expression with "if"
Replies: 5
Views: 13495

Re: Expression with "if"

I resolved my problem. If it could help somebody else, I write my code below in Tags' script: public partial class Tags { void Tag1_ValueChange(System.Object sender, Neo.ApplicationFramework.Interfaces.Events.ValueChangedEventArgs e) { if(Globals.Tags.Tag1.Value == 1) { Globals.Tags.Tag2.Value = 1; ...
by Skeels
Mon Sep 09, 2013 1:09 am
Forum: Scripting
Topic: Expression with "if"
Replies: 5
Views: 13495

Re: Expression with "if"

Yes, but I don't what is the best way to do it. expression or script ? And how doing it exactly ?
Thank you for your help,
by Skeels
Fri Sep 06, 2013 5:06 am
Forum: Scripting
Topic: Expression with "if"
Replies: 5
Views: 13495

Re: Expression with "if"

I saw in a topic this kind of operation : void Tag1_ValueChange(System.Object sender, Neo.ApplicationFramework.Interfaces.Events.ValueChangedEventArgs e) { if(Globals.Tags.Tag1.Value == 1) Globals.Tags.Tag2.Value = 1; else Globals.Tags.Tag2.Value = 0; } But it's not working. Somebody has an idea ? T...
by Skeels
Thu Sep 05, 2013 9:43 am
Forum: Scripting
Topic: Expression with "if"
Replies: 5
Views: 13495

Expression with "if"

Hello, I would like to have do this kind of expression: if (Globals.Tags.Tag1.Value == 0 && Globals.Tags.Tag2.Value == 0){value = 1;}else{value = 0;} How can I doing it because it seems not working like that. (I would like maybe use it with more tags in the condition) I would like the value of the t...
by Skeels
Fri Jul 26, 2013 5:16 am
Forum: Controller Communication
Topic: Comm error stn 0
Replies: 7
Views: 45155

Re: Comm error stn 0

I really don't think that this level of support is acceptable! If you had taken the time to read the previous beijer response then you would have known that not only had we been directed to this THIRD party tutorial but that we have already tried it. As we are in the process of evaluating your unit,...
by Skeels
Fri Jul 26, 2013 2:07 am
Forum: Controller Communication
Topic: Comm error stn 0
Replies: 7
Views: 45155

Re: Comm error stn 0

Thank you, We have already seen this tutorial and we have tried it, in fact it was on the strength of this that we purchased your product. We have tried various combinations of driver set up, i.e. S7 200 and S7 300/400/1200 with different TSAP values but there is always the same problem of; Comm err...
by Skeels
Thu Jul 25, 2013 6:26 am
Forum: Controller Communication
Topic: Comm error stn 0
Replies: 7
Views: 45155

Comm error stn 0

Hello, I have a TA70 HMI and a Siemens PLC 0BA7. I updated my drivers and I use Simantic S7IsoTcp driver. I communicate by ethernet through a Switch. I'm trying just to display an input and an output tags and a memory input tag from the PLC. It seems there are no communication between the HMI and th...