Re: [Emc-users] Classicladder problem
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
Re: [Emc-users] Classicladder problem
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
Re: [Emc-users] Classicladder problem
Date: Fri, 5 Feb 2010 23:12:01 -0500 From: e...@dc9.tzo.com To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Classicladder problem 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 To watch the (eg) new style timer preset: open the watch window change one of the %Wx values to %TM0.P then you can see the timer preset value This is the same for all the variables you can even watch bit variables that way _ -- 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