RedLion Complex Data Tag Logging

JNP

Member
Join Date
Jun 2010
Location
Brisbane
Posts
2
Hi,

I got a question for those who know a bit more about the RedLions than I do. Can you create a Data Log on a Complex Data Tag? I've got a DSPX0000 and everytime i try, it looks like it crashes the log. All I'm trying to do is represent an integer register in a AB SLC as text (with multiple IF statements). I created a String Tag with a complex source ok. Got it working on a display. But when i put it in a data log, it either a) won't log. or b) the webserver can't find the log.

Oh, I'm also using the latest Crimson 3 software.
 
Hi,

I got a question for those who know a bit more about the RedLions than I do. Can you create a Data Log on a Complex Data Tag? I've got a DSPX0000 and everytime i try, it looks like it crashes the log. All I'm trying to do is represent an integer register in a AB SLC as text (with multiple IF statements). I created a String Tag with a complex source ok. Got it working on a display. But when i put it in a data log, it either a) won't log. or b) the webserver can't find the log.

Oh, I'm also using the latest Crimson 3 software.

I'll let Redlion answer your question, but for what you are trying to do, I'd recommend the Switch Statement - I think it will be simpler than your multiple if statements (assume ABRegister is an Integer Tag and StringTag is String Tag:

switch (ABRegister){
case 1:
StringTag := "It is a value of one";
break;
case 2:
StringTag := "It is a value of two";
break;
case 3:
StringTag := "It is a value of three";
break;
...
etc
...
default:
StringTag := "Unknown value"
break;
}
 

Similar Topics

hi, I am new to Redlion Crimson Software and I making a customize faceplate for PID. I have placed two buttons one for Auto and one for Manual...
Replies
5
Views
3,044
I have a bevel button on a crimson 3 G15 panel. I am trying to use the 2 state color animation to change button colors based on tag data. I have...
Replies
5
Views
4,947
Hiya - I've got a mitsi plc and I'm using a redlion graphite to display some values and enter data etc.. I have been trying to use the complex...
Replies
4
Views
1,844
Hey guys, hoping someone here could give me a little advice. I'm working with a CR1000-04000 in Crimson 3.1 and I was interested in adding the...
Replies
4
Views
124
Hi, I have a complex database in Crimson 3.0 and in one of the display pages I am trying to get a tag to show the sum of several other tags. The...
Replies
3
Views
169
Back
Top Bottom