11 - 194 11 - 194
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Loading a microcomputer 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
sub-microcomputer program.
%(3)
%(6)
Starting address
Specify the starting address of the
program to be loaded.
Processing Code 9
%(4)
%(7)
Number of bytes
Specify the number of bytes to be read.
• It is possible to load the microcomputer program to the PLC CPU using this code.
• Specify the following data for <control table>.
Format 1 control table
%(0)
• • • • • •
Specify the number of the network to be accessed.
See Section 4.2.2 for the allowable specification range.
%(1)
• • • • • •
Processing code
• Specify 9.
%(2)
• • • • • •
Specify the microcomputer program to be loaded.
• To load the main microcomputer program
• • • • •
Specify 1.
• To load a sub-microcomputer program
• • • • •
Specify 2.
Always specify 1 for PLC CPUs in which sub-
microcomputer programs cannot be used.
%(3)
• • • • • •
Specify the starting step count of the microcomputer
program to be loaded.
The maximum number of bytes in the microcomputer
program that can be specified is the capacity set by the
parameter.
%(4)
• • • • • •
Specify the number of bytes to be read.
The allowable specification range is from 1 to 128 bytes.