Sign in to follow this  
Followers 0
paris

s7200 bitim/citim ?

3 posts in this topic

hello somebody is what can explain the "interval timer" Bitim citim ? if I board understood (after the site Siemens), an input that is activated (output.. M..) it "captures" that moment (Bitim) and recorded , for example, and we put it in "out"of bitim. and "in" CITIM this entry when it returns to zero disables another box of operation is "CITIM" result out of CITIM question how to use this output citim ? it can be used like any byte ? .. or is it a decimal value ? what is the maximum speed of this reading ? (Bitim /on --> citim /off) equivalent to the cycle time ? thanks

Share this post


Link to post
Share on other sites
BITIM Reads the current value of the built-in 1 millisecond counter and stores the value in OUT. The maximum timed interval for a DWORD millisecond value is 2 raised to the 32 power or 49.7 days. CITM Calculates the time difference between the current time and the time provided in IN. Store the difference in OUT.The maximum timed interval for a DWORD millisecond value is 2 raised to the 32 power or 49.7 days. The CAL_ITIME instruction will automatically handle the one millisecond timer rollover that will occur within the maximum interval, depending on when the BGN_ITIME instruction was executed. See also the attached on.bmp

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0