11 - 190 11 - 190
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Loading a sequence program
Control table format definition
Element position
Item
Description
Format 1
Format 2
%(0)
• • • • • • •
Station number
Specify the station number of the PLC.
%(0)
Control table
Specify a control table of format 2.
%(1)
Network number
Specify the network number.
%(2)
Station number
Specify the station number of the PLC.
%(3)
Detailed error code
Detailed error codes are stored here.
%(1)
%(4)
Processing code
Specify the processing code.
%(2)
%(5)
Main/sub specification
Specify either the main program or a
subprogram.
%(3)
%(6)
Starting step
Specify the starting step of the program
to be read.
Processing Code 8
%(4)
%(7)
Number of steps
Specify the number of steps to be read.
• It is possible to read the sequence program in the PLC CPU using this code.
• Specify the following data for <control table>.
Format 1 control table
%(0)
• • • • • •
Specify the station number of the PLC CPU from which
data is to be read.
See Section 4.2.2 for the allowable specification range.
%(1)
• • • • • •
Processing code
• Specify 8.
%(2)
• • • • • •
Specify the program to be read.
• To read the main program
• • • • •
Specify 1.
• To read subprogram (subprogram 1)
• • • • •
Specify 2.
• To read subprogram 2
• • • • •
Specify 3.
• To read subprogram 3
• • • • •
Specify 4.
Always specify 1 for PLC CPUs in which subprograms
cannot be used.
%(3)
• • • • • •
Specify the starting step count of the program to be read.
The maximum number of steps in the sequence program is
the capacity set by the parameter.
%(4)
• • • • • •
Specify the number of steps to be read.
The allowable specification range is from 1 to 64 steps.