Crimson 3.0 Programming

Nebul0us

Lifetime Supporting Member
Join Date
Dec 2015
Location
Spokane, WA
Posts
125
Hey everyone!


Need a little help with some scripting in Crimson 3.0. With this first script I am just trying set a local variable string based on the value of a tag. But when I translate it I am told "This statement has no effect." What am I doing wrong? After this I am going to need help writing a program in Crimson to send an email, using the "AbortReason" local variable set with this script. The 2nd image is what I have so far on the email program.


heU4Oc3
heU4Oc3.png



WK1iqcp.png
 
Last edited:
== (double equals sign) is a comparison.


Try
Code:
if (...)

  AbortReason = "reason";


Awww, yes of course! Thanks so much! So now what about the email program? :ROFLMAO:

It's not recognizing the local variable and wants me to create a new identifier?
 
So now what about the email program? :ROFLMAO:

It's not recognizing the local variable and wants me to create a new identifier?


I only answer the obvious questions. For interesting stuff you need someone much better at this than me.

The devil is in the details.
 

Similar Topics

I am stuck, pretty new at c "like" programming. Trying to have a program run some comparisons to setpoints and variable data that comes in from a...
Replies
27
Views
5,555
Hi, I have a Red Lion E3 io counting output from weld cells, connected to a PTV station for the visuals. Our number of weld cells is set to...
Replies
2
Views
1,561
Good day I'm looking for a way to let crimson 3 monitor 3 temperatures from modbus then i want crimson to "GotoPage" when these 3 temps have...
Replies
3
Views
1,636
Hello all, First time here, So I want to take an analog input and total it over time. For example, the input would be in ml/s and I would like...
Replies
1
Views
1,487
I am trying to program a G3 through Crimson 3 if (Part_1_Online) GotoPage(MAIN_369); else if (Part_2_Online) GotoPage(MAIN_369CR); else if...
Replies
11
Views
2,567
Back
Top Bottom