Wan Afifi

How to convert Hex ASCII code Keyence KV7500

2 posts in this topic

Hai. now I trying to make a test, which is want to convert HEX ASCII character into binary. #3131 (HEX ASCII) -->> 11 (binary)

but it's not working, it's still not converted and still #3131 in DM20.

I could not find the mistakes. 

Screenshot_10.png

Share this post


Link to post
Share on other sites

You are loading a Decimal value into DM10. The Hex equivalent is H0C3B. This is not a legitimate ASCII value and the reason for your error. You'll need to populate DM10 with "H3131" to to enter in Hex. Note you can view the online values in Hex via 'View > Display ladder monitor value in Hex'.

Mr_PLC_KeyenceASCII.thumb.JPG.59c0c7ee19

1 person likes this

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