Standard
RLL
Instructions
5--50
Standard RLL Instructions
Accumulator / Stack Load and Output Data Instructions
DL105 PLC User Manual, 3rd Edition
bbb
K
OUTF
A aaa
The Out Formatted instruction outputs
1--32 bits from the accumulator to the
specified discrete memory locations. The
instruction requires a starting location
(Aaaa) for the destination and the number
of bits (Kbbb) to be output.
Operand Data Type
DL130 Range
A
aaa
bbb
Inputs
X
0--77
----
Outputs
Y
0--77
----
Control Relays
C
0--377
----
Constant
K
----
1--32
In the following example, when C0 is on, the binary pattern of C10--C16 (7 bits) will
be loaded into the accumulator using the Load Formatted instruction. The lower 7
bits of the accumulator are output to Y0--Y6 using the Out Formatted instruction.
0
A
7
H
ENT
Handheld Programmer Keystrokes
LDF
C10
K7
C0
Load the status of 7
consecutive bits (C10--C16)
into the accumulator
OUTF
Y0
K7
Copy the value of the
specified number of bits
from the accumulator to
Y20--Y26
K7
C10
Location
Constant
0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
K7
Y0
Location
Constant
C10
C11
C12
C13
C14
C15
C16
OFF
ON
ON
ON
OFF
OFF
OFF
Y20
Y21
Y22
Y23
Y24
Y25
Y26
OFF
ON
ON
ON
OFF
OFF
OFF
The unused accumulator bits are set to zero
Accumulator
Direct
SOFT
STR
$
SHFT
ENT
2
C
0
A
SHFT
ANDST
L
3
D
5
F
SHFT
2
C
1
B
0
A
7
H
ENT
OUT
GX
SHFT
5
F
POP
The Pop instruction moves the value from
the first level of the accumulator stack (32
bits) to the accumulator and shifts each
value in the stack up one level.
Discrete Bit Flags
Description
SP63
on when the result of the instruction causes the value in the accumulator
to be zero.
Out
Formatted
(OUTF)
Pop
(POP)
Содержание DL105
Страница 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Страница 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Страница 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Страница 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Страница 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...
Страница 329: ...1F European Union Directives CE In This Appendix European Union EU Directives Basic EMC Installation Guidelines...