Справочник Пользователя для Mitsubishi Electronics MELSEC Q series MELSEC L series

Скачать
Страница из 412
3-2
3.1 Configuration of Instructions
 
3.1  
Configuration of Instructions
Instructions available in the CPU module can be divided into an instruction name and an 
argument.
The application of an instruction name and an argument are as follows:
• Instruction name.....  Indicates the function of the instruction.
• Argument ..............  Indicates the I/O data used in the instruction.
Arguments are classified into I/O number, source data, destination data, number of devices, 
executing condition, and execution result.
(1) I/O number
(a) I/O number is data that set a module in which the instruction is to be executed.
Set the I/O number by start I/O number or a network number of the module depending 
on the instruction.
(b) Setting the start I/O number (Un) of the module
Set the higher two digits when expressing the start I/O number in three digits for the 
module in which the instruction is to be executed.
Set the start I/O number in a numeric value or character string according to the data 
type available with the instruction.
 • Setting the start I/O number in word (unsigned)/16-bit string or word (signed) data 
type
Set the start I/O number of the module for 'n' of 'Un'.
Example: For the module whose start I/O number is 020H: 02
 • Setting the start I/O number in string data type
Set the start I/O number in the format of "Un" (n: start I/O number of the module).
Example: For the module whose start I/O number is 020H: "02"
(c) Network number (Jn) setting
Set the network number of the network module/Ethernet module in which the instruction 
is to be executed.
Set a network number indicated below, in word (unsigned)/16-bit string or word (signed) 
data type, for 'n' of 'Jn'.
1 to 239 : Network number
254
: Network specified in "Valid module during other station access" on the 
GX Works2 network parameter screen
Example: When the network number is 1: 1