Lab 16 Troubleshooting Labs
Lab 16 Troubleshooting Labs
Lab 16 Troubleshooting Labs
Lab
16
PLC Troubleshooting
PLC Troubleshooting
LAB 16-1
Troubleshooting Wiring
PLC Troubleshooting
PLC are wired simple usually with ont input device to one address and
one output device to one output address. This makes the
troubleshooting easy since an LED on the PLC lights when an input
device is activated and an output LED glows when the program
activates an output.
Voltages (usually 24VDC) are sent into inputs on the PLC and voltages
are sent out of the PLC to output devices. If an input LED does not
glow when an input devices is activated, the device and or the wiring is
tested for operation and connection.
The same for output device. If an output device is not activated when
the PLC address LED glows, the output device may be defective or the
wiring may have opened.
PLC Troubleshooting
Voltage Measurements:
Resistance Measurements:
A 2
1
10 Light
11
12 Jumper
13
14
4 Solenoid Valve
15
3
16 5
17
B
L2 = 24 vac
PLC Swing Arm H/P Tie Block
(not connected to module)
24.
0
+ c
PLC Troubleshooting
L1 = 24 vac
1
A
00
Limit Sw 1 01
3 02
2 4 5 03
Limit Sw 2 04
05
06
H/P Tie Block 07 PLC Swing Arm
B
24.0 L2 = 24 vac
+ c
Voltmeter
PLC Troubleshooting
Input Switches
Output Lights
PLC Troubleshooting
CB1 2a
5Amp BLACK L1
120 VAC WHITE L2 24 VDC POWER SUPPLY
GREEN GN + -
D
CB2 4a RED BLACK
Amp
RED
Thumbwheel
Switch
RED RED RED RED RED
0-9
1 2 4 8
Red Black White grey Blu Or Green White Red Or Green Blue Cable 1
24 vdc +24 VDC COM 0 I/1 I/3 I/4 I/6 COM 2 I/9 I/11
POWER COM I/0 I/2 COM 1 I/5 I/7 I/8 I/10
Output
Black Black Black
I/0
1764-24BWA LSP SERIES C
RED RED RED RED RED
L2 VDC 0 VDC 1 VDC 2 VDC 3 VAC 4 O/5 O/7 O/8 O/10 24BWA
85-265
L1 O/0 O/1 O/2 O/3 O/4 O/6 VAC 5 O/9 O/11
Black Green
Black Blue Orange Green White Cable 2 Black
White
Green Green Green Red Blue
LAB 16-2
Output Forcing: When an output is forced, the controller overrides the status of
the control program, and sets the output to the user-defined state. Discrete
outputs can be forced “on” or “off”. The value in the output file is unaffected by the
force. It maintains the state determined by the logic in the control program.
However, the state of the physical output and the output LED will be set to the
forced state.
How to Force: To force, you must be in the run mode. Place the mouse on the
input or output instruction and press right mouse. A menu box will show force
instructions. You can force on Input files and output files, however you cannot
force binary, timer, or counter files.
PLC Troubleshooting
Contact Histograms
Use the histogram functionality in RSLogix 500 to get information about how an address's data value changes over time. You must be online with the SLC controlle
From the Comms menu, click Histogram to display the Histogram dialog. By clicking Start on this dialog, the histogram function sends a message to the SLC cont
PLC Troubleshooting
From the Comms menu, click Histogram to display the Histogram dialog.
By clicking Start on this dialog, the histogram function sends a message to
the SLC controller to begin logging data.
Each time the address value changes, the controller stores the value for the
address in a histogram buffer, logging both the new value and the time interval
between value changes.
This data is represented in the top portion of the histogram display window.
If you frequently log certain data, you can save the configuration and simply
load it without having to enter new parameters each time. Use Save and Load
(accessible from the right mouse menu) for this functionality.
PLC Troubleshooting
LAB 16-4:
Suspend (SUS)
PLC Troubleshooting
LAB 16-5
Status Files
Fault Messages
Error Codes
PLC Troubleshooting
You can also configure the controller to clear faults and go to RUN every
time the controller is power cycled. This is a feature that OEMs can build
into their equipment to allow end users to reset the controller. If the
controller faults, it can be reset by simply cycling power to the machine. To
accomplish this, set the following bits in the status file:
If the fault condition still exists after cycling power, the controller re-enters
the fault mode. Status bits will be set in the System Status File. The
status file lets you monitor how your controller works and lets you direct
how you want it to work. This is done by using the status file to set up
control bits and monitor both hardware and programming device faults and
other status information.
NOTE You can declare your own application-specific major fault by writing
your own unique value to S:6 and then setting bit S:1/13 to prevent reusing
system defined codes. The recommended values for user-defined faults
are FF00 to FF0F.
PLC Troubleshooting
Fault Messages This section contains fault messages that can occur
during operation of the MicroLogix 1200 and MicroLogix 1500
programmable controllers. Each table lists the error code description, the
probable cause, and the recommended corrective action.
PLC Troubleshooting
Go to the status file by clicking on the S2 file, next click on the Errors
tab
PLC Troubleshooting
The major fault is set at S:1/13 with the description displayed and
a tab to clear the fault.
S:1/13 Error
Description
Clear Error
PLC Troubleshooting
LAB 16-6:
Troubleshooting
Trends
PLC Troubleshooting
Trends: Trends are typically used to observe data such as temperature
changes over a period of time, however they can also be used to
troubleshot an applications.
A Trend logs the data for more than one address (typically
related) over a period of time. Contrast this with a histogram which logs
the data contained in a single address over a period of time. This
option provides the features of the RSTrendX Viewer plus remote
trending capability. The RSTrendX Viewer is an ActiveX control for
displaying process data in a trend or strip chart recorder format. It is
based on the Viewer display in the RSTrend Data Acquisition and
Trending software.
You can modify a pen's properties (color, line width) or customize scaling
and axis properties. Click the help button on any dialog within the
control to access help for that specific feature of the RSTrendX Active X
control.
PLC Troubleshooting
Overlays: Attributes
Create a chart. You can create a trend while offline or online. First click
the Trends folder in the project tree.
TREND Folder
The End
PLC Troubleshooting