Sign in to follow this  
Followers 0
new_man

binary timer

5 posts in this topic

hiiii for normal timer we write tim 1 #2. how can write instruction set for binary timer

Share this post


Link to post
Share on other sites
Hi, In project workspace, right click on the PLC, then "Properties" Depending on the PLC you have, you have the option "execute timer/counter as binary"

Share this post


Link to post
Share on other sites
For CP1L / CP1H / CJ1 / CJ2 / CS1, you can change all timers and counters to work as binary. While offline, right click on your PLC (NewPLC1[CP1L]Offline an an example). Select Properties. Select Execute Timer/Counter as Binary. Then use TIMX, CNTX instructions. The 'X' indicates binary format.

Share this post


Link to post
Share on other sites
NOTE:- You will still have to enter a prefix before each timer or counter preset value after changing PLC properties to "Select Execute Timer/Counter as Binary". The preset value can be specified in either HEX or Binary. For ALL timer/counter instructions with 'X' [except TIMLX(553)] set the preset value as follows:- HEX with '#' prefix, range is #0 and #FFFF. Binary '&' prefix, range is &0 and &65535. For TIMLX(553) only:- HEX with '#' prefix, range is #0 and #FFFFFFFF. Binary '&' prefix, range is &0 &4294967294.

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