Mitsubishi QD51 Programming Manual page 569

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
• In order to write in units of 32 bits, assign data to an integer array variable as 32-bit data
using the CIDB and CSNI instructions, and then write to each device.
Example
11 - 399
100 DIM A%(1)
110 CDBI 123456!,A%(0)
120 W@(ED,102)=A%(0)
130 W@(ED,103)=A%(1)
REMARK
See the B@, PUTMEM, and GETMEM functions.
• • • •
Converts "123456" to 32-bit data,
and then assigns the lower 16 bits to
A%(0) and the higher 16 bits to
A%(1).
• • • •
Writes the lower 16 bits and the
higher 16 bits stored in A%(0) and
A%(1), respectively, to ED102 and
ED103.
MELSEC-Q
11 - 399

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents