DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-5
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Using Boolean Instructions
Do you ever wonder why so many PLC manufacturers always quote the scan time for a 1K
Boolean program? Simple. Most programs utilize many Boolean instructions. These are
typically very simple instructions designed to join input and output contacts in various series
and parallel combinations. Our
Direct
SOFT software is a similar program. It uses graphic
symbols to develop a program; therefore, you don’t necessarily have to know the instruction
mnemonics in order to develop your program.
Many of the instructions in this chapter are not program instructions used in
Direct
SOFT,
but are implied. In other words, they are not actually keyboard commands, however, they
can be seen in a Mnemonic View of the program once the
Direct
SOFT program has been
developed and accepted (compiled). Each instruction listed in this chapter will have a small
chart to indicate how the instruction is used with
Direct
SOFT and the HPP.
The following paragraphs show how these instructions are used to build simple ladder
programs.
END Statement
All DL06 programs require an END statement as the last instruction. This tells the CPU
that this is the end of the program. Normally, any instructions placed after the END
statement will not be executed. There are exceptions to this, such as interrupt routines, etc.
This chapter will discuss the instruction set in detail.
Simple Rungs
You use a contact to start rungs that contain both contacts and coils. The boolean instruction
that does this is called a Store or, STR instruction. The output point is represented by the
Output or, OUT instruction. The following example shows how to enter a single contact
and a single output coil.
OUT
Y0
X0
END
Handheld Mnemonics
STR X0
OUT Y0
END
Direct
SOFT32 Example
OUT
Y0
X0
END
Direct
SOFT32 Example
All programs must have
an END statement
DS Implied
HPP Used
Direct
SOFT
Direct
SOFT