Sign in to follow this  
Followers 0
whizzo944

Simple S5 Programming Problem

2 posts in this topic

For you S5 programming experts out there, how do I handle thumbwheels connected to 8 inputs to enter a number between 0 and 99 into the PLC in BCD format and then compare that number with a counter. All the program needs to do is to compare the number set on the thumbwheels to a machine cycle count and then change state when they are equal. I know how to do this with a fixed count number but I don't know how to handle the inputs and convert them into a number in a register. The S5 manual may as well be in German

Share this post


Link to post
Share on other sites
L (thumweel-byte) L KM 0000 0000 00001111 UW or AW T (temp) L (thumweel-byte) L KM 0000 0000 11110000 UW or AW L KF +10 XF L (temp) +F T (integer)

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