DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-186
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
To display the value in a V-memory location, specify the V-memory location in the instruction.
To display the data in ACON (ASCII constant) or NCON (Numerical constant) instructions,
specify the constant (K) value for the corresponding data label area.
See Appendix G for the ASCII conversion table.
Fault Example
In the following example when X1 is on, the message SW 146 will display on the handheld
programmer. The NCONs use the HEX ASCII equivalent
of the text to be displayed. (The HEX ASCII for a blank is
20, a 1 is 31, 4 is 34 ...)
FAULT
A aaa
Direct SOFT32
DLBL
K1
END
FAULT
K1
X1
ACON
A SW
NCON
K 2031
NCON
K 3436
Handheld Programmer Keystrokes
STR
$
SHFT
4
E
TMR
N
3
D
ENT
SHFT
3
D
ANDST
L
1
B
ANDST
L
1
B
ENT
SHFT
0
A
2
C
INST#
O
TMR
N
SHFT
TMR
N
2
C
INST#
O
TMR
N
SHFT
TMR
N
2
C
INST#
O
TMR
N
1
B
ENT
ENT
ENT
3
D
3
D
4
E
6
G
ENT
3
D
2
C
0
A
1
B
RST
S
ANDN
W
SHFT
ISG
U
MLR
T
ANDST
L
5
F
0
A
1
B
ENT
FAULT :
*SW 146
Operand Data Type
DL06 Range
aaa
V-memory
V
See memory map
Constant
K
1-FFFF
Discrete Bit Flags
Description
SP50
On when the FAULT instruction is executed
DS
Used
HPP Used
Direct
SOFT
Message Instructions
Fault (FAULT)
The Fault instruction is used to display a message on the handheld
programmer, the optional LCD display or in the
Direct
SOFT
status bar. The message has a maximum of 23 characters and can
be either V-memory data, numerical constant data or ASCII text.