Word Memory (V Data Type); Stages (S Data Type); Special Relays (Sp Data Type) - Automationdirect.com DL05 User Manual

Micro plc
Hide thumbs Also See for DL05:
Table of Contents

Advertisement

Word Memory (V Data Type)

Word memory is referred to as V-memory (variable) and
is a 16-bit location normally used to manipulate data/
numbers, store data/numbers, etc. Some information is
automatically stored in V-memory. For example, the timer
current values are stored in V-memory. The example
shows how a four-digit BCD constant is loaded into the
accumulator and then stored in a V-memory location.

Stages (S Data type)

Stages are used in RLL
structured program, similar to a flowchart. Each
program Stage denotes a program segment. When the
program segment, or Stage, is active, the logic within
that segment is executed. If the Stage is off, or inactive,
the logic is not executed and the CPU skips to the
next active Stage. (See Chapter 7 for a more detailed
description of RLL
Each Stage also has a discrete status bit that can be used
as an input to indicate whether the Stage is active or
inactive. If the Stage is active, then the status bit is on. If
the Stage is inactive, then the status bit is off. This status
bit can also be turned on or off by other instructions,
such as the SET or RESET instructions. This allows you
to easily control stages throughout the program.

Special Relays (SP Data Type)

Special relays are discrete memory locations with pre-defined
functionality. There are many different types of special
relays. For example, some aid in program development,
others provide system operating status information, etc.
Appendix D provides a complete listing of the special relays.
In this example, control relay C10 will energize for 50 ms and
de-energize for 50 ms because SP5 is a pre–defined relay that
will be on for 50 ms and off for 50 ms.
Chapter 3: CPU Specifications and Operation
PLUS
programs to create a
programming.)
plus
DL05 Micro PLC User Manual, 6th Edition, Rev. D
X0
LD
OUT
Word Locations – 16 bits
0
0 0 1 0 0 1 1 0 1 0 0 0 1 0
1
3
4
Ladder Representation
ISG
Wait for Start
S0000
Start
X0
SG
Check for a Part
S0001
Part
Present
X1
Part
Present
X1
SG
Clamp the part
S0002
Part
Locked
X2
SP5
SP4: 1 second clock
SP5: 100 ms clock
SP6: 50 ms clock
1
1
2
2
K1345
3
3
V2000
4
4
5
5
1
6
6
5
7
7
8
8
S1
JMP
9
9
S500
JMP
10
10
S2
JMP
11
11
S6
JMP
12
12
Clamp
13
13
SET
S400
S3
JMP
14
14
A
a
C10
OUT
B
b
c
C
D
D
3-25

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DL05 and is the answer not in the manual?

Table of Contents