Mitsubishi QD51 Programming Manual page 456

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Processing Code 8
11 - 286
Writing a sequence 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 sequence 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 step
Number of steps
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 8.
Specify the program to be written.
• To write the main program
• To write a subprogram
(subprogram 1)
• To write subprogram 2
• To write subprogram 3
Always specify 1 for PLC CPUs in which subprograms
cannot be used.
Specify the head step number of the program to be written.
The maximum number of steps in the sequence program is
the capacity set by the parameter.
Specify the number of steps to be written.
The allowable specification range is from 1 to 64 steps.
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
subprogram.
Specify the starting step of the program
to be written.
Specify the number of steps to be written.
• • • • • •
• • • • • •
• • • • • •
• • • • • •
Specify 1.
Specify 2.
Specify 3.
Specify 4.
11 - 286

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents