Chapter 3 Configuration Of Instructions - Mitsubishi Electric MELSEC-L Special Instructions Manual

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

3
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.
I/O number
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.
■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'.
Ex.
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).
Ex.
For the module whose start I/O number is 020H: "02"
■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
Ex.
When the network number is 1: 1
3 CONFIGURATION OF INSTRUCTIONS
3
29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents