Crimson 3 Redlion G315 Software Problem When Downloading

Sombrero

Member
Join Date
Jul 2016
Location
Acuna
Posts
17
Hi guys!! Back again with another issue...

Im currently working with Crimson 3 and a G315 HMI. While working on a database I previously programmed, the G315 suddendly stopped accepting to be programmed via USB. Strange thing is, that (after manually erasing the database) I was able to program the HMI with a previous revision of my database. Im suspecting of a program that runs in the background, StartUpIni(), and the while condition this function has. Theres no difference between revisions from the communications point of view.

So, do you have any idea what the issue could be? Any suggestions?

Ill include both of my databases, so you can have a look at my issue. Thanks in advance. :confused:
 
Another thing I forgot to mention. When I upload the most recent revision, the HMI gets stuck at LOADING DATABASE and then it resets itself. Thats when I have to manually reset it to be able to upload the previous one.

----------------------------------------------------------------------------------------In times of crisis, we must do the impossible. Cause the possible is no longer working. :oops:
 
I think you're right to question the while() loop. It appears that it would run as fast as it can and take up too many CPU resources, not to mention that it never would reach the "end" of that program perhaps keeping the HMI stuck in the startup phase.

comment out the "while" loop section of the startup program and see if that helps.

If you can run that code once per second, create a new program called OnTick and put it there along with your EmergencyButton program call and set up the new program as the global OnTick program call.

If you need that code to run faster than that, you might need to rethink it and perhaps put the calculations as the source for the destination tags. I didn't study the whole application enough to understand the bigger picture, these suggestions are just first impressions.
 
Thanks for the reply Okie!

What I ended up doing was working with my previous revision, and started adding the work I had on my recent revision (except that modification on the code).

Ill be sure to remember not to do that again, its hard cause Im used to interfaces programmed for PC. But thanks for your time :) :p
 

Similar Topics

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
114
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
164
It states WinPcap must be installed for the Emulator to function. WinPcap.org states that the technology is mature with no updates planned. Am I...
Replies
3
Views
854
Following on from another thread, I just downloaded Crimson 3.2 and it now supports CR and Graphite HMIs. Time for a 'play' :-) It seems to have...
Replies
14
Views
2,018
Action On Release command Set(ConveyorPopup,ConveyorPop_1) rejected w/ string tags. SetStringTag(index, data) wants an index. How does one pass...
Replies
8
Views
951
Back
Top Bottom