11 - 292 11 - 292
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Writing a microcomputer program Processing Disabled while Running
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.
Processing Code 9
%(2)
%(5)
Main/sub specification
Specify either the main program or a
sub-microcomputer program.
%(3)
%(6)
Starting address
Specify the head address of the program
to be written.
%(4)
%(7)
Number of bytes
Specify the number of bytes to be written.
• 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)
• • • • • •
Specify the station number of the PLC CPU to which data is
written.
See Section 4.2.2 for the allowable specification range.
%(1)
• • • • • •
Processing code
• Specify 9.
%(2)
• • • • • •
Specify the microcomputer program to be written.
• To write the main
microcomputer program
• To write a sub-
microcomputer program
• • • • • •
• • • • • •
Specify 1.
Specify 2.
Always specify 1 for PLC CPUs in which sub-
microcomputer programs cannot be used.
%(3)
• • • • • •
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.
%(4)
• • • • • •
Specify the number of bytes to be written.
The allowable specification range is from 1 to 128 bytes.
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...