Standard
RLL
Instructions
5--83
Standard RLL Instructions
Message Instructions
DL105 PLC User Manual, 3rd Edition
Message Instructions
FAULT
A aaa
The Fault instruction is used to display a
message on the handheld programmer 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.
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.
Operand Data Type
DL130 Range
A
aaa
V--memory
V
All (See page 4--28)
Constant
K
1--FFFF
NOTE:
The FAULT instruction takes a considerable amount of time to execute. This
is because the FAULT parameters are stored in EEPROM. Be sure to consider the
instructions execution times (shown in Appendix C) if you are attempting to use the
FAULT instructions in applications that require faster than normal execution cycles.
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 ...)
SW 146
Direct
SOFT
DLBL
K1
S
S
END
FAULT
K1
X1
S
S
ACON
A SW
NCON
K 2031
NCON
K 3436
Handheld Programmer Keystrokes
S
S
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
(FAULT)
Fault Example
Summary of Contents for DL105
Page 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Page 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Page 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Page 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Page 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...