Sign in to follow this  
Followers 0
Greg

Status block

5 posts in this topic

Hi to all, I need to make a CPU diagnostics status block, i believe there is built one that i cant find. the CPU im using is CPU 171 CCC 98030, anyone who knows how it's called help me please. And another issue, how do i set a specific bit in a word, for example bit 7 in 400100 word. Thanks in advance, Best Regards, Greg. Edited by Greg

Share this post


Link to post
Share on other sites
What programming software? Concept or ProWORX? I swear there was a BSET instruction to set a bit in a word, but I haven't touched one of these in 8 years.

Share this post


Link to post
Share on other sites
Hi sorry didn't inform you which software im using. so the software is concept, actually for the bit setting i found the block it's bit_to_word, and does the PLCSTATE block helping me here? Thanks in advance, Best Regards, Greg.

Share this post


Link to post
Share on other sites
You can also use the block "set_bit" under 984lib. it was better than bit_to_word since you no need to set all the bit at once.

Share this post


Link to post
Share on other sites
Thanks dude, the project has been delivered few weeks ago and work great.

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