Rudy, I'd probably put another assignment statement below the existing one, but assign the value to a register that you can monitor. That way you can make sure the value is a legit timer preset value.
Dave On 2/5/2010 8:11 AM, Rudy du Preez wrote: > Dave wrote > > >> I assume the TMn.P is the preset value for a timer? >> >> Are you saying that when you enter the preset value into the program and >> and run it, it works. But the preset value is lost after shutting down >> EMC2 and restarting? >> >> Does this occur even when you are not using an assignment to write to >> the preset value? >> >> 2-90 ms is a fast timer. I wonder if the timer simply cannot run with >> such a short preset. >> >> Dave >> > Yes, the timers have various variables, with the preset value the one I am > using. > > After shutting down and restarting, The ASSIGNMENT operation seems to stop > functioning. It is something like the following: > > %TM0.P = 16*(%IW1 - %IW0) > > As said before, I cant see the value of TM0.P in the WATCH window while > running. It seems to be set to zero, even though %IW1> %IW0. > > Sorry I made a mistake, the preset values are from 2*100 ms to 90*100 ms. > > Rudy > > > __________ Information from ESET Smart Security, version of virus signature > database 4837 (20100205) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users