The Basic Instruction Set - Mitsubishi MELSEC System Q Manual

Hide thumbs Also See for MELSEC System Q:
Table of Contents

Advertisement

An Introduction to Programming
4.7

The Basic Instruction Set

The instructions of the PLCs of the MELSEC System Q can be divided into two basic catego-
ries, basic instructions and applied instructions, which are sometimes referred to as "applica-
tion instructions".
The functions performed by the basic instructions are comparable to the functions achieved by
the physical wiring of a hard-wired controller.
Basic instruction set quick reference
Instruction
Function
Load
LD
LDI
Load invers
OUT
Output instruction
AND
Logical AND
ANI
AND NOT
OR
Logical OR
ORI
OR NOT
ANB
AND Block
ORB
OR Block
LDP
LDF
ANDP
Pulse signal
instructions
ANDF
ORP
ORF
SET
Set device
RST
Reset device
PLS
Pulse instructions
PLF
INV
Invert
Inversion of bit
FF
MEP
Result into pulse
conversion
MEF
MELSEC System Q Beginners Manual
Description
Initial logic operation, polls for signal state "1" (normally open)
Initial logic operation, polls for signal state "0" (normally closed)
Assigns the result of a logic operation to a device
Logical AND operation, polls for signal state "1"
Logical AND NOT operation, polls for signal state "0"
Logical OR operation, polls for signal state "1"
Logical OR NOT operation, polls for signal state "0"
Connects a parallel branch circuit block to the preceding parallel block, in
series.
Connects a serial block of circuits to the preceding serial block, in parallel.
Load Pulse, load on detection of rising edge of device signal pulse
Load Falling Pulse, load on falling device signal pulse
AND Pulse, logical AND on rising device signal pulse
AND Falling Pulse, logical AND on falling device signal pulse
OR Pulse, logical OR on rising device signal pulse
OR Falling Pulse, logical OR on falling device signal pulse
Assigns a signal state that is retained even if after input condition is no
longer true
Pulse, sets a device for one operation cycle on the rising pulse of the input
condition (input turns ON)
Pulse Falling, sets a device for one operation cycle on the falling pulse of
the input condition (input turns OFF)
Inverts the result of an operation
Inversion of bit output device
Pulse generation at the rising edge of the operation result.
Pulse generation at the falling edge of the operation result.
The Basic Instruction Set
Reference
Chapter 4.7.1
Chapter 4.7.2
Chapter 4.7.4
Chapter 4.7.5
Chapter 4.7.6
Chapter 4.7.7
Chapter 4.7.8
Chapter 4.7.9
Chapter
4.7.10
Chapter
4.7.11
Chapter
4.7.12
4 – 13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents