Configuration Of Instructions And Data Specification Methods - Mitsubishi QCPU Structured Programming Manual

Melsec-q series
Hide thumbs Also See for QCPU:
Table of Contents

Advertisement

3.1
Configuration of Instructions and Data Specification
Methods
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 status.
(1) I/O number
(a) I/O number is data that set a module in which the instruction is to be executed.
(b) Setting the start I/O number (Un) of the module
(c) Network number (Jn) setting

3.1 Configuration of Instructions and Data Specification Methods

3-2
Set the I/O number by start I/O number or a network number of the module depending
on the instruction.
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"
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

Advertisement

Table of Contents
loading

Table of Contents