Hi All,
I've some problems after converting a cqm1-cpu41 program to a cj2m unit. I am still trying to identify all problems but the most annoing at this moment is the following.
This cpu is connected to a proface HMI, and commands the screens that are shown, through D1. I am keep getting screen #9 ("press reset"). if i press and hold ALARM_RESET (0.07) and the timer hits, I get the main screen that i want.But after releasing ALARM_RESET (0.07) screen #9 is back again (so that value is wriiten in D1) This is a snippit of the converted program (exactly the same as the old program) There isn't any other code writing #9 in D1.
The strange thing is that line 210 is doing exactly that ( IF NOT ALARM_RESET (0.07) -> MOv #9 to D1 ) what is see, but how in earth did this work in the old CQM1 unit ? I suspect something with cycle time ? Maybe in the old unit line 217 was executed later and #A was written in D1 'over' the #9.
Anyone has some thoughts on this ?
Thanks in advance
Jeroen