Types Of Instructions - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

2.1

Types of Instructions

The major types of CPU module instructions consist of sequence instructions, basic instructions,
application instructions, data link instructions, QCPU instructions and redundant system
instructions. These types of instructions are listed in Table 2.1 below.
Types of Instruction
Contact instruction
Association instruction
Output instruction
Sequence
Shift instruction
instruction
Master control instruction
Termination instruction
Other instruction
Comparison operation
instruction
Arithmetic operation instruction
BCD
BIN conversion
instruction
Basic
Data transfer instruction
instruction
Program branch instruction
Program run control instruction
I/O refresh
Other convenient instruction
Logical operation instruction
Rotation instruction
Shift instruction
Bit processing instruction
Data processing instruction
Structure creation instruction
Table operation instruction
Buffer memory access
instruction
Display instruction
Debugging and failure
diagnosis instruction
Character string processing
instruction
Application
instruction
Special function instruction
Data control instruction
Switching instruction
Clock instruction
Expansion clock instruction
Peripheral device instruction
Program control instruction
Other instruction
2-2
Table 2.1 Types of Instructions
Operation start, series connection, parallel connection
Ladder block connection, store/read operation results, creation of pulses from
operation results
Bit device output, pulse output, output reversal
Bit device shift
Master control
Program termination
Program stop, instructions such as no operation which do not fit in the above
categories
Comparisons such as
,
,
Addition, subtraction, multiplication or division of BIN or BCD
Conversion from BCD to BIN and from BIN to BCD
Transmits designated data
Program jumps
Enables or inhibits interrupt programs
Executes partial refresh
Instructions for: Counter increment/decrement, teaching timer, special function timer,
rotary table shortest direction control, etc.
Logical operations such as logical sum, logical product, etc.
Rotation of designated data
Shift of designated data
Bit set and reset, bit test, batch reset of bit devices
16-bit data searches, data processing such as decoding and encoding
Repeated operation, subroutine program calls, indexing in ladder units
Data table read/write
Data read/write from/to an intelligent function module
Print ASCII code, LED character display, etc.
Check, status latch, sampling trace, program trace
Conversion between BIN/BCD and ASCII;conversion between BIN and character
string; conversion between floating decimal point data and character strings,
character string processing, etc.
Trigonometric functions, conversion between angles and radians, exponential
operations, automatic logarithms, square roots
Upper and lower limit controls, dead band controls, zone controls
File register block No. switches, designation of file registers and comment files
Reading/writing of the values of year, month, day, hour, minute, second, and day of
the week; addition/subtraction of the values of hour, minute, and second; conversion
of the values of hour, minute, and second into second; comparison between the
values of year, month, and day; and comparison between the values of hour, minute,
and second
Reading of the values of year, month, day, hour, minute, second, millisecond, and
day of the week; addition/subtraction of the values of hour, minute, second, and
millisecond
I/O to peripheral devices
Instructions to switch program execution conditions
Instructions that do not fit in the above categories, such as watchdog timer reset
instructions and timing clock instructions
Meaning
Reference
Chapter
5
6
7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents