Jump to content

Recommended Posts

Posted
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

Posted
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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...