Mitsubishi QD51 Programming Manual page 415

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
400 TBL%(23)=0
410 PCRD TBL%(),A%()
420 END
430 H!=INT(D!/65536!)
440 L!=D!-H!*65536!
450 H$=RIGHT$("0000"+HEX$(H!),4)
460 L$=RIGHT$("0000"+HEX$(L!),4)
470 L%=VAL("&H"+L$)
480 H%=VAL("&H"+H$)
490 RETURN
11 - 245
:
'Fixed value
:
'Executes the read operation
:
'Splits into lower and higher digits
MELSEC-Q
11 - 245

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents