Sign in to follow this  
Followers 0
Guest GiAnniS

hexadecimal to integer

4 posts in this topic

I want to change vb that are in hexadecimal in vw in decimal form for a Plc s7-226… some help? :*-(

Share this post


Link to post
Share on other sites
Hi, Some simple questions, vb vw :*-( Rudi

Share this post


Link to post
Share on other sites
Variable byte (VB) and variable word (VW), same as S7300/400 MB & MW i think.

Share this post


Link to post
Share on other sites
Hi, Try the following...... Byte to Integer Convert Inputs/Outputs Operands Data Types IN VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *AC, *VD, *LD BYTE OUT VW, IW, QW, MW, SW, SMW, LW, T, C, AC, *VD, *LD, *AC INT The Byte to Integer (BTI) instruction converts the byte value (IN) to an integer value and places the result into the variable specified by OUT. The byte is unsigned, therefore there is no sign extension.

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