Mitsubishi QD51 Programming Manual page 411

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
MELSEC-Q
400 H!=INT(D!/65536!)
:
'Splits into lower and higher digits
410 L!=D!-H!*65536!
420 H$=RIGHT$("0000"+HEX$(H!),4)
430 L$=RIGHT$("0000"+HEX$(L!),4)
440 L%=VAL("&H"+L$)
450 H%=VAL("&H"+H$)
460 RETURN
11 - 241
11 - 241

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents