Instruction Tables; Types Of Instructions - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

2 INSTRUCTION TABLES

2. INSTRUCTION TABLES

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 Instructions
Contact instruction
Connection instructions
Output instruction
Sequence
Shift instruction
instructions
Master control instruction
Termination instruction
Other instructions
Comparison operation instruction
Arithmetic operation instruction
BCD
BIN conversion instruction
Data transfer instruction
Basic
Program branch instruction
instructions
Program run control instruction
I/O refresh
Other convenient instructions
Logical operation instructions
Rotation instruction
Shift instruction
Bit processing instructions
Data processing instructions
Structure creation instructions
Table operation instruction
Buffer memory access instruction
Display instructions
Debugging and failure diagnosis
instructions
Application
instructions
Character string processing
instructions
Special function instructions
Data control instructions
Switching instructions
Clock instructions
Peripheral device instructions
Program instructions
Other instructions
Link refresh instructions
Instructions dedicated to QnA links
Data link
Instructions for A-series-compatible
instructions
link
Routing information read/write
instructions
QCPU
Instruction for QCPU
instructions
Redundant system
Instructions for Q4ARCPU
instructions
2 - 1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Table 2.1 Types of Instructions
Meaning
Operation start, series connection, parallel connection
Ladder block connection, creation of pulses from operation results, store/read
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
Enable or prohibit interrupt programs
Run 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, Index modification in ladder
units
Read/Write of FIFO table
Data read/write for special function modules
Print ASCII code, LED character display, etc.
Check, status check, 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
Read/write of year, month, day, hour, minute, second, and day of the week;
conversion between time statement (hour, minute, second) and seconds
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
Designated network refresh
Read/write of data from other stations; data transmission signals to other
stations; processing requests to other stations
Read/write for designated station word device, read/write data from remote I/O
station special function module
Reads, writes, and registers routing information.
Reading module information; trace set/reset; reading/writing binary data;
load/unload/load + unload program from memory card; high-speed block
transfer of file register
Operation mode setting during CPU startup; operation mode setting
instructions during CPU switch; data tracking; buffer memory batch refresh
MELSEC-Q/QnA
Reference
Chapter
5
6
7
8
9
10
2 - 1
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents