Mitsubishi QD51 Programming Manual page 462

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Processing Code 9
11 - 292
Writing a microcomputer program Processing Disabled while Running
Control table format definition
Element position
Format 1
Format 2
%(0)
• • • • • • •
%(0)
%(1)
%(2)
%(3)
%(1)
%(4)
%(2)
%(5)
%(3)
%(6)
%(4)
%(7)
• This code is used to write a microcomputer program to the PLC CPU.
• Specify the following data for <control table>.
Format 1 control table
%(0)
• • • • • •
%(1)
• • • • • •
%(2)
• • • • • •
%(3)
• • • • • •
%(4)
• • • • • •
Item
Station number
Control table
Network number
Station number
Detailed error code
Processing code
Main/sub specification
Starting address
Number of bytes
Specify the station number of the PLC CPU to which data is
written.
See Section 4.2.2 for the allowable specification range.
Processing code
• Specify 9.
Specify the microcomputer program to be written.
• To write the main
microcomputer program
• To write a sub-
microcomputer program
Always specify 1 for PLC CPUs in which sub-
microcomputer programs cannot be used.
Specify the head address of the microcomputer program to
be written.
The maximum number of bytes in the microcomputer
program that can be specified is the capacity set by the
parameter.
Specify the number of bytes to be written.
The allowable specification range is from 1 to 128 bytes.
MELSEC-Q
Description
Specify the station number of the PLC.
Specify a control table of format 2.
Specify the network number.
Specify the station number of the PLC.
Detailed error codes are stored here.
Specify the processing code.
Specify either the main program or a
sub-microcomputer program.
Specify the head address of the program
to be written.
Specify the number of bytes to be written.
• • • • • •
• • • • • •
Specify 1.
Specify 2.
11 - 292

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents