Instruction Configuration - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

1
OVERVIEW
1.1

Instruction Configuration

Many instructions available for motion systems are each divided into the instruction part and device part.
The instruction part and device part are used as follows.
• Instruction part: Indicates the function of the relevant instruction.
• Device part: Indicates the data used for the instruction.
The device part is further classified to source data, destination data, and numerical data.
Source (s)
Source is the data used in the operation.
Depending on the label or device specified in each instruction, the source becomes as follows.
Type
Constant
Bit device
Word device
Destination (d)
Data after operation is stored in the destination area.
However, some instructions require the data to be used in the operation to be stored before the operation.
A label or device to store data must be set for the destination.
Numerical value (n)
For the numerical values of the numbers of devices, transfers, data, and character strings, specify those used by an
instruction which uses multiple devices or an instruction which specifies the numbers of repetitions, data to be processed, and
character strings.
A numerical value from 0 to 65535 or 0 to 4294967295 can be set for the size such as the number of devices, transfers, or
characters. The setting range differs according to the instruction. For details, refer to each instruction.
Note, however, that when the size specification such as the number of devices, transfers, or characters is 0, the relevant
instruction results in non-processing.
Be careful when a large numerical value is used such as for the number of transfers. It lengthens the
processing time.
1 OVERVIEW
16
1.1 Instruction Configuration
Description
The constant specifies a numerical value used in the operation.
It is set during program creation and cannot be changed during program execution.
The user specifies the device where the data to be used in the operation is stored.
Necessary data must be thus stored in the specified device before operation execution.
By changing the data to be stored in the specified device during program execution, the data to be used by the
instruction can be changed.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents