Mitsubishi QD51 Programming Manual page 136

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

Advertisement

7 COMMUNICATION WITH EXTERNAL DEVICES
7 - 5
For example, in order to execute the ZOPEN instruction, it is necessary to set the baud
rate, character length, parity, and stop bit parameters. If too many parameters are
listed after the instruction, however, the program will be hard to read.
If a control table is used here, the actual instruction becomes concise and the
parameters can be written simply as well.
Using a control table
100P%(0)=9600
110P%(1)=&H108
120P%(2)=1
130ZOPEN #1, P%( )
:'
Baud rate
:'
Parity & character length
:'
Stop bit
MELSEC-Q
7 - 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents