2. INSTRUCTIONS
2
−
1
MELSEC-A
2. INSTRUCTIONS
2.1 Classification
The instructions of MELSEC-A series are largely classified into sequence
instruc-tions, basic instructions, and application instructions. These instructions are
shown in Table 2.1.
Table 2.1 Classification of Instructions
Classification of instructions
Description
page
Contact instruction
Operation start, series connection, parallel
connection
5-2 to 5-4
Connection instruction
Ladder block connection, operation result
storage/read
5-5 to 5-13
Output instruction
Bit device output, pulse output, output reverse
5-14 to 5-26
Shift instruction
Bit device shift
5-28 to 5-29
Master control instruction
Master control
5-30 to 5-33
Termination instruction
Program termination
5-34 to 5-35
Sequence
instruction
Other instructions
Program stop, no operation, etc.
5-36 to 5-43
Comparison operation instruction
Comparison such as =, >, and <
6-2 to 6-7
Arithmetic operation instruction
Addition, subtraction, multiplication, and
division of BIN and BCD
6-8 to 6-37
BCD
↔
BIN conversion instruction
Conversion from BCD to BIN and BIN to BCD
6-38 to 6-45
Data transfer instruction
Transfer of specified data
6-46 to 6-57
Program branch instruction
Program jump, subroutine/interrupt program call
6-58 to 6-69
Program switching instruction
Switching between main and subprogram
6-70 to 6-82
Basic
instruction
Refresh instruction
Link refresh, partial refresh execution
6-83 to 6-90
Logical operation instruction
Logical operation such as logical sum and logical
product
7-2 to 7-21
Rotation instruction
Rotation of specified data
7-22 to 7-30
Shift instruction
Shift of specified data
7-31 to 7-39
Data processing instruction
Data processing such as 16-bit data search,
decode, and encode
7-40 to 7-58
FIFO instruction
Read/write of FIFO table
7-59 to 7-63
Buffer memory access instruction
Data read/write with special function modules and
remote terminals(A2C/A52G).
7-64 to 7-87
FOR to NEXT instruction
Program repeated between FOR and NEXT
instruction
7-88 to 7-89
Local, remote I/O station access
instruction
Local, remote I/O station data read/write
7-90 to 7-103
Display instruction
ASCll code print, character display on LED, etc.
7-104 to 7-120
Others
Instructions which are not included in the above
classification, such as WDT reset, and set/reset of
carry flag.
7-121 to 7-138
Application
instruction
Instructions for servo programs
Servo program execution and set value change
7-139 to 7-148
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......