Programmable Logic Controllers Flashcards
PLCs were first used by what industry?
Automobile industry
The PLC is designed to be operated in what type of environment?
Industrial
Most PLCs are designed to be programmed with ____ _____ and _____ ______.
Relay schematic
Ladder diagrams
Four basic parts of a PLC
Power supply
Central processing unit (CPU)
Program loader or terminal
I/O (input/output module)
The power supply is used to
lower the incoming AC voltage to the desired level, rectify it to DC, and then filter and regulate it
The internal logic circuits of PLCs operate on a voltage range of? And must be regulated to within __ % of the required voltage.
5V to 15V DC
5%
The CPU is commonly referred to as the ?
Brain of the PLC
The CPU contains?
Microprocessor chip and related integrated circuits to perform all the logic functions.
Most CPUs are designed so that once the program has been tested, it can be ?
Stored as an electronic or printed file
The programming terminal is used to?
- load and modify the user program in a PLC
- troubleshoot the circuit
The PLC has no NEMA symbols, it only recognizes ?
Open or closed contacts
The number on the contact is used to?
- Distinguish one contact from another
- Represent an input or output terminal screw to which a signal or control wire will be attached
Examine If Open (XIO) bit specs
- Represented by a NC schematic symbol
- It is “true” or it will be continuous and allow current flow, if no voltage is on the terminal screw associated with the memory address
Examine If Closed (XIC) bit specs
- Represented by a NO schematic symbol
- is “True” and thus will exhibit electrical continuity when a voltage signal is present on the terminal
Components drawn with heavy dark lines a schematic indicate what?
That there is a complete path for current flow
I/O Modules are used to?
Connect the CPU to the outside world
Input modules carry info ____ the CPU.
To
Output modules carry info ____ the CPU?
From
The input and outputs may be ______ or ______ ?
Discrete (on/off)
Analog (variable)
Most modules contain ___ to ___ inputs and outputs?
8 to 32
The purpose of the input is to?
- Handle different inputs from pilot devices such as push buttons float switches, inductive or capacitive prox switches, P/E, ultrasonic devices or limit switches.
- Debouncing any switch contacts connected to it
The purpose of the output is to?
Control up to several external devices such as pilot lights, solenoids, contactors, or motor stater coils
I/O module operating voltages can be __ or __ and are generally ____ V AC or ____ V DC?
AC or DC
120V AC
24V DC
What is Scan Time on a I/O module?
The speed at which the processor can complete one scan of the I/O devices and implement the changes dictated by the logic in the program. (Faster scan time = more $$$)
The CPU of a PLC is extremely sensitive to voltage spikes and electrical noise and therefore most inputs and outputs use ?
Opto-isolation to separate the incoming signal from the CPU electrically
The output module is used to connect the CPU to the ?
Load
If the output is designed to control a DC voltage what is used to control the load?
Power transistor
If the output is designed to control an AC load what is used as the control device?
A TRIAC
Inductive loads such as relays, contactors, and solenoid valves should have what in order to prolong the life of PLC output circuits?
Surge Suppression
The surge suppression device should be placed in ____ with the load and ______ to the load as possible?
Parallel
As close
Suppression devices include ?
RC networks
Diodes
The actual logic of the control circuit is performed by?
Internal Relays
What is an internal relay?
- An imaginary device that exists only in the logic of the computer.
- Can have one to several hundred contacts
- Contacts can be NO or NC
The internal relays of PLCs can be used as?
Counters and Timers
As a general rule, PLCs with large I/O capacities will have a ____ memory and PLCs with small I/O capacities will have ____ memory.
Large
Less
List the factors that must be considered when selecting a location for the PLC enclosure?
- cooling of the enclosed equipment
- protected from dust, dirt, and liquids
- vibration
- electromagnetic interference
- distance to the equipment to be controlled
- service access
When installing the equipment in the enclosure, it is recommended that the PLC be installed?
Near the bottom of the cabinet to protect the PLC from heat generated within the cabinet
The IEC uses a 2 digit code to describe the degree of protection offered by an enclosure, the term is?
Ingress Protection
The first and second digits of ingress protection refer to?
First - describes the degree of protection against access to hazardous parts and solid foreign objects
Second - describes the degree of protection the enclosure offers to the ingress of liquids
Power for the PLC should come from an ?
Isolation Transformer
All other power wiring for a PLC should be as _________ after entering the enclosure and be ___________ from other wiring in the cabinet.
short as possible
separated as far as possible
Why is it essential to have an emergency stop circuit installed ?
In the case of PLC failure or an emergency that requires immediate shut down of all input an output devices.
Emergency stop circuits must be _______ using _________ components.
Hardwired
Electromechanical
Why are wire runs for I/O circuits kept as short as possible?
A long wire run has more surface area of wire to pick up stray electrical noise
What type of cable is used for the installation of signal wiring?
Shielded cable
Why is shielded cable used signal runs?
A shielded wire is used for long runs to help reduce induced electrical noise ( Noise reduction ratio of 30 000:1)
Never run signal wire in the same conduit with ?
Power wiring
When it is necessary to cross power wiring, signal wiring should be installed at?
Right angle to power wiring
Input devices should never be wired in ____/____ arrangements.
- Series/Parallel
- Each input device requires its own set of input terminals
- Same rules for output devices
A PLC input is said to be a “sinking” input if the input energizes when a _________ is applied to the input terminal
High level (active high)
An electronic device often used to help overcome the problem of induced noise is the ?
Differential Amplifier
Explain the operation of a differential amplifier
Amplifies the difference only between 2 input signals and ignores induced electrical noise on the line.
What is the brute-force method of bonding?
is when two pieces of equipment are connected with heavy cable to force them to exist at the same ground potential.
What are the benefits of using a PLC?
- Can replace hundreds of relays and occupy a fraction of the space
- Circuit logic can be changed without requiring extensive physical rewiring
- No moving parts or contact to wear out
- Downtime is less than an equivalent relay circuit
Microprocessor based devices package binary bits into?
Nibbles - 4 bits
Bytes - 8 bits
Word - 16 bits
Double Word - 32 bits
What allowed the development of PLCs?
Microprocessors
What are the 4 steps of ladder logic?
- Processor scanning
- Read input status
- Solve ladder logic program
- Update the outputs
What does input image table do?
Keeps track of the input status of each input
What does output image table do?
Controls the status of each output
Scan time can be from ____ msec to ___ msec, depending on ?
1 mec to 200 msec
- # of I/O modules
- program length
- types of instructions
Inputs and outputs are electrically isolated using?
Opto-isolators
Input module specs
- Usually discrete (on/off) (switches, PBs, floats etc.)
- Sometimes analog (RTDs, thermocouple inputs, 4-20mA inputs, 1-5V etc.)
- Use analog to digital (ADC), to convert varying inputs to a binary value
- AC or DC, 24VDC, 120VAC, 10-60VDC, 5VDC etc.
Output module specs
- usually discrete (on/off)
- AC or DC or Relay Outputs (dry contacts, potential free)
- Analog outputs have a digital to analog converter (DAC) and may convert a 16 bit word to a 4-20mA signal or 1-5V etc.
TRIAC outputs specs
- 2A max
- when off may have leakage current to activate high impedance (Small) load
- may require “burden resistors” in parallel with load
- or “interposing relays”
If an input device switches + VDC to the input module, the device is _____ and the module is ______ .
Sourcing
Sinking
If an input device switches - VDC, then the module is _____ and the device is _____.
Sourcing
Sinking
Logic is solved ___ to ____, ____ to ____
left to right
top to bottom
Internal bits are ______ internal to the PLC.
Registers
Internal bits are used for?
“one shots” or where the status of one rung is required for a subsequent rung.
What is Latching?
- Sets an output ON even when the logic in the run becomes FALSE.
- Latched outputs remain TRUE even during a power outage
What is OSR?
one shot rising
Explain the function for an OSR
an instruction that will be TRUE for 1 scan only
Applications for an OSR
- Incrementing the speed of a motor
- Toggle a condition on or off
- Capturing a fast counter
What does RTO stand for?
Retentive timer
Enable bit (EN)
this bit is set to 1 (TRUE) when the run condition becomes TRUE and reset (to O) when the run condition becomes FALSE
Timer Timing Bit (TT) On Delay
The bit will be TRUE when the rung condition becomes TRUE and the accumulated value is less than the preset value.
Done Bit (DN) On Delay Timer
The bit is TRUE when the rung condition is TRUE and the accumulated value is greater than or equal to the preset value.
Preset Value
the number representing how many counts of a time base it takes for the DONE BIT to be set.
Accumulated Value
This is incremented every counting timebase when the rung condition becomes TRUE.
Timer Timing Bit (TT) Off - Delay Timer
The bit is TRUE when the rung condition is FALSE and the accumulated value is less than the preset value
Done Bit (DN) Off Delay Timer
The bit is TRUE when the rung condition is TRUE and reset when the accumulated value equals the preset value.
Do not use a reset instruction with a ______
TOF
Fail safe wiring
Input device must be wired N.C or N.O.H.C
4 - 20mA Current Loop Input Specs
- have less influence from transient voltages, surges and spikes.
- induced voltages do not affect currents like a 0-10V or 1-5V sensor and input module
- shielded input wiring for sensors reduces ill effects of plant noise EMI and RFI
What type of bonding is achieved with large bonding conductors?
Brute force bonding
What is the purpose of a differential amplifier?
Provide noise cancellation
List the 5 types of power supplies in order from worst to best
- Raw power
- Isolating transformer
- Voltage regulating transformer
- Conditioned power
- UPS
What is the purpose of a subroutine?
- make programs more efficient
- improve organization for ease of understanding, interpretation and future editing for everyone involved
Instruction JSR
redirects logic execution from the current ladder file to the specified subroutine file
Instruction SBR
The first instruction of a subroutine
Instruction RET
Directs the processor scan to return to where it came from
To use a high speed instruction you must use?
A jumper
How does a HSC differ from a CTU or CTD?
HSC is a hardware counter as opposed to a software counter and that the HSC operates asynchronously to the ladder program scan
Inputs wired to the input module control the?
Input image table
List the three basic operations that the CPU section performs
- Read the inputs
- Solve the logic program
- Write to the outputs
Modifying relay type process control circuits usually involves changing?
The input circuit modules
The power required to operate the logic circuits of the processor unit is?
Low voltage DC
The scan time is the time required to?
execute one cycle of the total program