11 - 205 11 - 205
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Reading a special function module’s buffer memory
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)
Module number
Specify the module number of the
special function module.
%(3)
%(6)
%(4)
%(7)
Buffer memory
address
Specify the buffer memory address.
Processing Code 12
%(5)
%(8)
Number of bytes
Specify the number of bytes to be read.
• It is possible to read the data of the special function module’s buffer memory
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 12.
%(2)
• • • • • •
Specify the module number of the special function module
whose buffer memory data is to be read.
%(3)
• • • • • •
%(4)
• • • •
Specify the address of buffer memory whose data is to be
read.
%(5)
• • • • • •
Specify how many bytes of data should be read, including
the specified buffer memory address of the special function
module.
The allowable specification range is from 1 to 128.
Format 2 control table
%(0)
• • • • • •
Format 2 control table
• Specify 256.
%(1)
• • • • • •
Specify the number of the network to be accessed.
See Section 4.2.2 for the allowable specification range.
%(2)
• • • • • •
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.