Red Lion Crimson 3.0

Checkout the FORCECOPY() function

FORCECOPY(DEST, SRC, COUNT)
where
DEST is your destination array with the first element you want to write to: (i.e., Teg1[0])
SRC is your source array with the first element you want copied: (i.e., Teg2[0])
COUNT is the number of element you want to copy: (i.e., 50)

FORCECOPY (Teg1[0], Teg2[0], 50)
 
You don't want to use MakeInt() as that does a bit conversion (it takes the exact same bit arrangement and then interprets them as the different data type). Instead, you want to use an inline conversion. I think they are "int(xxxxx)" and "real(xxxxx)" or "float(xxxxx)". The Red Lion does a poor job of drawing attention to the availability of these functions (it's in the regular Crimson manual, not the function help manual).

I'd like to ask if you could post the code? 🤞🏻 I'm taking a REAL to UINT16 and don't seem to have the process in the Crimson working.
Best!
J
 

Similar Topics

How do you install update on Red Lion Crimson ver 3.1. Do I just need to run the exe file on the host server?
Replies
1
Views
121
Hi, I am trying to increase the size of the user login pop up using a Red Lion CR1000 7” HMI with Crimson 3.1 software. The login pop up is very...
Replies
2
Views
689
Hello, We are currently running a bunch of g310's connected to their SLC5 PLCs through ethernet. I've attempted to upgrade the program from 2.0...
Replies
1
Views
1,130
Hi I have been using Red Lion products for some time, I had a thought over the bank holiday weekend, As you do. It would be nice if whenever a...
Replies
4
Views
1,026
Well, I have yet another question for the great minds on this forum! We have a red lion HMI for one of our machines and every time I hook my...
Replies
11
Views
1,687
Back
Top Bottom