Types Of Instructions - Mitsubishi MELSEC-Q Series Programming Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

2.1

Types of Instructions

Instructions for CPU modules are classified into sequence instructions, basic instructions, and
application instructions. Table 2.1 shows the types of instructions.
Type of instruction
Contact instruction
Bond instruction
Output instruction
Sequence
Shift instruction
instruction
Master control instruction
End instruction
Other instructions
Comparison operation
instruction
Arithmetic operation instruction
Data conversion instruction
Data transfer instruction
Basic
Program branch instruction
instruction
Program execution control
instruction
I/O refresh instruction
Other convenient instructions
Logical operation instruction
Rotation instruction
Shift instruction
Bit processing instruction
Data processing instruction
Structured instruction
Data table operation instruction
Buffer memory access
instruction
Display instruction
Debug/error diagnostics
Application
instruction
instruction
String processing instruction
Special function instruction
Data control instruction
Switch instruction
Clock instruction
Program control instruction
Other instructions
QCPU
QCPU instruction
instruction
Multiple CPU
high speed
Multiple CPU device data write/
transmission
read instruction
dedicated
instruction

2.1 Types of Instructions

2-2
Table 2.1 Types of instructions
Operation start, series connection, parallel connection
Ladder block connection, operation result pulse, operation result store/read
Bit device output, pulse output, output inversion
Bit device shift
Master control
Program conclusion
Instructions not classified into the above types, such as program stop and no
operation
Comparison such as =,
, and
Addition, subtraction, multiplication, and division of BIN or BCD data
Conversion from BCD to BIN data and vice versa
Specified data transfer
Program jump
Enable/disable interrupt programs
Partial refresh execution
Instructions such as up/down counter, teaching timer, special function timer, and
rotary table shortest direction control
Logical operations such as logical OR and logical AND
Specified data rotation
Specified data shift
Bit set/reset, bit test, bit device batch reset
Data processes such as 16-bit data search, decode, and encode
Repeated operation, subroutine program call, index setting in units of ladder
Data read/write from/to data tables
Data read/write from/to intelligent function module
ASCII code print, LED display of characters
Error check, status latch, sampling trace, program trace
Conversion from BIN/BCD data to ASCII data and vice versa, conversion from BIN
data to character string data and vice versa, conversion from floating-point data to
character string data and vice versa, character string process
Trigonometric functions, conversion from degree to radian and vice versa,
exponential operation, natural logarithm, square root
Upper/lower limit control, dead band control, zone control
File register block numbers switch, file register/comment file specification
Clock data (year, month, day, hours, minute, second, and day of the week) read/
write, and time data conversion from hour/minute/second format to seconds and vice
versa
Switch instruction of program executing conditions
Instructions not classified into the above types, such as WDT reset and timing clock
Module information read, trace set/reset, binary data read/write, program load/
unload/load+unload to/from memory card, file register high-speed block transfer,
data write to host CPU shared memory, data read from other CPU shared memory,
selection of refresh instructions
Device data write to other CPU, device data read from other CPU
Description
Reference
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents